Flying Carpet - TheClowner/ccRides-Support GitHub Wiki

Added in v1.9.0

Demo Video (Youtube)

A grid of seats on pivoting arms, the seats remain level while the ride whirls around.

Setting types:
Integer = a whole number
Double = a decimal Number
Boolean = true/false
Location = In-game coordinates

Ride Settings

Also see Global Ride Settings for other settings.

Size & Seat Layout

Setting Name Type Default Value Description
WIDTH Double, blocks 2.8 The width of the seating area, in blocks.
DEPTH Double, blocks 7.5 The depthof the seating area, in blocks.
PIVOT_HEIGHT Double, blocks 3.5 How far above the base location the ride's centre of rotation should be.
SEATS_PER_ROW Integer 4 Number of seats in each row.
NUMBER_ROWS Integer 7 Number of seats in each row.
RIDE_ROTATION Integer, degrees 0 The overall rotation of the ride. Full 360° rotation range is supported.
SEAT_ROTATION Integer, degrees 0 Additional rotation for the seats, relative to RIDE_ROTATION
ARM_LENGTH Double, blocks 4.35 The length of the rotating arm.

Note: CAPACITY will need to be set independently to match SEATS_PER_ROW x NUMBER_ROWS - these are used for calculating positions, not the number of seats.

Ride Motion

Setting Name Type Default Value Description
ACCELERATION Double 1.0 Adjusts how quickly the ride changes rotation speed.
FRICTION Double 1.5 Adjusts how quickly the ride slows down when swinging. Higher values = stops the ride sooner
GRAVITY Double 1.0 Adjusts the strength of gravity when swinging.
MAX_ROTATE_SPEED Double 4.0 Adjusts the maximum rotation speed of the ride (values in the sequence are relative to this).

Decoration

Setting Name Type Default Value Description
SHOW_ARMS Boolean true Enable or disable adding extra entities to represent the arms.
NUM_ARMS_LEFT Integer 2 How many arms to show on the LEFT side of the ride.
NUM_ARMS_RIGHT Integer 2 How many arms to show on the RIGHT side of the ride.
ARM_OFFSET_A Double, blocks -0.7 Adjusts the position of the arms relative to the edge of the seating.
ARM_OFFSET_B Double, blocks 0.7 Adjusts the position of the arms relative to the edge of the seating.
ARM_MATERIAL Material IRON_BLOCK Change the item used to make up the arm.
ARM_ENTITIES Integer 8 Sets how many entities to use along the arm. 2x ARM_LENGTH will prevent any gaps showing.
ARM_CUSTOM_MODEL_DATA Integer 0 Sets the custom model data (1.14+) or durability value (1.13 only) for using a custom model as the arm entities. See the custom models wiki page for details on creating a resource pack.

Ride Sequence

Setting Name Default Value
SEQUENCE [0.2:50],[-0.3:90],[0.4:110],[-0.5:120],[0.7:115],[0.3:35],[0.1:20],[1.0:261],[0.4:35],[0.0:100],[-0.4:40],[-1.0:240],[-0.4:35],[0.0:80],[0.1:20],[swing:210],[0.8:80],[swing:80],[-1.0:60],[swing:500],[end:120]

Sequence options
The sequence is split into steps, which each take the format: [RotateSpeed:Time],[step2...],[...],[end:time]
RotateSpeed is relative to the max speed setting, 1.0 putting the ride to max speed, 0.0 slowing the ride to a complete stop. Negative values are supported.
You can also use swing in place of a speed to allow the ride to swing via gravity (pendulum style).

Time is in server ticks. (20 = 1 second).

There is one special step [end:time] which will return the ride to it's level/loading position over the time specified.

Note: The default sequence takes up the entire command length, so for longer sequences you may need to enter them in the ride config. Rather than comma separation the config will have each step on a new line. The default sequence is shown below:

FlyingCarpet:
  Sequence:
  - '[0.2:50]'
  - '[-0.3:90]'
  - '[0.4:110]'
  - '[-0.5:120]'
  - '[0.7:115]'
  - '[0.3:35]'
  - '[0.1:20]'
  - '[1.0:261]'
  - '[0.4:35]'
  - '[0.0:100]'
  - '[-0.4:40]'
  - '[-1.0:240]'
  - '[-0.4:35]'
  - '[0.0:80]'
  - '[0.1:20]'
  - '[swing:210]'
  - '[0.8:80]'
  - '[swing:80]'
  - '[-1.0:60]'
  - '[swing:500]'
  - '[end:120]'