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 -
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.FloatGoal
canUse, requiresUpdateEveryTickMethods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, canContinueToUse, getFlags, isInterruptable, reducedTickDelay, setFlags, start, stop, toString
-
Constructor Details
-
EntityAIFloat
public EntityAIFloat(net.minecraft.world.entity.Mob mob)
-
-
Method Details
-
tick
public void tick()- Overrides:
tickin classnet.minecraft.world.entity.ai.goal.FloatGoal
-