LeviLamina
Loading...
Searching...
No Matches
LanternBlock.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 AABB;
11class Actor;
12class Block;
13class BlockPos;
14class BlockSource;
15class Experiments;
16class Vec3;
17namespace BlockEvents { class BlockQueuedTickEvent; }
18// clang-format on
19
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 // vIndex: 11
25 virtual ::AABB const& getVisualShape(::Block const& block, ::AABB& bufferAABB) const /*override*/;
26
27 // vIndex: 92
28 virtual ::Block const&
29 getPlacementBlock(::Actor const& by, ::BlockPos const& pos, uchar face, ::Vec3 const& clickPos, int itemValue) const
30 /*override*/;
31
32 // vIndex: 87
33 virtual void neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const
34 /*override*/;
35
36 // vIndex: 142
37 virtual bool canSurvive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
38
39 // vIndex: 64
40 virtual void movedByPiston(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
41
42 // vIndex: 79
43 virtual bool mayPlace(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
44
45 // vIndex: 57
46 virtual bool checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const
47 /*override*/;
48
49 // vIndex: 131
50 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
51
52 // vIndex: 0
53 virtual ~LanternBlock() /*override*/ = default;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCFOLD void _checkToQueueTick(::BlockSource& region, ::BlockPos const& pos) const;
60
61 MCAPI bool _couldHang(::BlockSource& region, ::BlockPos const& pos) const;
62
63 MCFOLD void tick(::BlockEvents::BlockQueuedTickEvent& eventData) const;
64 // NOLINTEND
65
66public:
67 // destructor thunk
68 // NOLINTBEGIN
69
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCAPI ::AABB const& $getVisualShape(::Block const& block, ::AABB& bufferAABB) const;
76
77 MCAPI ::Block const&
78 $getPlacementBlock(::Actor const& by, ::BlockPos const& pos, uchar face, ::Vec3 const& clickPos, int itemValue)
79 const;
80
81 MCFOLD void $neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const;
82
83 MCAPI bool $canSurvive(::BlockSource& region, ::BlockPos const& pos) const;
84
85 MCFOLD void $movedByPiston(::BlockSource& region, ::BlockPos const& pos) const;
86
87 MCAPI bool $mayPlace(::BlockSource& region, ::BlockPos const& pos) const;
88
89 MCAPI bool $checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const;
90
91 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
92 // NOLINTEND
93
94public:
95 // vftables
96 // NOLINTBEGIN
97 MCAPI static void** $vftable();
98 // NOLINTEND
99};
Definition AABB.h:16
Definition Actor.h:104
Definition BlockQueuedTickEvent.h:15
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition Experiments.h:14
Definition LanternBlock.h:20
Definition Vec3.h:10