Tilt

enum Tilt : Enum<Tilt>

Indicates the tilt of a big dripleaf this property is applied to.

Large dripleaf plants can tilt downwards when significant force is applied to the top of them, for example, when a player stands on them.

Entries

Link copied to clipboard

The dripleaf is flat, and not tilting.

Link copied to clipboard

The dripleaf is unstable, and will partially tilt after 10 ticks.

Link copied to clipboard

The dripleaf is partially tilted, and will fully tilt after 10 ticks.

Link copied to clipboard

The dripleaf will fully tilt, and will return to none after 100 ticks.

Functions

Link copied to clipboard

Gets whether this tilt causes vibrations that sculk sensors in the area will respond to.

Link copied to clipboard
fun valueOf(value: String): Tilt

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
fun values(): Array<Tilt>

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Link copied to clipboard