LeviLamina
Loading...
Searching...
No Matches
BorderBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/WallBlock.h"
7
8// auto generated forward declare list
9// clang-format off
10class AABB;
11class Block;
12class BlockPos;
13class BlockSource;
16namespace BlockEvents { class BlockPlaceEvent; }
17// clang-format on
18
19class BorderBlock : public ::WallBlock {
20public:
21 // prevent constructor by default
22 BorderBlock();
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual ::std::string buildDescriptionId(::Block const&) const /*override*/;
28
29 virtual ::AABB const& getVisualShape(::Block const& bufferAABB, ::AABB&) const /*override*/;
30
31 virtual ::AABB const&
32 getVisualShapeInWorld(::Block const& block, ::IConstBlockSource const& bufferAABB, ::BlockPos const&, ::AABB&) const
33 /*override*/;
34
35 virtual int getVariant(::Block const& block) const /*override*/;
36
37 virtual void animateTickBedrockLegacy(::BlockAnimateTickData const& tickData) const /*override*/;
38
39 virtual void setupRedstoneComponent(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
40
41 virtual void onRemove(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI BorderBlock(::std::string const& nameId, int id);
48
49 MCFOLD void onPlace(::BlockEvents::BlockPlaceEvent& eventData) const;
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCAPI void* $ctor(::std::string const& nameId, int id);
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCAPI ::std::string $buildDescriptionId(::Block const&) const;
62
63 MCAPI ::AABB const& $getVisualShape(::Block const& bufferAABB, ::AABB&) const;
64
65 MCFOLD ::AABB const& $getVisualShapeInWorld(
66 ::Block const& block,
67 ::IConstBlockSource const& bufferAABB,
68 ::BlockPos const&,
69 ::AABB&
70 ) const;
71
72 MCFOLD int $getVariant(::Block const& block) const;
73
74 MCAPI void $animateTickBedrockLegacy(::BlockAnimateTickData const& tickData) const;
75
76 MCAPI void $setupRedstoneComponent(::BlockSource& region, ::BlockPos const& pos) const;
77
78 MCAPI void $onRemove(::BlockSource& region, ::BlockPos const& pos) const;
79
80
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCAPI static void** $vftable();
87 // NOLINTEND
88};
Definition AABB.h:18
Definition BlockPlaceEvent.h:18
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition Block.h:69
Definition IConstBlockSource.h:24
Definition BlockAnimateTickData.h:14