Class net.minecraft.inventory.StackReference

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

Static Fields

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

Static Methods

StackReference.of(inventory, index, stackFilter) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
StackReference.of(inventory, index) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
StackReference.of(entity, slot, filter) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
StackReference.of(entity, slot) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Instance Methods

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


Static Methods

StackReference.of(inventory, index, stackFilter)
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"
  • stackFilter userdata, Predicate This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, StackReference This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
StackReference.of(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, StackReference This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
StackReference.of(entity, slot, filter)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

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

Returns:

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

Parameters:

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

Returns:

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

Instance Methods

instance:get()
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:set(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"