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: 79
33 virtual bool mayPlace(::BlockSource& region, ::BlockPos const& pos, uchar face) const /*override*/;
34
35 // vIndex: 91
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: 49
41 virtual ::Block const& sanitizeFillBlock(::Block const& block) const /*override*/;
42
43 // vIndex: 138
44 virtual bool canSurvive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
45
46 // vIndex: 86
47 virtual void neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const
48 /*override*/;
49
50 // vIndex: 30
51 virtual bool isLavaBlocking() const /*override*/;
52
53 // vIndex: 130
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 // virtual function thunks
68 // NOLINTBEGIN
69 MCAPI ::AABB const& $getVisualShape(::Block const& block, ::AABB& bufferAABB) const;
70
71 MCFOLD bool
72 $getLiquidClipVolume(::Block const& block, ::BlockSource& region, ::BlockPos const& pos, ::AABB& includeBox) const;
73
74 MCAPI bool $mayPlace(::BlockSource& region, ::BlockPos const& pos, uchar face) const;
75
76 MCAPI ::Block const& $getPlacementBlock(
77 ::Actor const& by,
78 ::BlockPos const& pos,
79 uchar face,
80 ::Vec3 const& clickPos,
81 int itemValue
82 ) const;
83
84 MCAPI ::Block const& $sanitizeFillBlock(::Block const& block) const;
85
86 MCAPI bool $canSurvive(::BlockSource& region, ::BlockPos const& pos) const;
87
88 MCFOLD void $neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const;
89
90 MCFOLD bool $isLavaBlocking() const;
91
92 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
93 // NOLINTEND
94
95public:
96 // vftables
97 // NOLINTBEGIN
98 MCNAPI static void** $vftable();
99 // NOLINTEND
100};
Definition AABB.h:18
Definition Actor.h:103
Definition BlockQueuedTickEvent.h:16
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition Experiments.h:14
Definition LadderBlock.h:20
static MCAPI void ** $vftable()
Definition Vec3.h:10