Class BlocksCategorySelectionMenu
java.lang.Object
ua.mcchickenstudio.opencreative.menus.AbstractMenu
ua.mcchickenstudio.opencreative.coding.menus.blocks.MenusCategorySelectionMenu
ua.mcchickenstudio.opencreative.coding.menus.blocks.BlocksCategorySelectionMenu
- All Implemented Interfaces:
org.bukkit.inventory.InventoryHolder,BlockMenu,InventoryMenu
public final class BlocksCategorySelectionMenu
extends MenusCategorySelectionMenu
implements BlockMenu
BlocksCategorySelectionMenu
This class represents a menu for selecting menus category and opening a coding block type selection menu.-
Field Summary
Fields inherited from class ua.mcchickenstudio.opencreative.coding.menus.blocks.MenusCategorySelectionMenu
additionalPane, contentMenu, frequency, legacy, mainCategory, mainItem, menusCategories, playerFields inherited from class ua.mcchickenstudio.opencreative.menus.AbstractMenu
AIR_ITEM, creationTime, DECORATION_ITEM, DECORATION_PANE_ITEM, DISABLED_ITEM, inventory, NO_PERMS_ITEM -
Constructor Summary
ConstructorsConstructorDescriptionBlocksCategorySelectionMenu(@NotNull org.bukkit.entity.Player player, @NotNull org.bukkit.Location location, @NotNull ActionCategory category) BlocksCategorySelectionMenu(@NotNull org.bukkit.entity.Player player, @NotNull org.bukkit.Location location, @NotNull ActionCategory category, @NotNull String firstLine) BlocksCategorySelectionMenu(@NotNull org.bukkit.entity.Player player, @NotNull org.bukkit.Location location, @NotNull ExecutorCategory category) -
Method Summary
Modifier and TypeMethodDescription@NotNull org.bukkit.block.BlockState@NotNull ContentWithMenusCategoryMenu<?> getContentBrowserMenu(Object frequency) @Nullable org.bukkit.LocationMethods inherited from class ua.mcchickenstudio.opencreative.coding.menus.blocks.MenusCategorySelectionMenu
fillItems, onClick, onOpenMethods inherited from class ua.mcchickenstudio.opencreative.menus.AbstractMenu
getCreationTime, getInventory, getItem, getRows, getSize, getTitle, isClickedInMenuSlots, isNotEmpty, isPlayerClicked, open, reverse, setItem, setItem, setRows, setTitleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ua.mcchickenstudio.opencreative.menus.InventoryMenu
destroy, onClose
-
Constructor Details
-
BlocksCategorySelectionMenu
public BlocksCategorySelectionMenu(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull org.bukkit.Location location, @NotNull @NotNull ExecutorCategory category) -
BlocksCategorySelectionMenu
public BlocksCategorySelectionMenu(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull org.bukkit.Location location, @NotNull @NotNull ActionCategory category) -
BlocksCategorySelectionMenu
public BlocksCategorySelectionMenu(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull org.bukkit.Location location, @NotNull @NotNull ActionCategory category, @NotNull @NotNull String firstLine)
-
-
Method Details
-
getContentBrowserMenu
- Specified by:
getContentBrowserMenuin classMenusCategorySelectionMenu
-
getBlockState
@NotNull public @NotNull org.bukkit.block.BlockState getBlockState()- Specified by:
getBlockStatein interfaceBlockMenu
-
getLocation
@Nullable public @Nullable org.bukkit.Location getLocation()- Specified by:
getLocationin interfaceBlockMenu
-