java.lang.Cloneable
@Deprecated public class SpawnEgg extends MaterialData
SpawnEggMeta
Constructor | Description |
---|---|
SpawnEgg() |
Deprecated.
|
SpawnEgg(byte data) |
Deprecated.
Magic value
|
SpawnEgg(int type,
byte data) |
Deprecated.
Magic value
|
SpawnEgg(EntityType type) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
SpawnEgg |
clone() |
Deprecated.
|
EntityType |
getSpawnedType() |
Deprecated.
This is now stored in
SpawnEggMeta . |
void |
setSpawnedType(EntityType type) |
Deprecated.
This is now stored in
SpawnEggMeta . |
java.lang.String |
toString() |
Deprecated.
|
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public 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()
SpawnEggMeta
.@Deprecated public void setSpawnedType(EntityType type)
SpawnEggMeta
.type
- The entity type.public java.lang.String toString()
toString
in class MaterialData
public SpawnEgg clone()
clone
in class MaterialData
Copyright © 2018. All rights reserved.