
TurtlesAreHot
Members-
Posts
8 -
Joined
-
Last visited
TurtlesAreHot's Achievements

Tree Puncher (2/8)
0
Reputation
-
# This is an example mods.toml file. It contains the data relating to the loading mods. # There are several mandatory fields (#mandatory), and many more that are optional (#optional). # The overall format is standard TOML format, v0.5.0. # Note that there are a couple of TOML lists in this file. # Find more information on toml format here: https://github.com/toml-lang/toml # The name of the mod loader type to load - for regular FML @Mod mods it should be javafml modLoader="javafml" #mandatory # A version range to match for said mod loader - for regular FML @Mod it will be the forge version loaderVersion="[31,)" #mandatory This is typically bumped every Minecraft version by Forge. See our download page for lists of versions. # A URL to refer people to when problems occur with this mod issueTrackerURL="https://github.com/Twocoolguy/StaffUtils.java/issues" #optional # A list of mods - how many allowed here is determined by the individual mod loader [[mods]] #mandatory # The modid of the mod modId="macrokeys" #mandatory # The version number of the mod - there's a few well known ${} variables useable here or just hardcode it version="${file.jarVersion}" #mandatory # A display name for the mod displayName="MacroKeys" #mandatory # A URL to query for updates for this mod. See the JSON update specification <here> updateJSONURL="https://github.com/Twocoolguy/StaffUtils.java/" #optional # License license="MIT License" # A URL for the "homepage" for this mod, displayed in the mod UI displayURL="https://github.com/Twocoolguy/StaffUtils.java/" #optional # A file name (in the root of the mod JAR) containing a logo for display logoFile="examplemod.png" #optional # A text field displayed in the mod UI credits="Thanks for this example mod goes to Java" #optional # A text field displayed in the mod UI authors="Love, Cheese and small house plants" #optional # The description text for the mod (multi line!) (#mandatory) description=''' MacroKeys mod which was created by TurtlesAreHot. It is used for running commands on 1.15.2 with a keypress. Pressing v - activates vanish Pressing h - activates pickup off hitnotify on vanish Pressing j - activates pickup on hitnotify off vanish Pressing p - closes the most recently opened ticket Pressing k - teleports you to the most recently created ticket. More may come in the future! Version 1.3 ''' # A dependency - use the . to indicate dependency for a specific modid. Dependencies are optional. [[dependencies.examplemod]] #optional # the modid of the dependency modId="forge" #mandatory # Does this dependency have to exist - if not, ordering below must be specified mandatory=true #mandatory # The version range of the dependency versionRange="[31,)" #mandatory # An ordering relationship for the dependency - BEFORE or AFTER required if the relationship is not mandatory ordering="NONE" # Side this dependency is applied on - BOTH, CLIENT or SERVER side="BOTH" # Here's another dependency [[dependencies.examplemod]] modId="minecraft" mandatory=true versionRange="[1.16.4]" ordering="NONE" side="BOTH" I read that and do not understand what it is referring to. Considering I have the license set in the toml file I don't understand how I could be missing the "license information". Is there something I am missing?
-
So today I decided that I would be updating some of my mods to 1.16, and I have noticed that a lot has changed. Most things are up and fixed now, I can build it and I can start running it. However, when the game loads the mod, it comes up and tells me "Missing License Information in file Mod File". I have looked up solutions for this and saw that if I put a "license" in mods.toml file it would fix this issue. This however has not fixed the issue for me. Would love some help, thank you! Crash error: ---- Minecraft Crash Report ---- // Who set us up the TNT? Time: 1/22/21 6:47 PM Description: Mod loading error has occurred java.lang.Exception: Mod Loading has failed at net.minecraftforge.fml.CrashReportExtender.dumpModLoadingCrashReport(CrashReportExtender.java:85) [?:?] {re:classloading} at net.minecraftforge.fml.client.ClientModLoader.completeModLoading(ClientModLoader.java:188) [?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.lambda$null$1(Minecraft.java:508) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft$$Lambda$3686/943512909.run(Unknown Source) [?:?] {} at net.minecraft.util.Util.func_215077_a(Util.java:429) [?:?] {re:classloading,xf:OptiFine:default} at net.minecraft.client.Minecraft.lambda$new$2(Minecraft.java:504) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft$$Lambda$3443/1684368286.accept(Unknown Source) [?:?] {} at net.minecraft.client.gui.ResourceLoadProgressGui.func_230430_a_(ResourceLoadProgressGui.java:172) [?:?] {re:classloading,xf:OptiFine:default} at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:802) [?:?] {re:classloading,pl:accesstransformer:B,xf:OptiFine:default} at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:976) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:184) [?:?] {re:classloading,pl:runtimedistcleaner:A} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {} at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {} at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {} at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {} at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.4-35.1.4.jar:35.1] {} at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$428/1346354118.call(Unknown Source) [forge-1.16.4-35.1.4.jar:35.1] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.6.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.6.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.6.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.6.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.6.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace: at net.minecraftforge.fml.CrashReportExtender.lambda$dumpModLoadingCrashReport$7(CrashReportExtender.java:88) ~[?:?] {re:classloading} -- NO MOD INFO AVAILABLE -- Details: Mod File: NO FILE INFO Failure message: Missing License Information in file Mod File: C:\Users\TurtlesAreHot\AppData\Roaming\.minecraft\mods\modid-1.0.jar Mod Version: NO MOD INFO AVAILABLE Mod Issue URL: NOT PROVIDED Exception message: MISSING EXCEPTION MESSAGE Stacktrace: at net.minecraftforge.fml.CrashReportExtender.lambda$dumpModLoadingCrashReport$7(CrashReportExtender.java:88) ~[?:?] {re:classloading} at net.minecraftforge.fml.CrashReportExtender$$Lambda$3702/2015210611.accept(Unknown Source) ~[?:?] {} at java.util.ArrayList.forEach(ArrayList.java:1249) ~[?:1.8.0_51] {} at net.minecraftforge.fml.CrashReportExtender.dumpModLoadingCrashReport(CrashReportExtender.java:86) [?:?] {re:classloading} at net.minecraftforge.fml.client.ClientModLoader.completeModLoading(ClientModLoader.java:188) [?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.lambda$null$1(Minecraft.java:508) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft$$Lambda$3686/943512909.run(Unknown Source) [?:?] {} at net.minecraft.util.Util.func_215077_a(Util.java:429) [?:?] {re:classloading,xf:OptiFine:default} at net.minecraft.client.Minecraft.lambda$new$2(Minecraft.java:504) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft$$Lambda$3443/1684368286.accept(Unknown Source) [?:?] {} at net.minecraft.client.gui.ResourceLoadProgressGui.func_230430_a_(ResourceLoadProgressGui.java:172) [?:?] {re:classloading,xf:OptiFine:default} at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:802) [?:?] {re:classloading,pl:accesstransformer:B,xf:OptiFine:default} at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:976) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:184) [?:?] {re:classloading,pl:runtimedistcleaner:A} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {} at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {} at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {} at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {} at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.4-35.1.4.jar:35.1] {} at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$428/1346354118.call(Unknown Source) [forge-1.16.4-35.1.4.jar:35.1] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.6.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.6.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.6.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.6.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.6.jar:?] {} -- System Details -- Details: Minecraft Version: 1.16.4 Minecraft Version ID: 1.16.4 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_51, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 1105729640 bytes (1054 MB) / 3019898880 bytes (2880 MB) up to 4294967296 bytes (4096 MB) CPUs: 12 JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M ModLauncher: 8.0.6+85+master.325de55 ModLauncher launch target: fmlclient ModLauncher naming: srg ModLauncher services: /mixin-0.8.2.jar mixin PLUGINSERVICE /eventbus-3.0.5-service.jar eventbus PLUGINSERVICE /forge-1.16.4-35.1.4.jar object_holder_definalize PLUGINSERVICE /forge-1.16.4-35.1.4.jar runtime_enum_extender PLUGINSERVICE /accesstransformers-2.2.0-shadowed.jar accesstransformer PLUGINSERVICE /forge-1.16.4-35.1.4.jar capability_inject_definalize PLUGINSERVICE /forge-1.16.4-35.1.4.jar runtimedistcleaner PLUGINSERVICE /mixin-0.8.2.jar mixin TRANSFORMATIONSERVICE /OptiFine_1.16.4_HD_U_G6.jar OptiFine TRANSFORMATIONSERVICE /forge-1.16.4-35.1.4.jar fml TRANSFORMATIONSERVICE FML: 35.1 Forge: net.minecraftforge:35.1.4 FML Language Providers: [email protected] minecraft@1 Mod List: forge-1.16.4-35.1.4-client.jar |Minecraft |minecraft |1.16.4 |NONE |NOSIGNATURE modid-1.0.jar |MacroKeys |macrokeys |1.0 |NONE |NOSIGNATURE forge-1.16.4-35.1.4-universal.jar |Forge |forge |35.1.4 |NONE |22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90 OptiFine Version: OptiFine_1.16.4_HD_U_G6 OptiFine Build: 20210117-001622 Render Distance Chunks: 10 Mipmaps: 4 Anisotropic Filtering: 1 Antialiasing: 0 Multitexture: false Shaders: null OpenGlVersion: 4.6.0 NVIDIA 460.89 OpenGlRenderer: GeForce RTX 2060/PCIe/SSE2 OpenGlVendor: NVIDIA Corporation CpuCount: 12
-
So I have been trying to make a scrollable area where I can put text then a button for each entry that is in my AbstractList. I figured out how to render the AbstractList that I wanted, however, I do not understand how I can render anything from the AbstractListEntry. When I look into the class to see the render method I found the following: @Override public abstract void render(int p_render_1_, int p_render_2_, int p_render_3_, int p_render_4_, int p_render_5_, int p_render_6_, int p_render_7_, boolean p_render_8_, float p_render_9_); How am I suppose to render something to the screen with this? I just don't quite understand how I am suppose to render my entries to the screen. If anyone could help explain that and what each of the variables in this render method are, that'd be very nice
-
[1.15.2] GUI TextFieldWidget not letting me backspace
TurtlesAreHot replied to TurtlesAreHot's topic in Modder Support
Thank you this is exactly what I needed -
[1.15.2] GUI How to create a TextFieldWidget
TurtlesAreHot replied to TurtlesAreHot's topic in Modder Support
Ah I didn't realize I even did that. I think my editor automatically filled that in for me. Thank you it worked -
[1.15.2] GUI TextFieldWidget not letting me backspace
TurtlesAreHot posted a topic in Modder Support
After fixing my last issue, I now have another issue I cannot solve. The TextFieldWidget lets me type in characters into the textbox, but it won't let me delete characters. How am I able to do this? Here is my code: package mypackage; import com.mojang.blaze3d.systems.RenderSystem; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.screen.Screen; import net.minecraft.client.gui.widget.button.Button; import net.minecraft.client.gui.widget.TextFieldWidget; import net.minecraft.util.ResourceLocation; import net.minecraft.util.text.TranslationTextComponent; public class GUIPunishKick extends Screen { private final int WIDTH = this.width; private final int HEIGHT = this.height; private TextFieldWidget user; public GUIPunishKick() { super(new TranslationTextComponent("screen.guipunishkick.spawn")); } @Override protected void init() { int relX = WIDTH /2; int relY = HEIGHT /2; this.user = new TextFieldWidget(font, relX + 10, relY + 40, 160, 20, "User"); user.setText(""); user.setFocused2(true); user.setVisible(true); user.setMaxStringLength(17); //buttons } public void changeFocus() { if(user.isFocused()) user.setFocused2(false); else user.setFocused2(true); } public boolean charTyped(char par1, int par2) { super.charTyped(par1, par2); if(user.isFocused()) { this.user.charTyped(par1, par2); } return true; } public void updateScreen() { this.updateScreen(); this.user.moveCursorBy(this.user.getText().length()); } protected void mouseClicked(int x, int y, int btn) { super.mouseClicked(x, y, btn); this.user.mouseClicked(x, y, btn); } @Override public boolean isPauseScreen() { return false; } @Override public void render(int mouseX, int mouseY, float partialTicks) { RenderSystem.color4f(1.0F, 1.0F, 1.0F, 1.0F); int relX = (this.width - WIDTH) /2; int relY = (this.height - HEIGHT) /2; this.blit(relX, relY, 0, 0, WIDTH, HEIGHT); this.user.render(mouseX, mouseY, partialTicks); super.render(mouseX, mouseY, partialTicks); } public static void open() { Minecraft.getInstance().displayGuiScreen(new GUIPunishKick()); } } I would really like to know how I can enable a way to delete characters from my TextFieldWidget. Thanks -
TurtlesAreHot joined the community
-
Recently I have been trying to create a GUI. Right now I need to create a textfield which is what I am having trouble doing. I have created the TextFieldWidget and added it to render. However, whenever I click on it to add text to it the game crashes with this error: ---- Minecraft Crash Report ---- // Don't do that. Time: 6/22/20 8:09 PM Description: Rendering screen java.lang.NullPointerException: Rendering screen at net.minecraft.client.gui.widget.TextFieldWidget.getNarrationMessage(TextFieldWidget.java:78) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.gui.widget.Widget.narrate(Widget.java:89) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.gui.widget.Widget.render(Widget.java:82) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at mypackage.GUIPunishKick.render(GUIPunishKick.java:82) ~[main/:?] {re:classloading} at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:359) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading} at net.minecraft.client.renderer.GameRenderer.updateCameraAndRender(GameRenderer.java:492) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:957) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.run(Minecraft.java:554) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:177) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_212] {} at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_212] {} at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_212] {} at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_212] {} at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-5.0.0-milestone.4.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-5.0.0-milestone.4.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-5.0.0-milestone.4.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-5.0.0-milestone.4.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-5.0.0-milestone.4.jar:?] {} at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102) [forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.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.widget.TextFieldWidget.getNarrationMessage(TextFieldWidget.java:78) at net.minecraft.client.gui.widget.Widget.narrate(Widget.java:89) at net.minecraft.client.gui.widget.Widget.render(Widget.java:82) at mypackage.GUIPunishKick.render(GUIPunishKick.java:82) at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:359) -- Screen render details -- Details: Screen name: mypackage.GUIPunishKick Mouse location: Scaled: (210, 104). Absolute: (421.000000, 209.000000) Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2.000000 -- Affected level -- Details: All players: 1 total; [ClientPlayerEntity['Dev'/125, l='MpServer', x=-111.72, y=98.02, z=46.35]] Chunk stats: Client Chunk Cache: 841, 499 Level dimension: DimensionType{minecraft:overworld} Level name: MpServer Level seed: -3466772630709660509 Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: {} Level spawn location: World: (-112,65,-240), Chunk: (at 0,4,0 in -7,-15; contains blocks -112,0,-240 to -97,255,-225), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1) Level time: 107774 game time, 107774 day time Known server brands: Level was modded: false Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false Server brand: forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.world.ClientWorld.fillCrashReport(ClientWorld.java:457) at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:1835) at net.minecraft.client.Minecraft.run(Minecraft.java:568) at net.minecraft.client.main.Main.main(Main.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102) -- System Details -- Details: Minecraft Version: 1.15.2 Minecraft Version ID: 1.15.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_212, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 686121776 bytes (654 MB) / 1751646208 bytes (1670 MB) up to 3806855168 bytes (3630 MB) CPUs: 12 JVM Flags: 1 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump ModLauncher: 5.0.0-milestone.4+67+b1a340b ModLauncher launch target: fmluserdevclient ModLauncher naming: mcp ModLauncher services: /eventbus-2.0.0-milestone.1-service.jar eventbus PLUGINSERVICE /forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-launcher.jar object_holder_definalize PLUGINSERVICE /forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-launcher.jar runtime_enum_extender PLUGINSERVICE /accesstransformers-2.0.0-milestone.1-shadowed.jar accesstransformer PLUGINSERVICE /forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-launcher.jar capability_inject_definalize PLUGINSERVICE /forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-launcher.jar runtimedistcleaner PLUGINSERVICE /forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-launcher.jar fml TRANSFORMATIONSERVICE FML: 31.1 Forge: net.minecraftforge:31.1.0 FML Language Providers: [email protected] minecraft@1 Mod List: client-extra.jar Minecraft {[email protected] DONE} main MacroKeys {macrokeys@NONE DONE} forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar Forge {[email protected] DONE} Launched Version: MOD_DEV Backend library: LWJGL version 3.2.2 build 10 Backend API: GeForce RTX 2060/PCIe/SSE2 GL version 4.6.0 NVIDIA 446.14, NVIDIA Corporation GL Caps: Using framebuffer using OpenGL 3.0 Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'forge' Type: Client (map_client.txt) Resource Packs: Current Language: English (US) CPU: 12x AMD Ryzen 5 3600 6-Core Processor This is quite annoying and I can't seem to figure out why it is erroring with this. Here is my code: package mypackage; import com.mojang.blaze3d.systems.RenderSystem; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.screen.Screen; import net.minecraft.client.gui.widget.TextFieldWidget; import net.minecraft.util.ResourceLocation; import net.minecraft.util.text.TranslationTextComponent; public class GUIPunishKick extends Screen { private final int WIDTH = this.width; private final int HEIGHT = this.height; private TextFieldWidget user; public GUIPunishKick() { super(new TranslationTextComponent("screen.guipunishkick.spawn")); } @Override protected void init() { int relX = WIDTH /2; int relY = HEIGHT /2; this.user = new TextFieldWidget(font, relX + 10, relY + 10, 160, 20, null); user.setText(""); user.setFocused2(true); user.setVisible(true); } protected void keyTyped(char par1, int par2) { super.charTyped(par1, par2); this.user.charTyped(par1, par2); } public void updateScreen() { this.updateScreen(); this.user.moveCursorBy(this.user.getText().length()); } protected void mouseClicked(int x, int y, int btn) { super.mouseClicked(x, y, btn); this.user.mouseClicked(x, y, btn); } @Override public boolean isPauseScreen() { return false; } @Override public void render(int mouseX, int mouseY, float partialTicks) { RenderSystem.color4f(1.0F, 1.0F, 1.0F, 1.0F); int relX = (this.width - WIDTH) /2; int relY = (this.height - HEIGHT) /2; this.blit(relX, relY, 0, 0, WIDTH, HEIGHT); this.user.render(mouseX, mouseY, partialTicks); super.render(mouseX, mouseY, partialTicks); } public static void open() { Minecraft.getInstance().displayGuiScreen(new GUIPunishKick()); } } I would appreciate if anyone could help, thanks