Skip 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.

Ugdhar

Moderators
  • Joined

  • Last visited

Everything posted by Ugdhar

  1. please post the fml-client-latest.log from your .minecraft/logs folder
  2. 1.7.10 is no longer supported here, you will need to update to receive help. *edit: Your build.gradle is for 1.7.10, despite the subject line saying 1.12. If people help for 1.12, odds are it will probably not work in 1.7.10 since it is so old.
  3. Read http://mcforge.readthedocs.io/en/latest/gettingstarted/ It explicitly tells you which files to move to your new project folder (steps 2 and 3)
  4. First thing I noticed, is you do not need to use the AttachCapabilitiesEvent for a capability that is part of your own item, the initCapabilities method you overrode takes care of that. You would only use that event for attaching to an item that you didn't code yourself (i.e. a Stick or something) I haven't much time atm, so that's all I got for now, I'll look some more when I have more time.
  5. It would be much easier if you uploaded your entire codebase to github Post all capability related classes otherwise pls (not to mention much harder to read code on here than github as well)
  6. You should make all your registry names lowercase. You should set the unlocalized name using getRegistyName() after setting the registry name. Also, what version of Minecraft is this for?
  7. If you're making a mod, post your code. You should also update from 1.8.9, it's getting old. If you're trying to use mods, one of them is a broken example mod.
  8. I would say you could set those inside your item class if you wanted if they're the same for all batteries and wouldn't change per battery
  9. You will likely get more help if you post your code on github instead of in a zip file. Not to mention version control is cool
  10. Items (like Blocks) are singletons, so there is only 1 instance of your Item class being used for every item of that kind in the game. That's likely why all your batteries are sharing their charge. If you wish to have an independent value for your item, it either needs to be stored in Metadata (limited amount of storage, I forget how much), or you will need to use capabilities. Just search this forum for "item metadata" or "item capabilities" and you should find something to get you started. There is info on both of these in the forge docs as well. *edit: Here's a link to a capabilities tutorial that I believe is helpful: https://www.planetminecraft.com/blog/forge-tutorial-capability-system/
  11. https://vazkii.us/p/a-semi-technical-explanation-of-why-you-shouldnt-allocate-too-much-ram-to-minecraft/ I would try less than 10G and see if that helps.
  12. 1.7.10 is no longer supported, you should update.
  13. You're better off continuing to post here, I'm not always available to help, and there are plenty of others here just as knowledgeable as I am, and even more experienced with forge than me.
  14. Ok, 1.8 is getting old, so you should really think about updating. I doubt it will continue to be supported for very long, considering we're at 1.12. Continue registering things in init/preinit where applicabile, since the registry events are 1.11+ (although I thought I saw someone say later 1.10.2 had them). In your main class Init you call GameRegistry.register(enugget, "EmeraldNugget");, I believe that should be lowercase, and the same as your asset names.
  15. You should use the registry events to register your items. Here is a good link for reference: http://www.minecraftforge.net/forum/topic/49497-1112-is-using-registryevent-this-way-ok/#comment-249433 Don't use Minecraft.getMinecraft().getRenderItem().getItemModelMesher() , use ModelLoader.setCustomResourceLocation. IDs (mod, item, block, etc) should all be lowercase, both in code and assets (class/field names are fine to be mixed case, but registry names modid etc should all be lowercase) Which version of MC/Forge? Also, you should put your code on a github repo, it makes it much easier to look at plus version control is cool
  16. Then you're going to have to check with the author to see if they have a jar for the dedicated server
  17. It should be in the logs folder, which should be in the same folder the mods folder is in
  18. Post the fml-client-latest.log You could also try removing mods 1 by 1 (or start with 0 mods, and add them in 1 by 1) to determine which is causing the crash.
  19. Try removing toomuchtnt It looks like it's calling a client function, which will crash a dedicated server (but works in single player, since the server/client both exist)
  20. As a side note, you should probably go for 1.11.2 at the earliest, and preferably 1.12.x. I don't think 1.10.2 will be supported here for much longer.
  21. Yeah, plus you're running 1.7.10, which is old and unsupported as well. I'd update both.
  22. My guess would be that there are mod dependencies missing. Are you sure you installed all required mods on your server? Also there should be a fml-server-latest.log file, if you could post that somewhere I think it would help
  23. Check this link out, it's a great display of using the new registry events. http://www.minecraftforge.net/forum/topic/49497-1112-is-using-registryevent-this-way-ok/#comment-249433
  24. 1.7.10 is no longer supported here, update if you'd like to get help.
  25. I haven't done a lot of messing with recipes, but I doubt it.

Important Information

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

Account

Navigation

Search

Search

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.