LeviLamina
Loading...
Searching...
No Matches
LadderBlock.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
20class LadderBlock : public ::BlockLegacy {
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 // vIndex: 11
25 virtual ::AABB const& getVisualShape(::Block const& block, ::AABB& bufferAABB) const /*override*/;
26
27 // vIndex: 13
28 virtual bool
29 getLiquidClipVolume(::Block const& block, ::BlockSource& region, ::BlockPos const& pos, ::AABB& includeBox) const
30 /*override*/;
31
32 // vIndex: 80
33 virtual bool mayPlace(::BlockSource& region, ::BlockPos const& pos, uchar face) const /*override*/;
34
35 // vIndex: 92
36 virtual ::Block const&
37 getPlacementBlock(::Actor const& by, ::BlockPos const& pos, uchar face, ::Vec3 const& clickPos, int itemValue) const
38 /*override*/;
39
40 // vIndex: 50
41 virtual ::Block const& sanitizeFillBlock(::Block const& block) const /*override*/;
42
43 // vIndex: 142
44 virtual bool canSurvive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
45
46 // vIndex: 87
47 virtual void neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const
48 /*override*/;
49
50 // vIndex: 31
51 virtual bool isLavaBlocking() const /*override*/;
52
53 // vIndex: 131
54 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
55
56 // vIndex: 0
57 virtual ~LadderBlock() /*override*/ = default;
58 // NOLINTEND
59
60public:
61 // member functions
62 // NOLINTBEGIN
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 MCFOLD bool
78 $getLiquidClipVolume(::Block const& block, ::BlockSource& region, ::BlockPos const& pos, ::AABB& includeBox) const;
79
80 MCAPI bool $mayPlace(::BlockSource& region, ::BlockPos const& pos, uchar face) const;
81
82 MCAPI ::Block const&
83 $getPlacementBlock(::Actor const& by, ::BlockPos const& pos, uchar face, ::Vec3 const& clickPos, int itemValue)
84 const;
85
86 MCAPI ::Block const& $sanitizeFillBlock(::Block const& block) const;
87
88 MCAPI bool $canSurvive(::BlockSource& region, ::BlockPos const& pos) const;
89
90 MCFOLD void $neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const;
91
92 MCFOLD bool $isLavaBlocking() const;
93
94 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
100 MCAPI static void** $vftable();
101 // NOLINTEND
102};
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 LadderBlock.h:20
Definition Vec3.h:10