Plants and Flowers Localizations

This commit is contained in:
Adubbz 2013-06-09 11:57:53 +10:00
parent e30ed2da36
commit d9a681676e
3 changed files with 63 additions and 28 deletions

View file

@ -195,8 +195,6 @@ public class BOPBlocks {
Blocks.hellBarkStairs = Optional.of((new BlockBOPStairs(BOPConfiguration.hellBarkStairsID, Blocks.planks.get(), Category.HELL_BARK)).setUnlocalizedName("bop.hellBarkStairs")); Blocks.hellBarkStairs = Optional.of((new BlockBOPStairs(BOPConfiguration.hellBarkStairsID, Blocks.planks.get(), Category.HELL_BARK)).setUnlocalizedName("bop.hellBarkStairs"));
Blocks.jacarandaStairs = Optional.of((new BlockBOPStairs(BOPConfiguration.jacarandaStairsID, Blocks.planks.get(), Category.JACARANDA)).setUnlocalizedName("bop.jacarandaStairs")); Blocks.jacarandaStairs = Optional.of((new BlockBOPStairs(BOPConfiguration.jacarandaStairsID, Blocks.planks.get(), Category.JACARANDA)).setUnlocalizedName("bop.jacarandaStairs"));
Blocks.leavesColorized = Optional.of((new BlockBOPColorizedLeaves(BOPConfiguration.colourizedLeavesID)).setUnlocalizedName("bop.leavesColorized")); Blocks.leavesColorized = Optional.of((new BlockBOPColorizedLeaves(BOPConfiguration.colourizedLeavesID)).setUnlocalizedName("bop.leavesColorized"));
System.out.println(Blocks.plants.get().getUnlocalizedName());
} }
private static void registerBlocks() private static void registerBlocks()
@ -297,21 +295,46 @@ public class BOPBlocks {
LanguageRegistry.addName(Blocks.driedDirt.get(), "Dried Dirt"); LanguageRegistry.addName(Blocks.driedDirt.get(), "Dried Dirt");
LanguageRegistry.addName(new ItemStack(Blocks.redRock.get(),1,0), "Red Rock"); LanguageRegistry.addName(new ItemStack(Blocks.redRock.get(),1,0), "Red Rock");
LanguageRegistry.addName(Blocks.ash.get(), "Ash Block"); LanguageRegistry.addName(Blocks.ash.get(), "Ash Block");
LanguageRegistry.addName(new ItemStack(Blocks.plants.get(),1,0), "Dead Grass"); LanguageRegistry.addName(new ItemStack(Blocks.plants.get(),1,0), "Dead Grass");
LanguageRegistry.addName(new ItemStack(Blocks.plants.get(),1,1), "Desert Grass"); LanguageRegistry.addName(new ItemStack(Blocks.plants.get(),1,1), "Desert Grass");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,9), "Anemone"); LanguageRegistry.addName(new ItemStack(Blocks.plants.get(),1,2), "Desert Sprouts");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,1), "Swampflower"); LanguageRegistry.addName(new ItemStack(Blocks.plants.get(),1,3), "Dune Grass");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,7), "Wildflower"); LanguageRegistry.addName(new ItemStack(Blocks.plants.get(),1,4), "Purified Tall Grass");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,5), "Daisy"); LanguageRegistry.addName(new ItemStack(Blocks.plants.get(),1,5), "Thorns");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,0), "Clover"); LanguageRegistry.addName(new ItemStack(Blocks.plants.get(),1,6), "Barley");
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(new ItemStack(Blocks.plants.get(),1,8), "Reed"); LanguageRegistry.addName(new ItemStack(Blocks.plants.get(),1,8), "Reed");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,0), "Clover");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,1), "Swampflower");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,2), "Deathbloom");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,3), "Glowflower");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,4), "Hydrangea");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,5), "Daisy");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,6), "Tulip");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,7), "Wildflower");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,8), "Violet");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,9), "Anemone");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,10), "Waterlily");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,11), "Tiny Cactus");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,12), "Aloe");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,13), "Sunflower");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,14), "Sunflower");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,15), "Dandelion");
LanguageRegistry.addName(new ItemStack(Blocks.foliage.get(),1,2), "Medium Grass");
LanguageRegistry.addName(Blocks.willow.get(), "Willow"); LanguageRegistry.addName(Blocks.willow.get(), "Willow");
LanguageRegistry.addName(Blocks.ivy.get(), "Ivy"); LanguageRegistry.addName(Blocks.ivy.get(), "Ivy");
LanguageRegistry.addName(new ItemStack(Blocks.plants.get(),1,5), "Thorns");
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.hardIce.get(), "Hardened Ice"); LanguageRegistry.addName(Blocks.hardIce.get(), "Hardened Ice");
LanguageRegistry.addName(Blocks.leavesFruit.get(), "Apple Leaves"); LanguageRegistry.addName(Blocks.leavesFruit.get(), "Apple Leaves");
LanguageRegistry.addName(new ItemStack(Blocks.foliage.get(),1,8), "Berry Bush"); LanguageRegistry.addName(new ItemStack(Blocks.foliage.get(),1,8), "Berry Bush");
@ -332,19 +355,11 @@ public class BOPBlocks {
LanguageRegistry.addName(new ItemStack(Blocks.stoneSingleSlab.get(),1,4), "Skystone Bricks Slab"); LanguageRegistry.addName(new ItemStack(Blocks.stoneSingleSlab.get(),1,4), "Skystone Bricks Slab");
LanguageRegistry.addName(Blocks.mudBricksStairs.get(), "Mud Bricks Stairs"); LanguageRegistry.addName(Blocks.mudBricksStairs.get(), "Mud Bricks Stairs");
LanguageRegistry.addName(Blocks.originGrass.get(), "Origin Grass"); LanguageRegistry.addName(Blocks.originGrass.get(), "Origin Grass");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,6), "Tulip");
LanguageRegistry.addName(Blocks.treeMoss.get(), "Tree Moss"); LanguageRegistry.addName(Blocks.treeMoss.get(), "Tree Moss");
LanguageRegistry.addName(new ItemStack(Blocks.foliage.get(),1,1), "Short Grass"); LanguageRegistry.addName(new ItemStack(Blocks.foliage.get(),1,1), "Short Grass");
LanguageRegistry.addName(new ItemStack(Blocks.plants.get(),1,6), "Barley");
LanguageRegistry.addName(new ItemStack(Blocks.petals.get(),1,0), "Giant Red Flower"); LanguageRegistry.addName(new ItemStack(Blocks.petals.get(),1,0), "Giant Red Flower");
LanguageRegistry.addName(new ItemStack(Blocks.petals.get(),1,1), "Giant Yellow Flower"); LanguageRegistry.addName(new ItemStack(Blocks.petals.get(),1,1), "Giant Yellow Flower");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,10), "Waterlily");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,11), "Tiny Cactus");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,12), "Aloe");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,13), "Sunflower");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,15), "Dandelion");
LanguageRegistry.addName(new ItemStack(Blocks.mushrooms.get(),1,0), "Toadstool"); LanguageRegistry.addName(new ItemStack(Blocks.mushrooms.get(),1,0), "Toadstool");
LanguageRegistry.addName(new ItemStack(Blocks.mushrooms.get(),1,1), "Portobello"); LanguageRegistry.addName(new ItemStack(Blocks.mushrooms.get(),1,1), "Portobello");
LanguageRegistry.addName(new ItemStack(Blocks.mushrooms.get(),1,2), "Blue Milk Cap"); LanguageRegistry.addName(new ItemStack(Blocks.mushrooms.get(),1,2), "Blue Milk Cap");
@ -369,16 +384,10 @@ public class BOPBlocks {
LanguageRegistry.addName(new ItemStack(Blocks.saplings.get(),1,12), "White Cherry Sapling"); LanguageRegistry.addName(new ItemStack(Blocks.saplings.get(),1,12), "White Cherry Sapling");
LanguageRegistry.addName(new ItemStack(Blocks.saplings.get(),1,4), "Dark Sapling"); LanguageRegistry.addName(new ItemStack(Blocks.saplings.get(),1,4), "Dark Sapling");
LanguageRegistry.addName(new ItemStack(Blocks.saplings.get(),1,3), "Magic Sapling"); LanguageRegistry.addName(new ItemStack(Blocks.saplings.get(),1,3), "Magic Sapling");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,2), "Deathbloom");
LanguageRegistry.addName(new ItemStack(Blocks.redRock.get(),1,1), "Red Rock Cobblestone"); LanguageRegistry.addName(new ItemStack(Blocks.redRock.get(),1,1), "Red Rock Cobblestone");
LanguageRegistry.addName(Blocks.redCobbleStairs.get(), "Red Rock Cobblestone Stairs"); LanguageRegistry.addName(Blocks.redCobbleStairs.get(), "Red Rock Cobblestone Stairs");
LanguageRegistry.addName(new ItemStack(Blocks.redRock.get(),1,2), "Red Rock Bricks"); LanguageRegistry.addName(new ItemStack(Blocks.redRock.get(),1,2), "Red Rock Bricks");
LanguageRegistry.addName(Blocks.redBricksStairs.get(), "Red Rock Bricks Stairs"); LanguageRegistry.addName(Blocks.redBricksStairs.get(), "Red Rock Bricks Stairs");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,4), "Hydrangea");
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,8), "Violet");
LanguageRegistry.addName(new ItemStack(Blocks.foliage.get(),1,2), "Medium Grass");
LanguageRegistry.addName(new ItemStack(Blocks.plants.get(),1,3), "Dune Grass");
LanguageRegistry.addName(new ItemStack(Blocks.plants.get(),1,2), "Desert Sprouts");
LanguageRegistry.addName(new ItemStack(Blocks.colorizedSaplings.get(),1,1), "Mangrove Sapling"); LanguageRegistry.addName(new ItemStack(Blocks.colorizedSaplings.get(),1,1), "Mangrove Sapling");
LanguageRegistry.addName(Blocks.hardSand.get(), "Hardened Sand"); LanguageRegistry.addName(Blocks.hardSand.get(), "Hardened Sand");
LanguageRegistry.addName(new ItemStack(Blocks.colorizedSaplings.get(),1,0), "Acacia Sapling"); LanguageRegistry.addName(new ItemStack(Blocks.colorizedSaplings.get(),1,0), "Acacia Sapling");
@ -393,7 +402,6 @@ public class BOPBlocks {
LanguageRegistry.addName(new ItemStack(Blocks.holyStone.get(),1,2), "Skystone Bricks"); LanguageRegistry.addName(new ItemStack(Blocks.holyStone.get(),1,2), "Skystone Bricks");
LanguageRegistry.addName(Blocks.holyBricksStairs.get(), "Skystone Bricks Stairs"); LanguageRegistry.addName(Blocks.holyBricksStairs.get(), "Skystone Bricks Stairs");
LanguageRegistry.addName(Blocks.crystal.get(), "Celestial Crystal"); LanguageRegistry.addName(Blocks.crystal.get(), "Celestial Crystal");
LanguageRegistry.addName(new ItemStack(Blocks.plants.get(),1,4), "Purified Tall Grass");
LanguageRegistry.addName(Blocks.promisedPortal.get(), "Promised Land Portal"); LanguageRegistry.addName(Blocks.promisedPortal.get(), "Promised Land Portal");
LanguageRegistry.addName(new ItemStack(Blocks.saplings.get(),1,7), "Loftwood Sapling"); LanguageRegistry.addName(new ItemStack(Blocks.saplings.get(),1,7), "Loftwood Sapling");
// LanguageRegistry.addName(Blocks.amethystOre.get(), "Amethyst Ore"); // LanguageRegistry.addName(Blocks.amethystOre.get(), "Amethyst Ore");

View file

@ -13,7 +13,7 @@ import cpw.mods.fml.relauncher.SideOnly;
public class ItemBOPPlant extends ItemBlock public class ItemBOPPlant extends ItemBlock
{ {
private static final String[] plants = new String[] {"deadgrass", "desertgrass", "desertsprouts", "dunegrass", "holytallgrass", "thorn", "barley", "cattail", "cattailtop", "cattailbottom", "reed"}; private static final String[] plants = new String[] {"deadgrass", "desertgrass", "desertsprouts", "dunegrass", "holytallgrass", "thorn", "barley", "cattail", "reed", "cattailtop", "cattailbottom"};
@SideOnly(Side.CLIENT) @SideOnly(Side.CLIENT)
private Icon[] textures; private Icon[] textures;

View file

@ -3,12 +3,39 @@
<properties version="1.0"> <properties version="1.0">
<comment>English (en_US) Localization File</comment> <comment>English (en_US) Localization File</comment>
<!--Blocks-->
<entry key="tile.bop.mud.mud.name">Mud</entry> <entry key="tile.bop.mud.mud.name">Mud</entry>
<entry key="tile.bop.generic.dried_dirt.name">Dried Dirt</entry> <entry key="tile.bop.generic.dried_dirt.name">Dried Dirt</entry>
<entry key="tile.bop.redRocks.redrock.name">Red Rock</entry> <entry key="tile.bop.redRocks.redrock.name">Red Rock</entry>
<entry key="tile.bop.ash.name">Ash Block</entry> <entry key="tile.bop.ash.name">Ash Block</entry>
<entry key="tile.bop.plants.deadgrass.name">Dead Grass</entry> <entry key="tile.bop.plants.deadgrass.name">Dead Grass</entry>
<entry key="tile.bop.plants.desertgrass.name">Desert Grass</entry> <entry key="tile.bop.plants.desertgrass.name">Desert Grass</entry>
<entry key="tile.cloud.name">Cloud</entry> <entry key="tile.bop.plants.desertsprouts.name">Desert Sprouts</entry>
<entry key="">entry</entry> <entry key="tile.bop.plants.dunegrass.name">Dune Grass</entry>
<entry key="tile.bop.plants.holytallgrass.name">Purified Tall Grass</entry>
<entry key="tile.bop.plants.thorn.name">Thorns</entry>
<entry key="tile.bop.plants.barley.name">Barley</entry>
<entry key="tile.bop.plants.cattail.name">Cattail</entry>
<entry key="tile.bop.plants.cattailtop.name">Cattail</entry>
<entry key="tile.bop.plants.cattailbottom.name">Cattail</entry>
<entry key="tile.bop.plants.reed.name">Reed</entry>
<entry key="tile.bop.flowers.clover.name">Clover</entry>
<entry key="tile.bop.flowers.swampflower.name">Swampflower</entry>
<entry key="tile.bop.flowers.deadbloom.name">Deathbloom</entry>
<entry key="tile.bop.flowers.glowflower.name">Glowflower</entry>
<entry key="tile.bop.flowers.hydrangea.name">Hydrangea</entry>
<entry key="tile.bop.flowers.daisy.name">Daisy</entry>
<entry key="tile.bop.flowers.tulip.name">Tulip</entry>
<entry key="tile.bop.flowers.wildflower.name">Wildflower</entry>
<entry key="tile.bop.flowers.violet.name">Violet</entry>
<entry key="tile.bop.flowers.anemone.name">Anemone</entry>
<entry key="tile.bop.flowers.lilyflower.name">Waterlily</entry>
<entry key="tile.bop.flowers.cactus.name">Tiny Cactus</entry>
<entry key="tile.bop.flowers.aloe.name">Aloe</entry>
<entry key="tile.bop.flowers.sunflowerbottom.name">Sunflower</entry>
<entry key="tile.bop.flowers.sunflowertop.name">Sunflower</entry>
<entry key="tile.bop.flowers.dandelion.name">Dandelion</entry>
</properties> </properties>