Mappings
This commit is contained in:
parent
389b716880
commit
f5c6b59ebd
79 changed files with 163 additions and 204 deletions
|
@ -45,7 +45,7 @@ public class ItemBlockCable extends ItemBlock {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String getUnlocalizedName(ItemStack stack) {
|
||||
return super.getUnlocalizedName() + "." + EnumCableType.values()[stack.getItemDamage()].getName();
|
||||
public String getTranslationKey(ItemStack stack) {
|
||||
return super.getTranslationKey() + "." + EnumCableType.values()[stack.getItemDamage()].getName();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,6 +36,6 @@ public class ItemBlockRubberSapling extends ItemBlock {
|
|||
public ItemBlockRubberSapling(Block block) {
|
||||
super(block);
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
setUnlocalizedName("techreborn.rubberSapling");
|
||||
setTranslationKey("techreborn.rubberSapling");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue