public class ItemMobSpawner
extends ItemBlock
| Modifier and Type | Field and Description |
|---|---|
static int |
idPig |
static int |
placedX
These are ASM translated from BlockMobSpawner
|
static int |
placedY |
static int |
placedZ |
| Constructor and Description |
|---|
ItemMobSpawner() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(ItemStack itemstack,
EntityPlayer par2EntityPlayer,
java.util.List list,
boolean par4) |
static EntityLiving |
getEntity(int ID) |
IIcon |
getIconFromDamage(int par1) |
void |
getSubItems(Item item,
CreativeTabs tab,
java.util.List list) |
static void |
loadSpawners(World world) |
boolean |
onItemUse(ItemStack itemstack,
EntityPlayer entityplayer,
World world,
int x,
int y,
int z,
int par7,
float par8,
float par9,
float par10) |
public static int idPig
public static int placedX
public static int placedY
public static int placedZ
public IIcon getIconFromDamage(int par1)
public boolean onItemUse(ItemStack itemstack,
EntityPlayer entityplayer,
World world,
int x,
int y,
int z,
int par7,
float par8,
float par9,
float par10)
public void addInformation(ItemStack itemstack,
EntityPlayer par2EntityPlayer,
java.util.List list,
boolean par4)
public static EntityLiving getEntity(int ID)
public static void loadSpawners(World world)
public void getSubItems(Item item,
CreativeTabs tab,
java.util.List list)