Promotion background
Easter Season IS HERE!
10% off limited time offer!
Ends in
00
H
00
M
00
S
limited time offer SAVE 10% NOW →
Packages com.phoenixplugins.phoenixcrates.api crate
com.phoenixplugins.phoenixcrates.api.crate

Interface CrateBlockType



  • @ApiStatus.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 and Description
      org.bukkit.Material getBukkitMaterial()
      Gets the Bukkit Material of the block.
      Object getData()
      Gets the raw data associated with the block.
      boolean isDataBase64()
      Checks whether the block's data is encoded in Base64 format.
      boolean isDataByte()
      Checks whether the block's data is stored as bytes.
    • Method Detail

      • 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 about 3 hours ago
My Cart (0 items)

Oops... looks like the spiders padded through here

Add products to your cart and remove them from here Lets buy
This site uses cookies to personalize content, enhance your experience. By continuing, you agree to our cookie use. Learn more