TrainCarts/Attachments/Seat [ja]

From BergerHealer Wiki
Revision as of 00:42, 25 August 2026 by Saihou-Heiki (talk | contribs) (Created page with "{| class="wikitable" ! モード !! 説明 |- | DEFAULT || プレイヤーは常に自分が座っているのを見ることができます。 |- | INVISIBLE || プレイヤーは不可視状態になり、自分自身を見ることができません。 |- | HEAD || プレイヤーは自身の頭だけを見ることができます。 |- | STANDING || プレイヤーは自分自身が列車の動きにあわせて立つ、歩く、飛ぶモーションを見ること...")
Jump to navigation Jump to search
Other languages:
座席アタッチメントが設定されています。

外観

座席はプレイヤーやモブが列車に座る際の位置で、視覚的な表示はされません。通常、座席アタッチメントは、ふつうのトロッコなどほかの表示がなされるアタッチメントの子として配置され、その位置に座るよう設定されます。それぞれの座席ごとに一人称視点での見た目(プレイヤー自身が座る時)と、三人称視点での見た目(座っているプレイヤーを他の人が見る時)を設定できます。

一人称視点

モード

モード 説明
DEFAULT プレイヤーは常に自分が座っているのを見ることができます。
INVISIBLE プレイヤーは不可視状態になり、自分自身を見ることができません。
HEAD プレイヤーは自身の頭だけを見ることができます。
STANDING プレイヤーは自分自身が列車の動きにあわせて立つ、歩く、飛ぶモーションを見ることができます。この動きはサーバー側から制御されます。
THIRD_P もうひとつのプレイヤーエンティティが作成され、プレイヤーが視線を上下に動かすと、自分自身が見えるようになります。本物のプレイヤーは不可視状態になります。
DYNAMIC 直立時はDEFAULTに、上下に動かす時はTHIRD_Pに動的にモードを切り替えます。

Eye Position

Instead of positioning the passenger by the butt, positions the player by the eyes/line of sight. If it is important that the player camera is positioned at a certain position in first person, this can be enabled to do exactly that. The position of the eyes are displayed using an arrow, and the menu also includes a preview button to see what the passenger would see.

Switching it back to 'automatic' disables this feature, positioning the passenger by the butt again.

View Locking

Some first-person view locking options are available. This restricts the player's ability to look around.

Mode Description
No view locking The player can look around freely
Move view when seat moves (choppy) Sends relative movement packets to rotate the camera when the seat moves. This can be quite choppy.
Free look in spectator mode Makes the player spectate another entity, while allowing (delayed) free movement. The camera moves when the seat moves.
View locked in spectator mode Makes the player spectate another entity. Does not allow any player input. The camera moves when the seat moves.

Passenger Display

Mode

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

Item Display

An item can be configured to be displayed when the seat is occupied. This can be used in combination with the invisible display modes to show a custom model of a passenger.

Body Locking

Controls whether the passenger body is locked into facing forwards. This is only visible in third person.

Exit

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

Permission

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

Smooth Coasters

The Smooth Coasters mod can be installed on the client. TrainCarts will automatically detect players that use this mod and send smooth rotations of the passengers. This also enables the seat to roll, which is otherwise not supported.

Hitbox

Display entities cannot be clicked, as they have no hitbox. To allow for players to get into the seat anyway, you must add a hitbox attachment.