LeviLamina
Loading...
Searching...
No Matches
ShulkerBoxBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/optional_ref.h"
7#include "mc/world/level/block/BlockSupportType.h"
8#include "mc/world/level/block/ChestBlock.h"
9
10// auto generated forward declare list
11// clang-format off
12class AABB;
13class Actor;
14class BaseGameVersion;
15class Block;
16class BlockPos;
17class BlockSource;
18class Container;
21class Player;
22class Vec3;
23// clang-format on
24
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 88
30 virtual ::Block const* playerWillDestroy(::Player& player, ::BlockPos const& pos, ::Block const& block) const
31 /*override*/;
32
33 // vIndex: 91
34 virtual ::Block const&
35 getPlacementBlock(::Actor const& by, ::BlockPos const& pos, uchar face, ::Vec3 const& clickPos, int itemValue) const
36 /*override*/;
37
38 // vIndex: 66
39 virtual void setupRedstoneComponent(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
40
41 // vIndex: 58
42 virtual bool dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const
43 /*override*/;
44
45 // vIndex: 5
46 virtual ::AABB getCollisionShape(
47 ::Block const& block,
48 ::IConstBlockSource const& region,
49 ::BlockPos const& pos,
51 ) const /*override*/;
52
53 // vIndex: 9
54 virtual ::AABB const& getOutline(
55 ::Block const& block,
56 ::IConstBlockSource const& region,
57 ::BlockPos const& pos,
58 ::AABB& bufferValue
59 ) const /*override*/;
60
61 // vIndex: 83
62 virtual bool breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const /*override*/;
63
64 // vIndex: 22
65 virtual bool canProvideSupport(::Block const&, uchar, ::BlockSupportType) const /*override*/;
66
67 // vIndex: 0
68 virtual ~ShulkerBoxBlock() /*override*/ = default;
69 // NOLINTEND
70
71public:
72 // static variables
73 // NOLINTBEGIN
74 MCAPI static ::BaseGameVersion const& SHULKER_BOX_DOESNT_BREAK_FALLING_BLOCK_VERSION();
75 // NOLINTEND
76
77public:
78 // virtual function thunks
79 // NOLINTBEGIN
80 MCAPI ::Block const* $playerWillDestroy(::Player& player, ::BlockPos const& pos, ::Block const& block) const;
81
82 MCAPI ::Block const& $getPlacementBlock(
83 ::Actor const& by,
84 ::BlockPos const& pos,
85 uchar face,
86 ::Vec3 const& clickPos,
87 int itemValue
88 ) const;
89
90 MCAPI void $setupRedstoneComponent(::BlockSource& region, ::BlockPos const& pos) const;
91
92 MCAPI bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const;
93
94 MCAPI ::AABB $getCollisionShape(
95 ::Block const& block,
96 ::IConstBlockSource const& region,
97 ::BlockPos const& pos,
99 ) const;
100
101 MCAPI ::AABB const& $getOutline(
102 ::Block const& block,
103 ::IConstBlockSource const& region,
104 ::BlockPos const& pos,
105 ::AABB& bufferValue
106 ) const;
107
108 MCAPI bool $breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const;
109 // NOLINTEND
110
111public:
112 // vftables
113 // NOLINTBEGIN
114 MCAPI static void** $vftable();
115 // NOLINTEND
116};
Definition AABB.h:18
Definition Actor.h:103
Definition BaseGameVersion.h:8
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition ChestBlock.h:27
Definition Container.h:30
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:24
Definition Player.h:119
Definition ShulkerBoxBlock.h:25
Definition Vec3.h:10
Definition optional_ref.h:10