Difference between revisions of "TrainCarts/Attachments/Seat"

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "« Go back Seats are invisible points where players or mobs can sit inside the train. Typically these are added as a child to ot...")
 
Line 1: Line 1:
 
[[Special:MyLanguage/TrainCarts/Attachments|« Go back]]
 
[[Special:MyLanguage/TrainCarts/Attachments|« Go back]]
  
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) behavior can be configured.
+
[[File:seat_attachment.png|thumb|A seat attachment is being configured]]
  
====Lock Rotation====
+
==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.
 
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====
+
===First Person View===
 
{| class="wikitable"
 
{| class="wikitable"
 
  ! Mode !! Description
 
  ! Mode !! Description
Line 21: Line 24:
 
  |}
 
  |}
  
====Display====
+
===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.
 
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====
+
===Exit===
 
A relative exit offset can be configured for every seat. Players are teleported here when ejecting from the train.
 
A relative exit offset can be configured for every seat. Players are teleported here when ejecting from the train.
  
====Permission====
+
===Permission===
 
A permission to enter this particular seat can be configured in the anvil menu. To reset, enter an empty space.
 
A permission to enter this particular seat can be configured in the anvil menu. To reset, enter an empty space.

Revision as of 20:39, 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
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.