Returns the Y offset from the entity's position for any entity riding this one.
()
| 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. |