Package org.bukkit.inventory.meta
Interface SpawnEggMeta
-
- All Superinterfaces:
Cloneable,ConfigurationSerializable,ItemMeta
public interface SpawnEggMeta extends ItemMeta
Represents a spawn egg and it's spawned type.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.bukkit.inventory.meta.ItemMeta
ItemMeta.Spigot
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description SpawnEggMetaclone()EntityTypegetSpawnedType()Deprecated.different types are different itemsvoidsetSpawnedType(EntityType type)Deprecated.different types are different items-
Methods inherited from interface org.bukkit.configuration.serialization.ConfigurationSerializable
serialize
-
Methods inherited from interface org.bukkit.inventory.meta.ItemMeta
addEnchant, addItemFlags, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, hasConflictingEnchant, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, isUnbreakable, removeEnchant, removeItemFlags, setDisplayName, setLocalizedName, setLore, setUnbreakable, spigot
-
-
-
-
Method Detail
-
getSpawnedType
@Deprecated EntityType getSpawnedType()
Deprecated.different types are different itemsGet the type of entity this egg will spawn.- Returns:
- The entity type. May be null for implementation specific default.
-
setSpawnedType
@Deprecated void setSpawnedType(EntityType type)
Deprecated.different types are different itemsSet the type of entity this egg will spawn.- Parameters:
type- The entity type. May be null for implementation specific default.
-
clone
SpawnEggMeta clone()
-
-