Interface CodingBlockType

All Known Implementing Classes:
ActionType

public interface CodingBlockType

CodingBlockType

This interface represents coding block type enum, that has category, icon, locale name and disabled state.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns category of coding block.
    @NotNull org.bukkit.inventory.ItemStack
    Returns icon, that will be used for displaying in Coding Block Type Selection menus.
    @NotNull String
    Returns localized name of coding block.
    boolean
    Checks whether coding block is disabled and cannot be executed.
  • Method Details

    • getCategory

      @NotNull @NotNull CodingBlockCategory getCategory()
      Returns category of coding block.
      Returns:
      coding block category.
    • getIcon

      @NotNull @NotNull org.bukkit.inventory.ItemStack getIcon()
      Returns icon, that will be used for displaying in Coding Block Type Selection menus.
      Returns:
      icon of coding block.
    • getLocaleName

      @NotNull @NotNull String getLocaleName()
      Returns localized name of coding block.
      Returns:
      localized name of coding block.
    • isDisabled

      boolean isDisabled()
      Checks whether coding block is disabled and cannot be executed.
      Returns:
      true - disabled, false - enabled.