Class AnimateTileEntityInstruction
java.lang.Object
com.simibubi.create.foundation.ponder.instruction.PonderInstruction
com.simibubi.create.foundation.ponder.instruction.TickingInstruction
com.simibubi.create.foundation.ponder.instruction.AnimateTileEntityInstruction
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected doubleprotected final net.minecraft.core.BlockPosprotected doubleprotected doubleFields inherited from class com.simibubi.create.foundation.ponder.instruction.TickingInstruction
remainingTicks, totalTicks -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAnimateTileEntityInstruction(net.minecraft.core.BlockPos location, float totalDelta, int ticks, BiConsumer<PonderWorld, Float> setter, Function<PonderWorld, Float> getter) -
Method Summary
Modifier and TypeMethodDescriptionstatic AnimateTileEntityInstructionbearing(net.minecraft.core.BlockPos location, float totalDelta, int ticks) static AnimateTileEntityInstructionbogey(net.minecraft.core.BlockPos location, float totalDelta, int ticks) static AnimateTileEntityInstructiondeployer(net.minecraft.core.BlockPos location, float totalDelta, int ticks) protected final voidfirstTick(PonderScene scene) static AnimateTileEntityInstructionpulley(net.minecraft.core.BlockPos location, float totalDelta, int ticks) voidtick(PonderScene scene) Methods inherited from class com.simibubi.create.foundation.ponder.instruction.TickingInstruction
isBlocking, isComplete, onScheduled, resetMethods inherited from class com.simibubi.create.foundation.ponder.instruction.PonderInstruction
simple
-
Field Details
-
deltaPerTick
protected double deltaPerTick -
totalDelta
protected double totalDelta -
target
protected double target -
location
protected final net.minecraft.core.BlockPos location
-
-
Constructor Details
-
AnimateTileEntityInstruction
protected AnimateTileEntityInstruction(net.minecraft.core.BlockPos location, float totalDelta, int ticks, BiConsumer<PonderWorld, Float> setter, Function<PonderWorld, Float> getter)
-
-
Method Details
-
bearing
public static AnimateTileEntityInstruction bearing(net.minecraft.core.BlockPos location, float totalDelta, int ticks) -
bogey
public static AnimateTileEntityInstruction bogey(net.minecraft.core.BlockPos location, float totalDelta, int ticks) -
pulley
public static AnimateTileEntityInstruction pulley(net.minecraft.core.BlockPos location, float totalDelta, int ticks) -
deployer
public static AnimateTileEntityInstruction deployer(net.minecraft.core.BlockPos location, float totalDelta, int ticks) -
firstTick
- Overrides:
firstTickin classTickingInstruction
-
tick
- Overrides:
tickin classTickingInstruction
-