-
Bug
-
Resolution: Invalid
-
Minecraft 1.8.8, Minecraft 15w36d, Minecraft 15w44a, Minecraft 15w45a, Minecraft 15w47c, Minecraft 1.9.2, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w14a, Minecraft 1.12.2, Minecraft 18w07c, Minecraft 18w09a, Minecraft 18w10a, Minecraft 18w11a, Minecraft 18w14a, Minecraft 18w15a, Minecraft 18w16a, Minecraft 18w19b, Minecraft 18w20c, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4, Minecraft 1.13.2, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w11b, Minecraft 19w12b, Minecraft 19w13a, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 5, Minecraft 1.14.2 Pre-Release 3, Minecraft 1.14.3 Pre-Release 3, Minecraft 1.14.3 Pre-Release 4, 19w35a, 19w36a, 19w37a, 19w38b, 19w39a
-
Confirmed
-
(Unassigned)
Introduction
Most of this behavior can be reproduced near the world border: /tp 29999950 29999950
Some of the strange rendering can also be seen closer to the center of the world but not in such an extreme way.
Reason for this bug
The 32-bit float simply run out of resolution/accuracy with the large coordinates. The solution is a bit of "ugly", but it got the work done, as I'm looking at perfectly fine wires at coordinates near X&Y of 17,000,000.
There are more unnecessary (and sort of harmful) (float)-casts in that same method, but they are for Y-coordinates, and since Y-coordinates are, for the time being, very limited, they do not show similar problems. (That whole class seems to be littered with those float-casts, many of which seem to be unnecessary and possibly causing similar issues for other blocks/visuals.)
comment by bugi74 onMC-3718
Other bugs caused by this
Fix for fire's smoke
This time no source code as the changes cover almost the whole method. But its the very same fix, in BlockFire.randomDisplayTick(), change floats to doubles and remove casts to float when the variables are handling coordinates. This also includes sound generation coordinates.
comment by bugi74 onMC-3718
Affected entities, blocks or particles
The following is based on a decompiled version of Minecraft 1.10 using MCP 9.30.
Falling blocks
The offset is probably caused by the method net.minecraft.client.renderer.entity.RenderFallingBlock.doRender(EntityFallingBlock, double, double, double, float, float). The texture being too large, shifted and rotated is caused by something else.
Particles
Apparently only affects particles created under certain circumstances
- Landing particles, see
MC-76810created by TheMoogle - Particles created by the /particle command
- TNT explosion particles
- Green bone meal particles
- barrier particles
- MCP 9.35 rc1 name
Method: net.minecraft.client.multiplayer.WorldClient.showBarrierParticles(int, int, int, int, Random, boolean, MutableBlockPos)
- MCP 9.35 rc1 name
Rain and snow
Rain and snow renders as large white lines when you are at a very high y-coordinate. This does however only happen for large y, but not for x or z coordinates.
/teleport ~ 3000000 ~
- is duplicated by
-
MC-72550 End Portal Texture on the maximum world border
- Resolved
-
MC-72559 Activated TNT wrong position
- Resolved
-
MC-92435 Item frames are picky about placement (at least at far distances!)
- Resolved
-
MC-101320 extended/glitching snowflakes at high Y values
- Resolved
-
MC-105359 FallingSand visual glitch
- Resolved
-
MC-115402 Falling block Entities Increasingly bugging out at greater distances
- Resolved
-
MC-117969 falling block renders wrong
- Resolved
-
MC-125621 Falling blocks fall weirdly
- Resolved
-
MC-161652 fall blocks visual issues
- Resolved
-
MC-161800 falling_block is extremely glitchy
- Resolved
- relates to
-
MC-164352 Casting issue: Snow animation becomes stretched when being very high above the ground
- Open
-
MC-76810 Casting issue: Bone meal particles break at high coordinates (floating point precision)
- Resolved
-
MC-81299 End Portal Texture Glitch at high x/z axis at 1,000,000
- Resolved
-
MC-93810 falling_block becomes invisible, if it is near the edge of the world
- Resolved
-
MC-161888 Enchantment tables do not track the player correctly at high distances from the world origin
- Resolved
-
MC-161969 Casting issue: Adding ender eyes to end portal frames at high distances causes particles to lose precision
- Resolved
-
MC-3718 Textures and Effects are off when far away from the center of the map
- Resolved
-
MC-92901 End Crystals placed at high coordinates are placed with offset
- Resolved
-
MC-98656 Falling blocks don't render correctly as you move farther away from 0, 0
- Resolved
-
MC-125638 Ignited TNT block create entity offset at high coordinates
- Resolved