From beef6be76bfd3bc19412f679b601ca63788718a1 Mon Sep 17 00:00:00 2001 From: PouffyDev <99536749+pouffy@users.noreply.github.com> Date: Mon, 4 Aug 2025 20:11:39 +0100 Subject: [PATCH] Remapper - Added a remapper for ID changes. - Flamethrowers now remap their components from the old format to the new one. - Renamed encased pipes and their assets --- .../copper_encased_cast_iron_pipe.json | 110 ------------------ ...s_pipe.json => encased_aluminum_pipe.json} | 24 ++-- ...teel_pipe.json => encased_brass_pipe.json} | 24 ++-- ..._pipe.json => encased_cast_iron_pipe.json} | 24 ++-- ...um_pipe.json => encased_plastic_pipe.json} | 24 ++-- .../tfmg/blockstates/encased_steel_pipe.json | 110 ++++++++++++++++++ .../resources/assets/tfmg/lang/en_ud.json | 59 ++++++++-- .../resources/assets/tfmg/lang/en_us.json | 59 ++++++++-- .../blocks/encased_aluminum_pipe.json | 21 ++++ .../loot_table/blocks/encased_brass_pipe.json | 21 ++++ .../blocks/encased_cast_iron_pipe.json | 21 ++++ .../blocks/encased_plastic_pipe.json | 21 ++++ .../loot_table/blocks/encased_steel_pipe.json | 21 ++++ src/main/java/com/drmangotea/tfmg/TFMG.java | 1 - .../drmangotea/tfmg/base/TFMGRemapper.java | 56 +++++++++ .../tfmg/base/TFMGSpriteShifts.java | 10 +- .../drmangotea/tfmg/base/lang/TFMGLang.java | 2 +- .../content/engines/FluidContainingItem.java | 31 ++++- .../flamethrover/FlamethrowerFuel.java | 7 ++ .../flamethrover/FlamethrowerItem.java | 72 ++++++++---- .../tfmg/ponder/TFMGPonderScenes.java | 39 +++++++ .../tfmg/registry/TFMGDataComponents.java | 8 +- .../block_flat.json | 16 --- .../block_open.json | 16 --- .../block_flat.json | 4 +- .../block_open.json | 4 +- .../block_flat.json | 4 +- .../block_open.json | 4 +- .../block_flat.json | 4 +- .../block_open.json | 4 +- .../block_flat.json | 4 +- .../block_open.json | 4 +- .../block/encased_steel_pipe/block_flat.json | 16 +++ .../block/encased_steel_pipe/block_open.json | 16 +++ ...num_pipe.png => encased_aluminum_pipe.png} | Bin ...ide.png => encased_aluminum_pipe_side.png} | Bin ... encased_aluminum_pipe_side_connected.png} | Bin ..._brass_pipe.png => encased_brass_pipe.png} | Bin ...e_side.png => encased_brass_pipe_side.png} | Bin ... => encased_brass_pipe_side_connected.png} | Bin ...on_pipe.png => encased_cast_iron_pipe.png} | Bin ...de.png => encased_cast_iron_pipe_side.png} | Bin ...encased_cast_iron_pipe_side_connected.png} | Bin ...ed_lead_pipe.png => encased_lead_pipe.png} | Bin ...stic_pipe.png => encased_plastic_pipe.png} | Bin ...side.png => encased_plastic_pipe_side.png} | Bin ...> encased_plastic_pipe_side_connected.png} | Bin ..._steel_pipe.png => encased_steel_pipe.png} | Bin ...e_side.png => encased_steel_pipe_side.png} | Bin ... => encased_steel_pipe_side_connected.png} | Bin 50 files changed, 599 insertions(+), 262 deletions(-) delete mode 100644 src/generated/resources/assets/tfmg/blockstates/copper_encased_cast_iron_pipe.json rename src/generated/resources/assets/tfmg/blockstates/{copper_encased_brass_pipe.json => encased_aluminum_pipe.json} (60%) rename src/generated/resources/assets/tfmg/blockstates/{copper_encased_steel_pipe.json => encased_brass_pipe.json} (60%) rename src/generated/resources/assets/tfmg/blockstates/{copper_encased_plastic_pipe.json => encased_cast_iron_pipe.json} (59%) rename src/generated/resources/assets/tfmg/blockstates/{copper_encased_aluminum_pipe.json => encased_plastic_pipe.json} (59%) create mode 100644 src/generated/resources/assets/tfmg/blockstates/encased_steel_pipe.json create mode 100644 src/generated/resources/data/tfmg/loot_table/blocks/encased_aluminum_pipe.json create mode 100644 src/generated/resources/data/tfmg/loot_table/blocks/encased_brass_pipe.json create mode 100644 src/generated/resources/data/tfmg/loot_table/blocks/encased_cast_iron_pipe.json create mode 100644 src/generated/resources/data/tfmg/loot_table/blocks/encased_plastic_pipe.json create mode 100644 src/generated/resources/data/tfmg/loot_table/blocks/encased_steel_pipe.json create mode 100644 src/main/java/com/drmangotea/tfmg/base/TFMGRemapper.java delete mode 100644 src/main/resources/assets/tfmg/models/block/copper_encased_cast_iron_pipe/block_flat.json delete mode 100644 src/main/resources/assets/tfmg/models/block/copper_encased_cast_iron_pipe/block_open.json rename src/main/resources/assets/tfmg/models/block/{copper_encased_steel_pipe => encased_aluminum_pipe}/block_flat.json (66%) rename src/main/resources/assets/tfmg/models/block/{copper_encased_steel_pipe => encased_aluminum_pipe}/block_open.json (66%) rename src/main/resources/assets/tfmg/models/block/{copper_encased_brass_pipe => encased_brass_pipe}/block_flat.json (66%) rename src/main/resources/assets/tfmg/models/block/{copper_encased_brass_pipe => encased_brass_pipe}/block_open.json (66%) rename src/main/resources/assets/tfmg/models/block/{copper_encased_plastic_pipe => encased_cast_iron_pipe}/block_flat.json (65%) rename src/main/resources/assets/tfmg/models/block/{copper_encased_plastic_pipe => encased_cast_iron_pipe}/block_open.json (65%) rename src/main/resources/assets/tfmg/models/block/{copper_encased_aluminum_pipe => encased_plastic_pipe}/block_flat.json (65%) rename src/main/resources/assets/tfmg/models/block/{copper_encased_aluminum_pipe => encased_plastic_pipe}/block_open.json (65%) create mode 100644 src/main/resources/assets/tfmg/models/block/encased_steel_pipe/block_flat.json create mode 100644 src/main/resources/assets/tfmg/models/block/encased_steel_pipe/block_open.json rename src/main/resources/assets/tfmg/textures/block/{copper_encased_aluminum_pipe.png => encased_aluminum_pipe.png} (100%) rename src/main/resources/assets/tfmg/textures/block/{copper_encased_aluminum_pipe_side.png => encased_aluminum_pipe_side.png} (100%) rename src/main/resources/assets/tfmg/textures/block/{copper_encased_aluminum_pipe_side_connected.png => encased_aluminum_pipe_side_connected.png} (100%) rename src/main/resources/assets/tfmg/textures/block/{copper_encased_brass_pipe.png => encased_brass_pipe.png} (100%) rename src/main/resources/assets/tfmg/textures/block/{copper_encased_brass_pipe_side.png => encased_brass_pipe_side.png} (100%) rename src/main/resources/assets/tfmg/textures/block/{copper_encased_brass_pipe_side_connected.png => encased_brass_pipe_side_connected.png} (100%) rename src/main/resources/assets/tfmg/textures/block/{copper_encased_cast_iron_pipe.png => encased_cast_iron_pipe.png} (100%) rename src/main/resources/assets/tfmg/textures/block/{copper_encased_cast_iron_pipe_side.png => encased_cast_iron_pipe_side.png} (100%) rename src/main/resources/assets/tfmg/textures/block/{copper_encased_cast_iron_pipe_side_connected.png => encased_cast_iron_pipe_side_connected.png} (100%) rename src/main/resources/assets/tfmg/textures/block/{copper_encased_lead_pipe.png => encased_lead_pipe.png} (100%) rename src/main/resources/assets/tfmg/textures/block/{copper_encased_plastic_pipe.png => encased_plastic_pipe.png} (100%) rename src/main/resources/assets/tfmg/textures/block/{copper_encased_plastic_pipe_side.png => encased_plastic_pipe_side.png} (100%) rename src/main/resources/assets/tfmg/textures/block/{copper_encased_plastic_pipe_side_connected.png => encased_plastic_pipe_side_connected.png} (100%) rename src/main/resources/assets/tfmg/textures/block/{copper_encased_steel_pipe.png => encased_steel_pipe.png} (100%) rename src/main/resources/assets/tfmg/textures/block/{copper_encased_steel_pipe_side.png => encased_steel_pipe_side.png} (100%) rename src/main/resources/assets/tfmg/textures/block/{copper_encased_steel_pipe_side_connected.png => encased_steel_pipe_side_connected.png} (100%) diff --git a/src/generated/resources/assets/tfmg/blockstates/copper_encased_cast_iron_pipe.json b/src/generated/resources/assets/tfmg/blockstates/copper_encased_cast_iron_pipe.json deleted file mode 100644 index 9626bb9f..00000000 --- a/src/generated/resources/assets/tfmg/blockstates/copper_encased_cast_iron_pipe.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "multipart": [ - { - "apply": { - "model": "tfmg:block/copper_encased_cast_iron_pipe/block_flat", - "x": -90 - }, - "when": { - "down": "false" - } - }, - { - "apply": { - "model": "tfmg:block/copper_encased_cast_iron_pipe/block_flat", - "x": 90 - }, - "when": { - "up": "false" - } - }, - { - "apply": { - "model": "tfmg:block/copper_encased_cast_iron_pipe/block_flat", - "y": 180 - }, - "when": { - "north": "false" - } - }, - { - "apply": { - "model": "tfmg:block/copper_encased_cast_iron_pipe/block_flat" - }, - "when": { - "south": "false" - } - }, - { - "apply": { - "model": "tfmg:block/copper_encased_cast_iron_pipe/block_flat", - "y": 90 - }, - "when": { - "west": "false" - } - }, - { - "apply": { - "model": "tfmg:block/copper_encased_cast_iron_pipe/block_flat", - "y": 270 - }, - "when": { - "east": "false" - } - }, - { - "apply": { - "model": "tfmg:block/copper_encased_cast_iron_pipe/block_open", - "x": -90 - }, - "when": { - "down": "true" - } - }, - { - "apply": { - "model": "tfmg:block/copper_encased_cast_iron_pipe/block_open", - "x": 90 - }, - "when": { - "up": "true" - } - }, - { - "apply": { - "model": "tfmg:block/copper_encased_cast_iron_pipe/block_open", - "y": 180 - }, - "when": { - "north": "true" - } - }, - { - "apply": { - "model": "tfmg:block/copper_encased_cast_iron_pipe/block_open" - }, - "when": { - "south": "true" - } - }, - { - "apply": { - "model": "tfmg:block/copper_encased_cast_iron_pipe/block_open", - "y": 90 - }, - "when": { - "west": "true" - } - }, - { - "apply": { - "model": "tfmg:block/copper_encased_cast_iron_pipe/block_open", - "y": 270 - }, - "when": { - "east": "true" - } - } - ] -} \ No newline at end of file diff --git a/src/generated/resources/assets/tfmg/blockstates/copper_encased_brass_pipe.json b/src/generated/resources/assets/tfmg/blockstates/encased_aluminum_pipe.json similarity index 60% rename from src/generated/resources/assets/tfmg/blockstates/copper_encased_brass_pipe.json rename to src/generated/resources/assets/tfmg/blockstates/encased_aluminum_pipe.json index 59d8590f..420ffbd4 100644 --- a/src/generated/resources/assets/tfmg/blockstates/copper_encased_brass_pipe.json +++ b/src/generated/resources/assets/tfmg/blockstates/encased_aluminum_pipe.json @@ -2,7 +2,7 @@ "multipart": [ { "apply": { - "model": "tfmg:block/copper_encased_brass_pipe/block_flat", + "model": "tfmg:block/encased_aluminum_pipe/block_flat", "x": -90 }, "when": { @@ -11,7 +11,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_brass_pipe/block_flat", + "model": "tfmg:block/encased_aluminum_pipe/block_flat", "x": 90 }, "when": { @@ -20,7 +20,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_brass_pipe/block_flat", + "model": "tfmg:block/encased_aluminum_pipe/block_flat", "y": 180 }, "when": { @@ -29,7 +29,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_brass_pipe/block_flat" + "model": "tfmg:block/encased_aluminum_pipe/block_flat" }, "when": { "south": "false" @@ -37,7 +37,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_brass_pipe/block_flat", + "model": "tfmg:block/encased_aluminum_pipe/block_flat", "y": 90 }, "when": { @@ -46,7 +46,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_brass_pipe/block_flat", + "model": "tfmg:block/encased_aluminum_pipe/block_flat", "y": 270 }, "when": { @@ -55,7 +55,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_brass_pipe/block_open", + "model": "tfmg:block/encased_aluminum_pipe/block_open", "x": -90 }, "when": { @@ -64,7 +64,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_brass_pipe/block_open", + "model": "tfmg:block/encased_aluminum_pipe/block_open", "x": 90 }, "when": { @@ -73,7 +73,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_brass_pipe/block_open", + "model": "tfmg:block/encased_aluminum_pipe/block_open", "y": 180 }, "when": { @@ -82,7 +82,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_brass_pipe/block_open" + "model": "tfmg:block/encased_aluminum_pipe/block_open" }, "when": { "south": "true" @@ -90,7 +90,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_brass_pipe/block_open", + "model": "tfmg:block/encased_aluminum_pipe/block_open", "y": 90 }, "when": { @@ -99,7 +99,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_brass_pipe/block_open", + "model": "tfmg:block/encased_aluminum_pipe/block_open", "y": 270 }, "when": { diff --git a/src/generated/resources/assets/tfmg/blockstates/copper_encased_steel_pipe.json b/src/generated/resources/assets/tfmg/blockstates/encased_brass_pipe.json similarity index 60% rename from src/generated/resources/assets/tfmg/blockstates/copper_encased_steel_pipe.json rename to src/generated/resources/assets/tfmg/blockstates/encased_brass_pipe.json index 82007811..be280f3d 100644 --- a/src/generated/resources/assets/tfmg/blockstates/copper_encased_steel_pipe.json +++ b/src/generated/resources/assets/tfmg/blockstates/encased_brass_pipe.json @@ -2,7 +2,7 @@ "multipart": [ { "apply": { - "model": "tfmg:block/copper_encased_steel_pipe/block_flat", + "model": "tfmg:block/encased_brass_pipe/block_flat", "x": -90 }, "when": { @@ -11,7 +11,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_steel_pipe/block_flat", + "model": "tfmg:block/encased_brass_pipe/block_flat", "x": 90 }, "when": { @@ -20,7 +20,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_steel_pipe/block_flat", + "model": "tfmg:block/encased_brass_pipe/block_flat", "y": 180 }, "when": { @@ -29,7 +29,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_steel_pipe/block_flat" + "model": "tfmg:block/encased_brass_pipe/block_flat" }, "when": { "south": "false" @@ -37,7 +37,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_steel_pipe/block_flat", + "model": "tfmg:block/encased_brass_pipe/block_flat", "y": 90 }, "when": { @@ -46,7 +46,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_steel_pipe/block_flat", + "model": "tfmg:block/encased_brass_pipe/block_flat", "y": 270 }, "when": { @@ -55,7 +55,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_steel_pipe/block_open", + "model": "tfmg:block/encased_brass_pipe/block_open", "x": -90 }, "when": { @@ -64,7 +64,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_steel_pipe/block_open", + "model": "tfmg:block/encased_brass_pipe/block_open", "x": 90 }, "when": { @@ -73,7 +73,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_steel_pipe/block_open", + "model": "tfmg:block/encased_brass_pipe/block_open", "y": 180 }, "when": { @@ -82,7 +82,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_steel_pipe/block_open" + "model": "tfmg:block/encased_brass_pipe/block_open" }, "when": { "south": "true" @@ -90,7 +90,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_steel_pipe/block_open", + "model": "tfmg:block/encased_brass_pipe/block_open", "y": 90 }, "when": { @@ -99,7 +99,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_steel_pipe/block_open", + "model": "tfmg:block/encased_brass_pipe/block_open", "y": 270 }, "when": { diff --git a/src/generated/resources/assets/tfmg/blockstates/copper_encased_plastic_pipe.json b/src/generated/resources/assets/tfmg/blockstates/encased_cast_iron_pipe.json similarity index 59% rename from src/generated/resources/assets/tfmg/blockstates/copper_encased_plastic_pipe.json rename to src/generated/resources/assets/tfmg/blockstates/encased_cast_iron_pipe.json index 0a40bf5b..542390dd 100644 --- a/src/generated/resources/assets/tfmg/blockstates/copper_encased_plastic_pipe.json +++ b/src/generated/resources/assets/tfmg/blockstates/encased_cast_iron_pipe.json @@ -2,7 +2,7 @@ "multipart": [ { "apply": { - "model": "tfmg:block/copper_encased_plastic_pipe/block_flat", + "model": "tfmg:block/encased_cast_iron_pipe/block_flat", "x": -90 }, "when": { @@ -11,7 +11,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_plastic_pipe/block_flat", + "model": "tfmg:block/encased_cast_iron_pipe/block_flat", "x": 90 }, "when": { @@ -20,7 +20,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_plastic_pipe/block_flat", + "model": "tfmg:block/encased_cast_iron_pipe/block_flat", "y": 180 }, "when": { @@ -29,7 +29,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_plastic_pipe/block_flat" + "model": "tfmg:block/encased_cast_iron_pipe/block_flat" }, "when": { "south": "false" @@ -37,7 +37,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_plastic_pipe/block_flat", + "model": "tfmg:block/encased_cast_iron_pipe/block_flat", "y": 90 }, "when": { @@ -46,7 +46,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_plastic_pipe/block_flat", + "model": "tfmg:block/encased_cast_iron_pipe/block_flat", "y": 270 }, "when": { @@ -55,7 +55,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_plastic_pipe/block_open", + "model": "tfmg:block/encased_cast_iron_pipe/block_open", "x": -90 }, "when": { @@ -64,7 +64,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_plastic_pipe/block_open", + "model": "tfmg:block/encased_cast_iron_pipe/block_open", "x": 90 }, "when": { @@ -73,7 +73,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_plastic_pipe/block_open", + "model": "tfmg:block/encased_cast_iron_pipe/block_open", "y": 180 }, "when": { @@ -82,7 +82,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_plastic_pipe/block_open" + "model": "tfmg:block/encased_cast_iron_pipe/block_open" }, "when": { "south": "true" @@ -90,7 +90,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_plastic_pipe/block_open", + "model": "tfmg:block/encased_cast_iron_pipe/block_open", "y": 90 }, "when": { @@ -99,7 +99,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_plastic_pipe/block_open", + "model": "tfmg:block/encased_cast_iron_pipe/block_open", "y": 270 }, "when": { diff --git a/src/generated/resources/assets/tfmg/blockstates/copper_encased_aluminum_pipe.json b/src/generated/resources/assets/tfmg/blockstates/encased_plastic_pipe.json similarity index 59% rename from src/generated/resources/assets/tfmg/blockstates/copper_encased_aluminum_pipe.json rename to src/generated/resources/assets/tfmg/blockstates/encased_plastic_pipe.json index 7ea55670..9f72f1b4 100644 --- a/src/generated/resources/assets/tfmg/blockstates/copper_encased_aluminum_pipe.json +++ b/src/generated/resources/assets/tfmg/blockstates/encased_plastic_pipe.json @@ -2,7 +2,7 @@ "multipart": [ { "apply": { - "model": "tfmg:block/copper_encased_aluminum_pipe/block_flat", + "model": "tfmg:block/encased_plastic_pipe/block_flat", "x": -90 }, "when": { @@ -11,7 +11,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_aluminum_pipe/block_flat", + "model": "tfmg:block/encased_plastic_pipe/block_flat", "x": 90 }, "when": { @@ -20,7 +20,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_aluminum_pipe/block_flat", + "model": "tfmg:block/encased_plastic_pipe/block_flat", "y": 180 }, "when": { @@ -29,7 +29,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_aluminum_pipe/block_flat" + "model": "tfmg:block/encased_plastic_pipe/block_flat" }, "when": { "south": "false" @@ -37,7 +37,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_aluminum_pipe/block_flat", + "model": "tfmg:block/encased_plastic_pipe/block_flat", "y": 90 }, "when": { @@ -46,7 +46,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_aluminum_pipe/block_flat", + "model": "tfmg:block/encased_plastic_pipe/block_flat", "y": 270 }, "when": { @@ -55,7 +55,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_aluminum_pipe/block_open", + "model": "tfmg:block/encased_plastic_pipe/block_open", "x": -90 }, "when": { @@ -64,7 +64,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_aluminum_pipe/block_open", + "model": "tfmg:block/encased_plastic_pipe/block_open", "x": 90 }, "when": { @@ -73,7 +73,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_aluminum_pipe/block_open", + "model": "tfmg:block/encased_plastic_pipe/block_open", "y": 180 }, "when": { @@ -82,7 +82,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_aluminum_pipe/block_open" + "model": "tfmg:block/encased_plastic_pipe/block_open" }, "when": { "south": "true" @@ -90,7 +90,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_aluminum_pipe/block_open", + "model": "tfmg:block/encased_plastic_pipe/block_open", "y": 90 }, "when": { @@ -99,7 +99,7 @@ }, { "apply": { - "model": "tfmg:block/copper_encased_aluminum_pipe/block_open", + "model": "tfmg:block/encased_plastic_pipe/block_open", "y": 270 }, "when": { diff --git a/src/generated/resources/assets/tfmg/blockstates/encased_steel_pipe.json b/src/generated/resources/assets/tfmg/blockstates/encased_steel_pipe.json new file mode 100644 index 00000000..da0cf08f --- /dev/null +++ b/src/generated/resources/assets/tfmg/blockstates/encased_steel_pipe.json @@ -0,0 +1,110 @@ +{ + "multipart": [ + { + "apply": { + "model": "tfmg:block/encased_steel_pipe/block_flat", + "x": -90 + }, + "when": { + "down": "false" + } + }, + { + "apply": { + "model": "tfmg:block/encased_steel_pipe/block_flat", + "x": 90 + }, + "when": { + "up": "false" + } + }, + { + "apply": { + "model": "tfmg:block/encased_steel_pipe/block_flat", + "y": 180 + }, + "when": { + "north": "false" + } + }, + { + "apply": { + "model": "tfmg:block/encased_steel_pipe/block_flat" + }, + "when": { + "south": "false" + } + }, + { + "apply": { + "model": "tfmg:block/encased_steel_pipe/block_flat", + "y": 90 + }, + "when": { + "west": "false" + } + }, + { + "apply": { + "model": "tfmg:block/encased_steel_pipe/block_flat", + "y": 270 + }, + "when": { + "east": "false" + } + }, + { + "apply": { + "model": "tfmg:block/encased_steel_pipe/block_open", + "x": -90 + }, + "when": { + "down": "true" + } + }, + { + "apply": { + "model": "tfmg:block/encased_steel_pipe/block_open", + "x": 90 + }, + "when": { + "up": "true" + } + }, + { + "apply": { + "model": "tfmg:block/encased_steel_pipe/block_open", + "y": 180 + }, + "when": { + "north": "true" + } + }, + { + "apply": { + "model": "tfmg:block/encased_steel_pipe/block_open" + }, + "when": { + "south": "true" + } + }, + { + "apply": { + "model": "tfmg:block/encased_steel_pipe/block_open", + "y": 90 + }, + "when": { + "west": "true" + } + }, + { + "apply": { + "model": "tfmg:block/encased_steel_pipe/block_open", + "y": 270 + }, + "when": { + "east": "true" + } + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/tfmg/lang/en_ud.json b/src/generated/resources/assets/tfmg/lang/en_ud.json index 323c9f2c..b29275b8 100644 --- a/src/generated/resources/assets/tfmg/lang/en_ud.json +++ b/src/generated/resources/assets/tfmg/lang/en_ud.json @@ -122,11 +122,6 @@ "block.tfmg.converter.tooltip.summary": "ɐsɹǝʌ ǝɔıʌ puɐ ʎbɹǝuǝ ⅁WℲ⟘ oʇ ƎℲ sʇɹǝʌuoƆ", "block.tfmg.cooling_fluid": "pınןℲ buıןooƆ", "block.tfmg.copper_cable_hub": "qnH ǝןqɐƆ ɹǝddoƆ", - "block.tfmg.copper_encased_aluminum_pipe": "ǝdıԀ ɯnuıɯnןⱯ pǝsɐɔuƎ ɹǝddoƆ", - "block.tfmg.copper_encased_brass_pipe": "ǝdıԀ ssɐɹᗺ pǝsɐɔuƎ ɹǝddoƆ", - "block.tfmg.copper_encased_cast_iron_pipe": "ǝdıԀ uoɹI ʇsɐƆ pǝsɐɔuƎ ɹǝddoƆ", - "block.tfmg.copper_encased_plastic_pipe": "ǝdıԀ ɔıʇsɐןԀ pǝsɐɔuƎ ɹǝddoƆ", - "block.tfmg.copper_encased_steel_pipe": "ǝdıԀ ןǝǝʇS pǝsɐɔuƎ ɹǝddoƆ", "block.tfmg.copper_frame": "ǝɯɐɹℲ ɹǝddoƆ", "block.tfmg.copper_truss": "ssnɹ⟘ ɹǝddoƆ", "block.tfmg.copycat_cable_base": "ǝsɐᗺ ǝןqɐƆ ʇɐɔʎdoƆ", @@ -174,8 +169,13 @@ "block.tfmg.electrical_switch": "ɥɔʇıʍS ɔıɹʇɔǝןƎ", "block.tfmg.electrical_switch.tooltip.summary": "ǝuoʇspǝɹ ɥʇıʍ pǝɹǝʍod uǝɥʍ ɥbnoɹɥʇ ɹǝʍod sʇǝꞀ", "block.tfmg.electrode_holder": "ɹǝpןoH ǝpoɹʇɔǝןƎ", + "block.tfmg.encased_aluminum_pipe": "ǝdıԀ ɯnuıɯnןⱯ pǝsɐɔuƎ", + "block.tfmg.encased_brass_pipe": "ǝdıԀ ssɐɹᗺ pǝsɐɔuƎ", + "block.tfmg.encased_cast_iron_pipe": "ǝdıԀ uoɹI ʇsɐƆ pǝsɐɔuƎ", "block.tfmg.encased_diode": "ǝpoıᗡ pǝsɐɔuƎ", + "block.tfmg.encased_plastic_pipe": "ǝdıԀ ɔıʇsɐןԀ pǝsɐɔuƎ", "block.tfmg.encased_potentiometer": "ɹǝʇǝɯoıʇuǝʇoԀ pǝsɐɔuƎ", + "block.tfmg.encased_steel_pipe": "ǝdıԀ ןǝǝʇS pǝsɐɔuƎ", "block.tfmg.engine_controller": "ɹǝןןoɹʇuoƆ ǝuıbuƎ", "block.tfmg.engine_controller.tooltip.behaviour1": "˙ǝuıbuǝ ǝɥʇ ɥʇıʍ ǝɯɐs ǝɥʇ op uǝɥʇ puɐ ɯǝʇı uoıssıɯsuɐɹʇ ɐ ɥʇıʍ ɹǝןןoɹʇuoɔ ǝɥʇ ʞɔıןƆ-ᴚ", "block.tfmg.engine_controller.tooltip.behaviour2": "uoıʇɔǝs ʍoɹ⅁ ʇsnW ʎɹoʇɔɐℲ ǝɥ⟘ :ǝʇɐǝɹƆ ǝɥʇ uı ʎןןɐɔıɟıɔǝds sbuıʇʇǝs ʇɟɐɹɔǝuıɯ ǝɥʇ ɟo ʇɹɐd spuıqʎǝʞ ǝɥʇ uı ʞooꞀ", @@ -867,9 +867,9 @@ "tfmg.electricity.capacity": "%s :ʎʇıɔɐdɐƆ", "tfmg.electricity.charging_rate": "%s :ǝʇɐᴚ buıbɹɐɥƆ", "tfmg.electricity.max_capacity": "%s :ʎʇıɔɐdɐƆ xɐW", - "tfmg.engine_controller.header": "ɹǝןןoɹʇuoƆ ǝuıbuƎ", "tfmg.engine.efficiency": "%s :ʎɔuǝıɔıɟɟƎ", "tfmg.engine.fuel_consumption": "%s :uoıʇdɯnsuoƆ ןǝnℲ", + "tfmg.engine.header": "oɟuI ǝuıbuƎ", "tfmg.engine.injection_rate": "%s :ǝʇɐᴚ uoıʇɔǝظuI", "tfmg.engine.length": "%s :ɥʇbuǝꞀ", "tfmg.engine.rpm": "%s :WԀᴚ", @@ -892,6 +892,7 @@ "tfmg.engine.upgrade.transmission.shift_4": "ɹɐǝ⅁ ɥʇㄣ", "tfmg.engine.upgrade.transmission.shift_5": "ɹɐǝ⅁ ɥʇϛ", "tfmg.engine.upgrade.transmission.shift_6": "ɹɐǝ⅁ ɥʇ9", + "tfmg.engine_controller.header": "ɹǝןןoɹʇuoƆ ǝuıbuƎ", "tfmg.fe": "%1$s :ƎℲ", "tfmg.flamethrower.fuel.amount": "ʇunoɯⱯ ǝןıʇɔǝظoɹԀ %s", "tfmg.flamethrower.fuel.capacity": "%s :ʎʇıɔɐdɐƆ ןǝnℲ", @@ -921,7 +922,6 @@ "tfmg.goggles.electrode_holder.min_amps": " spǝǝN( ʇuǝɹɹnƆ ɥbnouƎ ʇoN", "tfmg.goggles.engine.cooling_fluid": "%s :pınןℲ buıןooƆ", "tfmg.goggles.engine.fuel_consumption": "s/ᗺɯ %s :uoıʇdɯnsuoƆ ןǝnℲ", - "tfmg.engine.header": "oɟuI ǝuıbuƎ", "tfmg.goggles.engine.next_component": "%s :ʇuǝuodɯoƆ ʇxǝN ", "tfmg.goggles.engine.oil": "%s :ןıO", "tfmg.goggles.engine.pistons_missing": "buıssıW suoʇsıԀ", @@ -956,12 +956,10 @@ "tfmg.goggles.pumpjack_fluid_storage": ":oɟuI ʞuɐ⟘ pınןℲ", "tfmg.goggles.superheated": "pǝʇɐǝɥɹǝdnS", "tfmg.goggles.surface_scanner.deposits_found": "punoℲ sʇısodǝᗡ ןıO ɥʇıM sʞunɥƆ %s", - "tfmg.surface_scanner.header": "ɹǝuuɐɔS ǝɔɐɟɹnS", "tfmg.goggles.surface_scanner.no_deposit": "punoℲ sʇısodǝᗡ oN", "tfmg.goggles.surface_scanner.no_rotation": ")ɯdɹㄣ9 spǝǝN( uoıʇɐʇoᴚ ɥbnouƎ ʇoN", "tfmg.goggles.vat.attachments": ":sʇuǝɯɥɔɐʇʇⱯ", "tfmg.goggles.vat.contents": ":sʇuǝʇuoƆ ʇɐΛ", - "tfmg.vat.header": "ʇɐΛ ןɐɔıɯǝɥƆ", "tfmg.goggles.vat.not_operational": "ןɐuoıʇɐɹǝdO ʇoN", "tfmg.goggles.vat.tfmg.centrifuge": "ǝbnɟıɹʇuǝƆ ", "tfmg.goggles.vat.tfmg.electrode": "ǝpoɹʇɔǝןƎ ", @@ -1053,6 +1051,10 @@ "tfmg.ponder.electricity_two.text_5": "ʞɹoʍʇǝuqns ǝɥʇ oʇ sʇǝb ʇɐɥʇ ǝbɐʇןoʌ ɟo ǝbɐʇuǝɔɹǝd ǝɥʇ ʇǝs uɐɔ ǝuo sıɥʇ 'ɹǝʇǝɯoıʇuǝʇod ǝɥʇ sı ǝuo ʇxǝN", "tfmg.ponder.electricity_two.text_6": "ǝuoʇspǝɹ ɥʇıʍ ʇnq ʎןɹɐןıɯıs sʞɹoʍ ɥɔʇıʍs ǝɥ⟘", "tfmg.ponder.electricity_two.text_7": "ןıoɔ ʎɹɐpuoɔǝs puɐ ʎɹɐɯıɹd ǝɥʇ uǝǝʍʇǝq suɹnʇ ɟo oıʇɐɹ ǝɥʇ uo pǝsɐq ǝbɐʇןoʌ sǝbuɐɥɔ ɹǝɯɹoɟsuɐɹʇ ǝɥ⟘", + "tfmg.ponder.encased_fluid_pipe.header": "sǝdıԀ pınןℲ buısɐɔuƎ", + "tfmg.ponder.encased_fluid_pipe.text_1": "sǝdıԀ pınןℲ ǝʇɐɹoɔǝp oʇ pǝsn ǝq uɐɔ buısɐƆ ɹǝddoƆ", + "tfmg.ponder.encased_fluid_pipe.text_2": "ǝʇɐʇs ʎʇıʌıʇɔǝuuoɔ ɹıǝɥʇ oʇuı pǝʞɔoן ǝɹɐ sǝdıԀ pǝsɐɔuƎ 'pǝןɐǝɔuoɔ buıǝq ɯoɹɟ ǝpısⱯ", + "tfmg.ponder.encased_fluid_pipe.text_3": "pǝʌoɯǝɹ ɹo pǝppɐ buıǝq sʞɔoןq buıɹnoqɥbıǝu ʎuɐ oʇ ʇɔɐǝɹ ɹǝbuoן ou ןןıʍ ʇI", "tfmg.ponder.engines.header": "sǝuıbuƎ", "tfmg.ponder.engines.text_1": "ǝuıן ɐ uı sʞɔoןq ǝuıbuǝ ϛ oʇ dn buıɔɐןd ʎq ʇɹɐʇs 'ǝuıbuǝ uɐ pןınq o⟘", "tfmg.ponder.engines.text_2": "ʎןqɯǝssɐ ǝɥʇ ɹoɟ pǝpǝǝu sɯǝʇı noʎ ʍoɥs ןןıʍ dıʇןooʇ s,ǝuıbuǝ ǝɥ⟘", @@ -1063,6 +1065,33 @@ "tfmg.ponder.engines.text_7": "pǝpɐɹbdn ǝq oʇ sɯǝʇı uıɐʇɹǝɔ ɥʇıʍ pǝʞɔıןɔ ʇɥbıɹ ǝq uɐɔ ʞɔoןq ǝuıbuǝ ʎɹǝʌƎ", "tfmg.ponder.engines.text_8": "sʞuɐʇ buıɹoqɥbıǝu ɯoɹɟ ןǝnɟ ǝɯnsuoɔ ǝuıbuǝ ǝɥʇ ǝʞɐɯ sǝdıd ןɐıɹʇsnpuı ǝןdɯɐxǝ ɹoℲ", "tfmg.ponder.engines.text_9": "ןɐubıs ǝuoʇspǝɹ ɐ ɥʇıʍ pǝʇɹɐʇs ǝq uɐɔ ǝuıbuǝ ǝɥ⟘", + "tfmg.ponder.fluid_pipe_flow.header": "sǝdıԀ ɹǝddoƆ buısn spınןℲ buıʌoW", + "tfmg.ponder.fluid_pipe_flow.text_1": "sʇǝbɹɐʇ puɐ sǝɔɹnos pınןɟ ǝɹoɯ ɹo oʍʇ ʇɔǝuuoɔ uɐɔ sǝdıԀ pınןℲ", + "tfmg.ponder.fluid_pipe_flow.text_2": "ʍopuıʍ ɐ uǝʌıb ǝq uɐɔ ʇuǝɯbǝs ǝdıd ʇɥbıɐɹʇs ɐ 'ɥɔuǝɹʍ ɐ buıs∩", + "tfmg.ponder.fluid_pipe_flow.text_3": "sʇuǝɯbǝs ǝdıd ʇuǝɔɐظpɐ ɹǝɥʇo ʎuɐ oʇ ʇɔǝuuoɔ ʇou ןןıʍ sǝdıd pǝʍopuıM", + "tfmg.ponder.fluid_pipe_flow.text_4": "spınןℲ ʇɹodsuɐɹʇ uɐɔ sǝdıԀ ǝɥʇ 'sdɯnԀ ןɐɔıuɐɥɔǝW ʎq pǝɹǝʍoԀ", + "tfmg.ponder.fluid_pipe_flow.text_5": "ʇsɹıɟ ʇɐ pǝʇɔɐɹʇxǝ buıǝq sı pınןɟ oN", + "tfmg.ponder.fluid_pipe_flow.text_6": "sʇuǝʇuoɔ ɹıǝɥʇ ɹǝɟsuɐɹʇ ʎןןɐnpɐɹb sʇuıodpuǝ ǝɥʇ 'ɯǝɥʇ sʇɔǝuuoɔ ʍoןɟ ǝɥʇ ǝɔuO", + "tfmg.ponder.fluid_pipe_flow.text_7": "pınןɟ ʎuɐ uıɐʇuoɔ ,ʎןןɐɔısʎɥd, ɹǝʌǝu sǝʌןǝsɯǝɥʇ sʞɔoןq ǝdıԀ ǝɥʇ 'snɥ⟘", + "tfmg.ponder.fluid_pipe_interaction.header": "sɹǝuıɐʇuoɔ pınןɟ buıןןıℲ puɐ buıuıɐɹᗡ", + "tfmg.ponder.fluid_pipe_interaction.text_1": "sʞɔoןq ɟo ʎʇǝıɹɐʌ ɐ ɥʇıʍ ʇɔɐɹǝʇuı uɐɔ ʞɹoʍʇǝu ǝdıd ɐ ɟo sʇuıodpuƎ", + "tfmg.ponder.fluid_pipe_interaction.text_2": "pǝuıɐɹp ɹo pǝןןıɟ ǝq uɐɔ sǝıʇıןıqɐdɐɔ ǝbɐɹoʇs pınןɟ ɥʇıʍ ʞɔoןq ʎuⱯ", + "tfmg.ponder.fluid_pipe_interaction.text_3": "˙˙˙dn pǝʞɔıd ǝq uɐɔ puǝ uǝdo uɐ ɟo ʇuoɹɟ uı ʇɥbıɹ sʞɔoןq ǝɔɹnoS", + "tfmg.ponder.fluid_pipe_interaction.text_4": "sǝɔɹnos pınןɟ ǝʇɐǝɹɔ uɐɔ sǝɔɐds ʎʇdɯǝ oʇuı buıןןıds ǝןıɥʍ˙˙˙", + "tfmg.ponder.fluid_pipe_interaction.text_5": "ʎןʇɔǝɹıp sʞɔoןq ɹǝɥʇo ɟo ןnɟpuɐɥ ɐ ɯoɹɟ spınןɟ ʇɔɐɹʇxǝ osןɐ uɐɔ sǝdıԀ", + "tfmg.ponder.mechanical_pump_flow.header": "sdɯnԀ ןɐɔıuɐɥɔǝW buısn uoıʇɐʇɹodsuɐɹ⟘ pınןℲ", + "tfmg.ponder.mechanical_pump_flow.text_1": "sʞɹoʍʇǝu ǝdıd pǝɥɔɐʇʇɐ ɹıǝɥʇ ɟo ʍoןɟ ǝɥʇ uɹǝʌob sdɯnԀ ןɐɔıuɐɥɔǝW", + "tfmg.ponder.mechanical_pump_flow.text_2": "ʍoןɟ ɟo uoıʇɔǝɹıp ǝɥʇ sǝʇɐɔıpuı ʍoɹɹɐ ɹıǝɥ⟘", + "tfmg.ponder.mechanical_pump_flow.text_3": "˙˙˙spınןɟ buıןןnd ʍou sı puıɥǝq ʞɹoʍʇǝu ǝɥ⟘", + "tfmg.ponder.mechanical_pump_flow.text_4": "pɹɐʍʇno ʇı buıɹɹǝɟsuɐɹʇ sı ʇuoɹɟ uı ʞɹoʍʇǝu ǝɥʇ ǝןıɥʍ˙˙˙", + "tfmg.ponder.mechanical_pump_flow.text_5": "uoıʇɐʇoɹ ʇnduı ǝɥʇ ʎq pǝʇɔǝɟɟɐun sı uoıʇɔǝɹıp sdɯnd ǝɥ⟘", + "tfmg.ponder.mechanical_pump_flow.text_6": "uoıʇɔǝɹıp ǝɥʇ ǝsɹǝʌǝɹ oʇ pǝsn ǝq uɐɔ ɥɔuǝɹM ɐ 'pɐǝʇsuI", + "tfmg.ponder.mechanical_pump_speed.header": "sdɯnԀ ןɐɔıuɐɥɔǝW ɟo ʇndɥbnoɹɥ⟘", + "tfmg.ponder.mechanical_pump_speed.text_1": "ʎɐʍɐ sʞɔoןq 9Ɩ oʇ dn pǝʇɔǝuuoɔ sǝdıd ʇɔǝɟɟɐ sdɯnԀ ןɐɔıuɐɥɔǝW 'pǝǝds ɟo ssǝןpɹɐbǝᴚ", + "tfmg.ponder.mechanical_pump_speed.text_2": "˙˙˙uoıʇɐbɐdoɹd ʍoןɟ ɟo pǝǝds ǝɥʇ sǝbuɐɥɔ uoıʇɐʇoɹ ʇnduı ǝɥʇ dn buıpǝǝdS", + "tfmg.ponder.mechanical_pump_speed.text_3": "pǝɹɹǝɟsuɐɹʇ ǝɹɐ spınןɟ ɥɔıɥʍ ʇɐ pǝǝds ǝɥʇ puɐ˙˙˙", + "tfmg.ponder.mechanical_pump_speed.text_4": "sʞɹoʍʇǝu ǝdıd pǝɹɐɥs uıɥʇıʍ sʇndɥbnoɹɥʇ ɹıǝɥʇ ǝuıqɯoɔ uɐɔ sdɯnԀ", + "tfmg.ponder.mechanical_pump_speed.text_5": "uoıʇɔǝɹıp ǝɯɐs ǝɥʇ uı buıɔɐɟ ǝɹɐ ɯǝɥʇ ɟo ןןɐ ʇɐɥʇ ǝɹnsuƎ", "tfmg.ponder.pumpjack.header": "ʞɔɐظdɯnԀ", "tfmg.ponder.pumpjack.text_1": "ǝɔɐɟɹns ǝɥʇ oʇ ʇısodǝp ɐ ɯoɹɟ sǝdıd ןɐıɹʇsnpuı buıpןınq sı ןıo buıuıɯ ɟo dǝʇs ʇsɹıℲ", "tfmg.ponder.pumpjack.text_2": "ǝdıd ǝɥʇ ɟo doʇ ǝɥʇ uo pǝɔɐןd ǝq oʇ sɐɥ ǝsɐq ʞɔɐظdɯnԀ", @@ -1078,6 +1107,11 @@ "tfmg.ponder.shared.rpm32": "WԀᴚ ᄅƐ", "tfmg.ponder.shared.rpm8": "WԀᴚ 8", "tfmg.ponder.shared.storage_on_contraption": "ʎןןɐɔıʇɐɯoʇnɐ sdoɹp ɹıǝɥʇ dn ʞɔıd ןןıʍ uoıʇdɐɹʇuoƆ ǝɥʇ oʇ pǝɥɔɐʇʇɐ sǝıɹoʇuǝʌuI", + "tfmg.ponder.smart_pipe.header": "sǝdıԀ ʇɹɐɯS buısn ʍoןɟ pınןℲ buıןןoɹʇuoƆ", + "tfmg.ponder.smart_pipe.text_1": "ǝdʎʇ pınןɟ ʎq sʍoןɟ ןoɹʇuoɔ dןǝɥ uɐɔ sǝdıd ʇɹɐɯS", + "tfmg.ponder.smart_pipe.text_2": "ʇɔɐɹʇxǝ oʇ pınןɟ ɟo ǝdʎʇ ǝɥʇ ʎɟıɔǝds uɐɔ ʎǝɥʇ 'ǝɔɹnos ǝɥʇ ʇɐ ʎןʇɔǝɹıp pǝɔɐןd uǝɥM", + "tfmg.ponder.smart_pipe.text_3": "pınןɟ pǝɹısǝp ǝɥʇ buıuıɐʇuoɔ ɯǝʇı ʎuɐ ɥʇıʍ ʇoןs ɹǝʇןıɟ ɹıǝɥʇ ʞɔıןƆ-ʇɥbıᴚ ʎןdɯıS", + "tfmg.ponder.smart_pipe.text_4": "ǝnuıʇuoɔ spınןɟ buıɥɔʇɐɯ ʇǝן ʎןuo ןןıʍ sǝdıd ʇɹɐɯs 'ʞɹoʍʇǝu ǝdıd ɐ uʍop ɹǝɥʇɹnɟ pǝɔɐןd uǝɥM", "tfmg.ponder.tag.chemical_vat": "ʇɐΛ ןɐɔıɯǝɥƆ", "tfmg.ponder.tag.chemical_vat.description": "ʇı puɐdxǝ ʇɐɥʇ sǝuıɥɔɐɯ puɐ ʇɐʌ ןɐɔıɯǝɥƆ", "tfmg.ponder.tag.electric_machinery": "ʎɹǝuıɥɔɐW ɔıɹʇɔǝןƎ", @@ -1088,6 +1122,11 @@ "tfmg.ponder.tag.metallurgy.description": "ןɐʇǝɯ buıssǝɔoɹd oʇ pǝʇɐןǝɹ sʞɔoןᗺ", "tfmg.ponder.tag.oil_processing": "ʎɹǝuıɥɔɐW buıssǝɔoɹԀ ןıO", "tfmg.ponder.tag.oil_processing.description": "ןıo buıuıɯ puɐ buıuıɟǝɹ ɹoɟ pǝsn ʞɔoןᗺ", + "tfmg.ponder.valve_pipe.header": "sǝʌןɐΛ buısn ʍoןɟ pınןℲ buıןןoɹʇuoƆ", + "tfmg.ponder.valve_pipe.text_1": "sʞɹoʍʇǝu ǝdıd ɥbnoɹɥʇ buıʇɐbɐdoɹd spınןɟ ןoɹʇuoɔ dןǝɥ sǝdıd ǝʌןɐΛ", + "tfmg.ponder.valve_pipe.text_2": "ɥbnoɹɥʇ pǝʍoןןɐ ʎןʇuǝɹɹnɔ sı pınןɟ ɹǝɥʇǝɥʍ sןoɹʇuoɔ ʇnduı ʇɟɐɥs ɹıǝɥ⟘", + "tfmg.ponder.valve_pipe.text_3": "dn uǝdo ןןıʍ ǝʌןɐʌ ǝɥʇ 'uoıʇɔǝɹıp buıuǝdo ǝɥʇ uı ǝɔɹoℲ ןɐuoıʇɐʇoᴚ uǝʌı⅁", + "tfmg.ponder.valve_pipe.text_4": "uoıʇɐʇoɹ ʇnduı ǝɥʇ buısɹǝʌǝɹ ʎq uıɐbɐ pǝsoןɔ ǝq uɐɔ ʇI", "tfmg.pumpjack.header": ":oɟuI ʞɔɐظdɯnԀ", "tfmg.pumpjack_deposit_amount": "sʇǝʞɔnᗺ %1$s", "tfmg.recipe.advanced_distillation": "uoıʇɐןןıʇsıᗡ pǝɔuɐʌpⱯ", @@ -1103,11 +1142,13 @@ "tfmg.resistor.allowed_voltage": "pǝʍoןןⱯ ǝbɐʇןoΛ ɟo ǝbɐʇuǝɔɹǝԀ", "tfmg.subtitle.diesel_engine_sounds": "spunoS ǝuıbuƎ ןǝsǝıᗡ", "tfmg.subtitle.engine_sounds": "spunoS ǝuıbuƎ", + "tfmg.surface_scanner.header": "ɹǝuuɐɔS ǝɔɐɟɹnS", "tfmg.tooltip.coils": "%1$s :suɹn⟘", "tfmg.tooltip.cylinder": ":sןǝnℲ pǝʇɹoddnS", "tfmg.tooltip.fluid_item": "%1$s :ʇunoɯⱯ pınןℲ", "tfmg.tooltip.fuse": "%1$s :buıʇɐᴚ", "tfmg.tooltip.resistor": "%1$s :ǝɔuɐʇsısǝᴚ", + "tfmg.vat.header": "ʇɐΛ ןɐɔıɯǝɥƆ", "tfmg.voltage": "%1$s :ǝbɐʇןoΛ", "tfmg.winding_machine.header": "ǝuıɥɔɐW buıpuıM", "tfmg.winding_machine.turn_percentage": ")000Ɩ ɯoɹℲ( ǝbɐʇuǝɔɹǝԀ uɹn⟘ pǝʍoןןⱯ", diff --git a/src/generated/resources/assets/tfmg/lang/en_us.json b/src/generated/resources/assets/tfmg/lang/en_us.json index 15ba9e42..fbb1deb4 100644 --- a/src/generated/resources/assets/tfmg/lang/en_us.json +++ b/src/generated/resources/assets/tfmg/lang/en_us.json @@ -122,11 +122,6 @@ "block.tfmg.converter.tooltip.summary": "Converts FE to TFMG energy and vice versa", "block.tfmg.cooling_fluid": "Cooling Fluid", "block.tfmg.copper_cable_hub": "Copper Cable Hub", - "block.tfmg.copper_encased_aluminum_pipe": "Copper Encased Aluminum Pipe", - "block.tfmg.copper_encased_brass_pipe": "Copper Encased Brass Pipe", - "block.tfmg.copper_encased_cast_iron_pipe": "Copper Encased Cast Iron Pipe", - "block.tfmg.copper_encased_plastic_pipe": "Copper Encased Plastic Pipe", - "block.tfmg.copper_encased_steel_pipe": "Copper Encased Steel Pipe", "block.tfmg.copper_frame": "Copper Frame", "block.tfmg.copper_truss": "Copper Truss", "block.tfmg.copycat_cable_base": "Copycat Cable Base", @@ -174,8 +169,13 @@ "block.tfmg.electrical_switch": "Electric Switch", "block.tfmg.electrical_switch.tooltip.summary": "Lets power through when powered with redstone", "block.tfmg.electrode_holder": "Electrode Holder", + "block.tfmg.encased_aluminum_pipe": "Encased Aluminum Pipe", + "block.tfmg.encased_brass_pipe": "Encased Brass Pipe", + "block.tfmg.encased_cast_iron_pipe": "Encased Cast Iron Pipe", "block.tfmg.encased_diode": "Encased Diode", + "block.tfmg.encased_plastic_pipe": "Encased Plastic Pipe", "block.tfmg.encased_potentiometer": "Encased Potentiometer", + "block.tfmg.encased_steel_pipe": "Encased Steel Pipe", "block.tfmg.engine_controller": "Engine Controller", "block.tfmg.engine_controller.tooltip.behaviour1": "R-Click the controller with a transmission item and then do the same with the engine.", "block.tfmg.engine_controller.tooltip.behaviour2": "Look in the Keybinds part of the minecraft settings specifically in the Create: The Factory Must Grow section", @@ -867,9 +867,9 @@ "tfmg.electricity.capacity": "Capacity: %s", "tfmg.electricity.charging_rate": "Charging Rate: %s", "tfmg.electricity.max_capacity": "Max Capacity: %s", - "tfmg.engine_controller.header": "Engine Controller", "tfmg.engine.efficiency": "Efficiency: %s", "tfmg.engine.fuel_consumption": "Fuel Consumption: %s", + "tfmg.engine.header": "Engine Info", "tfmg.engine.injection_rate": "Injection Rate: %s", "tfmg.engine.length": "Length: %s", "tfmg.engine.rpm": "RPM: %s", @@ -892,6 +892,7 @@ "tfmg.engine.upgrade.transmission.shift_4": "4th Gear", "tfmg.engine.upgrade.transmission.shift_5": "5th Gear", "tfmg.engine.upgrade.transmission.shift_6": "6th Gear", + "tfmg.engine_controller.header": "Engine Controller", "tfmg.fe": "FE: %1$s", "tfmg.flamethrower.fuel.amount": "%s Projectile Amount", "tfmg.flamethrower.fuel.capacity": "Fuel Capacity: %s", @@ -921,7 +922,6 @@ "tfmg.goggles.electrode_holder.min_amps": "Not Enough Current (Needs ", "tfmg.goggles.engine.cooling_fluid": "Cooling Fluid: %s", "tfmg.goggles.engine.fuel_consumption": "Fuel Consumption: %s mB/s", - "tfmg.engine.header": "Engine Info", "tfmg.goggles.engine.next_component": " Next Component: %s", "tfmg.goggles.engine.oil": "Oil: %s", "tfmg.goggles.engine.pistons_missing": "Pistons Missing", @@ -956,12 +956,10 @@ "tfmg.goggles.pumpjack_fluid_storage": "Fluid Tank Info:", "tfmg.goggles.superheated": "Superheated", "tfmg.goggles.surface_scanner.deposits_found": "%s Chunks With Oil Deposits Found", - "tfmg.surface_scanner.header": "Surface Scanner", "tfmg.goggles.surface_scanner.no_deposit": "No Deposits Found", "tfmg.goggles.surface_scanner.no_rotation": "Not Enough Rotation (Needs 64rpm)", "tfmg.goggles.vat.attachments": "Attachments:", "tfmg.goggles.vat.contents": "Vat Contents:", - "tfmg.vat.header": "Chemical Vat", "tfmg.goggles.vat.not_operational": "Not Operational", "tfmg.goggles.vat.tfmg.centrifuge": " Centrifuge", "tfmg.goggles.vat.tfmg.electrode": " Electrode", @@ -1053,6 +1051,10 @@ "tfmg.ponder.electricity_two.text_5": "Next one is the potentiometer, this one can set the percentage of voltage that gets to the subnetwork", "tfmg.ponder.electricity_two.text_6": "The switch works similarly but with redstone", "tfmg.ponder.electricity_two.text_7": "The transformer changes voltage based on the ratio of turns between the primary and secondary coil", + "tfmg.ponder.encased_fluid_pipe.header": "Encasing Fluid Pipes", + "tfmg.ponder.encased_fluid_pipe.text_1": "Copper Casing can be used to decorate Fluid Pipes", + "tfmg.ponder.encased_fluid_pipe.text_2": "Aside from being concealed, Encased Pipes are locked into their connectivity state", + "tfmg.ponder.encased_fluid_pipe.text_3": "It will no longer react to any neighbouring blocks being added or removed", "tfmg.ponder.engines.header": "Engines", "tfmg.ponder.engines.text_1": "To build an engine, start by placing up to 5 engine blocks in a line", "tfmg.ponder.engines.text_2": "The engine's tooltip will show you items needed for the assembly", @@ -1063,6 +1065,33 @@ "tfmg.ponder.engines.text_7": "Every engine block can be right clicked with certain items to be upgraded", "tfmg.ponder.engines.text_8": "For example industrial pipes make the engine consume fuel from neighboring tanks", "tfmg.ponder.engines.text_9": "The engine can be started with a redstone signal", + "tfmg.ponder.fluid_pipe_flow.header": "Moving Fluids using Copper Pipes", + "tfmg.ponder.fluid_pipe_flow.text_1": "Fluid Pipes can connect two or more fluid sources and targets", + "tfmg.ponder.fluid_pipe_flow.text_2": "Using a wrench, a straight pipe segment can be given a window", + "tfmg.ponder.fluid_pipe_flow.text_3": "Windowed pipes will not connect to any other adjacent pipe segments", + "tfmg.ponder.fluid_pipe_flow.text_4": "Powered by Mechanical Pumps, the Pipes can transport Fluids", + "tfmg.ponder.fluid_pipe_flow.text_5": "No fluid is being extracted at first", + "tfmg.ponder.fluid_pipe_flow.text_6": "Once the flow connects them, the endpoints gradually transfer their contents", + "tfmg.ponder.fluid_pipe_flow.text_7": "Thus, the Pipe blocks themselves never 'physically' contain any fluid", + "tfmg.ponder.fluid_pipe_interaction.header": "Draining and Filling fluid containers", + "tfmg.ponder.fluid_pipe_interaction.text_1": "Endpoints of a pipe network can interact with a variety of blocks", + "tfmg.ponder.fluid_pipe_interaction.text_2": "Any block with fluid storage capabilities can be filled or drained", + "tfmg.ponder.fluid_pipe_interaction.text_3": "Source blocks right in front of an open end can be picked up...", + "tfmg.ponder.fluid_pipe_interaction.text_4": "...while spilling into empty spaces can create fluid sources", + "tfmg.ponder.fluid_pipe_interaction.text_5": "Pipes can also extract fluids from a handful of other blocks directly", + "tfmg.ponder.mechanical_pump_flow.header": "Fluid Transportation using Mechanical Pumps", + "tfmg.ponder.mechanical_pump_flow.text_1": "Mechanical Pumps govern the flow of their attached pipe networks", + "tfmg.ponder.mechanical_pump_flow.text_2": "Their arrow indicates the direction of flow", + "tfmg.ponder.mechanical_pump_flow.text_3": "The network behind is now pulling fluids...", + "tfmg.ponder.mechanical_pump_flow.text_4": "...while the network in front is transferring it outward", + "tfmg.ponder.mechanical_pump_flow.text_5": "The pumps direction is unaffected by the input rotation", + "tfmg.ponder.mechanical_pump_flow.text_6": "Instead, a Wrench can be used to reverse the direction", + "tfmg.ponder.mechanical_pump_speed.header": "Throughput of Mechanical Pumps", + "tfmg.ponder.mechanical_pump_speed.text_1": "Regardless of speed, Mechanical Pumps affect pipes connected up to 16 blocks away", + "tfmg.ponder.mechanical_pump_speed.text_2": "Speeding up the input rotation changes the speed of flow propagation...", + "tfmg.ponder.mechanical_pump_speed.text_3": "...and the speed at which fluids are transferred", + "tfmg.ponder.mechanical_pump_speed.text_4": "Pumps can combine their throughputs within shared pipe networks", + "tfmg.ponder.mechanical_pump_speed.text_5": "Ensure that all of them are facing in the same direction", "tfmg.ponder.pumpjack.header": "Pumpjack", "tfmg.ponder.pumpjack.text_1": "First step of mining oil is building industrial pipes from a deposit to the surface", "tfmg.ponder.pumpjack.text_2": "Pumpjack base has to be placed on the top of the pipe", @@ -1078,6 +1107,11 @@ "tfmg.ponder.shared.rpm32": "32 RPM", "tfmg.ponder.shared.rpm8": "8 RPM", "tfmg.ponder.shared.storage_on_contraption": "Inventories attached to the Contraption will pick up their drops automatically", + "tfmg.ponder.smart_pipe.header": "Controlling Fluid flow using Smart Pipes", + "tfmg.ponder.smart_pipe.text_1": "Smart pipes can help control flows by fluid type", + "tfmg.ponder.smart_pipe.text_2": "When placed directly at the source, they can specify the type of fluid to extract", + "tfmg.ponder.smart_pipe.text_3": "Simply Right-Click their filter slot with any item containing the desired fluid", + "tfmg.ponder.smart_pipe.text_4": "When placed further down a pipe network, smart pipes will only let matching fluids continue", "tfmg.ponder.tag.chemical_vat": "Chemical Vat", "tfmg.ponder.tag.chemical_vat.description": "Chemical vat and machines that expand it", "tfmg.ponder.tag.electric_machinery": "Electric Machinery", @@ -1088,6 +1122,11 @@ "tfmg.ponder.tag.metallurgy.description": "Blocks related to processing metal", "tfmg.ponder.tag.oil_processing": "Oil Processing Machinery", "tfmg.ponder.tag.oil_processing.description": "Block used for refining and mining oil", + "tfmg.ponder.valve_pipe.header": "Controlling Fluid flow using Valves", + "tfmg.ponder.valve_pipe.text_1": "Valve pipes help control fluids propagating through pipe networks", + "tfmg.ponder.valve_pipe.text_2": "Their shaft input controls whether fluid is currently allowed through", + "tfmg.ponder.valve_pipe.text_3": "Given Rotational Force in the opening direction, the valve will open up", + "tfmg.ponder.valve_pipe.text_4": "It can be closed again by reversing the input rotation", "tfmg.pumpjack.header": "Pumpjack Info:", "tfmg.pumpjack_deposit_amount": "%1$s Buckets", "tfmg.recipe.advanced_distillation": "Advanced Distillation", @@ -1103,11 +1142,13 @@ "tfmg.resistor.allowed_voltage": "Percentage of Voltage Allowed", "tfmg.subtitle.diesel_engine_sounds": "Diesel Engine Sounds", "tfmg.subtitle.engine_sounds": "Engine Sounds", + "tfmg.surface_scanner.header": "Surface Scanner", "tfmg.tooltip.coils": "Turns: %1$s", "tfmg.tooltip.cylinder": "Supported Fuels:", "tfmg.tooltip.fluid_item": "Fluid Amount: %1$s", "tfmg.tooltip.fuse": "Rating: %1$s", "tfmg.tooltip.resistor": "Resistance: %1$s", + "tfmg.vat.header": "Chemical Vat", "tfmg.voltage": "Voltage: %1$s", "tfmg.winding_machine.header": "Winding Machine", "tfmg.winding_machine.turn_percentage": "Allowed Turn Percentage (From 1000)", diff --git a/src/generated/resources/data/tfmg/loot_table/blocks/encased_aluminum_pipe.json b/src/generated/resources/data/tfmg/loot_table/blocks/encased_aluminum_pipe.json new file mode 100644 index 00000000..55957ba1 --- /dev/null +++ b/src/generated/resources/data/tfmg/loot_table/blocks/encased_aluminum_pipe.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "tfmg:aluminum_pipe" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "tfmg:blocks/encased_aluminum_pipe" +} \ No newline at end of file diff --git a/src/generated/resources/data/tfmg/loot_table/blocks/encased_brass_pipe.json b/src/generated/resources/data/tfmg/loot_table/blocks/encased_brass_pipe.json new file mode 100644 index 00000000..78ec4f04 --- /dev/null +++ b/src/generated/resources/data/tfmg/loot_table/blocks/encased_brass_pipe.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "tfmg:brass_pipe" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "tfmg:blocks/encased_brass_pipe" +} \ No newline at end of file diff --git a/src/generated/resources/data/tfmg/loot_table/blocks/encased_cast_iron_pipe.json b/src/generated/resources/data/tfmg/loot_table/blocks/encased_cast_iron_pipe.json new file mode 100644 index 00000000..3b58717a --- /dev/null +++ b/src/generated/resources/data/tfmg/loot_table/blocks/encased_cast_iron_pipe.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "tfmg:cast_iron_pipe" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "tfmg:blocks/encased_cast_iron_pipe" +} \ No newline at end of file diff --git a/src/generated/resources/data/tfmg/loot_table/blocks/encased_plastic_pipe.json b/src/generated/resources/data/tfmg/loot_table/blocks/encased_plastic_pipe.json new file mode 100644 index 00000000..1834d7cf --- /dev/null +++ b/src/generated/resources/data/tfmg/loot_table/blocks/encased_plastic_pipe.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "tfmg:plastic_pipe" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "tfmg:blocks/encased_plastic_pipe" +} \ No newline at end of file diff --git a/src/generated/resources/data/tfmg/loot_table/blocks/encased_steel_pipe.json b/src/generated/resources/data/tfmg/loot_table/blocks/encased_steel_pipe.json new file mode 100644 index 00000000..92122558 --- /dev/null +++ b/src/generated/resources/data/tfmg/loot_table/blocks/encased_steel_pipe.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "tfmg:steel_pipe" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "tfmg:blocks/encased_steel_pipe" +} \ No newline at end of file diff --git a/src/main/java/com/drmangotea/tfmg/TFMG.java b/src/main/java/com/drmangotea/tfmg/TFMG.java index 0c7daff0..bedb6011 100644 --- a/src/main/java/com/drmangotea/tfmg/TFMG.java +++ b/src/main/java/com/drmangotea/tfmg/TFMG.java @@ -30,7 +30,6 @@ import net.neoforged.neoforge.registries.RegisterEvent; import org.slf4j.Logger; -@SuppressWarnings("removal") @Mod(TFMG.MOD_ID) public class TFMG { diff --git a/src/main/java/com/drmangotea/tfmg/base/TFMGRemapper.java b/src/main/java/com/drmangotea/tfmg/base/TFMGRemapper.java new file mode 100644 index 00000000..b2165d57 --- /dev/null +++ b/src/main/java/com/drmangotea/tfmg/base/TFMGRemapper.java @@ -0,0 +1,56 @@ +package com.drmangotea.tfmg.base; + +import com.drmangotea.tfmg.TFMG; +import net.minecraft.core.Registry; +import net.minecraft.core.registries.Registries; +import net.minecraft.resources.ResourceLocation; +import net.neoforged.bus.api.SubscribeEvent; +import net.neoforged.fml.common.EventBusSubscriber; +import net.neoforged.neoforge.registries.RegisterEvent; + +import java.util.HashMap; +import java.util.Map; + + +@EventBusSubscriber(bus = EventBusSubscriber.Bus.MOD) +public class TFMGRemapper { + /** + * @see String The old name of the block/item (String) + *
+ * @see ResourceLocation The new name of the block/item (ResourceLocation)
+ */
+ private static final Map