-
[1.10.2] Client can't connect to server
So I am currently having a problem when my client connects to my server. The client gets kicked and the logs get filled with errors. I feel like I did something terribly wrong but I have no idea what. The error the client gets is "A fatal error has occurred, this connection is terminated". The client does not crash. Links: Client Logs (Pastebin) Source Code If you need anything else, please let me know!
-
[Solved] [1.9.4] Render fluid in gui
I see the problem now, I forgot to bind the blocks texture
-
[Solved] [1.9.4] Render fluid in gui
In 1.7.10 I used the IIcon but I have no idea what to do now. I am assuming I am supposed to use TextureAtlasSprite but I can't seem to get that to work either
-
[Solved] [1.9.4] Render fluid in gui
I can't seem to figure out how to render an animated liquid into a gui. In 1.7.10 it was easy, but I am unable to port it. What I did for 1.7.10: private void drawFluidTank(IFluidTank tank, int x, int y){ FluidStack fluid = tank.getFluid(); TextureManager manager = mc.getTextureManager(); if (fluid != null){ manager.bindTexture(manager.getResourceLocation(0)); float amount = fluid.amount; float capacity = tank.getCapacity(); float scale = amount / capacity; int fluidTankHeight = 60; int fluidAmount = (int) (scale * fluidTankHeight); drawFluid(x, y + fluidTankHeight - fluidAmount, fluid.getFluid().getIcon(fluid), 16, fluidAmount); } } private void drawFluid(int x, int y, IIcon icon, int width, int height){ int i = 0; int j = 0; int drawHeight = 0; int drawWidth = 0; for (i = 0; i < width; i += 16){ for (j = 0; j < height; j += 16) { drawWidth = Math.min(width - i, 16); drawHeight = Math.min(height - j, 16); drawTexturedModelRectFromIcon(x + i, y + j, icon, drawWidth, drawHeight); } } }
-
Crop Seeds Crash [Solved]
Thank you soooooo much you just saved my mod you definitely deserve a "thank you"
-
GuiScreen and Item?
this is a... very interesting concept I can't really help you tho, but if noone does then try looking into a tutorial on it
-
Crop Seeds Crash [Solved]
Please explain more. And here is my whole main class:
-
[SOLVED]How can I abort the player's left-click action?
Ask IChun on how he did it
-
Help again!! With switching metadata based on player direction!!!
Ok.. you need to have patience. everyone doesn't know everything. But once in a while the perfect smarty pants comes along and makes your life much easier
-
Creating advanced models?
Minecraft is based on blocks. Anyways, you can always delete the squarness of models upon texturing by making invisable textures.
-
Crop Seeds Crash [Solved]
This has been solved. A moderator may delete this post. Ok. Simple. For my mod I made a seed that would plant my crop. When I run minecraft, the game would crash. I know its not the crop because I comment out the seed, plant the crop (/give is how I got the crop) and all goes well. I uncomment the seed and boom crash. The crash reoport says something about when I do the "blahBlah = new BlahBlah" part. Main File: Seed File: Crash Report:
-
I have no sound
Your not stupid, its not like you have to now everything!
-
ID mismatch crashing
What do you mean "it doesn't let me" If it just stays in the same screen, try leaving it, watch tv do something, and come back, it may have loaded then.
-
setBlockHarvestLevel() is acting strangely
Im soooooo confused right now... send me ONLY the part that says the block harvest level and all that.
-
Minecraft Crashes Using Forge
Reinstall Forge because it seems that some FML classes cannot be found.
IPS spam blocked by CleanTalk.