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: 89
30 virtual ::Block const* playerWillDestroy(::Player& player, ::BlockPos const& pos, ::Block const& block) const
31 /*override*/;
32
33 // vIndex: 92
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: 67
39 virtual void setupRedstoneComponent(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
40
41 // vIndex: 59
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&
55 getOutline(::Block const& block, ::IConstBlockSource const& region, ::BlockPos const& pos, ::AABB& bufferValue)
56 const /*override*/;
57
58 // vIndex: 84
59 virtual bool breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const /*override*/;
60
61 // vIndex: 23
62 virtual bool canProvideSupport(::Block const&, uchar, ::BlockSupportType) const /*override*/;
63
64 // vIndex: 0
65 virtual ~ShulkerBoxBlock() /*override*/ = default;
66 // NOLINTEND
67
68public:
69 // static variables
70 // NOLINTBEGIN
71 MCAPI static ::BaseGameVersion const& SHULKER_BOX_DOESNT_BREAK_FALLING_BLOCK_VERSION();
72 // NOLINTEND
73
74public:
75 // destructor thunk
76 // NOLINTBEGIN
77
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83 MCAPI ::Block const* $playerWillDestroy(::Player& player, ::BlockPos const& pos, ::Block const& block) const;
84
85 MCAPI ::Block const&
86 $getPlacementBlock(::Actor const& by, ::BlockPos const& pos, uchar face, ::Vec3 const& clickPos, int itemValue)
87 const;
88
89 MCAPI void $setupRedstoneComponent(::BlockSource& region, ::BlockPos const& pos) const;
90
91 MCAPI bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const;
92
93 MCAPI ::AABB $getCollisionShape(
94 ::Block const& block,
95 ::IConstBlockSource const& region,
96 ::BlockPos const& pos,
98 ) const;
99
100 MCAPI ::AABB const&
101 $getOutline(::Block const& block, ::IConstBlockSource const& region, ::BlockPos const& pos, ::AABB& bufferValue)
102 const;
103
104 MCAPI bool $breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const;
105
106 MCFOLD bool $canProvideSupport(::Block const&, uchar, ::BlockSupportType) const;
107 // NOLINTEND
108
109public:
110 // vftables
111 // NOLINTBEGIN
112 MCAPI static void** $vftable();
113 // NOLINTEND
114};
Definition AABB.h:16
Definition Actor.h:104
Definition BaseGameVersion.h:13
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
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