LeviLamina
Loading...
Searching...
No Matches
EndRodBlock.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#include "mc/world/level/block/BlockSupportType.h"
8
9// auto generated forward declare list
10// clang-format off
11class AABB;
12class Actor;
13class BaseGameVersion;
14class Block;
15class BlockPos;
16class BlockSource;
17class Vec3;
19// clang-format on
20
21class EndRodBlock : public ::BlockLegacy {
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 // vIndex: 79
26 virtual bool mayPlace(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
27
28 // vIndex: 80
29 virtual bool mayPlace(::BlockSource& region, ::BlockPos const& pos, uchar face) const /*override*/;
30
31 // vIndex: 92
32 virtual ::Block const&
33 getPlacementBlock(::Actor const& by, ::BlockPos const& pos, uchar face, ::Vec3 const& clickPos, int itemValue) const
34 /*override*/;
35
36 // vIndex: 123
37 virtual void animateTickBedrockLegacy(::BlockAnimateTickData const& tickData) const /*override*/;
38
39 // vIndex: 84
40 virtual bool breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const /*override*/;
41
42 // vIndex: 23
43 virtual bool canProvideSupport(::Block const& block, uchar face, ::BlockSupportType type) const /*override*/;
44
45 // vIndex: 142
46 virtual bool canSurvive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
47
48 // vIndex: 11
49 virtual ::AABB const& getVisualShape(::Block const& block, ::AABB& bufferAABB) const /*override*/;
50
51 // vIndex: 57
52 virtual bool checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const
53 /*override*/;
54
55 // vIndex: 0
56 virtual ~EndRodBlock() /*override*/ = default;
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCFOLD bool $mayPlace(::BlockSource& region, ::BlockPos const& pos) const;
69
70 MCFOLD bool $mayPlace(::BlockSource& region, ::BlockPos const& pos, uchar face) const;
71
72 MCAPI ::Block const&
73 $getPlacementBlock(::Actor const& by, ::BlockPos const& pos, uchar face, ::Vec3 const& clickPos, int itemValue)
74 const;
75
76 MCAPI void $animateTickBedrockLegacy(::BlockAnimateTickData const& tickData) const;
77
78 MCAPI bool $breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const;
79
80 MCAPI bool $canProvideSupport(::Block const& block, uchar face, ::BlockSupportType type) const;
81
82 MCFOLD bool $canSurvive(::BlockSource& region, ::BlockPos const& pos) const;
83
84 MCAPI ::AABB const& $getVisualShape(::Block const& block, ::AABB& bufferAABB) const;
85
86 MCFOLD bool $checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const;
87 // NOLINTEND
88
89public:
90 // vftables
91 // NOLINTBEGIN
92 MCAPI static void** $vftable();
93 // NOLINTEND
94};
Definition AABB.h:16
Definition Actor.h:104
Definition BaseGameVersion.h:13
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition EndRodBlock.h:21
Definition Vec3.h:10
Definition BlockAnimateTickData.h:5