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 // vIndex: 89
30 virtual ::Block const* playerWillDestroy(::Player& player, ::BlockPos const& pos, ::Block const& block) const
31 /*override*/;
32
33 // vIndex: 84
34 virtual bool breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const /*override*/;
35
36 // vIndex: 131
37 virtual void _addHardCodedBlockComponents(::Experiments const& experiments) /*override*/;
38
39 // vIndex: 46
40 virtual bool canBeOriginalSurface(bool aboveSeaLevel) const /*override*/;
41
42 // vIndex: 0
43 virtual ~IceBlock() /*override*/ = default;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI void randomTick(::BlockEvents::BlockRandomTickEvent& eventData) const;
50 // NOLINTEND
51
52public:
53 // static functions
54 // NOLINTBEGIN
55 MCAPI static ::Block const& _getMeltedBlockAndSendEvents(::BlockSource& region, ::BlockPos const& pos);
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCAPI ::Block const* $playerWillDestroy(::Player& player, ::BlockPos const& pos, ::Block const& block) const;
62
63 MCFOLD bool $breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const;
64
65 MCAPI void $_addHardCodedBlockComponents(::Experiments const& experiments);
66
67 MCAPI bool $canBeOriginalSurface(bool aboveSeaLevel) const;
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCNAPI static void** $vftable();
74 // NOLINTEND
75};
Definition BaseGameVersion.h:8
Definition BlockRandomTickEvent.h:16
Definition BlockPos.h:17
Definition BlockSource.h:66
Definition BlockType.h:84
Definition Block.h:37
Definition Experiments.h:14
Definition IceBlock.h:19
static MCAPI void ** $vftable()
Definition Player.h:123
Definition BlockRandomTickEvent.h:13