-
How to iterate through items?
ahh ok
-
How to iterate through items?
The only way i've seen is with plugins, but I have'nt been able to find a mod that does it
-
How to iterate through items?
ahh ok. so then it would be this: @EventHandler public void init(FMLInitializationEvent event) { for (Item fooditem : Items.REGISTRY){ }; }
-
How to iterate through items?
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.
-
How to iterate through items?
but this loop does look right, right? @EventHandler public void init(FMLInitializationEvent event) { for (ItemStack fooditem : Items.REGISTRY){ }; }
-
How to iterate through items?
dang... I'll move my mods to 1.8 instead of 1.7.10 because that isn't in there...
-
How to iterate through items?
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
-
How to iterate through items?
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?
-
How to iterate through items?
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?
IPS spam blocked by CleanTalk.