Uses of Class
de.marcely.bedwars.tools.gui.AddItemCondition
-
Uses of AddItemCondition in de.marcely.bedwars.tools.gui
Modifier and TypeMethodDescriptionstatic AddItemCondition
AddItemCondition.within
(int xMin, int xMax, int yMin, int yMax) Forces the item to be within the X and Y rangestatic AddItemCondition
AddItemCondition.withinX
(int xMin, int xMax) Forces the item to be within the X rangestatic AddItemCondition
AddItemCondition.withinY
(int yMin, int yMax) Forces the item to be within the Y rangeModifier and TypeMethodDescriptiondefault int
ClickableGUI.addItem
(GUIItem item, @Nullable AddItemCondition condition) Adds the item at the next available slot.default int
ClickableGUI.addItem
(ItemStack is, @Nullable AddItemCondition condition) default int
ClickableGUI.addItem
(ItemStack is, ClickListener listener, @Nullable AddItemCondition condition) int
ClickableGUI.getNextSpace
(@Nullable AddItemCondition condition) Starts at slot 0 and tries to find the next available/empty slot.
Returns -1 if it didn't find any -
Uses of AddItemCondition in de.marcely.bedwars.tools.gui.type
Modifier and TypeMethodDescriptionint
ChestGUI.addItem
(GUIItem item, @Nullable AddItemCondition condition) Adds the item at the next available slot.int
ChestGUI.getNextSpace
(@Nullable AddItemCondition condition)