LeviLamina
Loading...
Searching...
No Matches
DragonEggBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/FallingBlock.h"
7
8// auto generated forward declare list
9// clang-format off
10class BaseGameVersion;
11class Block;
12class BlockPos;
13class BlockSource;
14class Player;
15class Random;
16namespace mce { class Color; }
17// clang-format on
18
20public:
21 // virtual functions
22 // NOLINTBEGIN
23 // vIndex: 150
24 virtual ::mce::Color getDustColor(::Block const&) const /*override*/;
25
26 // vIndex: 151
27 virtual ::std::string getDustParticleName(::Block const&) const /*override*/;
28
29 // vIndex: 95
30 virtual bool attack(::Player* player, ::BlockPos const& pos) const /*override*/;
31
32 // vIndex: 139
33 virtual bool use(::Player& player, ::BlockPos const& pos, uchar) const /*override*/;
34
35 // vIndex: 84
36 virtual bool breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const /*override*/;
37
38 // vIndex: 0
39 virtual ~DragonEggBlock() /*override*/ = default;
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCAPI static void _attemptTeleport(::BlockSource& region, ::Random& random, ::BlockPos const& pos);
46 // NOLINTEND
47
48public:
49 // destructor thunk
50 // NOLINTBEGIN
51
52 // NOLINTEND
53
54public:
55 // virtual function thunks
56 // NOLINTBEGIN
57 MCFOLD ::mce::Color $getDustColor(::Block const&) const;
58
59 MCAPI ::std::string $getDustParticleName(::Block const&) const;
60
61 MCAPI bool $attack(::Player* player, ::BlockPos const& pos) const;
62
63 MCAPI bool $use(::Player& player, ::BlockPos const& pos, uchar) const;
64
65 MCFOLD bool $breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const;
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
71 MCAPI static void** $vftable();
72 // NOLINTEND
73};
Definition BaseGameVersion.h:13
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition DragonEggBlock.h:19
Definition FallingBlock.h:20
Definition Player.h:119
Definition Random.h:16