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 Experiments;
15class Player;
16class Random;
17namespace BlockEvents { class BlockPlayerInteractEvent; }
18namespace mce { class Color; }
19// clang-format on
20
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 // vIndex: 147
26 virtual ::mce::Color getDustColor(::Block const&) const /*override*/;
27
28 // vIndex: 148
29 virtual ::std::string getDustParticleName(::Block const&) const /*override*/;
30
31 // vIndex: 94
32 virtual bool attack(::Player* player, ::BlockPos const& pos) const /*override*/;
33
34 // vIndex: 83
35 virtual bool breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const /*override*/;
36
37 // vIndex: 130
38 virtual void _addHardCodedBlockComponents(::Experiments const& experiments) /*override*/;
39
40 // vIndex: 0
41 virtual ~DragonEggBlock() /*override*/ = default;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI void use(::BlockEvents::BlockPlayerInteractEvent& eventData) const;
48 // NOLINTEND
49
50public:
51 // static functions
52 // NOLINTBEGIN
53 MCAPI static void _attemptTeleport(::BlockSource& region, ::Random& random, ::BlockPos const& pos);
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59 MCFOLD ::mce::Color $getDustColor(::Block const&) const;
60
61 MCAPI ::std::string $getDustParticleName(::Block const&) const;
62
63 MCAPI bool $attack(::Player* player, ::BlockPos const& pos) const;
64
65 MCFOLD bool $breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const;
66
67 MCAPI void $_addHardCodedBlockComponents(::Experiments const& experiments);
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCNAPI static void** $vftable();
74 // NOLINTEND
75};
Definition BaseGameVersion.h:8
Definition BlockPlayerInteractEvent.h:17
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition DragonEggBlock.h:21
static MCAPI void ** $vftable()
Definition Experiments.h:14
Definition FallingBlock.h:20
Definition Player.h:119
Definition Random.h:11