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;
16class Random;
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: 89
30 virtual ::Block const* playerWillDestroy(::Player& player, ::BlockPos const& pos, ::Block const& block) const
31 /*override*/;
32
33 // vIndex: 137
34 virtual void randomTick(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const /*override*/;
35
36 // vIndex: 84
37 virtual bool breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const /*override*/;
38
39 // vIndex: 131
40 virtual void _addHardCodedBlockComponents(::Experiments const& experiments) /*override*/;
41
42 // vIndex: 0
43 virtual ~IceBlock() /*override*/ = default;
44 // NOLINTEND
45
46public:
47 // static functions
48 // NOLINTBEGIN
49 MCAPI static ::Block const& _getMeltedBlockAndSendEvents(::BlockSource& region, ::BlockPos const& pos);
50 // NOLINTEND
51
52public:
53 // destructor thunk
54 // NOLINTBEGIN
55
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 MCAPI void $randomTick(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const;
64
65 MCFOLD bool $breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const;
66
67 MCFOLD void $_addHardCodedBlockComponents(::Experiments const& experiments);
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCAPI static void** $vftable();
74 // NOLINTEND
75};
Definition BaseGameVersion.h:13
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition Experiments.h:14
Definition IceBlock.h:19
Definition Player.h:119
Definition Random.h:16