HytaleDocs
Misc

CylinderBreakShape

Breaks an elliptical disc of blocks in the user's view plane, extruded into the surface.

Id

This field controls the type, it must be set to the constant value "Cylinder" to function as this type.

Type information: Constant value: Cylinder

Width

The size of the shape along the user's horizontal view axis (right).

Type information: Integer defaults to: 1

Height

The size of the shape along the user's vertical view axis (up).

Type information: Integer defaults to: 1

Depth

How many blocks deep the shape extends into the targeted surface. Defaults to 1.

Type information: Integer defaults to: 1

Centered

Whether the shape's width/height are centered on the targeted block. Defaults to true.

Type information: Boolean defaults to: true

Offset

Shifts the shape's center off the targeted block, in the view basis (x = right, y = up, z = into the surface). Rounded to whole blocks.

Type information:

Vector3d with the following properties:

KeyTypeDescription
XNumber defaults to: 0.0
YNumber defaults to: 0.0
ZNumber defaults to: 0.0

Orientation

How the shape is oriented: 'View' (the dominant axis of the look direction, the default) or 'Surface' (into the targeted block face that the look ray hits).

Type information:

Any one of the following String (defaults to View):

NameDescription
"View"
"Surface"

On this page