Class InteractWithDoor

java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<LivingEntity>
net.minecraft.world.entity.ai.behavior.InteractWithDoor

public class InteractWithDoor extends Behavior<LivingEntity>
  • Field Details

    • COOLDOWN_BEFORE_RERUNNING_IN_SAME_NODE

      private static final int COOLDOWN_BEFORE_RERUNNING_IN_SAME_NODE
      See Also:
    • SKIP_CLOSING_DOOR_IF_FURTHER_AWAY_THAN

      private static final double SKIP_CLOSING_DOOR_IF_FURTHER_AWAY_THAN
      See Also:
    • MAX_DISTANCE_TO_HOLD_DOOR_OPEN_FOR_OTHER_MOBS

      private static final double MAX_DISTANCE_TO_HOLD_DOOR_OPEN_FOR_OTHER_MOBS
      See Also:
    • lastCheckedNode

      @Nullable private Node lastCheckedNode
    • remainingCooldown

      private int remainingCooldown
  • Constructor Details

    • InteractWithDoor

      public InteractWithDoor()
  • Method Details