Packages com.phoenixplugins.phoenixcrates.api crate

Interface CrateBlockType


@Experimental public interface CrateBlockType
Represents a type of block used in a crate. This interface provides methods to access the block's material, raw data, and encoding information. Implementations define how the block is stored and presented in the crate system.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.Material
    Gets the Bukkit Material of the block.
    Object
    Gets the raw data associated with the block.
    boolean
    Checks whether the block's data is encoded in Base64 format.
    boolean
    Checks whether the block's data is stored as bytes.
  • Method Details

    • getBukkitMaterial

      org.bukkit.Material getBukkitMaterial()
      Gets the Bukkit Material of the block.
      Returns:
      the block's Material
    • getData

      Object getData()
      Gets the raw data associated with the block.
      Returns:
      the block's data object
    • isDataBase64

      boolean isDataBase64()
      Checks whether the block's data is encoded in Base64 format.
      Returns:
      true if the data is Base64-encoded, false otherwise
    • isDataByte

      boolean isDataByte()
      Checks whether the block's data is stored as bytes.
      Returns:
      true if the data is in byte form, false otherwise
Last updated 22 days ago
My Cart
Spider

Your cart is empty

Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping