Class AnimateBlockEntityInstruction
java.lang.Object
net.createmod.ponder.foundation.instruction.PonderInstruction
net.createmod.ponder.foundation.instruction.TickingInstruction
com.simibubi.create.foundation.ponder.instruction.AnimateBlockEntityInstruction
public class AnimateBlockEntityInstruction
extends net.createmod.ponder.foundation.instruction.TickingInstruction
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected doubleprotected final net.minecraft.core.BlockPosprotected doubleprotected doubleFields inherited from class net.createmod.ponder.foundation.instruction.TickingInstruction
remainingTicks, totalTicks -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAnimateBlockEntityInstruction(net.minecraft.core.BlockPos location, float totalDelta, int ticks, BiConsumer<net.createmod.ponder.api.level.PonderLevel, Float> setter, Function<net.createmod.ponder.api.level.PonderLevel, Float> getter) -
Method Summary
Modifier and TypeMethodDescriptionbearing(net.minecraft.core.BlockPos location, float totalDelta, int ticks) bogey(net.minecraft.core.BlockPos location, float totalDelta, int ticks) deployer(net.minecraft.core.BlockPos location, float totalDelta, int ticks) protected final voidfirstTick(net.createmod.ponder.foundation.PonderScene scene) pulley(net.minecraft.core.BlockPos location, float totalDelta, int ticks) voidtick(net.createmod.ponder.foundation.PonderScene scene) Methods inherited from class net.createmod.ponder.foundation.instruction.TickingInstruction
isBlocking, isComplete, onScheduled, resetMethods inherited from class net.createmod.ponder.foundation.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
-
AnimateBlockEntityInstruction
protected AnimateBlockEntityInstruction(net.minecraft.core.BlockPos location, float totalDelta, int ticks, BiConsumer<net.createmod.ponder.api.level.PonderLevel, Float> setter, Function<net.createmod.ponder.api.level.PonderLevel, Float> getter)
-
-
Method Details
-
bearing
public static AnimateBlockEntityInstruction bearing(net.minecraft.core.BlockPos location, float totalDelta, int ticks) -
bogey
public static AnimateBlockEntityInstruction bogey(net.minecraft.core.BlockPos location, float totalDelta, int ticks) -
pulley
public static AnimateBlockEntityInstruction pulley(net.minecraft.core.BlockPos location, float totalDelta, int ticks) -
deployer
public static AnimateBlockEntityInstruction deployer(net.minecraft.core.BlockPos location, float totalDelta, int ticks) -
firstTick
protected final void firstTick(net.createmod.ponder.foundation.PonderScene scene) - Overrides:
firstTickin classnet.createmod.ponder.foundation.instruction.TickingInstruction
-
tick
public void tick(net.createmod.ponder.foundation.PonderScene scene) - Overrides:
tickin classnet.createmod.ponder.foundation.instruction.TickingInstruction
-