GuiScreenHandler

class GuiScreenHandler(val gui: Gui, syncId: Int, inventory: Inventory, container: Container) : ChestMenu(source)

Constructors

Link copied to clipboard
constructor(gui: Gui, syncId: Int, inventory: Inventory, container: Container)

Properties

Link copied to clipboard
var carried: ItemStack
Link copied to clipboard
val container: Container
Link copied to clipboard
Link copied to clipboard
val gui: Gui
Link copied to clipboard
val slots: NonNullList<Slot>
Link copied to clipboard

Functions

Link copied to clipboard
open fun addSlotListener(containerListener: ContainerListener)
Link copied to clipboard
open fun broadcastChanges()
Link copied to clipboard
Link copied to clipboard
open override fun canDragTo(slot: Slot): Boolean
Link copied to clipboard
open override fun canTakeItemForPickAll(stack: ItemStack, slot: Slot): Boolean
Link copied to clipboard
open override fun clicked(slotIndex: Int, button: Int, actionType: ClickType, player: Player)
Link copied to clipboard
open fun clickMenuButton(player: Player, i: Int): Boolean
Link copied to clipboard
open fun findSlot(container: Container, i: Int): OptionalInt
Link copied to clipboard
open fun getItems(): NonNullList<ItemStack>
Link copied to clipboard
open fun getRowCount(): Int
Link copied to clipboard
open fun getSlot(i: Int): Slot
Link copied to clipboard
open fun getType(): MenuType<*>
Link copied to clipboard
open fun incrementStateId(): Int
Link copied to clipboard
open fun initializeContents(i: Int, list: MutableList<ItemStack>, itemStack: ItemStack)
Link copied to clipboard
Link copied to clipboard
open override fun quickMoveStack(player: Player, i: Int): ItemStack
Link copied to clipboard
open override fun removed(player: Player)
Link copied to clipboard
open fun removeSlotListener(containerListener: ContainerListener)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setData(i: Int, j: Int)
Link copied to clipboard
open fun setItem(i: Int, j: Int, itemStack: ItemStack)
Link copied to clipboard
open fun setRemoteCarried(itemStack: ItemStack)
Link copied to clipboard
open fun setRemoteSlot(i: Int, itemStack: ItemStack)
Link copied to clipboard
open fun setRemoteSlotNoCopy(i: Int, itemStack: ItemStack)
Link copied to clipboard
open fun setSynchronizer(containerSynchronizer: ContainerSynchronizer)
Link copied to clipboard
open fun slotsChanged(container: Container)
Link copied to clipboard
open override fun stillValid(player: Player): Boolean
Link copied to clipboard
Link copied to clipboard
open fun transferState(abstractContainerMenu: AbstractContainerMenu)