Package net.minecraft.entity.ai.goal
Class PounceAtTargetGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.PounceAtTargetGoal
public class PounceAtTargetGoal extends Goal
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description private MobEntitymobprivate LivingEntitytargetprivate floatvelocity -
Constructor Summary
Constructors Constructor Description PounceAtTargetGoal(MobEntity rmob, float velocity) -
Method Summary
Modifier and Type Method Description booleancanStart()booleanshouldContinue()voidstart()Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, stop, tick, toString
-
Field Details
-
Constructor Details
-
Method Details
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classGoal
-
start
public void start()
-