From 72c25d6e923ed183229b95ce2975205a324105f0 Mon Sep 17 00:00:00 2001 From: debiankaios Date: Thu, 24 Feb 2022 08:33:52 +0100 Subject: [PATCH 1/8] Moss and Mosscarpets are there --- mods/ITEMS/mcl_core/crafting.lua | 8 +++ mods/ITEMS/mcl_core/locale/mcl_core.de.tr | 4 ++ mods/ITEMS/mcl_core/nodes_base.lua | 48 +++++++++++++++++- .../mcl_core/textures/mcl_core_moss_block.png | Bin 0 -> 6556 bytes 4 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 mods/ITEMS/mcl_core/textures/mcl_core_moss_block.png diff --git a/mods/ITEMS/mcl_core/crafting.lua b/mods/ITEMS/mcl_core/crafting.lua index 3ff2b142c..252282602 100644 --- a/mods/ITEMS/mcl_core/crafting.lua +++ b/mods/ITEMS/mcl_core/crafting.lua @@ -388,6 +388,14 @@ minetest.register_craft({ -- -- Crafting (tool repair) -- + +minetest.register_craft({ + output = "mcl_core:moss_carpet 3", + recipe = { + {"mcl_core:moss", "mcl_core:moss"}, + } +}) + minetest.register_craft({ type = "toolrepair", additional_wear = -mcl_core.repair, diff --git a/mods/ITEMS/mcl_core/locale/mcl_core.de.tr b/mods/ITEMS/mcl_core/locale/mcl_core.de.tr index b064cebbe..d050da26b 100644 --- a/mods/ITEMS/mcl_core/locale/mcl_core.de.tr +++ b/mods/ITEMS/mcl_core/locale/mcl_core.de.tr @@ -12,6 +12,7 @@ A decorative and mostly transparent block.=Ein Dekoblock, der größtenteils tra A grass block is dirt with a grass cover. Grass blocks are resourceful blocks which allow the growth of all sorts of plants. They can be turned into farmland with a hoe and turned into grass paths with a shovel. In light, the grass slowly spreads onto dirt nearby. Under an opaque block or a liquid, a grass block may turn back to dirt.=Ein Grasblock ist Erde mit einer Grasschicht. Grasblöcke sind vielseitige Blöcke, die das Wachstum aller möglichen Pflanzen fördern. Mit einer Hacke kann man das Land bestellen und einen Ackerboden machen. Mit einer Schaufel verwandelt man ihn in einen Graspfad. Im Licht wird das Gras sich langsam auf benachbarte Erde ausbreiten. Unter einem lichtundurchlässigen Block kann sich dieser Block wieder zurück zu Erde verwandeln. A lapis lazuli block is mostly a decorative block but also useful as a compact storage of lapis lazuli.=Ein Lapislazuliblock ist hauptsächlich ein Deko-Block aber er ist auch nützlich zur kompakten Aufbewahrung von Lapislazuli. A lava source sets fire to a couple of air blocks above when they're next to a flammable block.=Eine Lavaquelle zündet einige Luftblöcke über ihr an, wenn sie sich neben einem entzündlichen Block befinden. +A moss block is a natural block that can be spread to some other blocks by using bone meal.=Ein Moosblock ist ein natürlicher Block, der mit Hilfe von Knochenmehl auf andere Blöcke übertragen werden kann. A piece of ladder which allows you to climb vertically. Ladders can only be placed on the side of solid blocks and not on glass, leaves, ice, slabs, glowstone, nor sea lanterns.=Ein Leiterstück, mit dem Sie vertikal klettern können. Leitern können nur an der Seite fester Blöcke und nicht an Glas, Blättern, Eis, Platten, Leuchtsteinen oder Ozeanlaternen platziert werden. Acacia Bark=Akazienrinde Acacia Leaves=Akazienblätter @@ -142,6 +143,9 @@ Lit Redstone Ore=Leuchtendes Redstoneerz Magenta Stained Glass=Magenta Buntglas Molten gold. It is used to craft armor, tools, and whatnot.=Geschmolzenes Gold. Es wird benutzt, um Rüstungen, Werkzeuge, und anderes herzustellen. Molten iron. It is used to craft armor, tools, and whatnot.=Geschmolzenes Eisen. Es wird benutzt, um Rüstungen, Werkzeuge, und vieles mehr herzustellen. +Moss=Moos +Moss Carpet=Moosteppich +Moss Carpets are a thin decorative variant of the moss block.=Moosteppiche sind eine dünne, dekorative Variante des Moosblock. Mossy Cobblestone=Moosiges Kopfsteinpflaster Mossy Stone Bricks=Moosige Steinziegel Mycelium=Myzel diff --git a/mods/ITEMS/mcl_core/nodes_base.lua b/mods/ITEMS/mcl_core/nodes_base.lua index ebae759ac..23ae0b2b8 100644 --- a/mods/ITEMS/mcl_core/nodes_base.lua +++ b/mods/ITEMS/mcl_core/nodes_base.lua @@ -465,6 +465,19 @@ minetest.register_node("mcl_core:dirt", { _mcl_hardness = 0.5, }) +minetest.register_node("mcl_core:moss", { + description = S("Moss"), + _doc_items_longdesc = S("A moss block is a natural block that can be spread to some other blocks by using bone meal."),--TODO: Other desciption? + _doc_items_hidden = false, + tiles = {"mcl_core_moss_block.png"}, + is_ground_content = true, + stack_max = 64, + groups = {handy=1, hoey=1}, + --sounds = TODO: add sound + _mcl_blast_resistance = 0.1, + _mcl_hardness = 0.1, +}) + minetest.register_node("mcl_core:coarse_dirt", { description = S("Coarse Dirt"), _doc_items_longdesc = S("Coarse dirt acts as a soil for some plants and is similar to dirt, but it will never grow a cover."), @@ -1075,10 +1088,43 @@ minetest.register_node("mcl_core:snowblock", { _mcl_silk_touch_drop = true, }) +minetest.register_node("mcl_core:moss", { + description = S("Moss"), + _doc_items_longdesc = S("A moss block is a natural block that can be spread to some other blocks by using bone meal."),--TODO: Other desciption? + _doc_items_hidden = false, + tiles = {"mcl_core_moss_block.png"}, + is_ground_content = true, + stack_max = 64, + groups = {handy=1, hoey=1}, + --sounds = TODO: add sound + _mcl_blast_resistance = 0.1, + _mcl_hardness = 0.1, +}) + +minetest.register_node("mcl_core:moss_carpet", { + description = S("Moss Carpet"), + _doc_items_longdesc = S("Moss Carpets are a thin decorative variant of the moss block."),--TODO: Other desciption? + _doc_items_hidden = false, + tiles = {"mcl_core_moss_block.png"}, + is_ground_content = true, + paramtype = "light", + stack_max = 64, + drawtype = "nodebox", + node_box = { + type = "fixed", + fixed = { + {-8/16, -8/16, -8/16, 8/16, -7/16, 8/16}, + }, + }, + groups = {handy=1, hoey=1}, + --sounds = TODO: add sound + _mcl_blast_resistance = 0.1, + _mcl_hardness = 0.1, +}) + -- Add entry aliases for the Help if minetest.get_modpath("doc") then doc.add_entry_alias("nodes", "mcl_core:stone_with_redstone", "nodes", "mcl_core:stone_with_redstone_lit") doc.add_entry_alias("nodes", "mcl_core:water_source", "nodes", "mcl_core:water_flowing") doc.add_entry_alias("nodes", "mcl_core:lava_source", "nodes", "mcl_core:lava_flowing") end - diff --git a/mods/ITEMS/mcl_core/textures/mcl_core_moss_block.png b/mods/ITEMS/mcl_core/textures/mcl_core_moss_block.png new file mode 100644 index 0000000000000000000000000000000000000000..1fed6df9e196a93e4dc836059f8a3bd59c1dda7c GIT binary patch literal 6556 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 fucv=GZ*bwyapuHw=tne?Sd_0 Date: Mon, 28 Feb 2022 16:10:18 +0100 Subject: [PATCH 2/8] makes moss able to bonemeal --- mods/ITEMS/mcl_core/nodes_base.lua | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/mods/ITEMS/mcl_core/nodes_base.lua b/mods/ITEMS/mcl_core/nodes_base.lua index 23ae0b2b8..646910737 100644 --- a/mods/ITEMS/mcl_core/nodes_base.lua +++ b/mods/ITEMS/mcl_core/nodes_base.lua @@ -11,6 +11,7 @@ else ice_drawtype = "normal" ice_texture_alpha = minetest.features.use_texture_alpha_string_modes and "opaque" or false end +local mossnodes = {"mcl_core:stone", "mcl_core:granite", "mcl_core:granite_smooth", "mcl_core:diorite", "mcl_core:diorite_smooth", "mcl_core:andesite", "mcl_core:andesite_smooth", "mcl_deepslate:deepslate", --[[glowberries, ]]"mcl_core:dirt", "mcl_core:dirt_with_grass", "mcl_core:podzol", "mcl_core:coarse_dirt", "mcl_core:mycelium"} mcl_core.fortune_drop_ore = { discrete_uniform_distribution = true, @@ -1099,6 +1100,37 @@ minetest.register_node("mcl_core:moss", { --sounds = TODO: add sound _mcl_blast_resistance = 0.1, _mcl_hardness = 0.1, + on_rightclick = function(pos, node, pointed_thing, itemstack) + -- TODO: fix no-place-possiblity + if pointed_thing:get_wielded_item():get_name() == "mcl_dye:white" then + itemstack:take_item() + for i, j in pairs(minetest.find_nodes_in_area_under_air({x = pos.x-1, y = pos.y, z = pos.z-1}, {x = pos.x+1, y = pos.y, z = pos.z+1}, mossnodes)) do + minetest.set_node(j, {name="mcl_core:moss"}) + end + for i, j in pairs(minetest.find_nodes_in_area_under_air({x = pos.x-2, y = pos.y, z = pos.z-2}, {x = pos.x+2, y = pos.y, z = pos.z+2}, mossnodes)) do + if math.random(1,3) == 1 then minetest.set_node(j, {name="mcl_core:moss"}) end + end + for i, j in pairs(minetest.find_nodes_in_area_under_air({x = pos.x-3, y = pos.y, z = pos.z-3}, {x = pos.x+3, y = pos.y, z = pos.z+3}, mossnodes)) do + if math.random(1,9) == 1 then minetest.set_node(j, {name="mcl_core:moss"}) end + end + for i, j in pairs(minetest.find_nodes_in_area_under_air({x = pos.x-3, y = pos.y, z = pos.z-3}, {x = pos.x+3, y = pos.y, z = pos.z+3}, {"mcl_core:moss"})) do + if math.random(1,2) == 1 then + minetest.set_node({x=j.x,y=j.y+1,z=j.z} ,{name="mcl_flowers:tallgrass"}) + end + end + for i, j in pairs(minetest.find_nodes_in_area_under_air({x = pos.x-3, y = pos.y, z = pos.z-3}, {x = pos.x+3, y = pos.y, z = pos.z+3}, {"mcl_core:moss"})) do + if math.random(1,4) == 1 then + minetest.set_node({x=j.x,y=j.y+1,z=j.z}, {name="mcl_core:moss_carpet"}) + end + end + for i, j in pairs(minetest.find_nodes_in_area_under_air({x = pos.x-3, y = pos.y, z = pos.z-3}, {x = pos.x+3, y = pos.y, z = pos.z+3}, {"mcl_core:moss"})) do + if math.random(1,10) == 1 then + minetest.set_node({x=j.x,y=j.y+1,z=j.z} ,{name="mcl_flowers:double_grass"}) + minetest.set_node({x=j.x,y=j.y+2,z=j.z} ,{name="mcl_flowers:double_grass_top"}) + end + end + end + end, }) minetest.register_node("mcl_core:moss_carpet", { From 8bd8512d3945a13b66023ec8c2083321f41a00a5 Mon Sep 17 00:00:00 2001 From: debiankaios Date: Tue, 1 Mar 2022 10:35:03 +0100 Subject: [PATCH 3/8] You can now place nodes on moss --- mods/ITEMS/mcl_core/nodes_base.lua | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/mods/ITEMS/mcl_core/nodes_base.lua b/mods/ITEMS/mcl_core/nodes_base.lua index 646910737..3514e1580 100644 --- a/mods/ITEMS/mcl_core/nodes_base.lua +++ b/mods/ITEMS/mcl_core/nodes_base.lua @@ -1100,9 +1100,10 @@ minetest.register_node("mcl_core:moss", { --sounds = TODO: add sound _mcl_blast_resistance = 0.1, _mcl_hardness = 0.1, - on_rightclick = function(pos, node, pointed_thing, itemstack) - -- TODO: fix no-place-possiblity - if pointed_thing:get_wielded_item():get_name() == "mcl_dye:white" then + on_rightclick = function(pos, node, player, itemstack, pointed_thing) + -- TODO: fix that in creative you get removed blocks on place + + if player:get_wielded_item():get_name() == "mcl_dye:white" then itemstack:take_item() for i, j in pairs(minetest.find_nodes_in_area_under_air({x = pos.x-1, y = pos.y, z = pos.z-1}, {x = pos.x+1, y = pos.y, z = pos.z+1}, mossnodes)) do minetest.set_node(j, {name="mcl_core:moss"}) @@ -1129,13 +1130,16 @@ minetest.register_node("mcl_core:moss", { minetest.set_node({x=j.x,y=j.y+2,z=j.z} ,{name="mcl_flowers:double_grass_top"}) end end + elseif minetest.registered_nodes[player:get_wielded_item():get_name()] then + itemstack:take_item() + minetest.set_node(pointed_thing.above, {name=player:get_wielded_item():get_name()}) end end, }) minetest.register_node("mcl_core:moss_carpet", { description = S("Moss Carpet"), - _doc_items_longdesc = S("Moss Carpets are a thin decorative variant of the moss block."),--TODO: Other desciption? + _doc_items_longdesc = S("Moss Carpets are a thin decorative variant of the moss block."), _doc_items_hidden = false, tiles = {"mcl_core_moss_block.png"}, is_ground_content = true, From 789fd7b72c9ce86f5593e8d95572058e640b4605 Mon Sep 17 00:00:00 2001 From: debiankaios Date: Thu, 3 Mar 2022 21:25:29 +0100 Subject: [PATCH 4/8] Moss grow now one block up and down --- mods/ITEMS/mcl_core/nodes_base.lua | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/mods/ITEMS/mcl_core/nodes_base.lua b/mods/ITEMS/mcl_core/nodes_base.lua index 3514e1580..900675688 100644 --- a/mods/ITEMS/mcl_core/nodes_base.lua +++ b/mods/ITEMS/mcl_core/nodes_base.lua @@ -1101,30 +1101,31 @@ minetest.register_node("mcl_core:moss", { _mcl_blast_resistance = 0.1, _mcl_hardness = 0.1, on_rightclick = function(pos, node, player, itemstack, pointed_thing) - -- TODO: fix that in creative you get removed blocks on place - if player:get_wielded_item():get_name() == "mcl_dye:white" then - itemstack:take_item() - for i, j in pairs(minetest.find_nodes_in_area_under_air({x = pos.x-1, y = pos.y, z = pos.z-1}, {x = pos.x+1, y = pos.y, z = pos.z+1}, mossnodes)) do + if not minetest.is_creative_enabled(player) and not minetest.check_player_privs(player, "creative") then + itemstack:take_item() + end + + for i, j in pairs(minetest.find_nodes_in_area_under_air({x = pos.x-1, y = pos.y-1, z = pos.z-1}, {x = pos.x+1, y = pos.y+1, z = pos.z+1}, mossnodes)) do minetest.set_node(j, {name="mcl_core:moss"}) end - for i, j in pairs(minetest.find_nodes_in_area_under_air({x = pos.x-2, y = pos.y, z = pos.z-2}, {x = pos.x+2, y = pos.y, z = pos.z+2}, mossnodes)) do + for i, j in pairs(minetest.find_nodes_in_area_under_air({x = pos.x-2, y = pos.y-1, z = pos.z-2}, {x = pos.x+2, y = pos.y+1, z = pos.z+2}, mossnodes)) do if math.random(1,3) == 1 then minetest.set_node(j, {name="mcl_core:moss"}) end end - for i, j in pairs(minetest.find_nodes_in_area_under_air({x = pos.x-3, y = pos.y, z = pos.z-3}, {x = pos.x+3, y = pos.y, z = pos.z+3}, mossnodes)) do + for i, j in pairs(minetest.find_nodes_in_area_under_air({x = pos.x-3, y = pos.y-1, z = pos.z-3}, {x = pos.x+3, y = pos.y+1, z = pos.z+3}, mossnodes)) do if math.random(1,9) == 1 then minetest.set_node(j, {name="mcl_core:moss"}) end end - for i, j in pairs(minetest.find_nodes_in_area_under_air({x = pos.x-3, y = pos.y, z = pos.z-3}, {x = pos.x+3, y = pos.y, z = pos.z+3}, {"mcl_core:moss"})) do + for i, j in pairs(minetest.find_nodes_in_area_under_air({x = pos.x-3, y = pos.y-1, z = pos.z-3}, {x = pos.x+3, y = pos.y+1, z = pos.z+3}, {"mcl_core:moss"})) do if math.random(1,2) == 1 then minetest.set_node({x=j.x,y=j.y+1,z=j.z} ,{name="mcl_flowers:tallgrass"}) end end - for i, j in pairs(minetest.find_nodes_in_area_under_air({x = pos.x-3, y = pos.y, z = pos.z-3}, {x = pos.x+3, y = pos.y, z = pos.z+3}, {"mcl_core:moss"})) do + for i, j in pairs(minetest.find_nodes_in_area_under_air({x = pos.x-3, y = pos.y-1, z = pos.z-3}, {x = pos.x+3, y = pos.y+1, z = pos.z+3}, {"mcl_core:moss"})) do if math.random(1,4) == 1 then minetest.set_node({x=j.x,y=j.y+1,z=j.z}, {name="mcl_core:moss_carpet"}) end end - for i, j in pairs(minetest.find_nodes_in_area_under_air({x = pos.x-3, y = pos.y, z = pos.z-3}, {x = pos.x+3, y = pos.y, z = pos.z+3}, {"mcl_core:moss"})) do + for i, j in pairs(minetest.find_nodes_in_area_under_air({x = pos.x-3, y = pos.y-1, z = pos.z-3}, {x = pos.x+3, y = pos.y+1, z = pos.z+3}, {"mcl_core:moss"})) do if math.random(1,10) == 1 then minetest.set_node({x=j.x,y=j.y+1,z=j.z} ,{name="mcl_flowers:double_grass"}) minetest.set_node({x=j.x,y=j.y+2,z=j.z} ,{name="mcl_flowers:double_grass_top"}) From 82f2cc4a359f54bb753a49287ad71d33bb12c596 Mon Sep 17 00:00:00 2001 From: debiankaios Date: Sat, 5 Mar 2022 15:30:24 +0100 Subject: [PATCH 5/8] Make moss compost-able --- mods/ITEMS/mcl_composters/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/ITEMS/mcl_composters/init.lua b/mods/ITEMS/mcl_composters/init.lua index abcc7fcb4..a3e219bb2 100644 --- a/mods/ITEMS/mcl_composters/init.lua +++ b/mods/ITEMS/mcl_composters/init.lua @@ -71,7 +71,7 @@ local compostability = { ["mcl_flowers:sunflower"] = 65, ["mcl_flowers:waterlily"] = 65, ["mcl_farming:melon"] = 65, - -- missing: moss block? + ["mcl_core:moss"] = 65, -- mushroom aliases below? ["mcl_farming:mushroom_brown"] = 65, ["mcl_mushrooms:mushroom_brown"] = 65, @@ -118,7 +118,7 @@ local compostability = { ["mcl_core:spruceleaves"] = 30, -- ["mcl_farming:melon_seeds"] = 30, - -- missing: moss carpet + ["mcl_core:moss_carpet"] = 30, ["mcl_farming:pumpkin_seeds"] = 30, ["mcl_core:sapling"] = 30, ["mcl_core:acaciasapling"] = 30, @@ -338,6 +338,6 @@ minetest.register_node("mcl_composters:composter_ready", { -- Add entry aliases for the Help if minetest.get_modpath("doc") then - doc.add_entry_alias("nodes", "mcl_composters:composter", + doc.add_entry_alias("nodes", "mcl_composters:composter", "nodes", "mcl_composters:composter_ready" ) end From 9e00371c6c4e1bf5bc8cbd12eeafa3ffe44386be Mon Sep 17 00:00:00 2001 From: PrairieWind Date: Sat, 5 Mar 2022 17:07:56 +0000 Subject: [PATCH 6/8] fixed problem with fuel insertion --- mods/ITEMS/mcl_furnaces/smoker.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/mods/ITEMS/mcl_furnaces/smoker.lua b/mods/ITEMS/mcl_furnaces/smoker.lua index ba53f3fc1..8e3cdcd42 100644 --- a/mods/ITEMS/mcl_furnaces/smoker.lua +++ b/mods/ITEMS/mcl_furnaces/smoker.lua @@ -96,8 +96,6 @@ local function allow_metadata_inventory_put(pos, listname, index, stack, player) local meta = minetest.get_meta(pos) local inv = meta:get_inventory() if listname == "fuel" then - return 0 - end -- Test stack with size 1 because we burn one fuel at a time local teststack = ItemStack(stack) From 354ce405b0981994eb7116eae660057381a40357 Mon Sep 17 00:00:00 2001 From: PrairieWind Date: Sat, 5 Mar 2022 17:22:29 +0000 Subject: [PATCH 7/8] added missing blast furnace and smoker textures --- .../mcl_furnaces/textures/blast_furnace_top.png | Bin 0 -> 593 bytes mods/ITEMS/mcl_furnaces/textures/smoker_side.png | Bin 0 -> 538 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 mods/ITEMS/mcl_furnaces/textures/blast_furnace_top.png create mode 100644 mods/ITEMS/mcl_furnaces/textures/smoker_side.png diff --git a/mods/ITEMS/mcl_furnaces/textures/blast_furnace_top.png b/mods/ITEMS/mcl_furnaces/textures/blast_furnace_top.png new file mode 100644 index 0000000000000000000000000000000000000000..03ce91b5cf8d8c9eb99445a8523f842eb55ba34d GIT binary patch literal 593 zcmV-X0Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2jc=1 z5e5aqYszW>00GfSL_t(I%XO2_YSd5^#(ymnWexz*m)<^1{h&UenY^7hT^-vBCA zL}7&fFTW^^jQsLz0lawi(g?bqhabe`*<519VqxR~oOz}D@VZpxeb6E?A4*fm%! zkJM7B!VhAU%Im_vjYo$E+<)*$n(}PU=C-h8V$})kMA_i+0uPzqiL6}XgmM2 fx?7gM%i4bc*JsMX(LvD&00000NkvXXu0mjfH5v?! literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_furnaces/textures/smoker_side.png b/mods/ITEMS/mcl_furnaces/textures/smoker_side.png new file mode 100644 index 0000000000000000000000000000000000000000..f1e57a7511cf623ff627caa823536d451ca624c3 GIT binary patch literal 538 zcmV+#0_FXQP)Px#32;bRa{vGi!2kdb!2!6DYwZ9400(qQO+^Rd3=Rb^46hbEwg3PDtVu*cR4C6? zQOi!-KomU$FG?Q8@x)5ywgFKVL9jtcL;}_oAJs*7{itr+szr*jsBl8uN5F~!jXjR> z*weI|F0OS6vl!hwbI!Ssv-aWrI{-)fdw6vnGL<6gH@1JLVshL>Xi ze9Kr8haU+IVD0T-|9r4J3Da4Wi0&($=gn3NfX;KSwk$J_EdY}+rNj}QBls&KvLn2} zzc}360x%k1TL9XdO#rhf>GyX4XtM+$gdI%%lhZQ*fqy|7X0E=)Z2Waom^? z_G<7@n9)^O5x4>)xNjkB+LFr3cB@_y$Z7f(!cLL}lU>)L{cd}Lx_aVtF!fnGnEJu= cu`K)WA0fZwN%t{OCjbBd07*qoM6N<$f~-mJ@&Et; literal 0 HcmV?d00001 From ebb2fe3c6f823b5c1edb07b5ee8f549ebd953b2b Mon Sep 17 00:00:00 2001 From: PrairieWind Date: Sat, 5 Mar 2022 21:25:42 +0000 Subject: [PATCH 8/8] added smoker top texture --- mods/ITEMS/mcl_furnaces/textures/smoker_top.png | Bin 0 -> 597 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 mods/ITEMS/mcl_furnaces/textures/smoker_top.png diff --git a/mods/ITEMS/mcl_furnaces/textures/smoker_top.png b/mods/ITEMS/mcl_furnaces/textures/smoker_top.png new file mode 100644 index 0000000000000000000000000000000000000000..bc5a0dba783a42b07fc196ea8d23dc5e69a4eb50 GIT binary patch literal 597 zcmV-b0;>IqP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2jc=1 z5eX*el&9AK00GrWL_t(I%Z-!2Yui8^#Xl(#*pU>9e%M7e2m%GKAwwWbAVX>CP$-!S z4ffFI<)vQ5d*4nk+kA*5e8kly$1@$TLC zEq(s@;V*!Q1g_(ff6tfexP|_FEd#uH_qG5Urio>H#B!*xG)W45fY$51i~!)t(`VVn z=^p?tFRlQvY!BOhs1BD69e`h_KV}MY#`D2IZLIq>VmYMl*SL;;D_qJ^fpB^8PB-Hl z0FFN$0T7<`0NCAorBuyd>4As@mhB-#Ox3AS_iKFXbcm8kVI99eqS08R(O5&u(M&<^ ztdt|-uuFK>BT6Q>+>Vk7hx-S3{v(BnNMs6PIYiSnEZgJ0+S=Y>ePgreL7F5yF6opV z{a%90iz_r;Q^qS3f1Z5je=3$kEIg%F5v*@);<^?9hx-S&d~nPan(dbQ4}yO73Tj+k ziy-I|1bv$A7LK`6Sj~1z^>Zca6%5l<6R7DLLc~0O`GT^c^R@GZt?eDo2Lm)+qv}); zBF3^kT*sX$n5JXuevQ?Vu10p6jxkJ=X*#CrR9G!#SU%1o5;G5aVfW6^^un&f^PuG^ jUCQIUSc{RqE8716?tsPlSSWCx00000NkvXXu0mjfVC4u> literal 0 HcmV?d00001