slot
Calculates the slot number for a given position in the inventory.
Return
The slot number
Since
2.0.0
Parameters
y
The row number (0-based)
x
The column number (0-based)
Calculates the slot numbers for a given row and column range.
Return
List of slot numbers
Since
2.0.0
Parameters
y
The row number (0-based)
x
The range of column numbers (0-based)
Calculates the slot numbers for a given row range and column.
Return
List of slot numbers
Since
2.0.0
Parameters
y
The range of row numbers (0-based)
x
The column number (0-based)
Calculates the slot numbers for given row and column ranges.
Return
List of slot numbers
Since
2.0.0
Parameters
y
The range of row numbers (0-based)
x
The range of column numbers (0-based)