Currently working on a custom Minecraft client and I keep getting these errors, The getGreen(); color method doesn't work for me properly so I went with getRGB(); and in that tutorial It's listed as a method but for me It doesn't show as a method, any way I can fix this?
I don't know what the method is called in 1.8.8, but you can go to the Color enum (I'm not certain what it is in 1.8.8) to find what the method is called. Alternatively, you can just use the value 5635925, which appears to be the color value for minecraft's green.
I'm guessing you accidentally imported org.lwjgl.util.Color instead of java.awt.Color. Either remove and re-import or explicitly state something like java.awt.Color.GREEN.getRGB().
Currently working on a custom Minecraft client and I keep getting these errors, The getGreen(); color method doesn't work for me properly so I went with getRGB(); and in that tutorial It's listed as a method but for me It doesn't show as a method, any way I can fix this?
I don't know what the method is called in 1.8.8, but you can go to the Color enum (I'm not certain what it is in 1.8.8) to find what the method is called. Alternatively, you can just use the value 5635925, which appears to be the color value for minecraft's green.
Uncrafting Table (1.15.2): https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/wip-mods/3032965-uncrafting-table
Ruins of Humanity (mod, no longer being developed): https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/wip-mods/2898701-1-12-2-wip-early-alpha-ruins-of-humanity
I'm guessing you accidentally imported org.lwjgl.util.Color instead of java.awt.Color. Either remove and re-import or explicitly state something like java.awt.Color.GREEN.getRGB().