Inventory

Inventory locations

  • "context": Selected node metadata (deprecated: "current_name")
  • "current_player": Player to whom the menu is shown
  • "player:<name>": Any player
  • "nodemeta:<X>,<Y>,<Z>": Any node metadata
  • "detached:<name>": A detached inventory

Player Inventory lists

  • main: list containing the default inventory
  • craft: list containing the craft input
  • craftpreview: list containing the craft prediction
  • craftresult: list containing the crafted output
  • hand: list containing an override for the empty hand
    • Is not created automatically, use InvRef:set_size