MakeXAPI
An API designed to interact with the creation/make-X interface.
ClassRLPlugins API
public class MakeXAPIMembers
Static methods
- booleanconfirm(String...)
Confirms the make X selection by finding an item option with any of the given ids.
- booleanconfirm(int...)
Confirms the make X selection by finding an item option with any of the given ids.
- voidconfirmIndex(int)
Confirms the make X selection using the given index.
- booleanconfirmPrevious()
Confirms the client's previous selection using its Space shortcut.
- intgetAmount()
The amount.
- booleanisOpen()
Whether open.
- voidsetAmount(int)
Sets the amount.
confirm(String...)static
public static boolean confirm(String... itemIds)Confirms the make X selection by finding an item option with any of the given ids.
Parameters
itemIds- The product item ids to match.
Returns
True if any of the item IDs were found and an action was performed.
confirm(int...)static
public static boolean confirm(int... itemIds)Confirms the make X selection by finding an item option with any of the given ids.
Parameters
itemIds- The product item ids to match.
Returns
True if any of the item IDs were found and an action was performed.
confirmIndex(int)static
public static void confirmIndex(int index)Confirms the make X selection using the given index.
Parameters
index- The index to select.
confirmPrevious()static
public static boolean confirmPrevious()Confirms the client's previous selection using its Space shortcut.
Does not replace the selected item or quantity with a guessed option.
Returns
True when the visible Make-X interface received the shortcut.
getAmount()static
public static int getAmount()The amount.
Returns
The current selected amount.
isOpen()static
public static boolean isOpen()Whether open.
Returns
True if the creation interface is open.
setAmount(int)static
public static void setAmount(int desired)Sets the amount.
Parameters
desired- The amount to set the make X to use.
Also allowed
Every class has these, as in plain Java.
equals, toString