Railway Casing

This commit is contained in:
simibubi 2022-05-17 00:06:49 +02:00
parent 279349a37a
commit d63b12554a
33 changed files with 131 additions and 45 deletions

View file

@ -391,6 +391,7 @@ d06cd9a1101b18d306a786320aab12018b1325d6 assets/create/blockstates/purple_sail.j
b78c6057ef94b03f541a17e625b3778ca526a6ad assets/create/blockstates/purple_toolbox.json
61035f8afe75ff7bbd291da5d8690bcbebe679eb assets/create/blockstates/purple_valve_handle.json
4439fc83a8c7370ab44b211a3fd48abde20a4728 assets/create/blockstates/radial_chassis.json
e61e77d19c1abe9d76895909ee520e1bf0f7b512 assets/create/blockstates/railway_casing.json
c9ccf6fe4c80357ba2e4d053f5a1b35df4f377a8 assets/create/blockstates/raw_zinc_block.json
9315e0004ad46eb4c855f452c7447db86ad23fe1 assets/create/blockstates/red_nixie_tube.json
45877c4d90a7185c2f304edbd67379d800920439 assets/create/blockstates/red_sail.json
@ -543,23 +544,23 @@ bf2b0310500213ff853c748c236eb5d01f61658e assets/create/blockstates/yellow_toolbo
6801fa1f466f172700e573e5b8ee8ee5f9ca4583 assets/create/blockstates/yellow_valve_handle.json
7f39521b211441f5c3e06d60c5978cebe16cacfb assets/create/blockstates/zinc_block.json
b7181bcd8182b2f17088e5aa881f374c9c65470c assets/create/blockstates/zinc_ore.json
df56b5a55feb05caf63e59d7473c814cc212c593 assets/create/lang/en_ud.json
99c8b4f8ebb8184a24293a3b2de2a1635ebc1e7e assets/create/lang/en_us.json
4affec8c0528a7704d8801faa62cce3e98b4f1ef assets/create/lang/unfinished/de_de.json
ce1f1c8dcf2e1059e65fe43f5b7c46b2d3501cb4 assets/create/lang/unfinished/es_cl.json
3cf9394de670cd73ee3e0de94daf866e854f6721 assets/create/lang/unfinished/es_es.json
dd63f8c280bd44163e726e027e6fef488803f9ab assets/create/lang/unfinished/fr_fr.json
1374e2cdaaedbb6ba1e663fbf2b077298dfef2a6 assets/create/lang/unfinished/it_it.json
3e49953d1ad799a38128a6724c022b92808bcd63 assets/create/lang/unfinished/ja_jp.json
08c2e857d98e7f5946672be533781412ea305b4e assets/create/lang/unfinished/ko_kr.json
94b8c296349c6e58e85716c8bb25fa660f08177f assets/create/lang/unfinished/nl_nl.json
1bb858c04a0052949c66b5d7852eca0e9785cf64 assets/create/lang/unfinished/pl_pl.json
ca2573e3dd5dae6c0dd39a227e7e105bee524409 assets/create/lang/unfinished/pt_br.json
f82850935227af35505d3e6caf6d0b708dc21bfd assets/create/lang/unfinished/pt_pt.json
f7833b62a0abe1d567b6fa1504cb5bc2fdb72deb assets/create/lang/unfinished/ro_ro.json
4fa955a914facda1b4530bf9371d7be373cbe3f0 assets/create/lang/unfinished/ru_ru.json
37fa33bef9352201f10889fb80f601c41d6ae388 assets/create/lang/unfinished/zh_cn.json
9258763a4c46a0983276035aeb01323bc4311d3e assets/create/lang/unfinished/zh_tw.json
ad4db674caf6a1abe0bea573fd38ecfb198d3a9f assets/create/lang/en_ud.json
45ad7384355cc39fb9e5e6b91f4bb2dc281b5c4a assets/create/lang/en_us.json
ebe46e52d7001f42e8c1fcab420839cf1d18bfca assets/create/lang/unfinished/de_de.json
c5af61fb0a83c63d5f758c4fdb9529f74a68cb12 assets/create/lang/unfinished/es_cl.json
42b1bc512547b363dd80fd1c706768a0d871fdb8 assets/create/lang/unfinished/es_es.json
fe981e80118d19e1c1c3d792bb312ee84ebf8504 assets/create/lang/unfinished/fr_fr.json
adcd4142a024ccb40d3459224174495fc99f6379 assets/create/lang/unfinished/it_it.json
ff6ee4585d4895e16e54e65e0aa4ef2f0808a7e0 assets/create/lang/unfinished/ja_jp.json
4703035e480ad272f0d4247428e98963f03e7e2b assets/create/lang/unfinished/ko_kr.json
f0888188c11ded8d07885629279099595ec3596c assets/create/lang/unfinished/nl_nl.json
1b9ce55ffaa78c74c90dd17b419791ed0e5ef168 assets/create/lang/unfinished/pl_pl.json
d32edfcd1a5643db71c6a8f749e5c55e16eba284 assets/create/lang/unfinished/pt_br.json
fabd680b944443de442cf3efaf1d968020d44a19 assets/create/lang/unfinished/pt_pt.json
849c7decbbe7c4a5afefba4bf47b9c7a99534dbb assets/create/lang/unfinished/ro_ro.json
9c9f038828b3000d63f1ec76728276d1558b6cb2 assets/create/lang/unfinished/ru_ru.json
fc935326da55a21ebae23d15f87dfdfea426bafc assets/create/lang/unfinished/zh_cn.json
3606f74bf9906cf839425231f6f369ad2fc8e242 assets/create/lang/unfinished/zh_tw.json
487a511a01b2a4531fb672f917922312db78f958 assets/create/models/block/acacia_window.json
b48060cba1a382f373a05bf0039054053eccf076 assets/create/models/block/acacia_window_pane_noside.json
3066db1bf03cffa1a9c7fbacf47ae586632f4eb3 assets/create/models/block/acacia_window_pane_noside_alt.json
@ -1337,6 +1338,7 @@ a9885a3f69e3e2a2812c33bafd9140fcc5cc7c25 assets/create/models/block/radial_chass
92a48c22cf2af0a3156844322f6bb469883608fb assets/create/models/block/radial_chassis_side_y_sticky.json
522f4733118d6fba172696e9478c8f9fe88b236e assets/create/models/block/radial_chassis_side_z.json
bffca231a146a6ac49e028f3790cdcbf375e98b0 assets/create/models/block/radial_chassis_side_z_sticky.json
2bfc1ada36c8c2927481fe3e12b6f95b98aaa2ec assets/create/models/block/railway_casing.json
ad0a90f73d8e95689497b55bc4042bc04fcb179a assets/create/models/block/raw_zinc_block.json
71cd22dc2d847d317f19afb4b21802fbf5347e0b assets/create/models/block/red_nixie_tube.json
f0099576080a0f2bb09dd85e55777bad69f9f265 assets/create/models/block/red_sail.json
@ -2004,6 +2006,7 @@ a598b2f5eb34b061e81efb8a55267a02f8e08a61 assets/create/models/item/purple_seat.j
f309695ba0470c5228f38443f09bad85d09de8bd assets/create/models/item/purple_toolbox.json
e5138f9e37ca4d24cda2eb7b24a021eb7c8ae21c assets/create/models/item/purple_valve_handle.json
efbda15b53084acdac2d36b8e0a764a9ab34d723 assets/create/models/item/radial_chassis.json
84dabec3fa8a39e28c427da22a0234c5a3785502 assets/create/models/item/railway_casing.json
a96589fb40cc02bd649205bad4d9bbdc7e3937a5 assets/create/models/item/raw_zinc.json
56d356cc825b202966731121e8c78b7b91279528 assets/create/models/item/raw_zinc_block.json
fc05c4492da3d17add7e410323a47456c0d21e0e assets/create/models/item/red_sand_paper.json
@ -3698,6 +3701,7 @@ ffb977985f89f738c3cb1e78c1432e4904ab402d data/create/loot_tables/blocks/purple_s
edef80f2c39a4acf860780c66ccc5a0420d9f7c2 data/create/loot_tables/blocks/purple_toolbox.json
92660efc4bafe51284610656cccbacc999fff7a2 data/create/loot_tables/blocks/purple_valve_handle.json
3b0af2f3c1b28c52e0ce8f3be362395f5f957e43 data/create/loot_tables/blocks/radial_chassis.json
7ed68e33a8c488242a2d9039797498068797c5a6 data/create/loot_tables/blocks/railway_casing.json
7c5745aa14d006ce939e84d47e106c6998079211 data/create/loot_tables/blocks/raw_zinc_block.json
2e21a06c0d671e543bffecb0b67d97b51fa83ddc data/create/loot_tables/blocks/red_nixie_tube.json
be99e48382ef8ccfb94c227c4dec7b627b4128e7 data/create/loot_tables/blocks/red_sail.json
@ -5231,7 +5235,7 @@ d79c82bc6cf59b073b2f51f5fea9c98e81d14b68 data/create/recipes/weathered_copper_ti
ac265a674626e0e832330086fd18fe0be37fc327 data/create/recipes/weathered_copper_tile_stairs.json
5942a571f79c40524bbf408775cf91de4715f2b6 data/create/recipes/weathered_copper_tile_stairs_from_weathered_copper_tiles_stonecutting.json
2d549ea56fb226c0e31e66c0391996093f8bece9 data/create/tags/blocks/brittle.json
f6fd40f3697b4ffa0bf45cd3bda8cdf5fab536f7 data/create/tags/blocks/casing.json
d99d5c67bdffff60789a19bd51a5c5267c75e0a4 data/create/tags/blocks/casing.json
330bfb3850ba3964b10b1bccbc3cbb9b012cae54 data/create/tags/blocks/fan_heaters.json
57b942386a15c874d1ca9cd6a8032c11a5599fc2 data/create/tags/blocks/fan_transparent.json
10781e8cfcbb3486327aace3aa00e437fb44b331 data/create/tags/blocks/ore_override_stone.json
@ -5247,7 +5251,7 @@ a8bdc387cfa6296ebcc4af14323e2ddb632234dc data/create/tags/fluids/bottomless/allo
74700d556ca80c7a1db5fd4efb09c3ddb26cad66 data/create/tags/fluids/bottomless/deny.json
74700d556ca80c7a1db5fd4efb09c3ddb26cad66 data/create/tags/items/blaze_burner_fuel/regular.json
97061ef67cac1fafd869493d06115b968bcb99bf data/create/tags/items/blaze_burner_fuel/special.json
f6fd40f3697b4ffa0bf45cd3bda8cdf5fab536f7 data/create/tags/items/casing.json
d99d5c67bdffff60789a19bd51a5c5267c75e0a4 data/create/tags/items/casing.json
5212172aee2239136c94f9868ad39ec2e17cf1c6 data/create/tags/items/create_ingots.json
4480f211f4a37bfee193eba945bc9f5a8d2c6e34 data/create/tags/items/crushed_ores.json
bce28787b0271382842823d04a977912a88b01c2 data/create/tags/items/sandpaper.json
@ -5318,8 +5322,8 @@ ff1900963bc4cd8ceffa78d58ef1952ceacb2fb7 data/forge/tags/items/storage_blocks/br
2db7759fe036160c14c6ed19a68604ca16f4de60 data/minecraft/tags/blocks/dripstone_replaceable_blocks.json
69f596fcb065e26b02ce246760432b5174191b76 data/minecraft/tags/blocks/impermeable.json
2db7759fe036160c14c6ed19a68604ca16f4de60 data/minecraft/tags/blocks/lush_ground_replaceable.json
02f7a9df2f9e154749266e7ac59c37aa076a3390 data/minecraft/tags/blocks/mineable/axe.json
85cae90448e40527a084352bd8283627213e7ba3 data/minecraft/tags/blocks/mineable/pickaxe.json
10c8a8bd33af3f173705dcd4418c2875349352fc data/minecraft/tags/blocks/mineable/axe.json
1309368a93ef80957973355b38794a6129f64e5d data/minecraft/tags/blocks/mineable/pickaxe.json
2db7759fe036160c14c6ed19a68604ca16f4de60 data/minecraft/tags/blocks/moss_replaceable.json
e157c1d3af30e409e34bbefbe15a037e6e1c8daa data/minecraft/tags/blocks/needs_iron_tool.json
a08f67865337f62601c5e333b4011382d10020e4 data/minecraft/tags/blocks/needs_stone_tool.json

View file

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "create:block/railway_casing"
}
}
}

View file

@ -392,6 +392,7 @@
"block.create.purple_toolbox": "xoq\u05DFoo\u27D8 \u01DD\u05DFd\u0279n\u0500",
"block.create.purple_valve_handle": "\u01DD\u05DFpu\u0250H \u01DD\u028C\u05DF\u0250\u039B \u01DD\u05DFd\u0279n\u0500",
"block.create.radial_chassis": "s\u0131ss\u0250\u0265\u0186 \u05DF\u0250\u0131p\u0250\u1D1A",
"block.create.railway_casing": "bu\u0131s\u0250\u0186 \u028E\u0250\u028D\u05DF\u0131\u0250\u1D1A",
"block.create.raw_zinc_block": "\u0254u\u0131Z \u028D\u0250\u1D1A \u025Fo \u029E\u0254o\u05DF\u15FA",
"block.create.red_nixie_tube": "\u01DDqn\u27D8 \u01DD\u0131x\u0131N p\u01DD\u1D1A",
"block.create.red_sail": "\u05DF\u0131\u0250S p\u01DD\u1D1A",

View file

@ -395,6 +395,7 @@
"block.create.purple_toolbox": "Purple Toolbox",
"block.create.purple_valve_handle": "Purple Valve Handle",
"block.create.radial_chassis": "Radial Chassis",
"block.create.railway_casing": "Railway Casing",
"block.create.raw_zinc_block": "Block of Raw Zinc",
"block.create.red_nixie_tube": "Red Nixie Tube",
"block.create.red_sail": "Red Sail",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 1539",
"_": "Missing Localizations: 1540",
"_": "->------------------------] Game Elements [------------------------<-",
@ -396,6 +396,7 @@
"block.create.purple_toolbox": "UNLOCALIZED: Purple Toolbox",
"block.create.purple_valve_handle": "Lila Ventilgriff",
"block.create.radial_chassis": "Drehgerüst",
"block.create.railway_casing": "UNLOCALIZED: Railway Casing",
"block.create.raw_zinc_block": "UNLOCALIZED: Block of Raw Zinc",
"block.create.red_nixie_tube": "UNLOCALIZED: Red Nixie Tube",
"block.create.red_sail": "Rote Segel",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 561",
"_": "Missing Localizations: 562",
"_": "->------------------------] Game Elements [------------------------<-",
@ -396,6 +396,7 @@
"block.create.purple_toolbox": "Caja de Herramientas Morada",
"block.create.purple_valve_handle": "Válvula Morada",
"block.create.radial_chassis": "Chasis Radial",
"block.create.railway_casing": "UNLOCALIZED: Railway Casing",
"block.create.raw_zinc_block": "UNLOCALIZED: Block of Raw Zinc",
"block.create.red_nixie_tube": "Tubo Nixie Rojo",
"block.create.red_sail": "Vela Roja",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 232",
"_": "Missing Localizations: 233",
"_": "->------------------------] Game Elements [------------------------<-",
@ -396,6 +396,7 @@
"block.create.purple_toolbox": "Caja de herramientas púrpura",
"block.create.purple_valve_handle": "Asa de válvula morada",
"block.create.radial_chassis": "Chasis radial",
"block.create.railway_casing": "UNLOCALIZED: Railway Casing",
"block.create.raw_zinc_block": "Bloque de cinc en bruto",
"block.create.red_nixie_tube": "Tubo Nixie rojo",
"block.create.red_sail": "Vela roja",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 1801",
"_": "Missing Localizations: 1802",
"_": "->------------------------] Game Elements [------------------------<-",
@ -396,6 +396,7 @@
"block.create.purple_toolbox": "UNLOCALIZED: Purple Toolbox",
"block.create.purple_valve_handle": "UNLOCALIZED: Purple Valve Handle",
"block.create.radial_chassis": "Châssis radial",
"block.create.railway_casing": "UNLOCALIZED: Railway Casing",
"block.create.raw_zinc_block": "UNLOCALIZED: Block of Raw Zinc",
"block.create.red_nixie_tube": "UNLOCALIZED: Red Nixie Tube",
"block.create.red_sail": "UNLOCALIZED: Red Sail",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 1490",
"_": "Missing Localizations: 1491",
"_": "->------------------------] Game Elements [------------------------<-",
@ -396,6 +396,7 @@
"block.create.purple_toolbox": "UNLOCALIZED: Purple Toolbox",
"block.create.purple_valve_handle": "Maniglia per valvola viola",
"block.create.radial_chassis": "Telaio radiale",
"block.create.railway_casing": "UNLOCALIZED: Railway Casing",
"block.create.raw_zinc_block": "UNLOCALIZED: Block of Raw Zinc",
"block.create.red_nixie_tube": "UNLOCALIZED: Red Nixie Tube",
"block.create.red_sail": "Vela rossa",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 227",
"_": "Missing Localizations: 228",
"_": "->------------------------] Game Elements [------------------------<-",
@ -396,6 +396,7 @@
"block.create.purple_toolbox": "紫色の工具箱",
"block.create.purple_valve_handle": "紫色のバルブハンドル",
"block.create.radial_chassis": "ラジアルシャーシ",
"block.create.railway_casing": "UNLOCALIZED: Railway Casing",
"block.create.raw_zinc_block": "亜鉛の原石ブロック",
"block.create.red_nixie_tube": "赤色のニキシー管",
"block.create.red_sail": "赤色の帆",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 227",
"_": "Missing Localizations: 228",
"_": "->------------------------] Game Elements [------------------------<-",
@ -396,6 +396,7 @@
"block.create.purple_toolbox": "보라색 공구상자",
"block.create.purple_valve_handle": "보라색 밸브 손잡이",
"block.create.radial_chassis": "원형 섀시",
"block.create.railway_casing": "UNLOCALIZED: Railway Casing",
"block.create.raw_zinc_block": "아연 원석 블록",
"block.create.red_nixie_tube": "빨간색 닉시관",
"block.create.red_sail": "빨간색 날개",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 2153",
"_": "Missing Localizations: 2154",
"_": "->------------------------] Game Elements [------------------------<-",
@ -396,6 +396,7 @@
"block.create.purple_toolbox": "UNLOCALIZED: Purple Toolbox",
"block.create.purple_valve_handle": "UNLOCALIZED: Purple Valve Handle",
"block.create.radial_chassis": "Rotation Frame",
"block.create.railway_casing": "UNLOCALIZED: Railway Casing",
"block.create.raw_zinc_block": "UNLOCALIZED: Block of Raw Zinc",
"block.create.red_nixie_tube": "UNLOCALIZED: Red Nixie Tube",
"block.create.red_sail": "UNLOCALIZED: Red Sail",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 600",
"_": "Missing Localizations: 601",
"_": "->------------------------] Game Elements [------------------------<-",
@ -396,6 +396,7 @@
"block.create.purple_toolbox": "UNLOCALIZED: Purple Toolbox",
"block.create.purple_valve_handle": "Fioletowe pokrętło",
"block.create.radial_chassis": "Stelaż promienisty",
"block.create.railway_casing": "UNLOCALIZED: Railway Casing",
"block.create.raw_zinc_block": "UNLOCALIZED: Block of Raw Zinc",
"block.create.red_nixie_tube": "Czerwona lampa cyfrowa",
"block.create.red_sail": "Czerwony żagiel",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 1401",
"_": "Missing Localizations: 1402",
"_": "->------------------------] Game Elements [------------------------<-",
@ -396,6 +396,7 @@
"block.create.purple_toolbox": "Caixa de ferramentas roxa",
"block.create.purple_valve_handle": "válvula roxa",
"block.create.radial_chassis": "Chassis Radial",
"block.create.railway_casing": "UNLOCALIZED: Railway Casing",
"block.create.raw_zinc_block": "Bloco de zinco bruto",
"block.create.red_nixie_tube": "Tubo nixie vermelho",
"block.create.red_sail": "Vela vermelha",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 1773",
"_": "Missing Localizations: 1774",
"_": "->------------------------] Game Elements [------------------------<-",
@ -396,6 +396,7 @@
"block.create.purple_toolbox": "Caixa de ferramentas roxa",
"block.create.purple_valve_handle": "válvula roxa",
"block.create.radial_chassis": "Chassis Radial",
"block.create.railway_casing": "UNLOCALIZED: Railway Casing",
"block.create.raw_zinc_block": "Bloco de zinco bruto",
"block.create.red_nixie_tube": "Tubo nixie vermelho",
"block.create.red_sail": "Vela vermelha",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 228",
"_": "Missing Localizations: 229",
"_": "->------------------------] Game Elements [------------------------<-",
@ -396,6 +396,7 @@
"block.create.purple_toolbox": "Trusă De Scule Violetă",
"block.create.purple_valve_handle": "Mâner De Supapă Violet",
"block.create.radial_chassis": "Șasiu Radial",
"block.create.railway_casing": "UNLOCALIZED: Railway Casing",
"block.create.raw_zinc_block": "Bloc De Zinc Brut",
"block.create.red_nixie_tube": "Tub Nixie Roșu",
"block.create.red_sail": "Velă Roșie",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 605",
"_": "Missing Localizations: 606",
"_": "->------------------------] Game Elements [------------------------<-",
@ -396,6 +396,7 @@
"block.create.purple_toolbox": "UNLOCALIZED: Purple Toolbox",
"block.create.purple_valve_handle": "Фиолетовый ручной вентиль",
"block.create.radial_chassis": "Радиальное шасси",
"block.create.railway_casing": "UNLOCALIZED: Railway Casing",
"block.create.raw_zinc_block": "UNLOCALIZED: Block of Raw Zinc",
"block.create.red_nixie_tube": "Красный газоразрядный индикатор",
"block.create.red_sail": "Красный парус",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 227",
"_": "Missing Localizations: 228",
"_": "->------------------------] Game Elements [------------------------<-",
@ -396,6 +396,7 @@
"block.create.purple_toolbox": "紫色工具箱",
"block.create.purple_valve_handle": "紫色阀门手轮",
"block.create.radial_chassis": "旋转底盘",
"block.create.railway_casing": "UNLOCALIZED: Railway Casing",
"block.create.raw_zinc_block": "粗锌块",
"block.create.red_nixie_tube": "红色辉光管",
"block.create.red_sail": "红色风帆",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 619",
"_": "Missing Localizations: 620",
"_": "->------------------------] Game Elements [------------------------<-",
@ -396,6 +396,7 @@
"block.create.purple_toolbox": "UNLOCALIZED: Purple Toolbox",
"block.create.purple_valve_handle": "紫色閥門開關",
"block.create.radial_chassis": "旋轉底盤",
"block.create.railway_casing": "UNLOCALIZED: Railway Casing",
"block.create.raw_zinc_block": "UNLOCALIZED: Block of Raw Zinc",
"block.create.red_nixie_tube": "紅色真空管",
"block.create.red_sail": "紅色風帆",

View file

@ -0,0 +1,7 @@
{
"parent": "minecraft:block/cube_column",
"textures": {
"side": "create:block/railway_casing_side",
"end": "create:block/railway_casing"
}
}

View file

@ -0,0 +1,3 @@
{
"parent": "create:block/railway_casing"
}

View file

@ -0,0 +1,20 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1.0,
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"name": "create:railway_casing"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View file

@ -5,6 +5,7 @@
"create:brass_casing",
"create:copper_casing",
"create:shadow_steel_casing",
"create:refined_radiance_casing"
"create:refined_radiance_casing",
"create:railway_casing"
]
}

View file

@ -5,6 +5,7 @@
"create:brass_casing",
"create:copper_casing",
"create:shadow_steel_casing",
"create:refined_radiance_casing"
"create:refined_radiance_casing",
"create:railway_casing"
]
}

View file

@ -96,6 +96,7 @@
"create:flywheel",
"create:rotation_speed_controller",
"create:mechanical_arm",
"create:railway_casing",
"create:track_station",
"create:content_observer",
"create:stockpile_switch",

View file

@ -110,6 +110,7 @@
"create:rotation_speed_controller",
"create:mechanical_arm",
"create:track",
"create:railway_casing",
"create:track_station",
"create:track_signal",
"create:item_vault",

View file

@ -203,6 +203,7 @@ import com.simibubi.create.foundation.block.BlockStressDefaults;
import com.simibubi.create.foundation.block.CopperBlockSet;
import com.simibubi.create.foundation.block.DyedBlockList;
import com.simibubi.create.foundation.block.ItemUseOverrides;
import com.simibubi.create.foundation.block.connected.HorizontalCTBehaviour;
import com.simibubi.create.foundation.data.AssetLookup;
import com.simibubi.create.foundation.data.BlockStateGen;
import com.simibubi.create.foundation.data.BuilderTransformers;
@ -1355,6 +1356,12 @@ public class AllBlocks {
.build()
.register();
public static final BlockEntry<CasingBlock> RAILWAY_CASING = REGISTRATE.block("railway_casing", CasingBlock::new)
.transform(BuilderTransformers.layeredCasing(() -> AllSpriteShifts.RAILWAY_CASING_SIDE,
() -> AllSpriteShifts.RAILWAY_CASING))
.properties(p -> p.sound(SoundType.NETHERITE_BLOCK))
.register();
public static final BlockEntry<StationBlock> TRACK_STATION = REGISTRATE.block("track_station", StationBlock::new)
.initialProperties(SharedProperties::softMetal)
.properties(p -> p.sound(SoundType.NETHERITE_BLOCK))

View file

@ -27,13 +27,13 @@ public class AllSpriteShifts {
public static final CTSpriteShiftEntry FRAMED_GLASS =
getCT(OMNIDIRECTIONAL, "palettes/framed_glass", "palettes/framed_glass"),
HORIZONTAL_FRAMED_GLASS = getCT(CTType.HORIZONTAL_KRYPPERS, "palettes/framed_glass", "palettes/horizontal_framed_glass"),
HORIZONTAL_FRAMED_GLASS =
getCT(CTType.HORIZONTAL_KRYPPERS, "palettes/framed_glass", "palettes/horizontal_framed_glass"),
VERTICAL_FRAMED_GLASS = getCT(VERTICAL, "palettes/framed_glass", "palettes/vertical_framed_glass"),
ORNATE_IRON_WINDOW = vertical("palettes/ornate_iron_window");
public static final CTSpriteShiftEntry CRAFTER_FRONT = getCT(CTType.OMNIDIRECTIONAL, "crafter_top", "brass_casing"),
CRAFTER_SIDE = vertical("crafter_side"),
CRAFTER_OTHERSIDE = horizontal("crafter_side"),
CRAFTER_SIDE = vertical("crafter_side"), CRAFTER_OTHERSIDE = horizontal("crafter_side"),
ANDESITE_ENCASED_COGWHEEL_SIDE = vertical("andesite_encased_cogwheel_side"),
ANDESITE_ENCASED_COGWHEEL_OTHERSIDE = horizontal("andesite_encased_cogwheel_side"),
BRASS_ENCASED_COGWHEEL_SIDE = vertical("brass_encased_cogwheel_side"),
@ -43,11 +43,11 @@ public class AllSpriteShifts {
public static final CTSpriteShiftEntry ANDESITE_CASING = omni("andesite_casing"),
BRASS_CASING = omni("brass_casing"), COPPER_CASING = omni("copper_casing"),
SHADOW_STEEL_CASING = omni("shadow_steel_casing"), REFINED_RADIANCE_CASING = omni("refined_radiance_casing"),
RAILWAY_CASING = omni("railway_casing"), RAILWAY_CASING_SIDE = omni("railway_casing_side"),
CREATIVE_CASING = getCT(CTType.CROSS, "creative_casing");
public static final CTSpriteShiftEntry CHASSIS_SIDE = omni("linear_chassis_side"),
SECONDARY_CHASSIS_SIDE = omni("secondary_linear_chassis_side"),
CHASSIS = omni("linear_chassis_end"),
SECONDARY_CHASSIS_SIDE = omni("secondary_linear_chassis_side"), CHASSIS = omni("linear_chassis_end"),
CHASSIS_STICKY = omni("linear_chassis_end_sticky");
public static final CTSpriteShiftEntry BRASS_TUNNEL_TOP = vertical("brass_tunnel_top"),
@ -84,8 +84,7 @@ public class AllSpriteShifts {
private static Couple<CTSpriteShiftEntry> vault(String name) {
final String prefixed = "vault_" + name;
return Couple
.createWithContext(b -> getCT(CTType.CROSS, prefixed, b ? prefixed : prefixed + "_large"));
return Couple.createWithContext(b -> getCT(CTType.CROSS, prefixed, b ? prefixed : prefixed + "_large"));
}
//

View file

@ -32,6 +32,7 @@ import com.simibubi.create.content.logistics.trains.track.StandardBogeyBlock;
import com.simibubi.create.foundation.block.BlockStressDefaults;
import com.simibubi.create.foundation.block.ItemUseOverrides;
import com.simibubi.create.foundation.block.connected.CTSpriteShiftEntry;
import com.simibubi.create.foundation.block.connected.HorizontalCTBehaviour;
import com.tterrag.registrate.builders.BlockBuilder;
import com.tterrag.registrate.util.nullness.NonNullUnaryOperator;
@ -160,6 +161,23 @@ public class BuilderTransformers {
.build();
}
public static <B extends CasingBlock> NonNullUnaryOperator<BlockBuilder<B, CreateRegistrate>> layeredCasing(
Supplier<CTSpriteShiftEntry> ct, Supplier<CTSpriteShiftEntry> ct2) {
return b -> b.initialProperties(SharedProperties::stone)
.transform(axeOrPickaxe())
.blockstate((c, p) -> p.simpleBlock(c.get(), p.models()
.cubeColumn(c.getName(), ct.get()
.getOriginalResourceLocation(),
ct2.get()
.getOriginalResourceLocation())))
.onRegister(connectedTextures(() -> new HorizontalCTBehaviour(ct.get(), ct2.get())))
.onRegister(casingConnectivity((block, cc) -> cc.makeCasing(block, ct.get())))
.tag(AllBlockTags.CASING.tag)
.item()
.tag(AllItemTags.CASING.tag)
.build();
}
public static <B extends BeltTunnelBlock> NonNullUnaryOperator<BlockBuilder<B, CreateRegistrate>> beltTunnel(
String type, ResourceLocation particleTexture) {
return b -> b.initialProperties(SharedProperties::stone)

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB