java.lang.Cloneable, ConfigurationSerializable, ItemMetapublic interface SpawnEggMeta extends ItemMeta
Material.MONSTER_EGG and it's spawned type.| Modifier and Type | Method | Description |
|---|---|---|
SpawnEggMeta |
clone() |
|
EntityType |
getSpawnedType() |
Get the type of entity this egg will spawn.
|
void |
setSpawnedType(EntityType type) |
Set the type of entity this egg will spawn.
|
serializeaddEnchant, addItemFlags, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, hasConflictingEnchant, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, isUnbreakable, removeEnchant, removeItemFlags, setDisplayName, setLocalizedName, setLore, setUnbreakableEntityType getSpawnedType()
void setSpawnedType(EntityType type)
type - The entity type. May be null for implementation specific
default.SpawnEggMeta clone()