UU matter

This commit is contained in:
Gig 2015-04-27 23:54:22 +01:00
parent 22a34377e2
commit 34010525ba
2 changed files with 28 additions and 0 deletions

View file

@ -11,6 +11,7 @@ import techreborn.items.ItemDustsSmall;
import techreborn.items.ItemGems;
import techreborn.items.ItemIngots;
import techreborn.items.ItemParts;
import techreborn.items.ItemUUmatter;
import techreborn.items.armor.ItemGravityChest;
import techreborn.items.armor.ItemLapotronPack;
import techreborn.items.armor.ItemLithiumBatpack;
@ -36,6 +37,7 @@ public class ModItems {
public static Item omniTool;
public static Item advancedDrill;
public static Item manuel;
public static Item uuMatter;
public static void init()
{
@ -65,6 +67,8 @@ public class ModItems {
GameRegistry.registerItem(gravityChest, "gravitychestplate");
manuel = new ItemTechPda();
GameRegistry.registerItem(manuel, "techmanuel");
uuMatter = new ItemUUmatter();
GameRegistry.registerItem(uuMatter, "uumatter");
LogHelper.info("TechReborns Items Loaded");

View file

@ -0,0 +1,24 @@
package techreborn.items;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import techreborn.client.TechRebornCreativeTab;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.item.Item;
public class ItemUUmatter extends Item{
public ItemUUmatter()
{
setCreativeTab(TechRebornCreativeTab.instance);
setUnlocalizedName("techreborn.uumattaer");
}
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister)
{
this.itemIcon = iconRegister.registerIcon("techreborn:"+ "uumatter");
}
}