InterfaceUtils

Functions

Link copied to clipboard
fun mask(chestView: MutableChestPaneView, rawMask: String, replacements: List<Material> = defaultReplacements)
Link copied to clipboard
fun toVec(index: Int, rowOffset: Int = 0, colOffset: Int = 0): Vector2

fun toVec(string: String?, rows: Int = -1, xOffset: Int = 0, yOffset: Int = 1): Vector2

Gets a Vector2 from a string in the format of "x;y".

Properties

Link copied to clipboard
val defaultReplacements: List<Material>