Initial Git
This commit is contained in:
parent
e1d8dcff07
commit
a12f6ddce8
347 changed files with 16443 additions and 0 deletions
27
common/MysticOres/Items/ItemBase.java
Normal file
27
common/MysticOres/Items/ItemBase.java
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
package MysticOres.Items;
|
||||
|
||||
import MysticOres.MysticOres;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.EnumRarity;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
|
||||
public class ItemBase extends Item
|
||||
{
|
||||
public ItemBase(int i)
|
||||
{
|
||||
super(i);
|
||||
maxStackSize = 64;
|
||||
this.setCreativeTab(MysticOres.MysticOresTab);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerIcons(IconRegister iconRegister)
|
||||
{
|
||||
itemIcon = iconRegister.registerIcon("MysticTextures" + ":" + this.getUnlocalizedName());
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue