Difference between revisions of "TrainCarts/Attachments/Seat"

From BergerHealer Wiki
Jump to navigation Jump to search
Line 11: Line 11:
 
===First Person View===
 
===First Person View===
 
{| class="wikitable"
 
{| class="wikitable"
! Mode !! Description
+
! Mode !! Description
|-
+
|-
| DYNAMIC || Uses DEFAULT when upright, and THIRD_P when moving vertical/upside-down
+
| DEFAULT || Players see themselves sitting upright at all times
|-
+
|-
| DEFAULT || Players see themselves upright at all times
+
| INVISIBLE || Players are made invisible and cannot see themselves
|-
+
|-
| FLOATING || Floats the players so that the eyes are exactly 1 block away from the seat position
+
| HEAD || Players can only see their own head
|-
+
|-
| INVISIBLE || Similar as floating, except players are made invisible and can not see themselves
+
| STANDING || Players see themselves standing/walking/flying as the train moves. Their movement is controlled by the server.
|-
+
|-
| THIRD_P || A fake player entity is spawned, causing players to see their own head when they look vertically
+
| THIRD_P || A fake player entity is spawned, causing players to see their own head when they look vertically. The real player is made invisible.
|}
+
|-
 +
| DYNAMIC || Uses DEFAULT when upright, and THIRD_P when moving vertical/upside-down
 +
|}
 +
 
 +
===Passenger Display===
 +
{| class="wikitable"
 +
! Mode !! Description
 +
|-
 +
| DEFAULT || Passenger is shown seated upright as a normal player
 +
|-
 +
| ELYTRA_SIT || Passenger is shown as flying an elytra in a sort-of sitting pose. Allows for functional pitch.
 +
|-
 +
| STANDING || Passenger is shown standing/walking/flying as the train moves.
 +
|-
 +
| HEAD || Only the passenger's head is shown
 +
|-
 +
| NO_NAMETAG || Same as DEFAULT, except the players nametag is hidden
 +
|-
 +
| INVISIBLE || Passenger is invisible
 +
|}
  
 
===Display===
 
===Display===

Revision as of 20:45, 30 December 2023

« 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
DEFAULT Players see themselves sitting upright at all times
INVISIBLE Players are made invisible and cannot see themselves
HEAD Players can only see their own head
STANDING Players see themselves standing/walking/flying as the train moves. Their movement is controlled by the server.
THIRD_P A fake player entity is spawned, causing players to see their own head when they look vertically. The real player is made invisible.
DYNAMIC Uses DEFAULT when upright, and THIRD_P when moving vertical/upside-down

Passenger Display

Mode Description
DEFAULT Passenger is shown seated upright as a normal player
ELYTRA_SIT Passenger is shown as flying an elytra in a sort-of sitting pose. Allows for functional pitch.
STANDING Passenger is shown standing/walking/flying as the train moves.
HEAD Only the passenger's head is shown
NO_NAMETAG Same as DEFAULT, except the players nametag is hidden
INVISIBLE Passenger is invisible

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.