public interface AxolotlBucketMeta extends ItemMeta
Modifier and Type | Method and Description |
---|---|
AxolotlBucketMeta |
clone() |
Axolotl.Variant |
getVariant()
Get the variant of the axolotl in the bucket.
|
boolean |
hasVariant()
Checks for existence of a variant tag indicating a specific axolotl will be
spawned.
|
void |
setVariant(Axolotl.Variant variant)
Set the variant of this axolotl in the bucket.
|
addAttributeModifier, addEnchant, addItemFlags, getAttributeModifiers, getAttributeModifiers, getAttributeModifiers, getCustomModelData, getCustomTagContainer, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, hasAttributeModifiers, hasConflictingEnchant, hasCustomModelData, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, isUnbreakable, removeAttributeModifier, removeAttributeModifier, removeAttributeModifier, removeEnchant, removeItemFlags, setAttributeModifiers, setCustomModelData, setDisplayName, setLocalizedName, setLore, setUnbreakable, setVersion
serialize
getPersistentDataContainer
@NotNull Axolotl.Variant getVariant()
Plugins should check that hasVariant() returns true
before
calling this method.
void setVariant(@NotNull Axolotl.Variant variant)
variant
- axolotl variantboolean hasVariant()
@NotNull AxolotlBucketMeta clone()
Copyright © 2022. All rights reserved.