since my 1.10 mod version, minecraft crashes when you open a config arrayentry gui.
Error : java.lang.IllegalAccessError: tried to access field net.minecraft.client.gui.GuiSlot.field_148161_k from class net.minecraftforge.fml.client.config.GuiEditArrayEntries$BaseEntry
I don't know why it crashes because its in forges code.
log:
http://pastebin.com/B3jXjK0v
best regards Bas.
thanks that worked!
One last question:
How to set the scale of the image?
got this:
this.mc.getTextureManager().bindTexture(Texturelocation);
drawTexturedModalRect(150, 50, 0, 0, 600, 600);
Now it renders the image small and multiple times on the screen but I want it to render on a big part of the screen, ones.
this does not work:
Dynamic.deleteGlTexture();
Dynamic = null;
Dynamic = new DynamicTexture(Image);
Texturelocation = this.mc.getTextureManager().getDynamicTextureLocation("ModControl.Graph",Dynamic);
How should the texture be discarded?
How can I edit the texture and update the dynamic texture? When I reinitialized the texture with getDynamicTextureLocation() in drawscreen() of my gui I get an memory overflow error.