circuit_read_resource

class CircuitReadResourceMixin

(Implicitly inherits ControlBehaviorMixin)

Enables the Entity to read the resources underneath it.

property read_mode: MiningDrillReadMode

The mode in which the resources underneath the Entity should be read. Either MiningDrillReadMode.UNDER_DRILL or MiningDrillReadMode.TOTAL_PATCH.

Getter:

Gets the value of read_mode, or None if not set.

Setter:

Sets the value of read_mode.

Type:

MiningDrillReadMode

Raises:

ValueError – If set to anything other than a MiningDrillReadMode value or their int equivalent.

property read_resources: bool

Whether or not this Entity is set to read the resources underneath to a circuit network.

Getter:

Gets the value of read_resources, or None if not set.

Setter:

Sets the value of read_resources.

Type:

bool

Raises:

TypeError – If set to anything other than a bool or None.