From f76596b3d189b521390aa18a5aa0aa76a8b8af16 Mon Sep 17 00:00:00 2001 From: Redeix Date: Thu, 25 Sep 2025 23:42:09 -0500 Subject: [PATCH] couple fixes (#1900) * needle fix * furnace minecart textures --- .../minecraft/models/block/furnace.json | 52 ++++++++++++++++++ .../minecraft/models/block/furnace_on.json | 52 ++++++++++++++++++ .../textures/item/furnace_minecart.png | Bin 0 -> 611 bytes .../server_scripts/tfg/recipes.bioreactor.js | 4 +- kubejs/startup_scripts/tfg/items.js | 1 + 5 files changed, 107 insertions(+), 2 deletions(-) create mode 100644 kubejs/assets/minecraft/models/block/furnace.json create mode 100644 kubejs/assets/minecraft/models/block/furnace_on.json create mode 100644 kubejs/assets/minecraft/textures/item/furnace_minecart.png diff --git a/kubejs/assets/minecraft/models/block/furnace.json b/kubejs/assets/minecraft/models/block/furnace.json new file mode 100644 index 000000000..a9d1b3318 --- /dev/null +++ b/kubejs/assets/minecraft/models/block/furnace.json @@ -0,0 +1,52 @@ +{ + "parent": "minecraft:block/orientable", + "textures": { + "particle": "gtceu:block/casings/steam/bricked_steel/side", + "side": "gtceu:block/casings/steam/bricked_steel/side", + "top": "gtceu:block/casings/steam/bricked_steel/top", + "bottom": "gtceu:block/casings/steam/bricked_steel/bottom", + "overlay": "gtceu:block/generators/boiler/coal/overlay_front", + "vent": "gtceu:block/overlay/machine/overlay_steam_vent" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 16], + "faces": { + "north": {"uv": [0, 0, 16, 16], "texture": "#side"}, + "east": {"uv": [0, 0, 16, 16], "texture": "#side"}, + "south": {"uv": [0, 0, 16, 16], "texture": "#side"}, + "west": {"uv": [0, 0, 16, 16], "texture": "#side"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#top"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#bottom"} + } + }, + { + "name": "overlay", + "from": [0, 0, -0.01], + "to": [16, 16, -0.01], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 16.1]}, + "faces": { + "north": {"uv": [0, 0, 16, 16], "texture": "#overlay"}, + "east": {"uv": [0, 0, 0, 16], "texture": "#missing"}, + "south": {"uv": [0, 0, 16, 16], "texture": "#overlay"}, + "west": {"uv": [0, 0, 0, 16], "texture": "#missing"}, + "up": {"uv": [0, 0, 16, 0], "texture": "#missing"}, + "down": {"uv": [0, 0, 16, 0], "texture": "#missing"} + } + }, + { + "from": [0, 16.01, 0], + "to": [16, 16.01, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 14, 0]}, + "faces": { + "north": {"uv": [0, 0, 16, 0], "texture": "#missing"}, + "east": {"uv": [0, 0, 16, 0], "texture": "#missing"}, + "south": {"uv": [0, 0, 16, 0], "texture": "#missing"}, + "west": {"uv": [0, 0, 16, 0], "texture": "#missing"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#vent"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#vent"} + } + } + ] +} \ No newline at end of file diff --git a/kubejs/assets/minecraft/models/block/furnace_on.json b/kubejs/assets/minecraft/models/block/furnace_on.json new file mode 100644 index 000000000..ef9f5de0a --- /dev/null +++ b/kubejs/assets/minecraft/models/block/furnace_on.json @@ -0,0 +1,52 @@ +{ + "parent": "minecraft:block/orientable", + "textures": { + "particle": "gtceu:block/casings/steam/bricked_steel/side", + "side": "gtceu:block/casings/steam/bricked_steel/side", + "top": "gtceu:block/casings/steam/bricked_steel/top", + "bottom": "gtceu:block/casings/steam/bricked_steel/bottom", + "overlay": "gtceu:block/generators/boiler/coal/overlay_front_active", + "vent": "gtceu:block/overlay/machine/overlay_steam_vent" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 16], + "faces": { + "north": {"uv": [0, 0, 16, 16], "texture": "#side"}, + "east": {"uv": [0, 0, 16, 16], "texture": "#side"}, + "south": {"uv": [0, 0, 16, 16], "texture": "#side"}, + "west": {"uv": [0, 0, 16, 16], "texture": "#side"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#top"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#bottom"} + } + }, + { + "name": "overlay", + "from": [0, 0, -0.01], + "to": [16, 16, -0.01], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 16.1]}, + "faces": { + "north": {"uv": [0, 0, 16, 16], "texture": "#overlay"}, + "east": {"uv": [0, 0, 0, 16], "texture": "#missing"}, + "south": {"uv": [0, 0, 16, 16], "texture": "#overlay"}, + "west": {"uv": [0, 0, 0, 16], "texture": "#missing"}, + "up": {"uv": [0, 0, 16, 0], "texture": "#missing"}, + "down": {"uv": [0, 0, 16, 0], "texture": "#missing"} + } + }, + { + "from": [0, 16.01, 0], + "to": [16, 16.01, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 14, 0]}, + "faces": { + "north": {"uv": [0, 0, 16, 0], "texture": "#missing"}, + "east": {"uv": [0, 0, 16, 0], "texture": "#missing"}, + "south": {"uv": [0, 0, 16, 0], "texture": "#missing"}, + "west": {"uv": [0, 0, 16, 0], "texture": "#missing"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#vent"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#vent"} + } + } + ] +} \ No newline at end of file diff --git a/kubejs/assets/minecraft/textures/item/furnace_minecart.png b/kubejs/assets/minecraft/textures/item/furnace_minecart.png new file mode 100644 index 0000000000000000000000000000000000000000..0aa3b7ac44b115d5e73086ff577a221139e91cb4 GIT binary patch literal 611 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s7I14-?iy0WWg+Z8+Vb&Z8 z1_mZkPZ!4!i{81D9kYcUCEDh{jk3vP+P!g0gokvLRJPFKMeI|1-yV(5Fyv@zuj1LM zT_MQ-uj$dne@#OEa$d9EsZDgcIL)k+)7P9=MPmwYioO{~s?C+yJ4@7`e=#(E|M}c^ zqxmW=4wF>$qCRFsSbV+bnEPUqK$CZ~G{g2}bCv^_pQf%^cl6>!PKC1X`@I{EUtlh1 zS+&T(vU2W)7?xM5=XWwoG96i*xKN9W)A#VJs5|u^W=x$rea+h1mMY2H+g^VE-Pg%I zaSqR;iyJ1S&Rm%=A$sEs?wddUaLzy9zG}q`-^pdWo3FmzR30$7MWBZvgS(q4L38Gl z9ao*qdx{5ZqvN8LbK+{71)TkJx|wsarB|M%d@lvHE9$02eZ7$T{Ny2}{J8y#!fZ>9K7M6d7o~nr?98csEF2B2 zZxt&SyF5RlG`GUVQNQTvv4(AvM&N{f}O|`R33j+&NvU6Yk`<+rR7iE^%oosmAdRfC#_{aX&{B>>r@6Y<) SnaRMwz~JfX=d#Wzp$PyobrWX* literal 0 HcmV?d00001 diff --git a/kubejs/server_scripts/tfg/recipes.bioreactor.js b/kubejs/server_scripts/tfg/recipes.bioreactor.js index e62367aa7..03aabcbea 100644 --- a/kubejs/server_scripts/tfg/recipes.bioreactor.js +++ b/kubejs/server_scripts/tfg/recipes.bioreactor.js @@ -194,7 +194,7 @@ function registerTFGBioreactorRecipes(event) { event.recipes.gtceu.wiremill('tfg:stainless_steel_needle') .itemInputs(ChemicalHelper.get(TagPrefix.pipeNormalFluid, GTMaterials.StainlessSteel, 1)) - .itemOutputs('tfg:stainless_steel_needle') + .itemOutputs(Item.of('tfg:stainless_steel_needle').withNBT({Unbreakable: 1})) .duration(2*60*20) .circuit(4) .EUt(GTValues.VA[GTValues.MV]) @@ -204,7 +204,7 @@ function registerTFGBioreactorRecipes(event) { ChemicalHelper.get(TagPrefix.ring, GTMaterials.StyreneButadieneRubber, 2), ChemicalHelper.get(TagPrefix.pipeNormalFluid, GTMaterials.Polytetrafluoroethylene, 1), ChemicalHelper.get(TagPrefix.rod, GTMaterials.Polytetrafluoroethylene, 1), - 'tfg:stainless_steel_needle' + Item.of('tfg:stainless_steel_needle').weakNBT() ) .inputFluids(Fluid.of('gtceu:polytetrafluoroethylene', 288)) .itemOutputs('tfg:empty_dna_syringe') diff --git a/kubejs/startup_scripts/tfg/items.js b/kubejs/startup_scripts/tfg/items.js index b46650010..cd63faab2 100644 --- a/kubejs/startup_scripts/tfg/items.js +++ b/kubejs/startup_scripts/tfg/items.js @@ -257,6 +257,7 @@ const registerTFGItems = (event) => { event.create('tfg:stainless_steel_needle') .translationKey('item.tfg.stainless_steel_needle') .unstackable() + .maxDamage(9999) //Fishing Nets event.create('tfg:fishing_net/wood')