Class JumpOnBed

java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Mob>
net.minecraft.world.entity.ai.behavior.JumpOnBed
All Implemented Interfaces:
BehaviorControl<Mob>

public class JumpOnBed extends Behavior<Mob>
  • Field Details

    • MAX_TIME_TO_REACH_BED

      private static final int MAX_TIME_TO_REACH_BED
      See Also:
    • MIN_JUMPS

      private static final int MIN_JUMPS
      See Also:
    • MAX_JUMPS

      private static final int MAX_JUMPS
      See Also:
    • COOLDOWN_BETWEEN_JUMPS

      private static final int COOLDOWN_BETWEEN_JUMPS
      See Also:
    • 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