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.

shieldbug1

Forge Modder
  • Joined

  • Last visited

Everything posted by shieldbug1

  1. The NEI API is documented and should be sufficient. Look at the API class to see where to start. If that's not enough take a look at another open-source mod that implements this feature, and see how it does it.
  2. Looks like an ID conflict: Long story short, update to 1.7.10
  3. Both 1.7 an 1.8 have almost complete mappings, just use the daily snapshots. I haven't encountered any bug or glitch that makes 1.6.4 better than either of those versions. There is nothing but performance improvements in the newer version, I haven't experienced any framerate drops.
  4. World as in server/thing you click in the world selection menu.
  5. 1. Use the item's onUpdate method, since you're checking for your item 2. Don't use LivingUpdateEvent for players, the PlayerTickEvent is for that.
  6. ID's don't change per world. So if you have to store something in one world that will never need to interact with another world, use block and item IDs. The preferable method, however, is to get the names of Items and Blocks from the Item and Block registries respectively.
  7. Post the crash log?
  8. Just a bit of a tip - you can use newer mcp mappings to get better naming. Nearly everything has been named by now in the daily snapshots.
  9. First of all, why is your damage variable static? Read up on what static means. Next, where do you call changeDamage()?
  10. http://lmgtfy.com/?q=How+to+rename+a+file
  11. The Block Registry is exactly what you should be using. Block.getBlockFromName uses the block registry itself.
  12. You posted the same class for your TileEntity, Block, Gui and Container...
  13. Access Control in Java Stack Overflow Question with user responses Java Support Forum
  14. Take a look at EntityRenderer#activateNextShader
  15. One of your mods is missing a dependency. I suggest going through all your mods' main forum posts/websites and reading to make sure you have all dependencies downloaded.
  16. I believe the user is now 'MCPBot_Reborn'
  17. I certainly haven't been. It's a 1:1 input:output in terms of ItemStacks. Kind of like the furnace. Stack of A becomes a Stack of B, so I've just been storing it as a HashTable<ItemStack,ItemStack>. This is exactly why support for every individual mod is needed to do something like this. Off-topic: Any reason you're using a HashTable over a HashMap?
  18. The only reason NEI is able to do that, is because those mod authors integrate with NEI by using the NEI API and creating their own 'plugins'. Perhaps if there was a standardised IMachine interface this would be possible (obviously with the interface intended for TileEntities), however then you get the problem of getting the list of recipes back in that method, since not every mod keeps their recipes stored as IRecipe. I suggest getting all the APIs and/or dev versions of the mods, and simply integrating with each one individually.
  19. These are all problems with the MorePlayerModels mod. Report to the mod author.
  20. Also: You can't compare strings with == .

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.