public final class EntityUtils
extends Object
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
getPassengerHeightOffset
public static double getPassengerHeightOffset(@NotNull
@NotNull Entity vehicle,
@NotNull
@NotNull Entity passenger)
- Parameters:
vehicle
- the target vehicle
passenger
- the target passenger
- Returns:
- the height offset for the passenger of this vehicle