Skip to content

Commit

Permalink
Fix #438: add starter (LV) diesel generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Technici4n committed Feb 18, 2023
1 parent bf174cf commit 2b7075d
Show file tree
Hide file tree
Showing 24 changed files with 212 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public FluidFuelsCategory() {

@Override
public void buildWorkstations(WorkstationConsumer consumer) {
consumer.accept("diesel_generator", "turbo_diesel_generator", "large_diesel_generator", "large_steam_boiler",
consumer.accept("starter_diesel_generator", "diesel_generator", "turbo_diesel_generator", "large_diesel_generator", "large_steam_boiler",
"advanced_large_steam_boiler",
"high_pressure_large_steam_boiler",
"high_pressure_advanced_large_steam_boiler");
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "modern_industrialization:block/starter_diesel_generator"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@
"block.modern_industrialization.stainless_steel_block": "Block of Stainless Steel",
"block.modern_industrialization.stainless_steel_machine_casing_pipe": "Stainless Steel Pipe Machine Casing",
"block.modern_industrialization.stainless_steel_tank": "Stainless Steel Tank",
"block.modern_industrialization.starter_diesel_generator": "Starter Diesel Generator",
"block.modern_industrialization.steam": "Steam",
"block.modern_industrialization.steam_blast_furnace": "Steam Blast Furnace",
"block.modern_industrialization.steam_cracked_heavy_fuel": "Steam-Cracked Heavy Fuel",
Expand Down Expand Up @@ -993,6 +994,7 @@
"item.modern_industrialization.tin_curved_plate": "Tin Curved Plate",
"item.modern_industrialization.tin_double_ingot": "Tin Double Ingot",
"item.modern_industrialization.tin_dust": "Tin Dust",
"item.modern_industrialization.tin_gear": "Tin Gear",
"item.modern_industrialization.tin_ingot": "Tin Ingot",
"item.modern_industrialization.tin_large_plate": "Tin Large Plate",
"item.modern_industrialization.tin_nugget": "Tin Nugget",
Expand Down Expand Up @@ -1375,6 +1377,7 @@
"tag.c.superconductor_tiny_dusts": "Superconductor Tiny Dusts",
"tag.c.tin_blocks": "Tin Blocks",
"tag.c.tin_dusts": "Tin Dusts",
"tag.c.tin_gears": "Tin Gears",
"tag.c.tin_ingots": "Tin Ingots",
"tag.c.tin_nuggets": "Tin Nuggets",
"tag.c.tin_ores": "Tin Ores",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"__summary": "1000 ok, 649 missing, 368 unused",
"__summary": "1001 ok, 651 missing, 367 unused",
"advancements.modern_industrialization.advanced_upgrade": "기계 빠르게-빠르게",
"advancements.modern_industrialization.advanced_upgrade.description": "발전된 업그레이드를 제작하세요",
"advancements.modern_industrialization.analog_circuit": "RLC 회로",
Expand Down Expand Up @@ -426,6 +426,7 @@
"block.modern_industrialization.stainless_steel_block": "스테인리스강 블록",
"block.modern_industrialization.stainless_steel_machine_casing_pipe": "스테인리스강 파이프 기계 케이싱",
"block.modern_industrialization.stainless_steel_tank": "스테인리스강 탱크",
"block.modern_industrialization.starter_diesel_generator": "[UNTRANSLATED] Starter Diesel Generator",
"block.modern_industrialization.steam": "증기",
"block.modern_industrialization.steam_blast_furnace": "증기 용광로",
"block.modern_industrialization.steam_cracked_heavy_fuel": "[UNTRANSLATED] Steam-Cracked Heavy Fuel",
Expand Down Expand Up @@ -1183,7 +1184,7 @@
"item.modern_industrialization.tin_curved_plate": "주석 곡선 판",
"item.modern_industrialization.tin_double_ingot": "주석 이중 주괴",
"item.modern_industrialization.tin_dust": "주석 가루",
"item.modern_industrialization.tin_gear": "[UNUSED, PLEASE REMOVE] 주석 기어",
"item.modern_industrialization.tin_gear": "주석 기어",
"item.modern_industrialization.tin_ingot": "주석 주괴",
"item.modern_industrialization.tin_large_plate": "주석 대형 판",
"item.modern_industrialization.tin_nugget": "주석 조각",
Expand Down Expand Up @@ -1584,6 +1585,7 @@
"tag.c.superconductor_tiny_dusts": "[UNTRANSLATED] Superconductor Tiny Dusts",
"tag.c.tin_blocks": "[UNTRANSLATED] Tin Blocks",
"tag.c.tin_dusts": "[UNTRANSLATED] Tin Dusts",
"tag.c.tin_gears": "[UNTRANSLATED] Tin Gears",
"tag.c.tin_ingots": "[UNTRANSLATED] Tin Ingots",
"tag.c.tin_nuggets": "[UNTRANSLATED] Tin Nuggets",
"tag.c.tin_ores": "[UNTRANSLATED] Tin Ores",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"__summary": "1304 ok, 345 missing, 2 unused",
"__summary": "1304 ok, 348 missing, 2 unused",
"advancements.modern_industrialization.advanced_upgrade": "Aceleração²",
"advancements.modern_industrialization.advanced_upgrade.description": "Fabrique uma Melhoria Avançada",
"advancements.modern_industrialization.analog_circuit": "Circuitos RLC",
Expand Down Expand Up @@ -374,6 +374,7 @@
"block.modern_industrialization.stainless_steel_block": "Bloco de Aço Inoxidável",
"block.modern_industrialization.stainless_steel_machine_casing_pipe": "Carcaça de Máquina de Aço Inoxidável com Tubulação",
"block.modern_industrialization.stainless_steel_tank": "Tanque de Aço Inoxidável",
"block.modern_industrialization.starter_diesel_generator": "[UNTRANSLATED] Starter Diesel Generator",
"block.modern_industrialization.steam": "Vapor",
"block.modern_industrialization.steam_blast_furnace": "Alto-forno de Vapor",
"block.modern_industrialization.steam_cracked_heavy_fuel": "Combustível Pesado Craqueado",
Expand Down Expand Up @@ -994,6 +995,7 @@
"item.modern_industrialization.tin_curved_plate": "Chapa Curvada de Estanho",
"item.modern_industrialization.tin_double_ingot": "Barra Dupla de Estanho",
"item.modern_industrialization.tin_dust": "Pó de Estanho",
"item.modern_industrialization.tin_gear": "[UNTRANSLATED] Tin Gear",
"item.modern_industrialization.tin_ingot": "Barra de Estanho",
"item.modern_industrialization.tin_large_plate": "Chapa Grande de Estanho",
"item.modern_industrialization.tin_nugget": "Pepita de Estanho",
Expand Down Expand Up @@ -1376,6 +1378,7 @@
"tag.c.superconductor_tiny_dusts": "[UNTRANSLATED] Superconductor Tiny Dusts",
"tag.c.tin_blocks": "[UNTRANSLATED] Tin Blocks",
"tag.c.tin_dusts": "[UNTRANSLATED] Tin Dusts",
"tag.c.tin_gears": "[UNTRANSLATED] Tin Gears",
"tag.c.tin_ingots": "[UNTRANSLATED] Tin Ingots",
"tag.c.tin_nuggets": "[UNTRANSLATED] Tin Nuggets",
"tag.c.tin_ores": "[UNTRANSLATED] Tin Ores",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"__summary": "1304 ok, 345 missing, 2 unused",
"__summary": "1304 ok, 348 missing, 2 unused",
"advancements.modern_industrialization.advanced_upgrade": "Станочное ускорение-разгон",
"advancements.modern_industrialization.advanced_upgrade.description": "Создай усовершенствованную модернизацию",
"advancements.modern_industrialization.analog_circuit": "РИК-микросхемы",
Expand Down Expand Up @@ -374,6 +374,7 @@
"block.modern_industrialization.stainless_steel_block": "Блок нержавеющей стали",
"block.modern_industrialization.stainless_steel_machine_casing_pipe": "Станковый защитный кожух для трубы из нержавеющей стали",
"block.modern_industrialization.stainless_steel_tank": "Бак из нержавеющей стали",
"block.modern_industrialization.starter_diesel_generator": "[UNTRANSLATED] Starter Diesel Generator",
"block.modern_industrialization.steam": "Пар",
"block.modern_industrialization.steam_blast_furnace": "Паровая доменная печь",
"block.modern_industrialization.steam_cracked_heavy_fuel": "Тяжёлое топливо парофазного крекинга",
Expand Down Expand Up @@ -994,6 +995,7 @@
"item.modern_industrialization.tin_curved_plate": "Оловянная изогнутая пластина",
"item.modern_industrialization.tin_double_ingot": "Двойной слиток олова",
"item.modern_industrialization.tin_dust": "Оловянный порошок",
"item.modern_industrialization.tin_gear": "[UNTRANSLATED] Tin Gear",
"item.modern_industrialization.tin_ingot": "Оловянный слиток",
"item.modern_industrialization.tin_large_plate": "Большая оловянная пластина",
"item.modern_industrialization.tin_nugget": "Кусочек олова",
Expand Down Expand Up @@ -1376,6 +1378,7 @@
"tag.c.superconductor_tiny_dusts": "[UNTRANSLATED] Superconductor Tiny Dusts",
"tag.c.tin_blocks": "[UNTRANSLATED] Tin Blocks",
"tag.c.tin_dusts": "[UNTRANSLATED] Tin Dusts",
"tag.c.tin_gears": "[UNTRANSLATED] Tin Gears",
"tag.c.tin_ingots": "[UNTRANSLATED] Tin Ingots",
"tag.c.tin_nuggets": "[UNTRANSLATED] Tin Nuggets",
"tag.c.tin_ores": "[UNTRANSLATED] Tin Ores",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"__summary": "1004 ok, 645 missing, 0 unused",
"__summary": "1004 ok, 648 missing, 0 unused",
"advancements.modern_industrialization.advanced_upgrade": "机器再加速",
"advancements.modern_industrialization.advanced_upgrade.description": "制作进阶升级",
"advancements.modern_industrialization.analog_circuit": "RLC电路",
Expand Down Expand Up @@ -374,6 +374,7 @@
"block.modern_industrialization.stainless_steel_block": "不锈钢块",
"block.modern_industrialization.stainless_steel_machine_casing_pipe": "不锈钢管道机器外壳",
"block.modern_industrialization.stainless_steel_tank": "不锈钢储罐",
"block.modern_industrialization.starter_diesel_generator": "[UNTRANSLATED] Starter Diesel Generator",
"block.modern_industrialization.steam": "蒸汽",
"block.modern_industrialization.steam_blast_furnace": "蒸汽高炉",
"block.modern_industrialization.steam_cracked_heavy_fuel": "蒸汽裂解重燃油",
Expand Down Expand Up @@ -994,6 +995,7 @@
"item.modern_industrialization.tin_curved_plate": "弯曲锡板",
"item.modern_industrialization.tin_double_ingot": "锡双层锭",
"item.modern_industrialization.tin_dust": "锡粉",
"item.modern_industrialization.tin_gear": "[UNTRANSLATED] Tin Gear",
"item.modern_industrialization.tin_ingot": "锡锭",
"item.modern_industrialization.tin_large_plate": "大型锡板",
"item.modern_industrialization.tin_nugget": "锡粒",
Expand Down Expand Up @@ -1376,6 +1378,7 @@
"tag.c.superconductor_tiny_dusts": "[UNTRANSLATED] Superconductor Tiny Dusts",
"tag.c.tin_blocks": "[UNTRANSLATED] Tin Blocks",
"tag.c.tin_dusts": "[UNTRANSLATED] Tin Dusts",
"tag.c.tin_gears": "[UNTRANSLATED] Tin Gears",
"tag.c.tin_ingots": "[UNTRANSLATED] Tin Ingots",
"tag.c.tin_nuggets": "[UNTRANSLATED] Tin Nuggets",
"tag.c.tin_ores": "[UNTRANSLATED] Tin Ores",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"__summary": "410 ok, 1239 missing, 274 unused",
"__summary": "411 ok, 1241 missing, 273 unused",
"advancements.modern_industrialization.advanced_upgrade": "[UNTRANSLATED] Machine Speedup-Speedup",
"advancements.modern_industrialization.advanced_upgrade.description": "[UNTRANSLATED] Craft a Advanced Upgrade",
"advancements.modern_industrialization.analog_circuit": "[UNTRANSLATED] RLC Circuits",
Expand Down Expand Up @@ -429,6 +429,7 @@
"block.modern_industrialization.stainless_steel_block": "不生鏽鋼塊",
"block.modern_industrialization.stainless_steel_machine_casing_pipe": "[UNTRANSLATED] Stainless Steel Pipe Machine Casing",
"block.modern_industrialization.stainless_steel_tank": "[UNTRANSLATED] Stainless Steel Tank",
"block.modern_industrialization.starter_diesel_generator": "[UNTRANSLATED] Starter Diesel Generator",
"block.modern_industrialization.steam": "蒸汽",
"block.modern_industrialization.steam_blast_furnace": "蒸汽高爐",
"block.modern_industrialization.steam_cracked_heavy_fuel": "[UNTRANSLATED] Steam-Cracked Heavy Fuel",
Expand Down Expand Up @@ -1169,7 +1170,7 @@
"item.modern_industrialization.tin_curved_plate": "彎曲錫板",
"item.modern_industrialization.tin_double_ingot": "錫雙層錠",
"item.modern_industrialization.tin_dust": "錫粉",
"item.modern_industrialization.tin_gear": "[UNUSED, PLEASE REMOVE] 錫齒輪",
"item.modern_industrialization.tin_gear": "錫齒輪",
"item.modern_industrialization.tin_ingot": "錫錠",
"item.modern_industrialization.tin_large_plate": "大型錫板",
"item.modern_industrialization.tin_nugget": "錫粒",
Expand Down Expand Up @@ -1574,6 +1575,7 @@
"tag.c.superconductor_tiny_dusts": "[UNTRANSLATED] Superconductor Tiny Dusts",
"tag.c.tin_blocks": "[UNTRANSLATED] Tin Blocks",
"tag.c.tin_dusts": "[UNTRANSLATED] Tin Dusts",
"tag.c.tin_gears": "[UNTRANSLATED] Tin Gears",
"tag.c.tin_ingots": "[UNTRANSLATED] Tin Ingots",
"tag.c.tin_nuggets": "[UNTRANSLATED] Tin Nuggets",
"tag.c.tin_ores": "[UNTRANSLATED] Tin Ores",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "modern_industrialization:block/starter_diesel_generator"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "modern_industrialization:item/tin_gear"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"default_overlays": {
"fluid_auto": "modern_industrialization:block/overlays/fluid_auto",
"front": "modern_industrialization:block/machines/diesel_generator/overlay_front",
"front_active": "modern_industrialization:block/machines/diesel_generator/overlay_front_active",
"item_auto": "modern_industrialization:block/overlays/item_auto",
"output": "modern_industrialization:block/overlays/output",
"side": "modern_industrialization:block/machines/diesel_generator/overlay_side",
"side_active": "modern_industrialization:block/machines/diesel_generator/overlay_side_active",
"top": "modern_industrialization:block/machines/diesel_generator/overlay_top",
"top_active": "modern_industrialization:block/machines/diesel_generator/overlay_top_active"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/generated/resources/data/c/tags/items/tin_gears.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"modern_industrialization:tin_gear"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@
"modern_industrialization:stainless_steel_block",
"modern_industrialization:stainless_steel_machine_casing_pipe",
"modern_industrialization:stainless_steel_tank",
"modern_industrialization:starter_diesel_generator",
"modern_industrialization:steam_blast_furnace",
"modern_industrialization:steam_quarry",
"modern_industrialization:steel_barrel",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@
"modern_industrialization:stainless_steel_block",
"modern_industrialization:stainless_steel_machine_casing_pipe",
"modern_industrialization:stainless_steel_tank",
"modern_industrialization:starter_diesel_generator",
"modern_industrialization:steam_blast_furnace",
"modern_industrialization:steam_quarry",
"modern_industrialization:steel_barrel",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "modern_industrialization:starter_diesel_generator"
}
],
"rolls": 1.0
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"type": "modern_industrialization:assembler",
"duration": 200,
"eu": 8,
"item_inputs": [
{
"amount": 1,
"item": "modern_industrialization:basic_machine_hull"
},
{
"amount": 2,
"item": "modern_industrialization:pump"
},
{
"amount": 2,
"tag": "c:tin_gears"
},
{
"amount": 3,
"item": "modern_industrialization:tin_cable"
},
{
"amount": 1,
"item": "modern_industrialization:analog_circuit"
}
],
"item_outputs": [
{
"amount": 1,
"item": "modern_industrialization:starter_diesel_generator"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"type": "modern_industrialization:assembler",
"duration": 100,
"eu": 2,
"fluid_inputs": [
{
"amount": 100,
"fluid": "modern_industrialization:soldering_alloy"
}
],
"item_inputs": [
{
"amount": 4,
"tag": "c:tin_plates"
},
{
"amount": 1,
"item": "modern_industrialization:tin_ring"
}
],
"item_outputs": [
{
"amount": 2,
"item": "modern_industrialization:tin_gear"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"key": {
"P": {
"tag": "c:tin_plates"
},
"R": {
"item": "modern_industrialization:tin_ring"
},
"b": {
"item": "modern_industrialization:tin_bolt"
}
},
"pattern": [
"PbP",
"bRb",
"PbP"
],
"result": {
"count": 1,
"item": "modern_industrialization:tin_gear"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "modern_industrialization:macerator",
"duration": 100,
"eu": 2,
"item_inputs": [
{
"amount": 1,
"tag": "c:tin_gears"
}
],
"item_outputs": [
{
"amount": 2,
"item": "modern_industrialization:tin_dust"
}
]
}
Loading

0 comments on commit 2b7075d

Please sign in to comment.