LeviLamina
Loading...
Searching...
No Matches
CoralBlock.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 BlockPos;
11class BlockSource;
12class Experiments;
13class HashedString;
14namespace BlockEvents { class BlockPlaceEvent; }
15namespace BlockEvents { class BlockQueuedTickEvent; }
16// clang-format on
17
18class CoralBlock : public ::BlockLegacy {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 48, ::HashedString const> mDeadVersion;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 // vIndex: 87
29 virtual void neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const
30 /*override*/;
31
32 // vIndex: 81
33 virtual bool mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
34
35 // vIndex: 131
36 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
37
38 // vIndex: 0
39 virtual ~CoralBlock() /*override*/ = default;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI CoralBlock(::std::string const& nameId, int id, ::HashedString const& deadVersion);
46
47 MCAPI void onPlace(::BlockEvents::BlockPlaceEvent& eventData) const;
48
49 MCAPI void tick(::BlockEvents::BlockQueuedTickEvent& eventData) const;
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCAPI void* $ctor(::std::string const& nameId, int id, ::HashedString const& deadVersion);
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCAPI void $neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const;
68
69 MCFOLD bool $mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const;
70
71 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
72 // NOLINTEND
73
74public:
75 // vftables
76 // NOLINTBEGIN
77 MCAPI static void** $vftable();
78 // NOLINTEND
79};
Definition BlockPlaceEvent.h:15
Definition BlockQueuedTickEvent.h:15
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition CoralBlock.h:18
Definition Experiments.h:14
Definition HashedString.h:5