Class JumpOnBed

java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Mob>
net.minecraft.world.entity.ai.behavior.JumpOnBed

public class JumpOnBed extends Behavior<Mob>
  • Field Details

    • MAX_TIME_TO_REACH_BED

      private static final int MAX_TIME_TO_REACH_BED
      See Also:
      Constant Field Values
    • MIN_JUMPS

      private static final int MIN_JUMPS
      See Also:
      Constant Field Values
    • MAX_JUMPS

      private static final int MAX_JUMPS
      See Also:
      Constant Field Values
    • COOLDOWN_BETWEEN_JUMPS

      private static final int COOLDOWN_BETWEEN_JUMPS
      See Also:
      Constant Field Values
    • speedModifier

      private final float speedModifier
    • targetBed

      @Nullable private BlockPos targetBed
    • remainingTimeToReachBed

      private int remainingTimeToReachBed
    • remainingJumps

      private int remainingJumps
    • remainingCooldownUntilNextJump

      private int remainingCooldownUntilNextJump
  • Constructor Details

    • JumpOnBed

      public JumpOnBed(float p_23335_)
  • Method Details