Class EntityUtils

java.lang.Object
net.minestom.server.utils.entity.EntityUtils

public final class EntityUtils extends Object
  • 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