Gave the different types of Autumn and Cherry leaves different names

This commit is contained in:
Adubbz 2013-04-23 08:20:28 +10:00
parent 9013e314a3
commit f0d7ba6ee4
2 changed files with 5 additions and 4 deletions

View file

@ -26,6 +26,7 @@ public class BlockBOPLeaves extends BlockLeavesBase implements IShearable
CAT1, CAT2; CAT1, CAT2;
} }
//Autumn - Orange = Leaves 1, Origin - White = Leaves 2
private static final String[] leaves = new String[] {"autumn", "bamboo", "blue", "dark", "dead", "fir", "holy", "orange", "origin", "pink", "red", "white"}; private static final String[] leaves = new String[] {"autumn", "bamboo", "blue", "dark", "dead", "fir", "holy", "orange", "origin", "pink", "red", "white"};
private Icon[][] textures; private Icon[][] textures;
private final LeafCategory category; private final LeafCategory category;

View file

@ -235,17 +235,17 @@ public class BOPBlocks {
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,3), "Glowflower"); LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,3), "Glowflower");
LanguageRegistry.addName(new ItemStack(Blocks.plants.get(),1,7), "Cattail"); LanguageRegistry.addName(new ItemStack(Blocks.plants.get(),1,7), "Cattail");
LanguageRegistry.addName(Blocks.willow.get(), "Willow"); LanguageRegistry.addName(Blocks.willow.get(), "Willow");
LanguageRegistry.addName(new ItemStack(Blocks.leaves1.get(),1,0), "Autumn Leaves"); LanguageRegistry.addName(new ItemStack(Blocks.leaves1.get(),1,0), "Yellow Autumn Leaves");
LanguageRegistry.addName(new ItemStack(Blocks.plants.get(),1,5), "Thorns"); LanguageRegistry.addName(new ItemStack(Blocks.plants.get(),1,5), "Thorns");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,10), "Toadstool"); LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,10), "Toadstool");
LanguageRegistry.addName(new ItemStack(Blocks.foliage.get(),1,3), "High Grass"); LanguageRegistry.addName(new ItemStack(Blocks.foliage.get(),1,3), "High Grass");
LanguageRegistry.addName(Blocks.ashStone.get(), "Ash Stone"); LanguageRegistry.addName(Blocks.ashStone.get(), "Ash Stone");
LanguageRegistry.addName(Blocks.hardIce.get(), "Hard Ice"); LanguageRegistry.addName(Blocks.hardIce.get(), "Hard Ice");
LanguageRegistry.addName(new ItemStack(Blocks.leaves2.get(),1,2), "Maple Leaves"); LanguageRegistry.addName(new ItemStack(Blocks.leaves2.get(),1,2), "Maple Leaves");
LanguageRegistry.addName(new ItemStack(Blocks.leaves1.get(),1,7), "Autumn Leaves"); LanguageRegistry.addName(new ItemStack(Blocks.leaves1.get(),1,7), "Orang Autumn Leaves");
LanguageRegistry.addName(new ItemStack(Blocks.leaves2.get(),1,1), "Cherry Leaves"); LanguageRegistry.addName(new ItemStack(Blocks.leaves2.get(),1,1), "Pink Cherry Leaves");
LanguageRegistry.addName(new ItemStack(Blocks.leaves1.get(),1,2), "Magic Leaves"); LanguageRegistry.addName(new ItemStack(Blocks.leaves1.get(),1,2), "Magic Leaves");
LanguageRegistry.addName(new ItemStack(Blocks.leaves2.get(),1,3), "Cherry Leaves"); LanguageRegistry.addName(new ItemStack(Blocks.leaves2.get(),1,3), "White Cherry Leaves");
LanguageRegistry.addName(new ItemStack(Blocks.leaves1.get(),1,4), "Dying Leaves"); LanguageRegistry.addName(new ItemStack(Blocks.leaves1.get(),1,4), "Dying Leaves");
LanguageRegistry.addName(new ItemStack(Blocks.foliage.get(),1,1), "Short Grass"); LanguageRegistry.addName(new ItemStack(Blocks.foliage.get(),1,1), "Short Grass");
LanguageRegistry.addName(Blocks.leavesFruit.get(), "Apple Leaves"); LanguageRegistry.addName(Blocks.leavesFruit.get(), "Apple Leaves");