Class LivingEntitySwingInstruction
java.lang.Object
com.simibubi.create.foundation.ponder.instruction.PonderInstruction
com.simibubi.create.foundation.ponder.instruction.TickingInstruction
com.petrolpark.client.ponder.instruction.LivingEntitySwingInstruction
public class LivingEntitySwingInstruction
extends com.simibubi.create.foundation.ponder.instruction.TickingInstruction
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.simibubi.create.foundation.ponder.ElementLink<com.simibubi.create.foundation.ponder.element.EntityElement>protected final Consumer<net.minecraft.world.entity.LivingEntity>Fields inherited from class com.simibubi.create.foundation.ponder.instruction.TickingInstruction
remainingTicks, totalTicks -
Constructor Summary
ConstructorsConstructorDescriptionLivingEntitySwingInstruction(com.simibubi.create.foundation.ponder.ElementLink<com.simibubi.create.foundation.ponder.element.EntityElement> entityLink) LivingEntitySwingInstruction(com.simibubi.create.foundation.ponder.ElementLink<com.simibubi.create.foundation.ponder.element.EntityElement> entityLink, Consumer<net.minecraft.world.entity.LivingEntity> onApexReached) -
Method Summary
Modifier and TypeMethodDescriptionvoidtick(com.simibubi.create.foundation.ponder.PonderScene scene) Methods inherited from class com.simibubi.create.foundation.ponder.instruction.TickingInstruction
firstTick, isBlocking, isComplete, onScheduled, resetMethods inherited from class com.simibubi.create.foundation.ponder.instruction.PonderInstruction
simple
-
Field Details
-
entityLink
protected final com.simibubi.create.foundation.ponder.ElementLink<com.simibubi.create.foundation.ponder.element.EntityElement> entityLink -
onApexReached
-
-
Constructor Details
-
LivingEntitySwingInstruction
public LivingEntitySwingInstruction(com.simibubi.create.foundation.ponder.ElementLink<com.simibubi.create.foundation.ponder.element.EntityElement> entityLink) -
LivingEntitySwingInstruction
public LivingEntitySwingInstruction(com.simibubi.create.foundation.ponder.ElementLink<com.simibubi.create.foundation.ponder.element.EntityElement> entityLink, Consumer<net.minecraft.world.entity.LivingEntity> onApexReached)
-
-
Method Details
-
tick
public void tick(com.simibubi.create.foundation.ponder.PonderScene scene) - Overrides:
tickin classcom.simibubi.create.foundation.ponder.instruction.TickingInstruction
-