public class SpawnEgg extends MaterialData
コンストラクタと説明 |
---|
SpawnEgg() |
SpawnEgg(byte data)
非推奨です。
Magic value
|
SpawnEgg(EntityType type) |
SpawnEgg(int type,
byte data)
非推奨です。
Magic value
|
修飾子とタイプ | メソッドと説明 |
---|---|
SpawnEgg |
clone() |
EntityType |
getSpawnedType()
非推奨です。
This is now stored in
ItemMeta . See SPIGOT-1592. |
void |
setSpawnedType(EntityType type)
非推奨です。
This is now stored in
ItemMeta . See SPIGOT-1592. |
String |
toString() |
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()
ItemMeta
. See SPIGOT-1592.@Deprecated public void setSpawnedType(EntityType type)
ItemMeta
. See SPIGOT-1592.type
- The entity type.public String toString()
toString
クラス内 MaterialData
public SpawnEgg clone()
clone
クラス内 MaterialData
Copyright © 2016. All rights reserved.