BaseInventoryAccessor
classAccessor that moves items in and out of a block
Fields
| Name | Type | Description |
|---|---|---|
| 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)
- Instance:is_valid() Returns false once the underlying engine object has been destroyed
Inherited from Object (3)
- name Object name
- Object.find(name) Find an already loaded object by name
- Object:get_class() Class of this object