Class PneumaticTubeTransportInstruction
java.lang.Object
net.createmod.ponder.foundation.instruction.PonderInstruction
com.petrolpark.petrolsparts.content.pneumatic_tube.PneumaticTubeTransportInstruction
public class PneumaticTubeTransportInstruction
extends net.createmod.ponder.foundation.instruction.PonderInstruction
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanfinal net.minecraft.core.BlockPosprotected Runnableprotected int -
Constructor Summary
ConstructorsConstructorDescriptionPneumaticTubeTransportInstruction(net.minecraft.core.BlockPos tubeInputPos, boolean blocking) -
Method Summary
Modifier and TypeMethodDescriptionprotected intgetDuration(net.createmod.ponder.foundation.PonderScene scene) getInput(net.createmod.ponder.foundation.PonderScene scene) booleanbooleanvoidonScheduled(net.createmod.ponder.foundation.PonderScene scene) voidreset(net.createmod.ponder.foundation.PonderScene scene) voidtick(net.createmod.ponder.foundation.PonderScene scene) Methods inherited from class net.createmod.ponder.foundation.instruction.PonderInstruction
simple
-
Field Details
-
pos
public final net.minecraft.core.BlockPos pos -
blocking
public final boolean blocking -
ticksRemaining
protected int ticksRemaining -
removeCallback
-
-
Constructor Details
-
PneumaticTubeTransportInstruction
public PneumaticTubeTransportInstruction(net.minecraft.core.BlockPos tubeInputPos, boolean blocking)
-
-
Method Details
-
isBlocking
public boolean isBlocking()- Overrides:
isBlockingin classnet.createmod.ponder.foundation.instruction.PonderInstruction
-
isComplete
public boolean isComplete()- Specified by:
isCompletein classnet.createmod.ponder.foundation.instruction.PonderInstruction
-
onScheduled
public void onScheduled(net.createmod.ponder.foundation.PonderScene scene) - Overrides:
onScheduledin classnet.createmod.ponder.foundation.instruction.PonderInstruction
-
tick
public void tick(net.createmod.ponder.foundation.PonderScene scene) - Specified by:
tickin classnet.createmod.ponder.foundation.instruction.PonderInstruction
-
reset
public void reset(net.createmod.ponder.foundation.PonderScene scene) - Overrides:
resetin classnet.createmod.ponder.foundation.instruction.PonderInstruction
-
getInput
public Optional<PneumaticTubeBlockEntity.Input> getInput(net.createmod.ponder.foundation.PonderScene scene) -
getDuration
protected int getDuration(net.createmod.ponder.foundation.PonderScene scene)
-