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
    Constructor
    Description
    CreeperAvoidPlayerGoal(net.minecraft.world.entity.monster.Creeper mob)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
     

    Methods inherited from class net.minecraft.world.entity.ai.goal.AvoidEntityGoal

    canContinueToUse, start, stop, tick

    Methods inherited from class net.minecraft.world.entity.ai.goal.Goal

    adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CreeperAvoidPlayerGoal

      public CreeperAvoidPlayerGoal(net.minecraft.world.entity.monster.Creeper mob)
  • Method Details

    • enable

      public void enable()
    • canUse

      public boolean canUse()
      Overrides:
      canUse in class net.minecraft.world.entity.ai.goal.AvoidEntityGoal<net.minecraft.world.entity.player.Player>