31 enum class SlotState : uchar {
37 enum class PoweredType :
int {
45 enum class NeighborDirection : uchar {
50 enum class SwapItemResult :
int {
51 NoItemsTransferred = 0,
52 SingleItemTransfer = 1,
70 virtual void onRedstoneUpdate(
::BlockSource& region,
::BlockPos const& pos,
int strength,
bool isFirstTime)
const
74 virtual bool hasComparatorSignal()
const ;
81 virtual ::AABB getCollisionShape(
94 virtual ::AABB
const& getVisualShapeInWorld(
102 virtual bool isInteractiveBlock()
const ;
108 virtual bool canProvideSupport(
::Block const&, uchar, ::BlockSupportType)
const ;
111 virtual bool liquidCanFlowIntoFromDirection(
112 uchar flowIntoFacing,
118 virtual void _addHardCodedBlockComponents(
::Experiments const&) ;
128 _blockHasPoweredShelfType(
::BlockSource const& region,
::BlockPos const& pos, ::ShelfBlock::PoweredType type)
const;
130 MCAPI ::std::tuple<::ShelfBlockActor*, ::ShelfBlockActor*, ::ShelfBlockActor*>
133 MCAPI ::std::tuple<::ShelfBlockActor*, ::ShelfBlockActor*, ::ShelfBlockActor*>
134 _getPoweredShelfBlockActorsForDoubleShelf(
140 MCAPI ::std::tuple<::ShelfBlockActor*, ::ShelfBlockActor*, ::ShelfBlockActor*>
141 _getPoweredShelfBlockActorsForTripleShelf(
148 MCAPI
bool _isMatchingPoweredShelfInMatchingDirection(
157 _setShelfData(
::BlockSource& region,
::BlockPos const& pos,
bool powered, ::ShelfBlock::PoweredType type)
const;
159 MCAPI ::ShelfBlock::SwapItemResult
162 MCAPI ::ShelfBlock::SwapItemResult _swapItem(
172 MCAPI
bool _swapItemsWithUnpoweredShelf(
209 MCAPI
void $onRedstoneUpdate(
::BlockSource& region,
::BlockPos const& pos,
int strength,
bool isFirstTime)
const;
211 MCFOLD
bool $hasComparatorSignal()
const;
215 MCAPI ::AABB $getCollisionShape(
225 MCFOLD ::AABB
const& $getVisualShapeInWorld(
232 MCFOLD
bool $isInteractiveBlock()
const;
236 MCAPI
bool $liquidCanFlowIntoFromDirection(
237 uchar flowIntoFacing,
242 MCAPI
void $_addHardCodedBlockComponents(
::Experiments const&);