Class BlocksWithMenusCategoryMenu<T>

All Implemented Interfaces:
org.bukkit.inventory.InventoryHolder, BlockMenu, InventoryMenu
Direct Known Subclasses:
ActionTypeSelectionMenu, ExecutorTypeSelectionMenu

public abstract class BlocksWithMenusCategoryMenu<T> extends ContentWithMenusCategoryMenu<T> implements BlockMenu
This class represents a menu where player can select type of coding block. Every category of coding blocks has this menu.
  • Field Details

    • signLocation

      protected org.bukkit.Location signLocation
  • Constructor Details

    • BlocksWithMenusCategoryMenu

      public BlocksWithMenusCategoryMenu(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull org.bukkit.Location location, @NotNull @NotNull String mainCategory, @NotNull @NotNull String blockPath, @NotNull @NotNull org.bukkit.Material stainedPane, @NotNull @NotNull MenusCategory defaultCategory)
  • Method Details

    • setSignLocation

      public void setSignLocation(org.bukkit.Location signLocation)
    • getBlockState

      @Nullable public @Nullable org.bukkit.block.BlockState getBlockState()
      Specified by:
      getBlockState in interface BlockMenu
    • getLocation

      @Nullable public @Nullable org.bukkit.Location getLocation()
      Specified by:
      getLocation in interface BlockMenu