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/deps/core/string/HashedString.h"
7#include "mc/world/level/block/BlockLegacy.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockPos;
12class BlockSource;
13class Experiments;
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 // prevent constructor by default
27 CoralBlock();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 86
33 virtual void neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const
34 /*override*/;
35
36 // vIndex: 80
37 virtual bool mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
38
39 // vIndex: 130
40 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
41
42 // vIndex: 0
43 virtual ~CoralBlock() /*override*/ = default;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI CoralBlock(::std::string const& nameId, int id, ::HashedString const& deadVersion);
50
51 MCAPI void onPlace(::BlockEvents::BlockPlaceEvent& eventData) const;
52
53 MCAPI void tick(::BlockEvents::BlockQueuedTickEvent& eventData) const;
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCAPI void* $ctor(::std::string const& nameId, int id, ::HashedString const& deadVersion);
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCAPI void $neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const;
66
67 MCFOLD bool $mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const;
68
69 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCNAPI static void** $vftable();
76 // NOLINTEND
77};
Definition BlockPlaceEvent.h:16
Definition BlockQueuedTickEvent.h:16
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition CoralBlock.h:18
static MCAPI void ** $vftable()
Definition Experiments.h:14
Definition HashedString.h:5