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: 78
26 virtual bool mayPlace(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
27
28 // vIndex: 79
29 virtual bool mayPlace(::BlockSource& region, ::BlockPos const& pos, uchar face) const /*override*/;
30
31 // vIndex: 91
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: 122
37 virtual void animateTickBedrockLegacy(::BlockAnimateTickData const& tickData) const /*override*/;
38
39 // vIndex: 83
40 virtual bool breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const /*override*/;
41
42 // vIndex: 22
43 virtual bool canProvideSupport(::Block const& block, uchar face, ::BlockSupportType type) const /*override*/;
44
45 // vIndex: 138
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: 56
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 // virtual function thunks
61 // NOLINTBEGIN
62 MCFOLD bool $mayPlace(::BlockSource& region, ::BlockPos const& pos) const;
63
64 MCFOLD bool $mayPlace(::BlockSource& region, ::BlockPos const& pos, uchar face) const;
65
66 MCAPI ::Block const& $getPlacementBlock(
67 ::Actor const& by,
68 ::BlockPos const& pos,
69 uchar face,
70 ::Vec3 const& clickPos,
71 int itemValue
72 ) const;
73
74 MCAPI void $animateTickBedrockLegacy(::BlockAnimateTickData const& tickData) const;
75
76 MCAPI bool $breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const;
77
78 MCAPI bool $canProvideSupport(::Block const& block, uchar face, ::BlockSupportType type) const;
79
80 MCFOLD bool $canSurvive(::BlockSource& region, ::BlockPos const& pos) const;
81
82 MCAPI ::AABB const& $getVisualShape(::Block const& block, ::AABB& bufferAABB) const;
83
84 MCFOLD bool $checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const;
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
Definition AABB.h:18
Definition Actor.h:103
Definition BaseGameVersion.h:8
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition EndRodBlock.h:21
static MCAPI void ** $vftable()
Definition Vec3.h:10
Definition BlockAnimateTickData.h:5