ListItemsGUI
Constructors
ListItemsGUI
Link copied to clipboard
open fun ListItemsGUI(player: ServerPlayer, npcName: Component, titleTranslationKey: String)
Content copied to clipboard
Constructs a new simple container gui for the supplied player.
Properties
currentPage
Link copied to clipboard
Functions
getContainerSize
Link copied to clipboard
getFromName
Link copied to clipboard
Gets an item from registry by string hash.
getMaxPages
Link copied to clipboard
setChanged
Link copied to clipboard
open fun setChanged()
Content copied to clipboard
stillValid
Link copied to clipboard
Inherited functions
addSlotRedirect
Link copied to clipboard
beforeOpen
Link copied to clipboard
open fun beforeOpen()
Content copied to clipboard
canPlaceItem
Link copied to clipboard
canPlayerClose
Link copied to clipboard
canTakeItem
Link copied to clipboard
open fun canTakeItem(container: Container, i: Int, itemStack: ItemStack): Boolean
Content copied to clipboard
clearContent
Link copied to clipboard
abstract fun clearContent()
Content copied to clipboard
getAutoUpdate
Link copied to clipboard
getFirstEmptySlot
Link copied to clipboard
getLockPlayerInventory
Link copied to clipboard
getMaxStackSize
Link copied to clipboard
getSlotRedirect
Link copied to clipboard
getVirtualSize
Link copied to clipboard
handleException
Link copied to clipboard
hasAnyMatching
Link copied to clipboard
isIncludingPlayer
Link copied to clipboard
isRedirectingSlots
Link copied to clipboard
onAnyClick
Link copied to clipboard
open fun onAnyClick(index: Int, type: ClickType, action: ClickType): Boolean
Content copied to clipboard
onCraftRequest
Link copied to clipboard
removeItem
Link copied to clipboard
removeItemNoUpdate
Link copied to clipboard
resetMousePosition
Link copied to clipboard
sendProperty
Link copied to clipboard
sendRawProperty
Link copied to clipboard
setAutoUpdate
Link copied to clipboard
setLockPlayerInventory
Link copied to clipboard
setSlotRedirect
Link copied to clipboard
stillValidBlockEntity
Link copied to clipboard
open fun stillValidBlockEntity(blockEntity: BlockEntity, player: Player): Boolean
Content copied to clipboard
Inheritors
MessagesEditGUI
Link copied to clipboard