diff --git a/src/main/java/resonantinduction/mechanical/gear/ItemGear.java b/src/main/java/resonantinduction/mechanical/gear/ItemGear.java index b5dcd6be4..cb76157fd 100644 --- a/src/main/java/resonantinduction/mechanical/gear/ItemGear.java +++ b/src/main/java/resonantinduction/mechanical/gear/ItemGear.java @@ -10,6 +10,7 @@ import net.minecraft.world.World; import net.minecraftforge.common.ForgeDirection; import resonantinduction.core.Settings; import resonantinduction.core.prefab.part.ItemMultipartBase; +import resonantinduction.electrical.wire.EnumWireMaterial; import codechicken.lib.vec.BlockCoord; import codechicken.lib.vec.Vector3; import codechicken.multipart.ControlKeyModifer; @@ -25,6 +26,12 @@ public class ItemGear extends ItemMultipartBase super("gear", Settings.getNextItemID()); } + @Override + public String getUnlocalizedName(ItemStack itemStack) + { + return super.getUnlocalizedName(itemStack) + "." + itemStack.getItemDamage(); + } + @Override public TMultiPart newPart(ItemStack itemStack, EntityPlayer player, World world, BlockCoord pos, int side, Vector3 hit) { diff --git a/src/main/resources/assets/resonantinduction/languages/en_US.properties b/src/main/resources/assets/resonantinduction/languages/en_US.properties index 2f80eb96c..60f396a65 100644 --- a/src/main/resources/assets/resonantinduction/languages/en_US.properties +++ b/src/main/resources/assets/resonantinduction/languages/en_US.properties @@ -29,7 +29,7 @@ tile.resonantinduction\:material.5.name=Industrial Stone tile.resonantinduction\:material.6.name=Industrial Stone Slab tile.resonantinduction\:material.7.name=Industrial Mossy Stone tile.resonantinduction\:material.8.name=Dark Steel -tile.resonantinduction\:material.9.name=Tinted Steel +tile.resonantinduction\:material.9.namee=Tinted Steel tile.resonantinduction\:material.10.name=Steel ## Items @@ -57,7 +57,9 @@ tile.resonantinduction\:fluidPipe.1.name=Stone Trough ### Mechanical Module ## Energy -item.resonantinduction\:gear.name=Gear +item.resonantinduction\:gear.0.name=Wooden Gear +item.resonantinduction\:gear.1.name=Stone Gear +item.resonantinduction\:gear.2.name=Metal Gear item.resonantinduction\:gearShaft.name=Gear Shaft tile.resonantinduction\:windTurbine.name=Wind Turbine tile.resonantinduction\:windTurbine.tooltip=The wind turbine generates power through air flow and pressure.