Ore Localizations and changed ore names to "techreborn.ore"
This commit is contained in:
parent
5d76333dd1
commit
57c38eb99e
5 changed files with 21 additions and 5 deletions
|
@ -30,7 +30,7 @@ public class BlockOre extends Block{
|
|||
public BlockOre(Material material)
|
||||
{
|
||||
super(material);
|
||||
setBlockName("ore");
|
||||
setBlockName("techreborn.ore");
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
setHardness(1f);
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ public class ModBlocks {
|
|||
GameRegistry.registerTileEntity(TileQuantumChest.class, "TileQuantumChest");
|
||||
|
||||
ore = new BlockOre(Material.rock);
|
||||
GameRegistry.registerBlock(ore, ItemBlockOre.class, "ore");
|
||||
GameRegistry.registerBlock(ore, ItemBlockOre.class, "techreborn.ore");
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ import java.util.List;
|
|||
|
||||
import techreborn.Core;
|
||||
import techreborn.client.TechRebornCreativeTab;
|
||||
import techreborn.lib.ModInfo;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
|
@ -40,7 +41,7 @@ public class ItemDusts extends ItemTR
|
|||
|
||||
for (int i = 0; i < types.length; ++i)
|
||||
{
|
||||
textures[i] = iconRegister.registerIcon("techreborn" + "dust");
|
||||
textures[i] = iconRegister.registerIcon(ModInfo.MOD_ID + "dust");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package techreborn.items;
|
||||
|
||||
import techreborn.client.TechRebornCreativeTab;
|
||||
import techreborn.lib.ModInfo;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.item.Item;
|
||||
|
||||
|
@ -15,7 +16,7 @@ public class ItemTR extends Item{
|
|||
@Override
|
||||
public void registerIcons(IIconRegister iconRegister)
|
||||
{
|
||||
itemIcon = iconRegister.registerIcon("techreborn" + ":" + getUnlocalizedName().toLowerCase().substring(5));
|
||||
itemIcon = iconRegister.registerIcon(ModInfo.MOD_ID + ":" + getUnlocalizedName().toLowerCase().substring(5));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -2,4 +2,18 @@ itemGroup.techreborn=Tech Reborn
|
|||
|
||||
tile.techreborn.thermalGenerator.name=Thermal Generator
|
||||
tile.techreborn.quantumTank.name=Quantum Tank
|
||||
tile.techreborn.quantumChest.name=Quantum Chest
|
||||
tile.techreborn.quantumChest.name=Quantum Chest
|
||||
|
||||
#Ores
|
||||
tile.techreborn.ore.Galena.name=Galena Ore
|
||||
tile.techreborn.ore.Iridium.name=Iridium Ore
|
||||
tile.techreborn.ore.Ruby.name=Ruby Ore
|
||||
tile.techreborn.ore.Sapphire.name=Sapphire Ore
|
||||
tile.techreborn.ore.Bauxite.name=Bauxite Ore
|
||||
tile.techreborn.ore.Pyrite.name=Pyrite Ore
|
||||
tile.techreborn.ore.Cinnabar.name=Cinnabar Ore
|
||||
tile.techreborn.ore.Sphalerite.name=Sphalerite Ore
|
||||
tile.techreborn.ore.Tungston.name=Tungston Ore
|
||||
tile.techreborn.ore.Sheldonite.name=Sheldonite Ore
|
||||
tile.techreborn.ore.Olivine.name=Olivine Ore
|
||||
tile.techreborn.ore.Sodalite.name=Sodalite Ore
|
Loading…
Reference in a new issue