SpawnEggMeta@Deprecated public class SpawnEgg extends MaterialData
| 构造器和说明 |
|---|
SpawnEgg()
已过时。
|
SpawnEgg(byte data)
已过时。
不安全的参数
|
SpawnEgg(EntityType type)
已过时。
|
SpawnEgg(int type,
byte data)
已过时。
不安全的参数
|
| 限定符和类型 | 方法和说明 |
|---|---|
SpawnEgg |
clone()
已过时。
|
EntityType |
getSpawnedType()
已过时。
现存储在
SpawnEggMeta. |
void |
setSpawnedType(EntityType type)
已过时。
现存储在
SpawnEggMeta. |
java.lang.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()
SpawnEggMeta.原文:Get the type of entity this egg will spawn.
@Deprecated public void setSpawnedType(EntityType type)
SpawnEggMeta.原文:Set the type of entity this egg will spawn.
type - 实体种类public java.lang.String toString()
toString 在类中 MaterialDatapublic SpawnEgg clone()
clone 在类中 MaterialData