Posted September 15, 20187 yr I've added a GUI to show when the world is created but it only shows for like 2 seconds. Sometimes the GUI doesn't even show at all. I've attached some files that may be the cause. Files: HumantypeGUI.java EHumantypes.java Newtype.java Edited September 16, 20187 yr by Spaceboy Ross The official YouTuber Spaceboy Ross
September 16, 20187 yr 7 hours ago, Spaceboy Ross said: I've attached some files that may be the cause. Dont post your code as a download use github or the forums in post code tag, it looks like this <> VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
September 16, 20187 yr Author Well, I made it easier so people wouldn't have to go looking through github. https://github.com/SpaceboyRoss01/MSGundamMod is the repository. The official YouTuber Spaceboy Ross
September 16, 20187 yr 16 minutes ago, Spaceboy Ross said: Well, I made it easier so people wouldn't have to go looking through github. https://github.com/SpaceboyRoss01/MSGundamMod is the repository. That gives me a 404 error VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
September 16, 20187 yr Author https://github.com/SpaceboyRoss01/MSGundam is the correct link. The official YouTuber Spaceboy Ross
September 16, 20187 yr 23 minutes ago, Spaceboy Ross said: https://github.com/SpaceboyRoss01/MSGundam is the correct link. In your GuiProxy class you are returning an instance of Gui and not container. If there is no container component you can just change the currentScreen variable in Minecraft.getMinecraft() on the client. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
September 16, 20187 yr 5 minutes ago, Spaceboy Ross said: Changing the variable did nothing. Cool you changed it, what did you change it to? (github wasn't updated.) VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
September 16, 20187 yr Author I haven't updated the github but I changed the code from displayGuiScreen to setting currentScreen in the PacketHumantype class. The official YouTuber Spaceboy Ross
September 16, 20187 yr Just now, Spaceboy Ross said: I haven't updated the github but I changed the code from displayGuiScreen to setting currentScreen in the PacketHumantype class. You cannot interact with the Minecraft thread directly, you must use Minecraft.getMinecraft().addScheduledTask() on the client and ctx.getServerHandler().player.getServerWorld().addScheduledTask() VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
September 16, 20187 yr Author Ok, fixed I just need to update github. The official YouTuber Spaceboy Ross
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.