GuiSlot

data class GuiSlot(val row: Int, val slotInRow: Int) : GuiSlotCompound, Comparable<GuiSlot> (source)

Constructors

Link copied to clipboard
constructor(row: Int, slotInRow: Int)

Properties

Link copied to clipboard
val row: Int
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun compareTo(other: GuiSlot): Int
Link copied to clipboard

Creates a new slot range.

Link copied to clipboard
fun isIn(dimensions: GuiDimensions): Boolean
Link copied to clipboard

Creates a new slot range.

Link copied to clipboard

Creates a new slot range.

Link copied to clipboard
fun slotIndexIn(dimensions: GuiDimensions): Int?
Link copied to clipboard
open override fun withDimensions(dimensions: GuiDimensions): List<GuiSlot>