MakeScreen

open class MakeScreen

Contains methods regarding the commonly used 'make' interface. For example, it appears when cooking or combining items

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun contains(id: Array<Int>): Boolean
Checks if the make screen contains an item with the specified id
open fun contains(name: Array<String>): Boolean
Checks if the make screen contains an item with the specified name
open fun contains(filter: Predicate<Item>): Boolean
Checks if the make screen contains an item that matches the filter
Link copied to clipboard
Gets the currently selected custom quantity, if a custom quantity is selected
Link copied to clipboard
Gets the currently selected quantity in the make screen.
Link copied to clipboard
Gets the make all item select preference.
Link copied to clipboard
open fun isOpen(): Boolean
Checks if the make screen is open
Link copied to clipboard
open fun make(id: Array<Int>): Boolean
Attempts to make an item with the specified id
open fun make(name: Array<String>): Boolean
Attempts to make an item with the specified name
open fun make(filter: Predicate<Item>): Boolean
Attempts to make an item matching the filter
Link copied to clipboard
open fun makeAll(id: Array<Int>): Boolean
Utility method to set the quantity to all if not already set, then makes an item with the specified id
open fun makeAll(name: Array<String>): Boolean
Utility method to set the quantity to all if not already set, then makes an item with the specified name
open fun makeAll(filter: Predicate<Item>): Boolean
Utility method to set the quantity to all if not already set, then makes an item matching the filter
Link copied to clipboard
open fun setCustomQuantity(quantity: Int): Boolean
Sets the custom quantity
Link copied to clipboard
Sets the specified quantity.
Link copied to clipboard
Sets the make all item select preference.