Everything posted by Disconsented
-
[1.8.9] Applying a potion effect via a TE
It did within a child class.
-
[1.8.9] Applying a potion effect via a TE
Something here fixed it, not 100% sure what the issue was.
-
[1.8.9] Applying a potion effect via a TE
ITickable replaced IUpdatePlayerListBox AFAIK
-
[1.8.9] Applying a potion effect via a TE
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-11.14.4.1572 PlayerEvent.ItemSmeltedEvent stack size issue
Ah cool cheers. Edit: I was specifically talking about ItemCraftedEvent in case it matters.
-
1.8-11.14.4.1572 PlayerEvent.ItemSmeltedEvent stack size issue
Looks like all PlayerEvent's with items is affected by this
-
1.8-11.14.4.1572 PlayerEvent.ItemSmeltedEvent stack size issue
When removing a smelted item from a furnace with left click the correct stack size is passed through the event, shift clicking will always return a stack size of 0.
-
[1.8] initGui() fired but not drawScreen()
You're a magician (sorted it thanks to you)!
-
[1.8] initGui() fired but not drawScreen()
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()
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()
Client command which I know is run (break point triggered) Minecraft.getMinecraft().displayGuiScreen(new GUIExperience());
-
[1.8] initGui() fired but not drawScreen()
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?
-
[1.7.10]Partial texture drawing
Ah I had a silly cheers (Thought that was for texture U,V for some reason)
-
[1.7.10]Partial texture drawing
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
-
[1.7.10]Partial texture drawing
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
-
[1.7.10]Most sane way to sync information from the server to the client gui?
Hmm looks like I need to attach a container with the information I want instead of using packets like I do now, cheers guys
-
[1.7.10]Most sane way to sync information from the server to the client gui?
As per the title, at the moment I have a class that contains the information that I want and that works well enough but I feel as if there is a better way. Any ideas?
-
[1.7.10] Render blending
Awesome that got it! Cheers In case anyone is interested: https://gist.github.com/disconsented/9cb3f592428dcc53de64
-
[1.7.10] Render blending
No Dice unless I am having a silly moment https://gist.github.com/disconsented/9cb3f592428dcc53de64
-
[1.7.10] Render blending
https://gist.github.com/disconsented/9cb3f592428dcc53de64#file-expbox-java-L70 No Dice
-
[1.7.10] Render blending
I assume via GL11.glClearColor(0, 0, 0, 0) ? At the very least that results in http://puu.sh/hEAKk/b1441240d6.png
-
[1.7.10] Render blending
The commented code was a bunch of experiments, I have a hunch that it is something to do with the blending but I don't know enough about opengl to ask the right question
-
[1.7.10] Render blending
That's the issue, I don't know. Its worth mentioning the I believe that it is due to blending as the texture for each of those blocks is 256x256 with blank space
-
[1.7.10] Render blending
https://gist.github.com/disconsented/98d94dda948dd8b125a5#file-gistfile1-java-L70
-
[1.7.10] Render blending
I call .draw() within the drawScreen function of a class that extends GuiScreen
IPS spam blocked by CleanTalk.