toggle menu
silk
1.10.4
jvm
switch theme
search in API
silk-igui
/
net.silkmc.silk.igui
/
GuiSlot
Gui
Slot
data
class
GuiSlot
(
val
row
:
Int
,
val
slotInRow
:
Int
)
:
GuiSlotCompound
,
Comparable
<
GuiSlot
>
(
source
)
Members
Members & Extensions
Constructors
Gui
Slot
Link copied to clipboard
constructor
(
row
:
Int
,
slotInRow
:
Int
)
Properties
row
Link copied to clipboard
val
row
:
Int
slot
In
Row
Link copied to clipboard
val
slotInRow
:
Int
Functions
compare
To
Link copied to clipboard
open
operator override
fun
compareTo
(
other
:
GuiSlot
)
:
Int
hrect
To
Link copied to clipboard
infix
fun
GuiSlot
.
hrectTo
(
slot
:
GuiSlot
)
:
GuiSlotCompound.SlotRange.HollowRectangle
Creates a new slot range.
is
In
Link copied to clipboard
fun
isIn
(
dimensions
:
GuiDimensions
)
:
Boolean
line
To
Link copied to clipboard
infix
fun
GuiSlot
.
lineTo
(
slot
:
GuiSlot
)
:
GuiSlotCompound.SlotRange.Line
Creates a new slot range.
rect
To
Link copied to clipboard
infix
fun
GuiSlot
.
rectTo
(
slot
:
GuiSlot
)
:
GuiSlotCompound.SlotRange.Rectangle
Creates a new slot range.
slot
Index
In
Link copied to clipboard
fun
slotIndexIn
(
dimensions
:
GuiDimensions
)
:
Int
?
with
Dimensions
Link copied to clipboard
open
override
fun
withDimensions
(
dimensions
:
GuiDimensions
)
:
List
<
GuiSlot
>