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/BlockLegacy.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 ::BlockLegacy {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<1, 1, bool> mPacked;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 88
30 virtual ::Block const* playerWillDestroy(::Player& player, ::BlockPos const& pos, ::Block const& block) const
31 /*override*/;
32
33 // vIndex: 83
34 virtual bool breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const /*override*/;
35
36 // vIndex: 130
37 virtual void _addHardCodedBlockComponents(::Experiments const& experiments) /*override*/;
38
39 // vIndex: 0
40 virtual ~IceBlock() /*override*/ = default;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI void randomTick(::BlockEvents::BlockRandomTickEvent& eventData) const;
47 // NOLINTEND
48
49public:
50 // static functions
51 // NOLINTBEGIN
52 MCAPI static ::Block const& _getMeltedBlockAndSendEvents(::BlockSource& region, ::BlockPos const& pos);
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCAPI ::Block const* $playerWillDestroy(::Player& player, ::BlockPos const& pos, ::Block const& block) const;
59
60 MCFOLD bool $breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const;
61
62 MCAPI void $_addHardCodedBlockComponents(::Experiments const& experiments);
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCNAPI static void** $vftable();
69 // NOLINTEND
70};
Definition BaseGameVersion.h:8
Definition BlockRandomTickEvent.h:16
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition Experiments.h:14
Definition IceBlock.h:19
static MCAPI void ** $vftable()
Definition Player.h:119
Definition BlockRandomTickEvent.h:13