LeviLamina
Loading...
Searching...
No Matches
AmethystClusterBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/AmethystBlock.h"
7#include "mc/world/level/block/BlockSupportType.h"
8
9// auto generated forward declare list
10// clang-format off
11class AABB;
12class Actor;
13class Block;
14class BlockLegacy;
15class BlockPos;
16class BlockSource;
17class Experiments;
18namespace BlockEvents { class BlockQueuedTickEvent; }
19// clang-format on
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<4, 4, int> mHeight;
26 ::ll::TypedStorage<4, 4, int> mAabbOffset;
27 // NOLINTEND
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 125
33 virtual ::BlockLegacy& init() /*override*/;
34
35 // vIndex: 142
36 virtual bool canSurvive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
37
38 // vIndex: 80
39 virtual bool mayPlace(::BlockSource& region, ::BlockPos const& pos, uchar face) const /*override*/;
40
41 // vIndex: 79
42 virtual bool mayPlace(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
43
44 // vIndex: 87
45 virtual void neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const
46 /*override*/;
47
48 // vIndex: 23
49 virtual bool canProvideSupport(::Block const&, uchar, ::BlockSupportType) const /*override*/;
50
51 // vIndex: 11
52 virtual ::AABB const& getVisualShape(::Block const& block, ::AABB& bufferAABB) const /*override*/;
53
54 // vIndex: 57
55 virtual bool checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const
56 /*override*/;
57
58 // vIndex: 131
59 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
60
61 // vIndex: 0
62 virtual ~AmethystClusterBlock() /*override*/ = default;
63 // NOLINTEND
64
65public:
66 // member functions
67 // NOLINTBEGIN
68 MCAPI ::AABB _shapeFromDirection(int facing) const;
69
70 MCFOLD void tick(::BlockEvents::BlockQueuedTickEvent& eventData) const;
71 // NOLINTEND
72
73public:
74 // destructor thunk
75 // NOLINTBEGIN
76
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82 MCAPI ::BlockLegacy& $init();
83
84 MCAPI bool $canSurvive(::BlockSource& region, ::BlockPos const& pos) const;
85
86 MCAPI bool $mayPlace(::BlockSource& region, ::BlockPos const& pos, uchar face) const;
87
88 MCFOLD bool $mayPlace(::BlockSource& region, ::BlockPos const& pos) const;
89
90 MCAPI void $neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const;
91
92 MCAPI ::AABB const& $getVisualShape(::Block const& block, ::AABB& bufferAABB) const;
93
94 MCFOLD bool $checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const;
95
96 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
97 // NOLINTEND
98
99public:
100 // vftables
101 // NOLINTBEGIN
102 MCAPI static void** $vftable();
103 // NOLINTEND
104};
Definition AABB.h:16
Definition Actor.h:104
Definition AmethystBlock.h:15
Definition AmethystClusterBlock.h:21
Definition BlockQueuedTickEvent.h:15
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition Experiments.h:14