Class DoNothingGoal

java.lang.Object
net.minestom.server.entity.ai.GoalSelector
net.minestom.server.entity.ai.goal.DoNothingGoal

public class DoNothingGoal extends GoalSelector
  • Constructor Details

    • DoNothingGoal

      public DoNothingGoal(EntityCreature entityCreature, long time, float chance)
      Create a DoNothing goal
      Parameters:
      entityCreature - the entity
      time - the time in milliseconds where nothing happen
      chance - the chance to do nothing (0-1)
  • Method Details