(Very Serious)Mod Renders All Entities Wrongly After Teleported To A Large Coordinate Then Back To A Small Coordinate In A Same World[BUG]
Describe the bug Mod renders all entities wrongly after teleported to a large coordinate then back to a small coordinate in a same world. You'll see they are rendered in wrong places,reflesh render connot solve this BUG. The one way to solve it is go into a portal and it'll be dissapeard in another world.
To Reproduce 1.Create a new world or get into a server. 2.Put a trapdoor and a door in a coordinate small enough.(such as 0,Y,0) 3.Teleport yourself in a huge coordinate(I find this BUG when I teleported to 30000000,Y,30000000,the limit of teleport)in this world. 4.Teleport back(in the same world!)and see the door and the trapdoor.All of they will be rendered wrongly. 5.Try to use F3+A to reflesh render.This does't work. 6.If you use Iris(a shaderpack loader of fabric),try to switch the shaderpack on/off or reflesh the shaderpacks.It doesn't work neither.This BUG appeared without any shaderpacks. 7.Try to break them.you'll see all break particles renders wrongly. 8.Try to get into a portal to teleport to another world(you can use command too).This BUG will be fixed. 9.Do all the steps in the new world you've teleported.It appeared again :( Tip:If you Put the door/trapdoor in a coordinate that not small enough,BUG maybe won't appear(I try put them in 128,Y,128,the BUG doesn't appear,but I put them in 100,Y,0,BUG appears)
This BUG Maybe Causes By It Use Float To Calculate,Maybe You Just Need To Replace It With Double
Screenshots
1.Before BUG appears:
2.After BUG appears:
3.How to Reproduce it:
https://github.com/user-attachments/assets/52e3d6ec-e50d-46ea-b5fa-46b4aa22a431
4.How to try to fix it by users:
(I open the server menu and teleport myself to another world,then teleport back)
https://github.com/user-attachments/assets/8e7a542a-bcb6-4bf3-b1f4-21c83695a4e5
5.More details after the BUG appears:
https://github.com/user-attachments/assets/db0cb59f-99a5-4b43-9b42-4ac7cc95ecbd
Minecraft Version: 1.21 (It maybe causes in other versions) Mod Loader: Fabric 0.16.0 Physics Mod Version: 3.0.16 (v170d) Use Sodium and Iris,no mod is incompatible.
This is a known bug due to the center of the physics world not shifting. I quick fix for now is to disable all physics and reenable them (you can set the hotkey for it in the keybinding settings).