接口 AxolotlBucketMeta

所有超级接口:
Cloneable, ConfigurationSerializable, ItemMeta, PersistentDataHolder

public interface AxolotlBucketMeta extends ItemMeta
Represents a bucket of axolotl.
  • 方法详细资料

    • getVariant

      Get the variant of the axolotl in the bucket.

      Plugins should check that hasVariant() returns true before calling this method.

      返回:
      axolotl variant
    • setVariant

      void setVariant(@NotNull Axolotl.Variant variant)
      Set the variant of this axolotl in the bucket.
      参数:
      variant - axolotl variant
    • hasVariant

      boolean hasVariant()
      Checks for existence of a variant tag indicating a specific axolotl will be spawned.
      返回:
      if there is a variant
    • clone

      指定者:
      clone 在接口中 ItemMeta