Everything posted by AskHow1248
-
Inventory progress bar not working
Do I need to addCraftingToCrafters when I open the gui for a player? I did everything from the furnace container, but it sill won't work. Container:
-
Inventory progress bar not working
TileEntity (a little messy): Container:
-
Inventory progress bar not working
Hi everybody, I am making a gui with a progress bar (arrow actualy), but for some reason it doesn't update properly. I'm not sending any packets, which might be part of the problem, but I don't know how to fix it. Code:
-
"A mod tried to open a gui on the server without being a NetworkMod" error
Fixed. The error happens if I intinalize it.
-
"A mod tried to open a gui on the server without being a NetworkMod" error
I included it, but I didn't intinalize it. I will now.
-
"A mod tried to open a gui on the server without being a NetworkMod" error
I have @NetworkMod(channels = {"TM"}, clientSideRequired = true, serverSideRequired = false, packetHandler = TMPacketHandeler.class), which is what the video has (It works fine in the video). (I'm in 1.6.4)
-
"A mod tried to open a gui on the server without being a NetworkMod" error
I've been making a block with a gui following this video: but when I start minecraft and try to open the gui, I get a message in the eclipse consle saying "A mod tried to open a gui on the server without being a NetworkMod". I have no idea what this means, since I have a @NetworkMod annotation. I can supply my code (slightly different from the videos) on request. Any help will be appreciated.
-
Weird isCurrentLanguageBidirectional() error
I figured it out. It happens if you have a pack.mcmeta file in your mpc/src/minecraft folder.
-
Weird isCurrentLanguageBidirectional() error
Thanks, but that's not it.
-
Weird isCurrentLanguageBidirectional() error
Hello everybody, I've just started a new mod, and I'm getting a weird NullPointerException from net.minecraft.client.resources.LanguageManager.isCurrentLanguageBidirectional. I haven't done anything, it seem to be something with the minecraft code. Error report:
-
[1.6.4]Finding what the player is looking at
Hi everybody. I need to find what the player is looking at (block or entity). I know somewhere in the Minecraft source code it does it (eg. when the player mines something) but I don't know how or where. I was thinking something along the lines of using player.getLookVector().normalize() and extending it through a for loop until it hits something, but it seems like there must be a better way. Any help will be appreciated, especially the location of the code Minecraft uses to do the same thing.
-
[1.6.4] Adding a event handler for when a player chats
Yes, it has. Thank you!
-
[1.6.4] Adding a event handler for when a player chats
I need to make an event handler that catches a event whenever a player sends a chat message. What I don't know is what event I need to catch. I was thinking maybe CommandEvent or ClientChatReceivedEvent but I want it to process non-command chats, and I want it to be called when a player sends a chat, not when a player receives a chat.
-
How to make a item/itemStack have multiple damage bars
Got that, but do you know of any OpenGL drawing tutorials?
-
How to make a item/itemStack have multiple damage bars
I already have both the values I need (through item nbt) I just need the renderer. I think I need to implement IItemRenderer and use MinecraftForgeClient.registerItemRenderer(), but how do I draw an overlay? Also, do you know where I can find some tutorials on drawing with OpenGL, because I have absolutely no experience?
-
How to make a item/itemStack have multiple damage bars
I'm making an addon to IC2, and I need to make a chargeable item (eu) that also holds plasma (I have a way to charge it). I think a need to implement IElectricItem and IItemHudInfo, but I also think I need to mess with how the itemStack renders (with two damage bars instead on one), which I have no idea how to do. Any help will be appreciated.
-
Help with tile entities and onBlockActivated();
Okay. Thank you!
-
Help with tile entities and onBlockActivated();
So I need to use world.isRemote, but which side do I want?
-
Help with tile entities and onBlockActivated();
I have a tile entity that holds a EMSLiquidStack (basically a LiquidStack but with my own liquid) and I'm trying to get the block for the tile entity to chat the liquid and the amount of liquid it contains. The only problem is when I right click on the block it seems to call onBlockActivated() twice. Any help would be appreciated. Code:
-
Help with IC2 addon
Then you can use IC2 items in the game but not in the code (at least I think).
-
Help with IC2 addon
Thank you. I have decompiled IC2 using mcp (you have to put the mod int the jar, not the mod folder). There are a few errors, but I fixed all of the expect three in Grid.java. It seems as those errors stem from Eclipse not being able to find org.ejml.data.DenseMatrix64F and org.ejml.factory.LinearSolverFactory. Errors (and code):
-
Help with IC2 addon
How can I get to those?
-
Help with IC2 addon
Hi. I am making a IC2 addon, but the API doesn't have enough stuff in it (no Blocks or Items to use in recipes). I'm trying to decompile IC2 (the dev-deobf version), but I don't know how to (I need it deobfuscate too)). I'v tried to put IC2 in mcp\src\mods and then running decompile.bat, but it either doesn't work or I don't know where to find the source. Any help will be greatly appreciated!
-
How to make a block use a custom model?
Whats blender?
-
How to make a block use a custom model?
Hello. I'm wondering how to make a block that uses a custom model, and that the play can't interact with. Also, is there an easier way than techne to model things with circles .
IPS spam blocked by CleanTalk.