TrainCarts/Signs/Property/14 [ja]

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "{| class="wikitable" |- ! プロパティ ! 値の例 ! 意味 |- | name<br>setname<br>rename | Intercity#A | 列車の名前を設定します。シャープ記号(#)は、ナンバー1から順々に割り振られる数字に置き換えられます。 |- | dname<br>setdname<br>displayname<br>setdisplayname | Trainname | Triggerサイン(%triggernameN%)で利用される表示名を設定します。 |- | exitoffset<br>exitlocation<br>exityaw<br>exitpitch<br>e...")
 
No edit summary
 
Line 84: Line 84:
|waitdistance<br>waitdelay<br>waitacceleration<br>waitpredicted
|waitdistance<br>waitdelay<br>waitacceleration<br>waitpredicted
|
|
|See the [[#Wait_Property|Wait Property]] section
|[[#待機プロパティ|待機プロパティ]]セクションをご覧ください。
|-
|-
| route add<br>route set<br>route remove<br>route clear
| route add<br>route set<br>route remove<br>route clear

Latest revision as of 03:53, 30 July 2026

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (TrainCarts/Signs/Property)
{| class="wikitable"
|-
! Property
! Value example
! Meaning
|-
| name<br>setname<br>rename
| Intercity#A
| Sets a new name on the train. The #-sign is replaced with a number 1 to infinity.
|-
| dname<br>setdname<br>displayname<br>setdisplayname
| Trainname
| Sets the display name used with trigger signs (%triggernameN%)
|-
| exitoffset<br>exitlocation<br>exityaw<br>exitpitch<br>exitrotation
| 2/0/0<br>200/45/-2333<br>30<br>0<br>90
| Change player exit offset, yaw, pitch and rotation. Exit location uses absolute coordinates, exit offset relative to the cart(s).
|-
| speedlimit<br>maxspeed
| 0.6
| The maximum allowed speed the train can go
|-
| <s>pushing</s><ref name="collision">Old syntax for compatibility. Replaced by ''type''collision. See [[Special:MyLanguage/TrainCarts/Physical/Collision|Collision modes]]</ref>
| false
| Set if the train pushes mobs, players, trains and misc
|-
| <s>pushmobs</s><ref name="collision"/>
| true
| Set if the train pushes mobs
|-
| <s>pushplayers</s><ref name="collision"/>
| no
| Set if the train pushes players
|-
| <s>pushmisc</s><ref name="collision"/>
| yes
| Set if the train pushes misc (items, boats, etc.)
|-
| playercollision<br>mobcollision<br>traincollision<br>misccollision
| default<br>cancel<br>kill<br>killnodrops<br>push<br>enter<br>link
| Set a [[Special:MyLanguage/TrainCarts/Physical/Collision|collision mode]] for the train against players, mobs, trains or other types of entities.
|-
| slowdown
| false
| Set if the train slows down, either by gravity or by friction
|-
|slowfriction
|false
|Set if the train slows down due to friction
|-
|slowgravity
|false
|Set if the train slows down, or speeds up, due to gravity
|-
|gravity
|1.0
|Changes the acceleration and deceleration due to gravity (multiplier, 1.0 is default)
|-
| linking
| deny
| Set if the train can link with other trains
|-
| collision
| allow
| Set if the train can collide with other entities
|-
| keepcloaded<br>loadchunks<br>keeploaded
| true
| Set if the train keeps nearby chunks loaded
|-
| default<br>setdefault
| stat1def
| Load one of the default train properties found in<br>DefaultTrainProperties.yml into this train
|-
|banking
|1 0
|Change the banking (First number: Strength, Second number: Smoothness)
|-
|godmode
invincible
|true
|Makes a train invincible, so that players cannot destroy it by hitting it.
Players with the ''train.break.any'' permission (default: OP) can break trains anyway.
|-
|waitdistance<br>waitdelay<br>waitacceleration<br>waitpredicted
|
|See the [[#Wait_Property|Wait Property]] section
|-
| route add<br>route set<br>route remove<br>route clear
| destination_name
| Adds/removes/clears/sets the destinations of the [[Special:MyLanguage/TrainCarts/PathFinding#Route_Manager|route]] set for a train. Destinations are added at the end.
|-
| route load<br>loadroute
| my_saved_route
| Loads a previously saved [[Special:MyLanguage/TrainCarts/PathFinding#Route_Manager|route]] by name.
|}
プロパティ 値の例 意味
name
setname
rename
Intercity#A 列車の名前を設定します。シャープ記号(#)は、ナンバー1から順々に割り振られる数字に置き換えられます。
dname
setdname
displayname
setdisplayname
Trainname Triggerサイン(%triggernameN%)で利用される表示名を設定します。
exitoffset
exitlocation
exityaw
exitpitch
exitrotation
2/0/0
200/45/-2333
30
0
90
プレイヤーが下車した際のヨー、ピッチ、回転のオフセットを指定します。exitlocationは絶対位置を指定します。逆にexitoffsetはトロッコからの相対位置を指定します。
speedlimit
maxspeed
0.6 列車の最大速度制限を設定します。
pushing<ref name="collision">後方互換性のために残されている非推奨のプロパティです。現在はほにゃららcollision系のプロパティに置き換えられています。くわしくは衝突のページをご覧ください。</ref> false 列車がモブやプレイヤーなどを押し出すかどうか。
pushmobs<ref name="collision"/> true 列車がモブを押し出すかどうか。
pushplayers<ref name="collision"/> no 列車がプレイヤーを押し出すかどうか。
pushmisc<ref name="collision"/> yes 列車がアイテムやボートなどを押し出すかどうか。
playercollision
mobcollision
traincollision
misccollision
default
cancel
kill
killnodrops
push
enter
link
それぞれプレイヤーやモブ、列車やその他に対する衝突のモードを設定します。
slowdown false 列車が重力や摩擦で減速するかどうかを変更します。
slowfriction false 列車が摩擦により減速するかどうか。
slowgravity false 列車が重力によって加減速するかどうか。
gravity 1.0 重力による加速や減速の倍率を設定します。デフォルトでは1.0で、計算はかけ算です。
linking deny 列車が他の列車とくっつくかどうか。
collision allow 列車が他のエンティティとぶつかるかどうか。
keepcloaded
loadchunks
keeploaded
true 列車が付近のチャンクをロードしたままにするかどうか。
default
setdefault
stat1def DefaultTrainProperties.ymlで設定されているデフォルト設定を列車に適用します。
banking 1 0 列車の傾きに関するプロパティを設定します。ひとつめの数字は強度、ふたつ目の数字は滑らかさです。
godmode

invincible

true 列車を無敵にします。train.break.any(デフォルトではOP)を持つプレイヤーにしか破壊できません。
waitdistance
waitdelay
waitacceleration
waitpredicted
待機プロパティセクションをご覧ください。
route add
route set
route remove
route clear
destination_name 列車のルートを追加したり、設定したり、削除したり、クリアしたりします。最後に目的地も追加されます。
route load
loadroute
my_saved_route 事前に名前付きで保存されたルートを呼び出します。