Class TigerseyeBlockEntity.CreeperAvoidPlayerGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.AvoidEntityGoal<net.minecraft.world.entity.player.Player>
vazkii.botania.common.block.flower.functional.TigerseyeBlockEntity.CreeperAvoidPlayerGoal
- Enclosing class:
TigerseyeBlockEntity
public static class TigerseyeBlockEntity.CreeperAvoidPlayerGoal
extends net.minecraft.world.entity.ai.goal.AvoidEntityGoal<net.minecraft.world.entity.player.Player>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.Goal.Flag -
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.AvoidEntityGoal
avoidClass, avoidPredicate, maxDist, mob, path, pathNav, predicateOnAvoidEntity, toAvoid -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.AvoidEntityGoal
canContinueToUse, start, stop, tickMethods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Constructor Details
-
CreeperAvoidPlayerGoal
public CreeperAvoidPlayerGoal(net.minecraft.world.entity.monster.Creeper mob)
-
-
Method Details
-
enable
public void enable() -
canUse
public boolean canUse()- Overrides:
canUsein classnet.minecraft.world.entity.ai.goal.AvoidEntityGoal<net.minecraft.world.entity.player.Player>
-