Moved Item/Block Registration
This commit is contained in:
parent
c959f92558
commit
0223f6ae1d
6 changed files with 81 additions and 32 deletions
|
@ -3,6 +3,7 @@ package techreborn.client;
|
|||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
import techreborn.Core;
|
||||
import techreborn.init.ModBlocks;
|
||||
|
||||
public class TechRebornCreativeTab extends CreativeTabs {
|
||||
|
||||
|
@ -14,6 +15,6 @@ public class TechRebornCreativeTab extends CreativeTabs {
|
|||
|
||||
@Override
|
||||
public Item getTabIconItem() {
|
||||
return Item.getItemFromBlock(Core.thermalGenerator);
|
||||
return Item.getItemFromBlock(ModBlocks.thermalGenerator);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue