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) static AddItemCondition
AddItemCondition.withinX
(int xMin, int xMax) static AddItemCondition
AddItemCondition.withinY
(int yMin, int yMax) Modifier 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)