RailShape

Indicates the shape of a minecart rail this property is applied to represents.

Minecart rails can be in one of three layouts:

  • Straight flat, which will keep the Minecart on the same Y level and direction of travel. These rails can either be north to south or east to west.

  • Straight ascending, which will ascend the Minecart up by one Y level, and maintain the same direction of travel.

  • Corner, which will change the Minecart's orientation by 90 degrees, either clockwise or anticlockwise, depending on the direction change.

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Gets whether this rail shape ascends the Minecart by one Y level.

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

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

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