{
Block b = (Block) Block.blockRegistry.getObject((String)iterator.next());
if (b instanceof BlockBush)
{
try {
Item item = Item.getItemFromBlock(b);
if (item != null)
{
//item.getSubItems(item, null, subItemsList); - can't use because clientside only
ContainerTerraformer.saplingList.add(new ItemStack(item, 1, 0));
String basicName = item.getUnlocalizedName(new ItemStack(item, 1, 0));
for (int i = 1; i < 16; i++)
{
ItemStack testStack = new ItemStack(item, 1, i);
String testName = item.getUnlocalizedName(testStack);
if (testName == null || testName.equals("") || testName.equals(basicName))
break;
ContainerTerraformer.saplingList.add(testStack);
}
}