java.lang.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
addEnchant, addItemFlags, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, hasConflictingEnchant, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, isUnbreakable, removeEnchant, removeItemFlags, setDisplayName, setLocalizedName, setLore, setUnbreakable, spigot
@Deprecated EntityType getSpawnedType()
@Deprecated void setSpawnedType(EntityType type)
type
- The entity type. May be null for implementation specific
default.SpawnEggMeta clone()
Copyright © 2018. All rights reserved.