Interface StepHeightEntity
public interface StepHeightEntity
-
Method Summary
-
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.maxUpStepfield and the current value of theVAttributes.STEP_HEIGHT_ADDITIONattribute (if this Entity is aLivingEntityand has the attribute), clamped at 0.
-