MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / getMountedYOffset

Method getMountedYOffset

src/main/java/net/minecraft/entity/Entity.java:2026–2029  ·  view source on GitHub ↗

Returns the Y offset from the entity's position for any entity riding this one.

()

Source from the content-addressed store, hash-verified

2024 * Returns the Y offset from the entity's position for any entity riding this one.
2025 */
2026 public double getMountedYOffset()
2027 {
2028 return (double)this.height * 0.75D;
2029 }
2030
2031 /**
2032 * Called when a player mounts an entity. e.g. mounts a pig, mounts a boat.

Callers 1

updateRiderPositionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected