Class PlantLookAtPlayerGoal

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.LookAtPlayerGoal
nokunami.floral_warfare.common.entity.ai.goal.plants.misc.PlantLookAtPlayerGoal

public class PlantLookAtPlayerGoal extends net.minecraft.world.entity.ai.goal.LookAtPlayerGoal
  • 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.LookAtPlayerGoal

    DEFAULT_PROBABILITY, lookAt, lookAtContext, lookAtType, lookDistance, mob, probability
  • Constructor Summary

    Constructors
    Constructor
    Description
    PlantLookAtPlayerGoal(BasePlant pMob, float pLookDistance)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     

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

    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

    • PlantLookAtPlayerGoal

      public PlantLookAtPlayerGoal(BasePlant pMob, float pLookDistance)
  • Method Details

    • canUse

      public boolean canUse()
      Overrides:
      canUse in class net.minecraft.world.entity.ai.goal.LookAtPlayerGoal