Interface StepHeightEntity


public interface StepHeightEntity
  • Method Summary

    Modifier and Type
    Method
    Description
    default float
     
  • Method Details

    • getStepHeight

      default float getStepHeight()
      Returns:
      Return the height in blocks the Entity can step up without needing to jump This is the sum of vanilla's Entity.maxUpStep field and the current value of the VAttributes.STEP_HEIGHT_ADDITION attribute (if this Entity is a LivingEntity and has the attribute), clamped at 0.