LeviLamina
Loading...
Searching...
No Matches
IceBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/BlockType.h"
7
8// auto generated forward declare list
9// clang-format off
10class BaseGameVersion;
11class Block;
12class BlockPos;
13class BlockSource;
14class Experiments;
15class Player;
16namespace BlockEvents { class BlockRandomTickEvent; }
17// clang-format on
18
19class IceBlock : public ::BlockType {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<1, 1, bool> mPacked;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ::Block const* playerWillDestroy(::Player& player, ::BlockPos const& pos, ::Block const& block) const
30 /*override*/;
31
32 virtual bool breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const /*override*/;
33
34 virtual void _addHardCodedBlockComponents(::Experiments const& experiments) /*override*/;
35
36 virtual bool canBeOriginalSurface(bool aboveSeaLevel) const /*override*/;
37
38 virtual ~IceBlock() /*override*/ = default;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI void randomTick(::BlockEvents::BlockRandomTickEvent& eventData) const;
45 // NOLINTEND
46
47public:
48 // static functions
49 // NOLINTBEGIN
50 MCAPI static ::Block const& _getMeltedBlockAndSendEvents(::BlockSource& region, ::BlockPos const& pos);
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCAPI ::Block const* $playerWillDestroy(::Player& player, ::BlockPos const& pos, ::Block const& block) const;
57
58 MCFOLD bool $breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const;
59
60 MCAPI void $_addHardCodedBlockComponents(::Experiments const& experiments);
61
62 MCAPI bool $canBeOriginalSurface(bool aboveSeaLevel) const;
63
64
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCNAPI static void** $vftable();
71 // NOLINTEND
72};
Definition BaseGameVersion.h:8
Definition BlockRandomTickEvent.h:16
Definition BlockPos.h:19
Definition BlockSource.h:68
Definition Block.h:43
Definition Experiments.h:14
Definition IceBlock.h:19
static MCAPI void ** $vftable()
Definition Player.h:125