Class net.minecraft.screen.MerchantScreenHandler

This description should be content pulled from the first comments of a lua file.

Static Fields

int MerchantScreenHandler.EMPTY_SPACE_SLOT_INDEX This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
int MerchantScreenHandler.field_30731 This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
int MerchantScreenHandler.field_30732 This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
int MerchantScreenHandler.field_30733 This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
int MerchantScreenHandler.field_30734 This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
int MerchantScreenHandler.field_30735 This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
int MerchantScreenHandler.field_30736 This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
int MerchantScreenHandler.field_30737 This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
int MerchantScreenHandler.field_30830 This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
int MerchantScreenHandler.field_30831 This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
int MerchantScreenHandler.field_30832 This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Static Methods

MerchantScreenHandler.calculateComparatorOutput(entity) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
MerchantScreenHandler.calculateComparatorOutput(inventory) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
MerchantScreenHandler.calculateStackSize(slots, mode, stack, stackSize) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
MerchantScreenHandler.canInsertItemIntoSlot(slot, stack, allowOverflow) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
MerchantScreenHandler.canUse(context, player, block) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
MerchantScreenHandler.checkDataCount(data, expectedCount) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
MerchantScreenHandler.checkSize(inventory, expectedSize) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
MerchantScreenHandler.packQuickCraftData(quickCraftStage, buttonId) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
MerchantScreenHandler.shouldQuickCraftContinue(stage, player) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
MerchantScreenHandler.unpackQuickCraftButton(quickCraftData) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
MerchantScreenHandler.unpackQuickCraftStage(quickCraftData) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Constructors

MerchantScreenHandler(syncId, playerInventory) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
MerchantScreenHandler(syncId, playerInventory, merchant) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Instance Fields

userdata, DefaultedList instance.slots This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
int instance.syncId This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Instance Methods

instance:addListener(listener) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:addProperties(propertyDelegate) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:addProperty(property) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:addSlot(slot) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:canInsertIntoSlot(stack, slot) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:canInsertIntoSlot(slot) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:canRefreshTrades() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:canUse(player) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:close(player) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:copySharedSlots(handler) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:disableSyncing() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:dropInventory(player, inventory) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:enableSyncing() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:endQuickCraft() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:equals(arg0) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getClass() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getCursorStack() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getExperience() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getLevelProgress() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getMerchantRewardedExperience() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getRecipes() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getRevision() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getSlot(index) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getSlotIndex(inventory, index) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getStacks() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getType() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:hashCode() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:insertItem(stack, startIndex, endIndex, fromLast) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:isLeveled() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:isValid(slot) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:nextRevision() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:notify() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:notifyAll() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:onButtonClick(player, id) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:onContentChanged(inventory) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:onSlotClick(slotIndex, button, actionType, player) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:removeListener(listener) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:sendContentUpdates() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:setCanRefreshTrades(canRefreshTrades) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:setCursorStack(stack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:setExperienceFromServer(experience) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:setLevelProgress(levelProgress) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:setLeveled(leveled) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:setOffers(offers) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:setPreviousCursorStack(stack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:setPreviousTrackedSlot(slot, stack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:setPreviousTrackedSlotMutable(slot, stack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:setProperty(id, value) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:setRecipeIndex(index) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:setStackInSlot(slot, revision, stack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:switchTo(recipeIndex) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:syncState() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:toString() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:transferSlot(player, index) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:updateSlotStacks(revision, stacks, cursorStack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:updateSyncHandler(handler) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:updateToClient() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait(arg0, arg1) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait(arg0) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"


Static Methods

MerchantScreenHandler.calculateComparatorOutput(entity)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • entity userdata, BlockEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
MerchantScreenHandler.calculateComparatorOutput(inventory)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • inventory userdata, Inventory This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
MerchantScreenHandler.calculateStackSize(slots, mode, stack, stackSize)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • slots userdata, Set This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • mode int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • stackSize int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
MerchantScreenHandler.canInsertItemIntoSlot(slot, stack, allowOverflow)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • slot userdata, Slot This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • allowOverflow boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
MerchantScreenHandler.canUse(context, player, block)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • context userdata, ScreenHandlerContext This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • player userdata, PlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • block userdata, Block This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
MerchantScreenHandler.checkDataCount(data, expectedCount)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • data userdata, PropertyDelegate This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • expectedCount int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
MerchantScreenHandler.checkSize(inventory, expectedSize)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • inventory userdata, Inventory This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • expectedSize int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
MerchantScreenHandler.packQuickCraftData(quickCraftStage, buttonId)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • quickCraftStage int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • buttonId int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
MerchantScreenHandler.shouldQuickCraftContinue(stage, player)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • stage int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • player userdata, PlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
MerchantScreenHandler.unpackQuickCraftButton(quickCraftData)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • quickCraftData int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
MerchantScreenHandler.unpackQuickCraftStage(quickCraftData)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • quickCraftData int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"

Constructors

MerchantScreenHandler(syncId, playerInventory)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • syncId int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • playerInventory userdata, PlayerInventory This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
MerchantScreenHandler(syncId, playerInventory, merchant)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • syncId int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • playerInventory userdata, PlayerInventory This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • merchant userdata, Merchant This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Instance Methods

instance:addListener(listener)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • listener userdata, ScreenHandlerListener This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:addProperties(propertyDelegate)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • propertyDelegate userdata, PropertyDelegate This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:addProperty(property)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • property userdata, Property This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, Property This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:addSlot(slot)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • slot userdata, Slot This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, Slot This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:canInsertIntoSlot(stack, slot)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • slot userdata, Slot This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:canInsertIntoSlot(slot)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • slot userdata, Slot This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:canRefreshTrades()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:canUse(player)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • player userdata, PlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:close(player)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • player userdata, PlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:copySharedSlots(handler)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • handler userdata, ScreenHandler This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:disableSyncing()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:dropInventory(player, inventory)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • player userdata, PlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • inventory userdata, Inventory This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:enableSyncing()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:endQuickCraft()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:equals(arg0)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • arg0 userdata, Object This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getClass()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, Class This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getCursorStack()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getExperience()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getLevelProgress()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getMerchantRewardedExperience()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getRecipes()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, TradeOfferList This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getRevision()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getSlot(index)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • index int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, Slot This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getSlotIndex(inventory, index)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • inventory userdata, Inventory This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • index int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, OptionalInt This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getStacks()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, DefaultedList This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getType()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, ScreenHandlerType This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:hashCode()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:insertItem(stack, startIndex, endIndex, fromLast)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • startIndex int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • endIndex int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • fromLast boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:isLeveled()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:isValid(slot)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • slot int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:nextRevision()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:notify()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:notifyAll()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:onButtonClick(player, id)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • player userdata, PlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • id int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:onContentChanged(inventory)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • inventory userdata, Inventory This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:onSlotClick(slotIndex, button, actionType, player)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • slotIndex int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • button int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • actionType userdata, SlotActionType This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • player userdata, PlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:removeListener(listener)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • listener userdata, ScreenHandlerListener This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:sendContentUpdates()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:setCanRefreshTrades(canRefreshTrades)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • canRefreshTrades boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:setCursorStack(stack)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:setExperienceFromServer(experience)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • experience int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:setLevelProgress(levelProgress)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • levelProgress int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:setLeveled(leveled)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • leveled boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:setOffers(offers)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • offers userdata, TradeOfferList This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:setPreviousCursorStack(stack)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:setPreviousTrackedSlot(slot, stack)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • slot int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:setPreviousTrackedSlotMutable(slot, stack)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • slot int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:setProperty(id, value)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • id int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • value int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:setRecipeIndex(index)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • index int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:setStackInSlot(slot, revision, stack)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • slot int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • revision int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:switchTo(recipeIndex)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • recipeIndex int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:syncState()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:toString()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

string This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:transferSlot(player, index)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • player userdata, PlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • index int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:updateSlotStacks(revision, stacks, cursorStack)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • revision int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • stacks userdata, List This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • cursorStack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:updateSyncHandler(handler)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • handler userdata, ScreenHandlerSyncHandler This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:updateToClient()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait(arg0, arg1)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • arg0 int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • arg1 int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:wait()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait(arg0)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • arg0 int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"