Export translations
Jump to navigation
Jump to search
Settings
Group
Main Page
Map Display
Map Display/API
MyWorlds
MyWorlds/ManagingWorlds
SignLink
TC-Coasters/Signs
TC-Coasters/Track-Objects
TrainCarts
TrainCarts/ActionBlocks
TrainCarts/API
TrainCarts/API/SignAction
TrainCarts/Attachments
TrainCarts/Attachments/Appearance
TrainCarts/Attachments/Entity
TrainCarts/Attachments/General
TrainCarts/Attachments/Item
TrainCarts/Attachments/Model
TrainCarts/Attachments/Physical
TrainCarts/Attachments/Seat
TrainCarts/Attachments/Sequence/PianoRoll
TrainCarts/Attachments/Sequencer
TrainCarts/Attachments/Sequencer/PianoRoll
TrainCarts/Attachments/Sound
TrainCarts/Commands
TrainCarts/Commands/Selectors
TrainCarts/Lag
TrainCarts/MobEntering
TrainCarts/PathFinding
TrainCarts/Permissions
TrainCarts/Physical
TrainCarts/Signs
TrainCarts/Signs/Animate
TrainCarts/Signs/Announce
TrainCarts/Signs/BlockChanger
TrainCarts/Signs/Blocker
TrainCarts/Signs/Crafter
TrainCarts/Signs/Destination
TrainCarts/Signs/Destroyer
TrainCarts/Signs/Detector
TrainCarts/Signs/Direction
TrainCarts/Signs/Effect
TrainCarts/Signs/Ejector
TrainCarts/Signs/Elevator
TrainCarts/Signs/Enter
TrainCarts/Signs/Items
TrainCarts/Signs/Launcher
TrainCarts/Signs/Mutex
TrainCarts/Signs/Property
TrainCarts/Signs/Skip
TrainCarts/Signs/Sound
TrainCarts/Signs/Spawner
TrainCarts/Signs/Statements
TrainCarts/Signs/Station
TrainCarts/Signs/Switcher
TrainCarts/Signs/Teleporter
TrainCarts/Signs/Ticket
TrainCarts/Signs/Transfer
TrainCarts/Signs/Trigger
TrainCarts/Signs/Waiter
TrainCarts/Spawning
TrainCarts/Tickets
TrainCarts/Train Spawn Chest
TrainCarts/TrainProperties
TrainCarts/VanillaMinecarts
Language
aa - Afar
ab - Abkhazian
abs - Ambonese Malay
ace - Achinese
ady - Adyghe
ady-cyrl - Adyghe (Cyrillic script)
aeb - Tunisian Arabic
aeb-arab - Tunisian Arabic (Arabic script)
aeb-latn - Tunisian Arabic (Latin script)
af - Afrikaans
ak - Akan
aln - Gheg Albanian
alt - Southern Altai
am - Amharic
ami - Amis
an - Aragonese
ang - Old English
anp - Angika
ar - Arabic
arc - Aramaic
arn - Mapuche
arq - Algerian Arabic
ary - Moroccan Arabic
arz - Egyptian Arabic
as - Assamese
ase - American Sign Language
ast - Asturian
atj - Atikamekw
av - Avaric
avk - Kotava
awa - Awadhi
ay - Aymara
az - Azerbaijani
azb - South Azerbaijani
ba - Bashkir
ban - Balinese
bar - Bavarian
bbc - Batak Toba
bbc-latn - Batak Toba (Latin script)
bcc - Southern Balochi
bcl - Central Bikol
be - Belarusian
be-tarask - Belarusian (Taraškievica orthography)
bg - Bulgarian
bgn - Western Balochi
bh - Bhojpuri
bho - Bhojpuri
bi - Bislama
bjn - Banjar
bm - Bambara
bn - Bangla
bo - Tibetan
bpy - Bishnupriya
bqi - Bakhtiari
br - Breton
brh - Brahui
bs - Bosnian
btm - Batak Mandailing
bto - Iriga Bicolano
bug - Buginese
bxr - Russia Buriat
ca - Catalan
cbk-zam - Chavacano
cdo - Min Dong Chinese
ce - Chechen
ceb - Cebuano
ch - Chamorro
cho - Choctaw
chr - Cherokee
chy - Cheyenne
ckb - Central Kurdish
co - Corsican
cps - Capiznon
cr - Cree
crh - Crimean Turkish
crh-cyrl - Crimean Tatar (Cyrillic script)
crh-latn - Crimean Tatar (Latin script)
cs - Czech
csb - Kashubian
cu - Church Slavic
cv - Chuvash
cy - Welsh
da - Danish
de - German
de-at - Austrian German
de-ch - Swiss High German
de-formal - German (formal address)
din - Dinka
diq - Zazaki
dsb - Lower Sorbian
dtp - Central Dusun
dty - Doteli
dv - Divehi
dz - Dzongkha
ee - Ewe
egl - Emilian
el - Greek
eml - Emiliano-Romagnolo
en - English
en-ca - Canadian English
en-gb - British English
eo - Esperanto
es - Spanish
es-419 - Latin American Spanish
es-formal - español (formal)
et - Estonian
eu - Basque
ext - Extremaduran
fa - Persian
ff - Fulah
fi - Finnish
fit - Tornedalen Finnish
fj - Fijian
fo - Faroese
fr - French
frc - Cajun French
frp - Arpitan
frr - Northern Frisian
fur - Friulian
fy - Western Frisian
ga - Irish
gag - Gagauz
gan - Gan Chinese
gan-hans - Gan (Simplified)
gan-hant - Gan (Traditional)
gcr - Guianan Creole
gd - Scottish Gaelic
gl - Galician
glk - Gilaki
gn - Guarani
gom - Goan Konkani
gom-deva - Goan Konkani (Devanagari script)
gom-latn - Goan Konkani (Latin script)
gor - Gorontalo
got - Gothic
grc - Ancient Greek
gsw - Swiss German
gu - Gujarati
gv - Manx
ha - Hausa
hak - Hakka Chinese
haw - Hawaiian
he - Hebrew
hi - Hindi
hif - Fiji Hindi
hif-latn - Fiji Hindi (Latin script)
hil - Hiligaynon
ho - Hiri Motu
hr - Croatian
hrx - Hunsrik
hsb - Upper Sorbian
ht - Haitian Creole
hu - Hungarian
hu-formal - magyar (formal)
hy - Armenian
hyw - Western Armenian
hz - Herero
ia - Interlingua
id - Indonesian
ie - Interlingue
ig - Igbo
ii - Sichuan Yi
ik - Inupiaq
ike-cans - Eastern Canadian (Aboriginal syllabics)
ike-latn - Eastern Canadian (Latin script)
ilo - Iloko
inh - Ingush
io - Ido
is - Icelandic
it - Italian
iu - Inuktitut
ja - Japanese
jam - Jamaican Creole English
jbo - Lojban
jut - Jutish
jv - Javanese
ka - Georgian
kaa - Kara-Kalpak
kab - Kabyle
kbd - Kabardian
kbd-cyrl - Kabardian (Cyrillic script)
kbp - Kabiye
kg - Kongo
khw - Khowar
ki - Kikuyu
kiu - Kirmanjki
kj - Kuanyama
kjp - Eastern Pwo
kk - Kazakh
kk-arab - Kazakh (Arabic script)
kk-cn - Kazakh (China)
kk-cyrl - Kazakh (Cyrillic script)
kk-kz - Kazakh (Kazakhstan)
kk-latn - Kazakh (Latin script)
kk-tr - Kazakh (Turkey)
kl - Kalaallisut
km - Khmer
kn - Kannada
ko - Korean
ko-kp - Korean (North Korea)
koi - Komi-Permyak
kr - Kanuri
krc - Karachay-Balkar
kri - Krio
krj - Kinaray-a
krl - Karelian
ks - Kashmiri
ks-arab - Kashmiri (Arabic script)
ks-deva - Kashmiri (Devanagari script)
ksh - Colognian
ku - Kurdish
ku-arab - Kurdish (Arabic script)
ku-latn - Kurdish (Latin script)
kum - Kumyk
kv - Komi
kw - Cornish
ky - Kyrgyz
la - Latin
lad - Ladino
lb - Luxembourgish
lbe - Lak
lez - Lezghian
lfn - Lingua Franca Nova
lg - Ganda
li - Limburgish
lij - Ligurian
liv - Livonian
lki - Laki
lld - Ladin
lmo - Lombard
ln - Lingala
lo - Lao
loz - Lozi
lrc - Northern Luri
lt - Lithuanian
ltg - Latgalian
lus - Mizo
luz - Southern Luri
lv - Latvian
lzh - Literary Chinese
lzz - Laz
mai - Maithili
map-bms - Basa Banyumasan
mdf - Moksha
mg - Malagasy
mh - Marshallese
mhr - Eastern Mari
mi - Maori
min - Minangkabau
mk - Macedonian
ml - Malayalam
mn - Mongolian
mni - Manipuri
mnw - Mon
mo - Moldovan
mr - Marathi
mrj - Western Mari
ms - Malay
mt - Maltese
mus - Muscogee
mwl - Mirandese
my - Burmese
myv - Erzya
mzn - Mazanderani
na - Nauru
nah - Nāhuatl
nan - Min Nan Chinese
nap - Neapolitan
nb - Norwegian Bokmål
nds - Low German
nds-nl - Low Saxon
ne - Nepali
new - Newari
ng - Ndonga
niu - Niuean
nl - Dutch
nl-informal - Nederlands (informeel)
nn - Norwegian Nynorsk
no - Norwegian
nov - Novial
nqo - N’Ko
nrm - Norman
nso - Northern Sotho
nv - Navajo
ny - Nyanja
nys - Nyungar
oc - Occitan
olo - Livvi-Karelian
om - Oromo
or - Odia
os - Ossetic
pa - Punjabi
pag - Pangasinan
pam - Pampanga
pap - Papiamento
pcd - Picard
pdc - Pennsylvania German
pdt - Plautdietsch
pfl - Palatine German
pi - Pali
pih - Norfuk / Pitkern
pl - Polish
pms - Piedmontese
pnb - Western Punjabi
pnt - Pontic
prg - Prussian
ps - Pashto
pt - Portuguese
pt-br - Brazilian Portuguese
qqq - Message documentation
qu - Quechua
qug - Chimborazo Highland Quichua
rgn - Romagnol
rif - Riffian
rm - Romansh
rmy - Vlax Romani
rn - Rundi
ro - Romanian
roa-tara - Tarantino
ru - Russian
rue - Rusyn
rup - Aromanian
ruq - Megleno-Romanian
ruq-cyrl - Megleno-Romanian (Cyrillic script)
ruq-latn - Megleno-Romanian (Latin script)
rw - Kinyarwanda
sa - Sanskrit
sah - Sakha
sat - Santali
sc - Sardinian
scn - Sicilian
sco - Scots
sd - Sindhi
sdc - Sassarese Sardinian
sdh - Southern Kurdish
se - Northern Sami
sei - Seri
ses - Koyraboro Senni
sg - Sango
sgs - Samogitian
sh - Serbo-Croatian
shi - Tachelhit
shi-latn - Tachelhit (Latin script)
shi-tfng - Tachelhit (Tifinagh script)
shn - Shan
shy-latn - Shawiya (Latin script)
si - Sinhala
simple - Simple English
sk - Slovak
skr - Saraiki
skr-arab - Saraiki (Arabic script)
sl - Slovenian
sli - Lower Silesian
sm - Samoan
sma - Southern Sami
smn - Inari Sami
sn - Shona
so - Somali
sq - Albanian
sr - Serbian
sr-ec - Serbian (Cyrillic script)
sr-el - Serbian (Latin script)
srn - Sranan Tongo
ss - Swati
st - Southern Sotho
stq - Saterland Frisian
sty - себертатар
su - Sundanese
sv - Swedish
sw - Swahili
szl - Silesian
szy - Sakizaya
ta - Tamil
tay - Tayal
tcy - Tulu
te - Telugu
tet - Tetum
tg - Tajik
tg-cyrl - Tajik (Cyrillic script)
tg-latn - Tajik (Latin script)
th - Thai
ti - Tigrinya
tk - Turkmen
tl - Tagalog
tly - Talysh
tn - Tswana
to - Tongan
tpi - Tok Pisin
tr - Turkish
tru - Turoyo
trv - Taroko
ts - Tsonga
tt - Tatar
tt-cyrl - Tatar (Cyrillic script)
tt-latn - Tatar (Latin script)
tum - Tumbuka
tw - Twi
ty - Tahitian
tyv - Tuvinian
tzm - Central Atlas Tamazight
udm - Udmurt
ug - Uyghur
ug-arab - Uyghur (Arabic script)
ug-latn - Uyghur (Latin script)
uk - Ukrainian
ur - Urdu
uz - Uzbek
uz-cyrl - Uzbek (Cyrillic script)
uz-latn - Uzbek (Latin script)
ve - Venda
vec - Venetian
vep - Veps
vi - Vietnamese
vls - West Flemish
vmf - Main-Franconian
vo - Volapük
vot - Votic
vro - Võro
wa - Walloon
war - Waray
wo - Wolof
wuu - Wu Chinese
xal - Kalmyk
xh - Xhosa
xmf - Mingrelian
xsy - Saisiyat
yi - Yiddish
yo - Yoruba
yue - Cantonese
za - Zhuang
zea - Zeelandic
zgh - Standard Moroccan Tamazight
zh - Chinese
zh-cn - Chinese (China)
zh-hans - Simplified Chinese
zh-hant - Traditional Chinese
zh-hk - Chinese (Hong Kong)
zh-mo - Chinese (Macau)
zh-my - Chinese (Malaysia)
zh-sg - Chinese (Singapore)
zh-tw - Chinese (Taiwan)
zu - Zulu
Format
Export for off-line translation
Export in native format
Fetch
{{DISPLAYTITLE:TrainCarts/生成}}<languages/> [[Special:MyLanguage/TrainCarts|« 返回]] == 介绍 == TC 提供了多种不同的生成列车方式,以下: * [[Special:MyLanguage/TrainCarts/VanillaMinecarts|'''原版矿车''']] - 玩家可以生成 TC 矿车。这个页面展示了原版矿车的行为。 * [[Special:MyLanguage/TrainCarts/Signs/Spawner|'''生成牌''']] - 在生成牌上方的轨道上生成列车,可以通过红石启用,也可以实现周期、间隔自动化生成。 * [[Special:MyLanguage/TrainCarts/Train Spawn Chest|'''列车生成箱''']] - 一个便携物品,可以将列车储存进去并在轨道上重新放置。 == 生成模式 == 列车生成箱和生成牌都支持生成模式语法。使用语法可以将多个矿车或多辆不同的以保存的列车组合起来并生成。 {| class="wikitable" |- ! 机制 ! 模式 ! 释义 |- | 原版矿车 | <code>m</code> | 生成一个可乘坐的矿车。 |- | 保存列车 | <code>MyTrain</code> | 生成 1 个名为 ''MyTrain'' 的列车。 |- | Repetition | <code>mmm</code> | 生成 3 个可乘坐的矿车。 |- | 数量前缀 | <code>3m3s</code> | 生成 3 个可乘坐的矿车和 3 个运输矿车(总共 6 个矿车)。 |- | 分组序列 | <code>3[ms]</code> | 生成 3 组且每组由 1 个矿车和 1 个运输矿车组成,与<code>msmsms</code>等价。 |- | 随机 | <code>3[33%RedCart 33%GreenCart 33%BlueCart]</code> | 生成 3 组且每组由 3 种保存的列车并根据设置的随机率组成。 |} === 原版矿车 === 默认原版矿车通过指定的单个字符表示: {| class="wikitable" |- ! 文本 ! 矿车类型 |- | m | [https://minecraft.wiki/w/Minecart 普通矿车] |- | p | [https://minecraft.wiki/w/Minecart_with_Furnace 动力矿车] |- | s | [https://minecraft.wiki/w/Minecart_with_Chest 运输矿车] |- | t | [https://minecraft.wiki/w/Minecart_with_TNT TNT 矿车] |- | h | [https://minecraft.wiki/w/Minecart_with_Hopper 漏斗矿车] |- | e | [https://minecraft.wiki/w/Minecart_with_Monster_Spawner 刷怪笼矿车] |} 例如,这个[[Special:MyLanguage/TrainCarts/Signs/Spawner|生成牌]]会生成 3 个矿车组成的列车: {{sign|[train]|spawn|mmm}} 这个命令会给予玩家一个能生成 3 个矿车组成的列车的[[Special:MyLanguage/TrainCarts/Train Spawn Chest|列车生成箱]]: <pre> /train chest mmm </pre> === 已保存的列车 === 玩家可以使用<code>/train save [名称]</code>''保存''[[Special:MyLanguage/TrainCarts/Editing|正在编辑]]的列车。这个名称可以在生成模式中使用。 * 匹配保存的列车名称时,将匹配最长的名称。 * 可以使用命令列出保存的列车名称:<code>/savedtrain list</code> * 可以使用命令导入或编辑保存的列车:<code>/savedtrain [名称] [子命令]</code> * 保存的列车也可以包含进服务器加载的资源包中,就像 ''TrainCarts Demo Resource Pack'' 一样。 * '''注意:'''保存的列车名称与命名(<code>/train rename</code>)的列车不同。两者之间没有关系。 例如,这个[[Special:MyLanguage/TrainCarts/Signs/Spawner|生成牌]]会生成一辆名为 MyTrain 的列车: {{sign|[train]|spawn|MyTrain}} 该命令会给予玩家一个[[Special:MyLanguage/TrainCarts/Train Spawn Chest|列车生成箱]],且内含列车的名称为“MyTrain”: <pre> /train chest MyTrain </pre> === 保存列车的生成模式 === 可以使用<code>/savedtrain [名称] spawn [模式]</code>保存(长)列车生成模式,而不是只保存列车。 例如: <pre> /savedtrain MyTrain spawn 4[50%m 50%s] p </pre> 生成 ''MyTrain'' 时,将随机生成 4 辆普通矿车或运输矿车,然后是 1 辆动力矿车。当模式太长无法输入进生成牌时尤其有用。这些模式可以递归使用。 === 重复 === 多个列车名称或原版矿车名称可以彼此紧随放置,无需空格。匹配名称时,将匹配与模式符合的最长的保存列车名称。 === 数量前缀 === 可以在名称前输入数值来重复生成模式。如果你想生成 ''MyTrain'' 三次,可以输入<code>3MyTrain</code>。 === 分组序列 === 可以对生成模式进行分组,以便数量前缀重复整个组,而不是仅重复某一辆列车或矿车。 例如,你想生成一辆列车,后面跟着For example, if you want to spawn a locomotive followed by red-green-blue carriages repeated four times (12 carriages), you can put: <pre> 4[carr carg carb] loco </pre> <div lang="en" dir="ltr" class="mw-content-ltr"> === Random === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Use the % weighted prefix to randomly have a pattern choose between different types of trains to spawn. This follows a syntax [https://worldedit.enginehub.org/en/latest/usage/general/patterns/#random-pattern similar to the WorldEdit syntax]. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For example, to spawn a locomotive followed by 12 carts of random red, green or blue carriages: <pre> 12[33%carr 33%carg 33%carb] loco </pre> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> These prefixes can also be applied to grouped sequences to create variable-length trains. This will spawn a locomotive with randomly 0, 1 or 2 carriages: <pre> [33%[] 33%carb 33%[carr carg]] loco </pre> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> The percentage total is normalized, so in the above examples using 50% or 200% would have resulted in the same behavior. </div>
Navigation menu
Personal tools
English
Log in
Dark mode
Namespaces
Special page
Variants
Views
More
Search
Navigation
Main page
Recent changes
Plugins
BKCommonLib
TrainCarts
TC-Coasters
MyWorlds
Maplands
BergerHealer Links/Contact
Discord
Spigot
GitHub
Paste site
Tools
Special pages
Printable version