Class BlockMenu
java.lang.Object
me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.ChestMenu
me.mrCookieSlime.Slimefun.api.inventory.DirtyChestMenu
me.mrCookieSlime.Slimefun.api.inventory.BlockMenu
-
Nested Class Summary
Nested classes/interfaces inherited from class me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.ChestMenu
ChestMenu.AdvancedMenuClickHandler, ChestMenu.MenuClickHandler, ChestMenu.MenuCloseHandler, ChestMenu.MenuOpeningHandler
-
Field Summary
Fields inherited from class me.mrCookieSlime.Slimefun.api.inventory.DirtyChestMenu
changes, preset
-
Constructor Summary
ConstructorDescriptionBlockMenu
(BlockMenuPreset preset, Location l) BlockMenu
(BlockMenuPreset preset, Location l, io.github.bakedlibs.dough.config.Config cfg) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
getBlock()
void
void
reload()
Reload thisBlockMenu
based on itsBlockMenuPreset
.void
Methods inherited from class me.mrCookieSlime.Slimefun.api.inventory.DirtyChestMenu
canOpen, close, consumeItem, consumeItem, consumeItem, fits, getPreset, getUnsavedChanges, hasViewer, isDirty, markDirty, open, pushItem, replaceExistingItem, replaceExistingItem
Methods inherited from class me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.ChestMenu
addItem, addItem, addMenuClickHandler, addMenuCloseHandler, addMenuOpeningHandler, addPlayerInventoryClickHandler, build, getContents, getItemInSlot, getMenuClickHandler, getMenuCloseHandler, getMenuOpeningHandler, getPlayerInventoryClickHandler, isEmptySlotsClickable, isPlayerInventoryClickable, reset, setEmptySlotsClickable, setPlayerInventoryClickable, toInventory
-
Constructor Details
-
BlockMenu
-
BlockMenu
-
-
Method Details
-
save
-
move
-
reload
public void reload()Reload thisBlockMenu
based on itsBlockMenuPreset
. -
getBlock
-
getLocation
-
dropItems
- Parameters:
l
- Where to drop these itemsslots
- The slots of items that should be dropped
-
delete
-