io_type

class IOTypeMixin(name: str, similar_entities: list[str], **kwargs: dict)

Gives an entity a Input/Output type.

property io_type: Literal['input', 'output', None]

Whether this entity is set to recieve or send items. Used to differentiate between input and output underground belts, as well as whether or not a loader inserts or removes items from an adjacent container. Can be one of "input", "output", or None.

Getter:

Sets the input/output type of the Entity.

Setter:

Gets the input/output type of the Entity.

Type:

str

Raises:
  • TypeError – If set to anything other than a str or None.

  • ValueError – If set to anything other than "input" or "output".