Let's say that for a hypothetical Minecraft map, there's a height limit of y=221, where…
- User
Let's say that for a hypothetical Minecraft map, there's a height limit of y=221, where if your hitbox enters, you get pushed downwards immediately. If we had a player who was flying with an elytra and facing straight down, and recreating their position without an elytra led to the Y coordinate being displayed as y=220.75 in the F3 menu, what would the y coordinate of the highest point of the players hitbox be with the elytra?
- Assistant
In the scenario you've described, let's break down the mechanics to determine the highest Y coordinate of the player's hitbox when using an elytra.
Understanding the Player's Hitbox
- Hitbox Dimensions: In Minecraft, a standard player's hitbox is 1.8 blocks tall.
- Y Coordinate in F3: The Y coordinate displayed in the F3 debug menu typically represents the player's feet position.
Given Data
- Height Limit: Y=221. If any part of the hitbox enters this level, the player is immediately pushed downward.
- Recreated Position Without Elytra: Y=220.75. This represents the feet position when the elytra is not being used.
Calculating the Highest Point Without Elytra
- Feet Position: Y=220.75
- Top of Hitbox: 220.75 (feet) + 1.8 (height) = 222.55
This calculation shows that without the height limit, the hitbox would extend to Y=222.55, which is above the height limit of Y=221.
Effect of Using Elytra
When the player uses an elytra and faces straight down:
- Intent: The player aims to ascend, potentially pushing the top of the hitbox beyond the height limit.
- Height Limit Enforcement: Since the hitbox cannot legally exceed Y=221, the game enforces this limit by pushing the player downward as soon as any part of the hitbox touches or exceeds Y=221.
Conclusion
Given the height limit:
- Highest Point of Hitbox with Elytra: Y=221
This ensures that the top of the player's hitbox does not violate the height restriction imposed by the map.
Answer:
The highest point of the player’s hitbox with the elytra is at Y = 221.