TrainCarts/Attachments/Seat

From BergerHealer Wiki
Revision as of 20:39, 30 December 2023 by Bergerkiller (talk | contribs)
Jump to navigation Jump to search

« Go back

A seat attachment is being configured

Appearance

Seats are invisible points where players or mobs can sit inside the train. Typically these are added as a child to other attachments where the seat is visibly displayed, such as is the case with the default Minecart. For each seat, both 1st-person (the player sitting) and 3rd-person (other players viewing the player in the seat) appearance can be configured.

Lock Rotation

Sets whether the body of the player is aligned in a fixed direction. When off, players will rotate around freely in the seat. This does not prevent players from looking around.

First Person View

Mode Description
DYNAMIC Uses DEFAULT when upright, and THIRD_P when moving vertical/upside-down
DEFAULT Players see themselves upright at all times
FLOATING Floats the players so that the eyes are exactly 1 block away from the seat position
INVISIBLE Similar as floating, except players are made invisible and can not see themselves
THIRD_P A fake player entity is spawned, causing players to see their own head when they look vertically

Display

Switches the displayed mode in third-person (and THIRD_P FPV). DEFAULT uses the default player sitting animation, while ELYTRA_SIT uses a fake elytra flying pose.

Exit

A relative exit offset can be configured for every seat. Players are teleported here when ejecting from the train.

Permission

A permission to enter this particular seat can be configured in the anvil menu. To reset, enter an empty space.