Class AnimateParrotInstruction
java.lang.Object
com.simibubi.create.foundation.ponder.instruction.PonderInstruction
com.simibubi.create.foundation.ponder.instruction.TickingInstruction
com.simibubi.create.foundation.ponder.instruction.AnimateElementInstruction<ParrotElement>
com.simibubi.create.foundation.ponder.instruction.AnimateParrotInstruction
-
Field Summary
Fields inherited from class com.simibubi.create.foundation.ponder.instruction.AnimateElementInstruction
deltaPerTick, element, link, target, totalDeltaFields inherited from class com.simibubi.create.foundation.ponder.instruction.TickingInstruction
remainingTicks, totalTicks -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAnimateParrotInstruction(ElementLink<ParrotElement> link, net.minecraft.world.phys.Vec3 totalDelta, int ticks, BiConsumer<ParrotElement, net.minecraft.world.phys.Vec3> setter, Function<ParrotElement, net.minecraft.world.phys.Vec3> getter) -
Method Summary
Modifier and TypeMethodDescriptionstatic AnimateParrotInstructionmove(ElementLink<ParrotElement> link, net.minecraft.world.phys.Vec3 offset, int ticks) static AnimateParrotInstructionrotate(ElementLink<ParrotElement> link, net.minecraft.world.phys.Vec3 rotation, int ticks) Methods inherited from class com.simibubi.create.foundation.ponder.instruction.AnimateElementInstruction
firstTick, tickMethods 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
-
Constructor Details
-
AnimateParrotInstruction
protected AnimateParrotInstruction(ElementLink<ParrotElement> link, net.minecraft.world.phys.Vec3 totalDelta, int ticks, BiConsumer<ParrotElement, net.minecraft.world.phys.Vec3> setter, Function<ParrotElement, net.minecraft.world.phys.Vec3> getter)
-
-
Method Details
-
rotate
public static AnimateParrotInstruction rotate(ElementLink<ParrotElement> link, net.minecraft.world.phys.Vec3 rotation, int ticks) -
move
public static AnimateParrotInstruction move(ElementLink<ParrotElement> link, net.minecraft.world.phys.Vec3 offset, int ticks)
-