Class FollowAlphaWerewolfGoal<T extends WerewolfBaseEntity & de.teamlapen.werewolves.api.entities.IEntityFollower>

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
de.teamlapen.werewolves.entities.goals.FollowAlphaWerewolfGoal<T>

public class FollowAlphaWerewolfGoal<T extends WerewolfBaseEntity & de.teamlapen.werewolves.api.entities.IEntityFollower> extends net.minecraft.world.entity.ai.goal.Goal
  • 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
    Modifier and Type
    Field
    Description
    protected final T
     
    protected final double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    FollowAlphaWerewolfGoal(T entity, double speed)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     
    void
     
    void
     

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

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

    Methods inherited from class java.lang.Object

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

    • entity

      protected final T extends WerewolfBaseEntity & de.teamlapen.werewolves.api.entities.IEntityFollower entity
    • speed

      protected final double speed
  • Constructor Details

    • FollowAlphaWerewolfGoal

      public FollowAlphaWerewolfGoal(T entity, double speed)
  • Method Details

    • canContinueToUse

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

      public boolean canUse()
      Specified by:
      canUse in class net.minecraft.world.entity.ai.goal.Goal
    • start

      public void start()
      Overrides:
      start in class net.minecraft.world.entity.ai.goal.Goal
    • tick

      public void tick()
      Overrides:
      tick in class net.minecraft.world.entity.ai.goal.Goal