Cloneable
, ConfigurationSerializable
, ItemMeta
, PersistentDataHolder
public interface SpawnEggMeta extends ItemMeta
Modifier and Type | Method | Description |
---|---|---|
@NotNull 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, getCanDestroy, getCanPlaceOn, getCustomModelData, getCustomTagContainer, getDestroyableKeys, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, getPlaceableKeys, hasAttributeModifiers, hasConflictingEnchant, hasCustomModelData, hasDestroyableKeys, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, hasPlaceableKeys, isUnbreakable, removeAttributeModifier, removeAttributeModifier, removeAttributeModifier, removeEnchant, removeItemFlags, setAttributeModifiers, setCanDestroy, setCanPlaceOn, setCustomModelData, setDestroyableKeys, setDisplayName, setLocalizedName, setLore, setPlaceableKeys, setUnbreakable, setVersion
getPersistentDataContainer
@Deprecated @Contract("-> fail") EntityType getSpawnedType()
@Deprecated @Contract("_ -> fail") void setSpawnedType(EntityType type)
type
- The entity type. May be null for implementation specific
default.@NotNull @NotNull SpawnEggMeta clone()
Copyright © 2020. All rights reserved.