Class EntityAIFloat

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.FloatGoal
com.minecolonies.core.entity.ai.minimal.EntityAIFloat

public class EntityAIFloat extends net.minecraft.world.entity.ai.goal.FloatGoal
Custom float goal, which bumps less(only every 3 ticks) and does trigger escape pathfinding underwater
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.goal.Goal

    net.minecraft.world.entity.ai.goal.Goal.Flag
  • Constructor Summary

    Constructors
    Constructor
    Description
    EntityAIFloat(net.minecraft.world.entity.Mob mob)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

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

    canUse, requiresUpdateEveryTick

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

    adjustedTickDelay, canContinueToUse, getFlags, isInterruptable, reducedTickDelay, setFlags, start, stop, toString

    Methods inherited from class java.lang.Object

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

    • EntityAIFloat

      public EntityAIFloat(net.minecraft.world.entity.Mob mob)
  • Method Details

    • tick

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