31 enum class NeighborDirection : uchar {
36 enum class PoweredType :
int {
44 enum class SlotState : uchar {
50 enum class SwapItemResult :
int {
51 NoItemsTransferred = 0,
52 SingleItemTransfer = 1,
66 virtual void onRedstoneUpdate(
::BlockSource& region,
::BlockPos const& pos,
int strength,
bool isFirstTime)
const
69 virtual bool hasComparatorSignal()
const ;
74 virtual ::AABB getCollisionShape(
85 virtual ::AABB
const& getVisualShapeInWorld(
92 virtual bool isInteractiveBlock()
const ;
96 virtual bool canProvideSupport(
::Block const& block, uchar face, ::BlockSupportType)
const ;
98 virtual bool liquidCanFlowIntoFromDirection(
104 virtual void _addHardCodedBlockComponents(
::Experiments const&) ;
113 _blockHasPoweredShelfType(
::BlockSource const& region,
::BlockPos const& pos, ::ShelfBlock::PoweredType type)
const;
115 MCAPI ::std::tuple<::ShelfBlockActor*, ::ShelfBlockActor*, ::ShelfBlockActor*>
118 MCAPI ::std::tuple<::ShelfBlockActor*, ::ShelfBlockActor*, ::ShelfBlockActor*>
119 _getPoweredShelfBlockActorsForDoubleShelf(
125 MCAPI ::std::tuple<::ShelfBlockActor*, ::ShelfBlockActor*, ::ShelfBlockActor*>
126 _getPoweredShelfBlockActorsForTripleShelf(
133 MCAPI ::ShelfBlock::SwapItemResult
136 MCAPI
bool _isMatchingPoweredShelfInMatchingDirection(
145 _setShelfData(
::BlockSource& region,
::BlockPos const& pos,
bool powered, ::ShelfBlock::PoweredType type)
const;
150 MCAPI ::ShelfBlock::SwapItemResult _swapItemsWithHotbar(
160 MCAPI
bool _swapItemsWithUnpoweredShelf(
187 MCAPI_C static ::ShelfBlock::SlotState
200 MCAPI
void $onRedstoneUpdate(
::BlockSource& region,
::BlockPos const& pos,
int strength,
bool isFirstTime)
const;
202 MCFOLD
bool $hasComparatorSignal()
const;
206 MCAPI ::AABB $getCollisionShape(
216 MCFOLD ::AABB
const& $getVisualShapeInWorld(
223 MCFOLD
bool $isInteractiveBlock()
const;
227 MCAPI
bool $canProvideSupport(
::Block const& block, uchar face, ::BlockSupportType)
const;
229 MCAPI
bool $liquidCanFlowIntoFromDirection(
230 uchar flowIntoFacing,
235 MCAPI
void $_addHardCodedBlockComponents(
::Experiments const&);
243 MCAPI
static void** $vftable();