LoaderBaseBlockLogic

LoaderBaseBlockLogic

class

Loader or robot arm taking items on its left side

Fields

NameTypeDescription
output_side Vec3i Side items leave through: Vec3i.right straight across, Vec3i.front or Vec3i.back for a turn
Standard members (4)

Every class of this kind carries these.

LoaderBaseBlockLogic.cast(object) Trying to cast Object into LoaderBaseBlockLogic
LoaderBaseBlockLogic.get_class() Return LoaderBaseBlockLogic class object
LoaderBaseBlockLogic.new(parent, name) Creates a new LoaderBaseBlockLogic instance
LoaderBaseBlockLogic.new_simple() Creates a new LoaderBaseBlockLogic instance
Inherited from BlockLogic (10)
  • map_register Whether this block shows up on the map
  • static_block Prototype this block was spawned from
  • pos read-only Cell this block stands in
  • quat read-only Rotation turning the block's local sides into world sides
  • state read-only State shown under the crosshair, one of defines.block_state
  • settings read-only Settings of the block as its window and the save hold them, a fresh copy on every read
  • BlockLogic:reg(accessor) Register Accessor
  • BlockLogic:find_accessor(name) Find a registered accessor by name
  • BlockLogic:accessors() Every accessor registered on this block
  • BlockLogic:edit_settings(fields) Change settings the way the block's window does: only the fields given change, a prototype stands for its name. The edit goes out to the other peers and lands at the host's stamped tick, so read settings back a tick later
Inherited from Instance (1)
Inherited from Object (3)