GuiSlot constructor

GuiSlot(
  1. Slot? slot
)

The data class GuiSlot actually defines what should happen where. Generally they can be defined as a pair of Item and Slot. You give the generator the slot to place an item. Simple right? Well it is a bit more customizable. There are multiple GuiSlot types that do different actions within the gui.

Implementation

GuiSlot(this.slot);