Disconsented
Members-
Posts
70 -
Joined
-
Last visited
Converted
-
Gender
Undisclosed
Disconsented's Achievements
Stone Miner (3/8)
0
Reputation
-
[1.8.9] Applying a potion effect via a TE
Disconsented replied to Disconsented's topic in Modder Support
It did within a child class. -
[1.8.9] Applying a potion effect via a TE
Disconsented replied to Disconsented's topic in Modder Support
Something here fixed it, not 100% sure what the issue was. -
[1.8.9] Applying a potion effect via a TE
Disconsented replied to Disconsented's topic in Modder Support
ITickable replaced IUpdatePlayerListBox AFAIK -
https://github.com/disconsented/Cristalllum/blob/master/src/main/java/disconsented/cristallum/tileEntity/TileCrystal.java#L64 The potion effect is applied and visual effects can be seen and it will tick down(to 0 but will never be removed) but none of the effects will happen (I.E. Poison won't damage) the issue appears to be that the TE is only ticking client side. Any ideas on the cause?
-
[1.8] initGui() fired but not drawScreen()
Disconsented replied to Disconsented's topic in Modder Support
You're a magician (sorted it thanks to you)! -
[1.8] initGui() fired but not drawScreen()
Disconsented replied to Disconsented's topic in Modder Support
https://github.com/disconsented/ANSSRPG/blob/1.8/src/main/java/disconsented/anssrpg/Main.java#L80 TL;DR is a client command not a server command and it works fine. -
[1.8] initGui() fired but not drawScreen()
Disconsented replied to Disconsented's topic in Modder Support
Yep, same results. I am guessing that something is being thrown silently but I don't see anything in my logs (I also pushed my changes to the repo if you want to clone and poke at it). -
[1.8] initGui() fired but not drawScreen()
Disconsented replied to Disconsented's topic in Modder Support
Client command which I know is run (break point triggered) Minecraft.getMinecraft().displayGuiScreen(new GUIExperience()); -
I have been using Minecraft.getMinecraft().displayGuiScreen(new Foo()); Which will not fire drawScreen() but it will fire initGui() (verified with breakpoints). Code: https://gist.github.com/anonymous/262437fbb85368eb612b Any ideas on why drawScreen() is not fired?
-
Ah I had a silly cheers (Thought that was for texture U,V for some reason)
-
Unless I am using a different drawTexturedModalRect the first two int's are the position on screen it draws from not the position of the texture it draws from
-
How do I draw part of a texture? I've noticed that there are a few textures with different components in the same image but I have had trouble finding how vanilla does this