public interface SpawnEggMeta extends ItemMeta
Modifier and Type | Method and Description |
---|---|
@NotNull SpawnEggMeta |
clone() |
EntityType |
getSpawnedType()
Deprecated.
different types are different items
|
void |
setSpawnedType(EntityType type)
Deprecated.
different types are different items
|
addAttributeModifier, addEnchant, addItemFlags, displayName, displayName, getAttributeModifiers, getAttributeModifiers, getAttributeModifiers, getCanDestroy, getCanPlaceOn, getCustomModelData, getCustomTagContainer, getDestroyableKeys, getDisplayName, getDisplayNameComponent, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, getLoreComponents, getPlaceableKeys, hasAttributeModifiers, hasConflictingEnchant, hasCustomModelData, hasDestroyableKeys, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, hasPlaceableKeys, isUnbreakable, lore, lore, removeAttributeModifier, removeAttributeModifier, removeAttributeModifier, removeEnchant, removeItemFlags, setAttributeModifiers, setCanDestroy, setCanPlaceOn, setCustomModelData, setDestroyableKeys, setDisplayName, setDisplayNameComponent, setLocalizedName, setLore, setLoreComponents, setPlaceableKeys, setUnbreakable, setVersion
serialize
getPersistentDataContainer
@Deprecated @Contract(value="-> fail") EntityType getSpawnedType()
@Deprecated @Contract(value="_ -> fail") void setSpawnedType(EntityType type)
type
- The entity type. May be null for implementation specific
default.@NotNull @NotNull SpawnEggMeta clone()
Copyright © 2021. All rights reserved.