public class SpawnEgg extends MaterialData
| Constructor and Description | 
|---|
| SpawnEgg() | 
| SpawnEgg(byte data)Deprecated. 
 Magic value | 
| SpawnEgg(EntityType type) | 
| SpawnEgg(int type,
        byte data)Deprecated. 
 Magic value | 
| Modifier and Type | Method and Description | 
|---|---|
| SpawnEgg | clone() | 
| EntityType | getSpawnedType()Deprecated. 
 This is now stored in  ItemMeta. See SPIGOT-1592. | 
| void | setSpawnedType(EntityType type)Deprecated. 
 This is now stored in  ItemMeta. See SPIGOT-1592. | 
| String | toString() | 
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic SpawnEgg()
@Deprecated public SpawnEgg(int type, byte data)
type - the raw type iddata - the raw data value@Deprecated public SpawnEgg(byte data)
data - the raw data valuepublic SpawnEgg(EntityType type)
@Deprecated public EntityType getSpawnedType()
ItemMeta. See SPIGOT-1592.@Deprecated public void setSpawnedType(EntityType type)
ItemMeta. See SPIGOT-1592.type - The entity type.public String toString()
toString in class MaterialDatapublic SpawnEgg clone()
clone in class MaterialDataCopyright © 2016. All rights reserved.