Updated mappings
This commit is contained in:
@@ -70,7 +70,7 @@ public final class WizardryBlocks {
|
||||
*/
|
||||
public static void registerBlock(IForgeRegistry<Block> registry, Block block, String name){
|
||||
block.setRegistryName(Wizardry.MODID, name);
|
||||
block.setUnlocalizedName(block.getRegistryName().toString());
|
||||
block.setTranslationKey(block.getRegistryName().toString());
|
||||
registry.register(block);
|
||||
}
|
||||
|
||||
|
||||
@@ -271,7 +271,7 @@ public final class WizardryItems {
|
||||
*/
|
||||
public static void registerItem(IForgeRegistry<Item> registry, Item item, String name){
|
||||
item.setRegistryName(Wizardry.MODID, name);
|
||||
item.setUnlocalizedName(item.getRegistryName().toString());
|
||||
item.setTranslationKey(item.getRegistryName().toString());
|
||||
registry.register(item);
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ public final class WizardryTabs {
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public ItemStack getTabIconItem(){
|
||||
public ItemStack createIcon(){
|
||||
return new ItemStack(WizardryItems.wizard_handbook);
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ public final class WizardryTabs {
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public ItemStack getTabIconItem(){
|
||||
public ItemStack createIcon(){
|
||||
return new ItemStack(WizardryItems.spell_book);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user