public interface SpawnEggMeta extends ItemMeta
Material.MONSTER_EGG and it's spawned type.ItemMeta.Spigot| Modifier and Type | Method and 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.
|
addEnchant, addItemFlags, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLore, hasConflictingEnchant, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLore, isUnbreakable, removeEnchant, removeItemFlags, setDisplayName, setLore, setUnbreakable, spigotserializeEntityType getSpawnedType()
void setSpawnedType(EntityType type)
type - The entity type. May be null for implementation specific
default.SpawnEggMeta clone()
Copyright © 2016. All rights reserved.