BaseInventoryAccessor

BaseInventoryAccessor

class

Accessor that moves items in and out of a block

Fields

NameTypeDescription
auto_output boolean Push items into the neighbour on every tick
input InventoryAccess Inventory items arriving through this side are put into
output InventoryAccess Inventory items leaving through this side are taken from
Standard members (3)

Generated for every class of this kind by the game's codegen, not written for BaseInventoryAccessor.

BaseInventoryAccessor.cast(object) Trying to cast Object into BaseInventoryAccessor
BaseInventoryAccessor.get_class() Return BaseInventoryAccessor class object
BaseInventoryAccessor.new(parent, name) Creates a new BaseInventoryAccessor attached to a block
Inherited from Accessor (5)
  • side Side direction of the owning block
  • pos Block local position
  • owner Block this accessor belongs to
  • cover Cover prototype placed on this side
  • Accessor:neighbor() Accessor of the neighbor block this side touches, nil when nothing is attached to it
Inherited from Instance (1)
Inherited from Object (3)