BlockPos NullPointerException
expires opened this issue ยท 4 comments
Versions : 1.21.1
[2025-01-09 19:46:08.775] [info] [19:46:08] [CullThread/INFO]: [STDERR]: java.lang.NullPointerException: Cannot invoke "net.minecraft.core.BlockPos.getX()" because "blockPos" is null
[2025-01-09 19:46:08.790] [info] [19:46:08] [CullThread/INFO]: [STDERR]: at Genesis//dev.tr7zw.entityculling.CullTask.distSqr(CullTask.java:199)
[2025-01-09 19:46:08.790] [info] [19:46:08] [CullThread/INFO]: [STDERR]: at Genesis//dev.tr7zw.entityculling.CullTask.closerThan(CullTask.java:194)
[2025-01-09 19:46:08.790] [info] [19:46:08] [CullThread/INFO]: [STDERR]: at Genesis//dev.tr7zw.entityculling.CullTask.cullBlockEntities(CullTask.java:167)
[2025-01-09 19:46:08.791] [info] [19:46:08] [CullThread/INFO]: [STDERR]: at Genesis//dev.tr7zw.entityculling.CullTask.run(CullTask.java:69)
[2025-01-09 19:46:08.791] [info] [19:46:08] [CullThread/INFO]: [STDERR]: at java.base/java.lang.Thread.run(Unknown Source)
Seems to be lagging my game out recently
Hm, can you provide the full log? That seems like you have some mod that does really janky stuff. This error is not possible in normal cases(there would have to be a block entity without a location loaded in the client world).
4dae1d41-9e43-4572-a9a9-25804c0b1840-master.log
Sure, heres the full log, using it on Fabric + Lunar Client if that helps also
Oh yea no that's the issue then. Lunar Client is not supported and will never be supported as they just take people's mods without asking for permission, including my 3d skin layers mod. Use an actual Fabric install and mods will work correctly.