Povstalec / StargateJourney

A repository for the Stargate Journey Minecraft Mod
39 stars 16 forks source link

wtf dude #71

Closed AKNALOGIAa closed 4 months ago

AKNALOGIAa commented 4 months ago

how the f u did this mod [23:18:86] [Render thread/FATAL]: Error executing task on Client java.lang.NullPointerException: Cannot invoke "net.minecraft.world.level.block.state.BlockState.m60734()" because "p46606" is null at TRANSFORMER/minecraft@1.19.2/net.minecraft.world.level.Level.m6933(Level.java:198) at TRANSFORMER/minecraft@1.19.2/net.minecraft.client.multiplayer.ClientLevel.m233653(ClientLevel.java:134) at TRANSFORMER/minecraft@1.19.2/net.minecraft.client.multiplayer.ClientPacketListener.m205522(ClientPacketListener.java:635) at TRANSFORMER/minecraft@1.19.2/net.minecraft.network.protocol.game.ClientboundSectionBlocksUpdatePacket.m132992(ClientboundSectionBlocksUpdatePacket.java:72) at TRANSFORMER/minecraft@1.19.2/net.minecraft.client.multiplayer.ClientPacketListener.m5771(ClientPacketListener.java:634) at TRANSFORMER/minecraft@1.19.2/net.minecraft.network.protocol.game.ClientboundSectionBlocksUpdatePacket.m5797(ClientboundSectionBlocksUpdatePacket.java:64) at TRANSFORMER/minecraft@1.19.2/net.minecraft.network.protocol.game.ClientboundSectionBlocksUpdatePacket.m5797(ClientboundSectionBlocksUpdatePacket.java:14) at TRANSFORMER/minecraft@1.19.2/net.minecraft.network.protocol.PacketUtils.m131356(PacketUtils.java:22) at TRANSFORMER/minecraft@1.19.2/net.minecraft.util.thread.BlockableEventLoop.m6367(BlockableEventLoop.java:157) at TRANSFORMER/minecraft@1.19.2/net.minecraft.util.thread.ReentrantBlockableEventLoop.m6367(ReentrantBlockableEventLoop.java:23) at TRANSFORMER/minecraft@1.19.2/net.minecraft.util.thread.BlockableEventLoop.m7245(BlockableEventLoop.java:131) at TRANSFORMER/minecraft@1.19.2/net.minecraft.util.thread.BlockableEventLoop.m18699(BlockableEventLoop.java:116) at TRANSFORMER/minecraft@1.19.2/net.minecraft.client.Minecraft.m91383(Minecraft.java:1072) at TRANSFORMER/minecraft@1.19.2/net.minecraft.client.Minecraft.m91374(Minecraft.java:700) at TRANSFORMER/minecraft@1.19.2/net.minecraft.client.main.Main.m239872(Main.java:212) at TRANSFORMER/minecraft@1.19.2/net.minecraft.client.main.Main.main(Main.java:51) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at MC-BOOTSTRAP/fmlloader@1.19.2-43.3.5/net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.Launcher.run(Launcher.java:106) at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.Launcher.main(Launcher.java:77) at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) at cpw.mods.bootstraplauncher@1.1.2/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141)

its very cool to see this 
idk what u did but mb ull fix it 
in multeplayer u cant destroy the tree and foliage 

if u need a video - ping me

Povstalec commented 4 months ago

if u need a video - ping me

Yes, a video would be helpful considering the fact you said absolutely nothing regarding what you were doing. I'm guessing it has something to do with trees from what you said? But it would be much better if you actually explained what happened.

Did you click on the tree with something item? Did a kawoosh break it? In all honesty, I can't even be sure my mod has anything to do with it, considering not a single class from my mod is mentioned in the error log you posted.

Usually error logs are enough to tell what happened, but in this case the function names are not even named, so java.lang.NullPointerException: Cannot invoke "net.minecraft.world.level.block.state.BlockState.m_60734_()" because "p_46606_" is null tells me little to nothing regarding what actually happened.

AKNALOGIAa commented 4 months ago

https://cdn.discordapp.com/attachments/1115418833830817795/1203100815443624026/2024-02-03_00-09-26.mp4?ex=65cfddf2&is=65bd68f2&hm=2ef564fd77a7fce4d034a6426451e405d1aaa18e96d08040792dcd5db0d7f546&

Povstalec commented 4 months ago

Sorry, but I really don't think this has anything do do with Stargate Journey. Not sure how you came to the conclusion that Stargate Journey even cuased it.

Have you considered other mods causing it? Like for example the mod that causes the leaves of the trees to fall, or the mod that allows you to chop the entire tree all at once.

AKNALOGIAa commented 4 months ago

Of course, my friend, I had to try all my mods for updates or connections, and after several hours of checking, it turned out that only because of your mod this appears

Povstalec commented 4 months ago

Of course, my friend, I had to try all my mods for updates or connections, and after several hours of checking, it turned out that only because of your mod this appears

Welp, I guess there is some weird incompatibility Stargate Journey has with another mod then, because Stargate Journey does not even come close to touching any of the code related to trees. There is nothing I can fix about this, because it's not something that's directly caused by it.

AKNALOGIAa commented 4 months ago

yes, I understand this perfectly well, so I have a question for you about the network connection, your mod somehow causes an error in the server’s synchronization and causes a load on the entire server, so I don’t understand how your handlers are connected to the Internet connection

Povstalec commented 4 months ago

The networking code is written pretty much the same as any other mods that have networking, there is nothing special or extra. You can see for yourself: https://github.com/Povstalec/StargateJourney/blob/main/src/main/java/net/povstalec/sgjourney/common/init/PacketHandlerInit.java

(Note that the networking doesn't even happen if you don't have any blocks from the mod placed down)