Class net.minecraft.entity.player.PlayerInventory

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

Static Fields

userdata, int[] PlayerInventory.ARMOR_SLOTS This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
userdata, int[] PlayerInventory.HELMET_SLOTS This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
int PlayerInventory.ITEM_USAGE_COOLDOWN This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
int PlayerInventory.MAIN_SIZE This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
int PlayerInventory.MAX_COUNT_PER_STACK This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
int PlayerInventory.NOT_FOUND This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
int PlayerInventory.OFF_HAND_SLOT This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Static Methods

PlayerInventory.clear(o) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
PlayerInventory.getHotbarSize() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
PlayerInventory.isValidHotbarIndex(slot) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Constructors

PlayerInventory(player) 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.armor This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
userdata, DefaultedList instance.main This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
userdata, DefaultedList instance.offHand This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
userdata, PlayerEntity instance.player This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
int instance.selectedSlot This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Instance Methods

instance:addPickBlock(stack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:canPlayerUse(player) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:clear() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:clone(other) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:contains(stack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:contains(tag) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:containsAny(items) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:count(item) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:damageArmor(damageSource, amount, slots) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:dropAll() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:dropSelectedItem(entireStack) 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:getArmorStack(slot) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getBlockBreakingSpeed(block) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getChangeCount() 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:getCustomName() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getDisplayName() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getEmptySlot() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getMainHandStack() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getMaxCountPerStack() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getName() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getOccupiedSlotWithRoomForStack(stack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getSlotWithStack(stack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getStack(slot) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getSwappableHotbarSlot() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:hasCustomName() 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:indexOf(stack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:insertStack(slot, stack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:insertStack(stack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:isEmpty() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:isValid(slot, stack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:markDirty() 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:offer(stack, notifiesClient) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:offerOrDrop(stack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:onClose(player) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:onOpen(player) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:populateRecipeFinder(finder) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:readNbt(nbtList) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:remove(shouldRemove, maxCount, craftingInventory) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:removeOne(stack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:removeStack(slot, amount) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:removeStack(slot) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:scrollInHotbar(scrollAmount) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:setStack(slot, stack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:size() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:swapSlotWithHotbar(slot) 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:updateItems() 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"
instance:writeNbt(nbtList) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"


Static Methods

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

Parameters:

  • o userdata, Object This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
PlayerInventory.getHotbarSize()
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"
PlayerInventory.isValidHotbarIndex(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"

Constructors

PlayerInventory(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 Methods

instance:addPickBlock(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:canPlayerUse(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:clear()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:clone(other)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • other userdata, PlayerInventory This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:contains(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"

Returns:

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

Parameters:

  • tag userdata, TagKey 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:containsAny(items)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • items userdata, Set 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:count(item)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • item userdata, Item 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"
instance:damageArmor(damageSource, amount, slots)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • damageSource userdata, DamageSource This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • amount number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • slots userdata, int[] This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:dropAll()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:dropSelectedItem(entireStack)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • entireStack boolean 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: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:getArmorStack(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:

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

Parameters:

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

Returns:

number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getChangeCount()
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: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:getCustomName()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

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

Returns:

userdata, Text This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getEmptySlot()
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:getMainHandStack()
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:getMaxCountPerStack()
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:getName()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, Text This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getOccupiedSlotWithRoomForStack(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"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getSlotWithStack(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"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getStack(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:

userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getSwappableHotbarSlot()
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:hasCustomName()
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: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:indexOf(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"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:insertStack(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"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:insertStack(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"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:isEmpty()
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, 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"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:markDirty()
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:offer(stack, notifiesClient)
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"
  • notifiesClient boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:offerOrDrop(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:onClose(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:onOpen(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:populateRecipeFinder(finder)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • finder userdata, RecipeMatcher This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:readNbt(nbtList)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • nbtList userdata, NbtList This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:remove(shouldRemove, maxCount, craftingInventory)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • shouldRemove userdata, Predicate This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • maxCount int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • craftingInventory 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"
instance:removeOne(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:removeStack(slot, amount)
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"
  • amount 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:removeStack(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:

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

Parameters:

  • scrollAmount number, double This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:setStack(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:size()
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:swapSlotWithHotbar(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"
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:updateItems()
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"
instance:writeNbt(nbtList)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

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

Returns:

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