Merge branch 'master' of https://github.com/TechReborn/TechReborn
This commit is contained in:
commit
7de15ec1a5
3 changed files with 27 additions and 0 deletions
|
@ -12,6 +12,7 @@ import techreborn.items.ItemDustsSmall;
|
|||
import techreborn.items.ItemGems;
|
||||
import techreborn.items.ItemIngots;
|
||||
import techreborn.items.ItemParts;
|
||||
import techreborn.items.ItemTechManuel;
|
||||
import techreborn.items.armor.ItemGravityChest;
|
||||
import techreborn.items.armor.ItemLapotronPack;
|
||||
import techreborn.items.armor.ItemLithiumBatpack;
|
||||
|
@ -34,6 +35,7 @@ public class ModItems {
|
|||
public static Item gravityChest;
|
||||
public static Item omniTool;
|
||||
public static Item advancedDrill;
|
||||
public static Item manuel;
|
||||
|
||||
public static void init() {
|
||||
dusts = new ItemDusts();
|
||||
|
@ -60,6 +62,8 @@ public class ModItems {
|
|||
GameRegistry.registerItem(advancedDrill, "advancedDrill");
|
||||
gravityChest = new ItemGravityChest(ArmorMaterial.DIAMOND, 7, 1);
|
||||
GameRegistry.registerItem(gravityChest, "gravitychestplate");
|
||||
manuel = new ItemTechManuel();
|
||||
GameRegistry.registerItem(manuel, "techmanuel");
|
||||
|
||||
LogHelper.info("TechReborns Items Loaded");
|
||||
|
||||
|
|
23
src/main/java/techreborn/items/ItemTechManuel.java
Normal file
23
src/main/java/techreborn/items/ItemTechManuel.java
Normal file
|
@ -0,0 +1,23 @@
|
|||
package techreborn.items;
|
||||
|
||||
import techreborn.client.TechRebornCreativeTab;
|
||||
import techreborn.lib.ModInfo;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.item.Item;
|
||||
|
||||
public class ItemTechManuel extends Item{
|
||||
|
||||
public ItemTechManuel()
|
||||
{
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
setUnlocalizedName("techreborn.manuel");
|
||||
setMaxStackSize(1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerIcons(IIconRegister iconRegister)
|
||||
{
|
||||
itemIcon = iconRegister.registerIcon("techreborn:" + "tool/manuel");
|
||||
}
|
||||
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 294 B |
Loading…
Reference in a new issue