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.

Sudomeapizza

Members
  • Joined

  • Last visited

  1. The only way i've seen is with plugins, but I have'nt been able to find a mod that does it
  2. ahh ok. so then it would be this: @EventHandler public void init(FMLInitializationEvent event) { for (Item fooditem : Items.REGISTRY){ }; }
  3. The only thing though is that I hate (with love) the attack cooldown thingy, and was wondering if I could do an @override to disable it. Otherwise I would gracefully move up that far.
  4. but this loop does look right, right? @EventHandler public void init(FMLInitializationEvent event) { for (ItemStack fooditem : Items.REGISTRY){ }; }
  5. dang... I'll move my mods to 1.8 instead of 1.7.10 because that isn't in there...
  6. I just edited my post so that I had my second question in there, but what Version <= ? Or what I am trying to say is will the be available in 1.8
  7. are you saying that all of the things are being loaded in pre init? so should I do the iteration in the post init? Also, for what Version will this function be available under?
  8. I was making a mod for my personal use and was wondering how to iterate through all of the items in minecraft / though other mods as well if they are there. Using this info I wanted to use each individual item to be in a separate shapeless crafting recipe that does something to that item (I'm specifying towards food items) and got stuck at the start. How do I even Iterate through the items?

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.