Posted February 25, 201411 yr is there a list filled with items in 1.7 something to replace 1.6's Item.itemsList?
February 25, 201411 yr Blocks and Items lists have been moved to the net/minecraft/init package and renamed to "Blocks" and "Items"; type "Items" followed by period "." and you'll get a list of all the items available. http://i.imgur.com/NdrFdld.png[/img]
February 25, 201411 yr Author I'm looking for a list I can loop through. as far as I know neither the itemregistry or Items class can do this. If you know how to iterate through the itemregistry can you explain
February 25, 201411 yr I'm clueless on java terms, but there was an iterator inside of itemRegistry. I loop through lists like this: for(Object o : GameData.itemRegistry) { if(o instanceof Item) { Item i = (Item) o; } } Kain
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.