Class MakeXInterface
- java.lang.Object
-
- com.runemate.game.api.rs3.local.hud.interfaces.MakeXInterface
-
@RS3Only @Deprecated public final class MakeXInterface extends java.lang.Object
Deprecated.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static boolean
close()
Deprecated.Closes the MakeXInterface, uses PlayerSense to determine whether or not to use the keybindstatic boolean
close(boolean keybind)
Deprecated.Closes the MakeXInterfacestatic boolean
confirm()
Deprecated.Confirms the current selection, uses PlayerSense to determine whether or not to use the keybind.static boolean
confirm(boolean keybind)
Deprecated.Confirms the current selection.static int
getAmount()
Deprecated.static java.util.List<java.lang.String>
getCategories()
Deprecated.static java.util.List<ItemDefinition>
getItems()
Deprecated.static java.util.List<ItemDefinition>
getItems(java.util.function.Predicate<ItemDefinition> def)
Deprecated.static @Nullable java.lang.String
getSelectedCategory()
Deprecated.static @Nullable ItemDefinition
getSelectedItem()
Deprecated.static boolean
isOpen()
Deprecated.static boolean
isSelectedCategory(java.lang.String category)
Deprecated.static boolean
isSelectedItem(java.lang.String name)
Deprecated.static boolean
isSelectedItem(java.util.function.Predicate<ItemDefinition> definitionPredicate)
Deprecated.static boolean
selectAmount(int amount, boolean clickBar)
Deprecated.Changes the amount to the specified valuestatic boolean
selectCategory(java.lang.String name)
Deprecated.Selects the category that matches the given stringstatic boolean
selectItem(java.lang.String name)
Deprecated.Selects the item with a matching namestatic boolean
selectItem(java.util.function.Predicate<ItemDefinition> definitionPredicate)
Deprecated.Selects the item that matches the given predicate
-
-
-
Method Detail
-
close
public static boolean close(boolean keybind)
Deprecated.Closes the MakeXInterface- Parameters:
keybind
- whether to use the keybind (escape) or not- Returns:
- true if interaction is successful and the interface closes
-
close
public static boolean close()
Deprecated.Closes the MakeXInterface, uses PlayerSense to determine whether or not to use the keybind- Returns:
- true if interaction is successful and the interface closes
-
confirm
public static boolean confirm()
Deprecated.Confirms the current selection, uses PlayerSense to determine whether or not to use the keybind.- Returns:
- true if interaction is successful and the interface closes
-
confirm
public static boolean confirm(boolean keybind)
Deprecated.Confirms the current selection.- Parameters:
keybind
- whether to use the keybind (space) or not- Returns:
- true if interaction is successful and the interface closes
-
getAmount
public static int getAmount()
Deprecated.- Returns:
- the amount to make currently selected in the MakeXInterface
-
getSelectedCategory
@Nullable public static @Nullable java.lang.String getSelectedCategory()
Deprecated.- Returns:
- the currently selected category
-
getSelectedItem
@Nullable public static @Nullable ItemDefinition getSelectedItem()
Deprecated.- Returns:
- the currently selected item
-
isOpen
public static boolean isOpen()
Deprecated.
-
isSelectedCategory
public static boolean isSelectedCategory(java.lang.String category)
Deprecated.- Parameters:
category
- a string representing the category- Returns:
- true if the currently selected category matches the given string, else false
-
isSelectedItem
public static boolean isSelectedItem(java.util.function.Predicate<ItemDefinition> definitionPredicate)
Deprecated.- Parameters:
definitionPredicate
- a Predicate to test the currently selected item against- Returns:
- true if the currently selected item matches the predicate, else false
-
isSelectedItem
public static boolean isSelectedItem(java.lang.String name)
Deprecated.- Parameters:
name
- a string to test the name of the currently selected item against- Returns:
- true if the name of the currently selected item matches the given name, else false
-
selectAmount
public static boolean selectAmount(int amount, boolean clickBar)
Deprecated.Changes the amount to the specified value- Parameters:
amount
- the amount to selectclickBar
- whether or not to click the sliding bar- Returns:
- true if interaction is successful and the new selected amount matches the specified amount.
-
selectCategory
public static boolean selectCategory(java.lang.String name)
Deprecated.Selects the category that matches the given string- Parameters:
name
- the name of the category- Returns:
- true if the category is successfully selected
-
selectItem
public static boolean selectItem(java.lang.String name)
Deprecated.Selects the item with a matching name- Parameters:
name
- the name to use to determine the item to select- Returns:
- true if the item is successfully selected
-
selectItem
public static boolean selectItem(java.util.function.Predicate<ItemDefinition> definitionPredicate)
Deprecated.Selects the item that matches the given predicate- Parameters:
definitionPredicate
- the predicate to use to determine the item to select- Returns:
- true if the item is successfully selected
-
getItems
public static java.util.List<ItemDefinition> getItems(java.util.function.Predicate<ItemDefinition> def)
Deprecated.
-
getItems
public static java.util.List<ItemDefinition> getItems()
Deprecated.
-
getCategories
public static java.util.List<java.lang.String> getCategories()
Deprecated.
-
-