Uses of Class
de.themoep.inventorygui.GuiStorageElement.ValidatorInfo
-
Uses of GuiStorageElement.ValidatorInfo in de.themoep.inventorygui
Methods in de.themoep.inventorygui that return types with arguments of type GuiStorageElement.ValidatorInfoModifier and TypeMethodDescriptionGuiStorageElement.getItemValidator()
Deprecated.GuiStorageElement.getPlaceValidator()
Get the item place validatorGuiStorageElement.getTakeValidator()
Get the item take validatorMethod parameters in de.themoep.inventorygui with type arguments of type GuiStorageElement.ValidatorInfoModifier and TypeMethodDescriptionvoid
GuiStorageElement.setItemValidator
(Function<GuiStorageElement.ValidatorInfo, Boolean> placeValidator) Deprecated.void
GuiStorageElement.setPlaceValidator
(Function<GuiStorageElement.ValidatorInfo, Boolean> placeValidator) Set a function that can validate whether an item can be placed in the slotvoid
GuiStorageElement.setTakeValidator
(Function<GuiStorageElement.ValidatorInfo, Boolean> takeValidator) Set a function that can validate whether an item can be taken from the slotConstructor parameters in de.themoep.inventorygui with type arguments of type GuiStorageElement.ValidatorInfoModifierConstructorDescriptionGuiStorageElement
(char slotChar, org.bukkit.inventory.Inventory storage, int invSlot, Runnable applyStorage, Function<GuiStorageElement.ValidatorInfo, Boolean> placeValidator) An element used to access a specific slot in anInventory
.GuiStorageElement
(char slotChar, org.bukkit.inventory.Inventory storage, int invSlot, Runnable applyStorage, Function<GuiStorageElement.ValidatorInfo, Boolean> placeValidator, Function<GuiStorageElement.ValidatorInfo, Boolean> takeValidator) An element used to access a specific slot in anInventory
.
GuiStorageElement.getPlaceValidator()