Class TransportedItemStackHandlerBehaviour
java.lang.Object
com.simibubi.create.foundation.tileEntity.TileEntityBehaviour
com.simibubi.create.foundation.tileEntity.behaviour.belt.TransportedItemStackHandlerBehaviour
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BehaviourType<TransportedItemStackHandlerBehaviour>Fields inherited from class com.simibubi.create.foundation.tileEntity.TileEntityBehaviour
tileEntity -
Constructor Summary
ConstructorsConstructorDescriptionTransportedItemStackHandlerBehaviour(SmartTileEntity te, TransportedItemStackHandlerBehaviour.ProcessingCallback processingCallback) -
Method Summary
Modifier and TypeMethodDescriptiongetType()net.minecraft.world.phys.Vec3getWorldPositionOf(TransportedItemStack transported) voidhandleCenteredProcessingOnAllItems(float maxDistanceFromCenter, Function<TransportedItemStack, TransportedItemStackHandlerBehaviour.TransportedResult> processFunction) voidhandleProcessingOnAllItems(Function<TransportedItemStack, TransportedItemStackHandlerBehaviour.TransportedResult> processFunction) voidhandleProcessingOnItem(TransportedItemStack item, TransportedItemStackHandlerBehaviour.TransportedResult processOutput) Methods inherited from class com.simibubi.create.foundation.tileEntity.TileEntityBehaviour
destroy, destroy, get, get, getPos, getRequiredItems, getWorld, initialize, isSafeNBT, lazyTick, onBlockChanged, onNeighborChanged, read, remove, setLazyTickRate, tick, write
-
Field Details
-
TYPE
-
-
Constructor Details
-
TransportedItemStackHandlerBehaviour
public TransportedItemStackHandlerBehaviour(SmartTileEntity te, TransportedItemStackHandlerBehaviour.ProcessingCallback processingCallback)
-
-
Method Details
-
withStackPlacement
public TransportedItemStackHandlerBehaviour withStackPlacement(TransportedItemStackHandlerBehaviour.PositionGetter function) -
handleProcessingOnAllItems
public void handleProcessingOnAllItems(Function<TransportedItemStack, TransportedItemStackHandlerBehaviour.TransportedResult> processFunction) -
handleProcessingOnItem
public void handleProcessingOnItem(TransportedItemStack item, TransportedItemStackHandlerBehaviour.TransportedResult processOutput) -
handleCenteredProcessingOnAllItems
public void handleCenteredProcessingOnAllItems(float maxDistanceFromCenter, Function<TransportedItemStack, TransportedItemStackHandlerBehaviour.TransportedResult> processFunction) -
getWorldPositionOf
-
getType
- Specified by:
getTypein classTileEntityBehaviour
-