Skip to content
LemADEC edited this page Aug 16, 2015 · 10 revisions

Properties

For sake of simplicity, we won't go in details of the below methods used to get or set machines properties.

  • When no argument is passed, the method returns the current value.
  • When a valid argument is passed, the property is changed and the new value is returned. The returned value takes into account any rounding or truncation that was applied to it. For example, if you pass a floating value but the property is integral, the return value will differ from the argument.
  • When an invalid argument is passed, the property remains unchanged and it's current value is returned. No error will be reported.

In most cases, changing a property will not affect an ongoing operation.

offset

Type: Number
Default value: 1
Range: 1 to 255

Get/set a new offset from where to start mining.

This will not affect the current mining layer.

area

Type: Number, Number
Default value: 8, 8
Range: 3 to 16, 3 to 16

Get/set an working radius for the machine. Passing a single number will assume a square shape.

xRadius, zRadius = farm.radius(newRadiusX, newRadiusZ)

xRadius, zRadius = farm.radius(newRadius)

This will affect any ongoing activity, use at your own risk!

treeTap, leaves and silktouchLeaves

Type: boolean

Get/set a Laser tree farm option.

This will affect an ongoing activity, use at your own risk!

Clone this wiki locally