Added creative tab and Lang Files
This commit is contained in:
parent
25272228e2
commit
ce031af8e7
4 changed files with 34 additions and 1 deletions
19
src/main/java/techreborn/client/TechRebornCreativeTab.java
Normal file
19
src/main/java/techreborn/client/TechRebornCreativeTab.java
Normal file
|
@ -0,0 +1,19 @@
|
|||
package techreborn.client;
|
||||
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
import techreborn.Core;
|
||||
|
||||
public class TechRebornCreativeTab extends CreativeTabs {
|
||||
|
||||
public static TechRebornCreativeTab instance = new TechRebornCreativeTab();
|
||||
|
||||
public TechRebornCreativeTab() {
|
||||
super("techreborn");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Item getTabIconItem() {
|
||||
return Item.getItemFromBlock(Core.thermalGenerator);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue