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& block, uchar face, ::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 ::ShelfBlock::SwapItemResult
151 MCAPI
bool _isMatchingPoweredShelfInMatchingDirection(
160 _setShelfData(
::BlockSource& region,
::BlockPos const& pos,
bool powered, ::ShelfBlock::PoweredType type)
const;
165 MCAPI ::ShelfBlock::SwapItemResult _swapItemsWithHotbar(
175 MCAPI
bool _swapItemsWithUnpoweredShelf(
212 MCAPI
void $onRedstoneUpdate(
::BlockSource& region,
::BlockPos const& pos,
int strength,
bool isFirstTime)
const;
214 MCFOLD
bool $hasComparatorSignal()
const;
218 MCAPI ::AABB $getCollisionShape(
228 MCFOLD ::AABB
const& $getVisualShapeInWorld(
235 MCFOLD
bool $isInteractiveBlock()
const;
239 MCAPI
bool $canProvideSupport(
::Block const& block, uchar face, ::BlockSupportType)
const;
241 MCAPI
bool $liquidCanFlowIntoFromDirection(
242 uchar flowIntoFacing,
247 MCAPI
void $_addHardCodedBlockComponents(
::Experiments const&);