McJtyMods / McJtyLib

MIT License
45 stars 35 forks source link

Teleportation causes a client side exception java.lang.IllegalArgumentException #152

Open prozacgod opened 2 years ago

prozacgod commented 2 years ago

I got this error and best I can tell this comes from a mcJty mod, could be in lib or restrictions it seems

Oddly I'm not using any restrictions blocks that I know of.

It also only hapens when I leave my main base.

I start at my base, use matter transmitter to travel to a distant mining outpost (16k) I get a CTD. I reload, login - I'm at the mining outpost from there I dial my nether fortress - I can teleport there. From the nether fortress I dial the main base. I can teleport into the main base. I then try to teleport back to my nether fortress, and the game crashes.

This is the tail end of the log with the exception details, if you need more I can paste it somewhere.

[26Jul2022 21:36:02.342] [Render thread/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [CHAT] Start teleportation... [26Jul2022 21:36:02.391] [Render thread/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [CHAT] Whoosh! [26Jul2022 21:36:03.407] [Render thread/INFO] [mezz.jei.forge.startup.StartEventObserver/]: JEI StartEventObserver received class net.minecraftforge.client.event.ClientPlayerNetworkEvent$LoggedOutEvent [26Jul2022 21:36:03.408] [Render thread/INFO] [mezz.jei.forge.startup.StartEventObserver/]: JEI StartEventObserver transitioning state from JEI_STARTED to DISABLED [26Jul2022 21:36:03.408] [Render thread/INFO] [mezz.jei.forge.startup.ClientLifecycleHandler/]: Stopping JEI [26Jul2022 21:36:03.419] [Render thread/INFO] [journeymap/]: Mapping halted in /home/XXXXXXXXXXXXXX/MultiMC/instances/1.18.21/.minecraft/journeymap/data/mp/XXXXXXXXXXXX/1209e94e3c4/minecraft:overworld [26Jul2022 21:36:03.426] [JM-task-4/WARN] [journeymap/]: TaskBatch thread interrupted: journeymap.client.task.multi.MapPlayerTask$MapPlayerTaskBatch@5b58b9f3 [26Jul2022 21:36:07.779] [Render thread/ERROR] [net.minecraft.client.Minecraft/FATAL]: Reported exception thrown! net.minecraft.ReportedException: Ticking block entity at net.minecraft.world.level.chunk.LevelChunk$BoundTickingBlockEntity.m_142224_(LevelChunk.java:691) ~[client-1.18.2-20220404.173914-srg.jar%23135!/:?] at net.minecraft.world.level.chunk.LevelChunk$RebindableTickingBlockEntityWrapper.m_142224_(LevelChunk.java:766) ~[client-1.18.2-20220404.173914-srg.jar%23135!/:?] at net.minecraft.world.level.Level.m_46463_(Level.java:475) ~[client-1.18.2-20220404.173914-srg.jar%23135!/:?] at net.minecraft.client.multiplayer.ClientLevel.m_104804_(ClientLevel.java:207) ~[client-1.18.2-20220404.173914-srg.jar%23135!/:?] at net.minecraft.client.Minecraft.m_91398_(Minecraft.java:1686) ~[client-1.18.2-20220404.173914-srg.jar%23135!/:?] at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1019) ~[client-1.18.2-20220404.173914-srg.jar%23135!/:?] at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:663) ~[client-1.18.2-20220404.173914-srg.jar%23135!/:?] at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.2-20220404.173914-srg.jar%23135!/:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:31) ~[fmlloader-1.18.2-40.1.0.jar%2350!/:?] at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.3.jar%2339!/:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.3.jar%2339!/:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.3.jar%2339!/:?] at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.3.jar%2339!/:?] at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.3.jar%2339!/:?] at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.3.jar%2339!/:?] at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.3.jar%2339!/:?] at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] at io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:57) [ForgeWrapper-mmc3.jar:mmc3] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210) [NewLaunch.jar:?] at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245) [NewLaunch.jar:?] at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?] at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?] Caused by: java.lang.IllegalArgumentException: Cannot get property DirectionProperty{name=facing, clazz=class net.minecraft.core.Direction, values=[north, east, south, west, up, down]} as it does not exist in Block{minecraft:void_air} at net.minecraft.world.level.block.state.StateHolder.m_61143_(StateHolder.java:98) ~[client-1.18.2-20220404.173914-srg.jar%23135!/:?] at mcjty.restrictions.blocks.BaseTileEntity.tickClient(BaseTileEntity.java:90) ~[restrictions-1.18-4.0.0.jar%23116!/:1.18-4.0.0] at mcjty.lib.tileentity.TickingTileEntity.tick(TickingTileEntity.java:16) ~[mcjtylib-1.18-6.0.13.jar%23102!/:1.18-6.0.13] at mcjty.lib.blocks.BaseBlock.runTick(BaseBlock.java:345) ~[mcjtylib-1.18-6.0.13.jar%23102!/:1.18-6.0.13] at net.minecraft.world.level.chunk.LevelChunk$BoundTickingBlockEntity.m_142224_(LevelChunk.java:673) ~[client-1.18.2-20220404.173914-srg.jar%23135!/:?] ... 33 more [26Jul2022 21:36:07.784] [Render thread/FATAL] [net.minecraftforge.common.ForgeMod/]: Preparing crash report with UUID 0f69f939-9a89-430f-a322-e7bbdf817bc1 [26Jul2022 21:36:07.787] [Render thread/FATAL] [net.minecraftforge.common.ForgeMod/]: Preparing crash report with UUID 4934a9c4-1148-45c0-b50b-67d7d94a2b7d