Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

AskHow1248

Members
  • Joined

  • Last visited

Everything posted by AskHow1248

  1. 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:
  2. TileEntity (a little messy): Container:
  3. 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:
  4. I included it, but I didn't intinalize it. I will now.
  5. 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)
  6. 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.
  7. I figured it out. It happens if you have a pack.mcmeta file in your mpc/src/minecraft folder.
  8. 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:
  9. 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.
  10. 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.
  11. Got that, but do you know of any OpenGL drawing tutorials?
  12. 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?
  13. 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.
  14. So I need to use world.isRemote, but which side do I want?
  15. 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:
  16. Then you can use IC2 items in the game but not in the code (at least I think).
  17. 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):
  18. How can I get to those?
  19. 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!
  20. 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 .

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.