The_Dead_2
Members-
Posts
17 -
Joined
-
Last visited
Recent Profile Visitors
The_Dead_2's Achievements
Tree Puncher (2/8)
0
Reputation
-
Just in case some one has the same problem: After a lot of testing I figured out that this problem seems to be related with minecrafts commands and how they are executed. Apparently if you try to open any screen through the use of a command, this causes a lot of weird bugs, like not rendering the screen every time the command is executed or that the game crashes with a NullPointerException. For me, I fixed it by using a certain key to open the custom screen instead of trying to open the screen via a command.
-
Minecraft 1.19.2 freezes after loading up.
The_Dead_2 replied to DoctorRenik's topic in Support & Bug Reports
Once I had a similar problem when my hard drive was almost full, freeing up some space could be worth a try. 8 GB of RAM for 35 mods should be more than needed. -
MC 1.18.2 crash messes up text to be [] what's the issue
The_Dead_2 replied to GRKTheGreat's topic in Modder Support
You’re right sorry, misinterpreted that. It‘s actually ImersiveFX and Serene Seasons. Again make sure you have the newest version of these mods installed and/ or report it to the mod authors -
Errors in currently selected datapack prevent the world from loading
The_Dead_2 replied to jossedeposse's topic in Mods
When you post a comment here you habe options how your text should look like (symbols like: B, I, U, S, etc.) There’s also a symbol which looks like this: <> Thats where you can add code -
why does my forge only detect 8 out of hundreds of mods
The_Dead_2 replied to cookiemou's topic in Support & Bug Reports
I‘m sorry but 1.12.2 isn‘t supported anymore on this forum -
Errors in currently selected datapack prevent the world from loading
The_Dead_2 replied to jossedeposse's topic in Mods
Easiest way: open the file, select all, copy and paste it here as code. That’s available under this „<>“ symbol. Should look something like this. -
Errors in currently selected datapack prevent the world from loading
The_Dead_2 replied to jossedeposse's topic in Mods
That file is located on your computer no one except yourself can access that. Try share it via pastebin, github etc. -
AE2 wireless terminals randomly stop working... MC 1.18.2
The_Dead_2 replied to GRKTheGreat's topic in Modder Support
Start your game and look at the log, one of the first entries at the top of the file should state your Java Version. -
That could be anything. Check your internet connection and try reinstalling forge.
-
MC 1.18.2 crash messes up text to be [] what's the issue
The_Dead_2 replied to GRKTheGreat's topic in Modder Support
Seems like Dynamic surrounding tried to access a variable it isn‘t allowed to access. Make sure you have the newest version of the DynamicSurroundings installed and/ or report it to the mod author. -
java.lang.NullPointerException: Unexpected error
The_Dead_2 replied to TheHellTaykr's topic in Support & Bug Reports
Post the log otherwise we can‘t help you -
I'm lost on this one. It's my first time working with the Screen class and I just can't get it to work. I simply want to add a few buttons to minecraft's advancement screen when the user typed a certain command. So I thought the easiest way is to simply extend the AdvancementsScreen class and render my buttons on top through my GUI. It works fine on the first time executing the command, but when I close out of the Screen and type in the command again opening the Screen, the game crashes with a NullPointerException in class Screen caused by "this.minecraft" is null: ---- Minecraft Crash Report ---- // This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~] Time: 2023-01-16 19:57:41 Description: Rendering screen java.lang.NullPointerException: Cannot read field "level" because "this.minecraft" is null at net.minecraft.client.gui.screens.Screen.renderBackground(Screen.java:442) ~[forge-1.19.2-43.2.0_mapped_parchment_2022.11.27-1.19.2-recomp.jar%23181!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.gui.screens.Screen.renderBackground(Screen.java:438) ~[forge-1.19.2-43.2.0_mapped_parchment_2022.11.27-1.19.2-recomp.jar%23181!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.gui.screens.advancements.AdvancementsScreen.render(AdvancementsScreen.java:108) ~[forge-1.19.2-43.2.0_mapped_parchment_2022.11.27-1.19.2-recomp.jar%23181!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:customadvancements.mixins.json:MixinAdvancementsScreen,pl:mixin:A,pl:runtimedistcleaner:A} at de.thedead2.customadvancements.generator.gui.AdvancementGeneratorGUI.render(AdvancementGeneratorGUI.java:41) ~[%23186!/:?] {re:classloading} at net.minecraftforge.client.ForgeHooksClient.drawScreenInternal(ForgeHooksClient.java:440) ~[forge-1.19.2-43.2.0_mapped_parchment_2022.11.27-1.19.2-recomp.jar%23180%23187!/:?] {re:classloading} at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:433) ~[forge-1.19.2-43.2.0_mapped_parchment_2022.11.27-1.19.2-recomp.jar%23180%23187!/:?] {re:classloading} at net.minecraft.client.renderer.GameRenderer.render(GameRenderer.java:908) ~[forge-1.19.2-43.2.0_mapped_parchment_2022.11.27-1.19.2-recomp.jar%23181!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.runTick(Minecraft.java:1141) ~[forge-1.19.2-43.2.0_mapped_parchment_2022.11.27-1.19.2-recomp.jar%23181!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.run(Minecraft.java:705) ~[forge-1.19.2-43.2.0_mapped_parchment_2022.11.27-1.19.2-recomp.jar%23181!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.run(Main.java:212) ~[forge-1.19.2-43.2.0_mapped_parchment_2022.11.27-1.19.2-recomp.jar%23181!/:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:51) ~[forge-1.19.2-43.2.0_mapped_parchment_2022.11.27-1.19.2-recomp.jar%23181!/:?] {re:classloading,pl:runtimedistcleaner:A} 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.ForgeClientUserdevLaunchHandler.lambda$launchService$0(ForgeClientUserdevLaunchHandler.java:25) ~[fmlloader-1.19.2-43.2.0.jar%2394!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%23107!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%23107!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%23107!/:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%23107!/:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%23107!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%23107!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%23107!/:?] {} at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace: at net.minecraft.client.gui.screens.Screen.renderBackground(Screen.java:442) ~[forge-1.19.2-43.2.0_mapped_parchment_2022.11.27-1.19.2-recomp.jar%23181!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.gui.screens.Screen.renderBackground(Screen.java:438) ~[forge-1.19.2-43.2.0_mapped_parchment_2022.11.27-1.19.2-recomp.jar%23181!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.gui.screens.advancements.AdvancementsScreen.render(AdvancementsScreen.java:108) ~[forge-1.19.2-43.2.0_mapped_parchment_2022.11.27-1.19.2-recomp.jar%23181!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:customadvancements.mixins.json:MixinAdvancementsScreen,pl:mixin:A,pl:runtimedistcleaner:A} at de.thedead2.customadvancements.generator.gui.AdvancementGeneratorGUI.render(AdvancementGeneratorGUI.java:41) ~[%23186!/:?] {re:classloading} at net.minecraftforge.client.ForgeHooksClient.drawScreenInternal(ForgeHooksClient.java:440) ~[forge-1.19.2-43.2.0_mapped_parchment_2022.11.27-1.19.2-recomp.jar%23180%23187!/:?] {re:classloading} at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:433) ~[forge-1.19.2-43.2.0_mapped_parchment_2022.11.27-1.19.2-recomp.jar%23180%23187!/:?] {re:classloading} -- Screen render details -- Details: Screen name: de.thedead2.customadvancements.generator.gui.AdvancementGeneratorGUI Mouse location: Scaled: (213, 120). Absolute: (427.000000, 240.000000) Screen size: Scaled: (427, 240). Absolute: (1708, 960). Scale factor of 4.000000 Stacktrace: at net.minecraft.client.renderer.GameRenderer.render(GameRenderer.java:908) ~[forge-1.19.2-43.2.0_mapped_parchment_2022.11.27-1.19.2-recomp.jar%23181!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.runTick(Minecraft.java:1141) ~[forge-1.19.2-43.2.0_mapped_parchment_2022.11.27-1.19.2-recomp.jar%23181!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.run(Minecraft.java:705) ~[forge-1.19.2-43.2.0_mapped_parchment_2022.11.27-1.19.2-recomp.jar%23181!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.run(Main.java:212) ~[forge-1.19.2-43.2.0_mapped_parchment_2022.11.27-1.19.2-recomp.jar%23181!/:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:51) ~[forge-1.19.2-43.2.0_mapped_parchment_2022.11.27-1.19.2-recomp.jar%23181!/:?] {re:classloading,pl:runtimedistcleaner:A} 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.ForgeClientUserdevLaunchHandler.lambda$launchService$0(ForgeClientUserdevLaunchHandler.java:25) ~[fmlloader-1.19.2-43.2.0.jar%2394!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%23107!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%23107!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%23107!/:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%23107!/:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%23107!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%23107!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%23107!/:?] {} at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {} From my understanding the init() method of the Screen class sets the minecraft instance used by the class, so it shouldn't be null?! That's the class extending the AdvancementsScreen class, no own methods, only calling the super class: https://gist.github.com/thedead2/6c9dbe36b6d87e3aa838974897fb6d2d Also tried to create a simple Screen extending the Screen class: https://gist.github.com/thedead2/69d2422725bfe69f1274f6034153d2e1 but it crashes with a similar error also stating that "this.minecraft" is null. Am I missing something?
-
Minecraft 1.19.2 freezes after loading up.
The_Dead_2 replied to DoctorRenik's topic in Support & Bug Reports
Hi sounds like your game hasn‘t got enough memory available, therefore the game freezes, resulting in not dropping items when mining, etc. Try to allocate more memory for minecraft to use, especially if you have lots of mods installed. And next time please don’t post a log like this. -
Copying Files from Mod‘s resources folder to minecraft directory
The_Dead_2 replied to The_Dead_2's topic in Modder Support
You‘re right, I overlooked that yesterday. Sometimes it‘s a bit confusing when methods with the same name work differently depending on the Object they are applied to.😅 -
Copying Files from Mod‘s resources folder to minecraft directory
The_Dead_2 replied to The_Dead_2's topic in Modder Support
The portion of the code until the try block works perfectly fine. The try block itself gets skipped without throwing any error. Not quiet sure why. But I can use the first portion of the code with my original code combined. I just need to transfer the path to a uri an parse that into the „new File“ constructor. Thx for the help.