Cloneable
, ConfigurationSerializable
, ItemMeta
public interface SpawnEggMeta extends ItemMeta
ItemMeta.Spigot
Modifier and Type | Method | Description |
---|---|---|
SpawnEggMeta |
clone() |
|
EntityType |
getSpawnedType() |
Deprecated.
different types are different items
|
void |
setSpawnedType(EntityType type) |
Deprecated.
different types are different items
|
serialize
addAttributeModifier, addEnchant, addItemFlags, getAttributeModifiers, getAttributeModifiers, getAttributeModifiers, getCustomTagContainer, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, hasAttributeModifiers, hasConflictingEnchant, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, isUnbreakable, removeAttributeModifier, removeAttributeModifier, removeAttributeModifier, removeEnchant, removeItemFlags, setAttributeModifiers, setDisplayName, setLocalizedName, setLore, setUnbreakable, spigot
@Deprecated @Contract("-> fail") EntityType getSpawnedType()
@Deprecated @Contract("_ -> fail") void setSpawnedType(EntityType type)
type
- The entity type. May be null for implementation specific
default.@NotNull SpawnEggMeta clone()
Copyright © 2019. All rights reserved.