From 3112ef1696deb44cefe80f313425a552d81675b3 Mon Sep 17 00:00:00 2001 From: jhqwqmc <2110242767@qq.com> Date: Sat, 21 Jun 2025 08:07:58 +0800 Subject: [PATCH] =?UTF-8?q?feat(block):=20=E5=AE=8C=E6=88=90=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B=E9=85=8D=E7=BD=AE=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default/configuration/palm_tree.yml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/common-files/src/main/resources/resources/default/configuration/palm_tree.yml b/common-files/src/main/resources/resources/default/configuration/palm_tree.yml index 11fdd767d..08e6c92c4 100644 --- a/common-files/src/main/resources/resources/default/configuration/palm_tree.yml +++ b/common-files/src/main/resources/resources/default/configuration/palm_tree.yml @@ -534,6 +534,55 @@ items: side: minecraft:block/custom/palm_planks top: minecraft:block/custom/palm_planks model_double_path: minecraft:block/custom/palm_planks + default:palm_stairs: + material: paper + custom-model-data: 1010 + model: + type: minecraft:model + path: minecraft:item/custom/palm_stairs + generation: + parent: minecraft:block/custom/palm_stairs + data: + item-name: + behavior: + type: block_item + block: + loot: + template: default:loot_table/self + settings: + template: + - default:sound/wood + overrides: + map-color: 2 + instrument: bass + hardness: 2.0 + resistance: 3.0 + burnable: true + tags: + - minecraft:mineable/axe + - minecraft:stairs + - minecraft:wooden_stairs + behaviors: + type: stairs_block + states: + template: default:block_state/stairs + arguments: + base_block: cut_copper_stairs + model_stairs_inner_path: minecraft:block/custom/palm_stairs_inner + model_stairs_inner_generation: + parent: minecraft:block/inner_stairs + textures: &textures + bottom: &block_texture minecraft:block/custom/palm_planks + side: *block_texture + top: *block_texture + model_stairs_outer_path: minecraft:block/custom/palm_stairs_outer + model_stairs_outer_generation: + parent: minecraft:block/outer_stairs + textures: *textures + model_stairs_path: minecraft:block/custom/palm_stairs + model_stairs_generation: + parent: minecraft:block/stairs + textures: *textures recipes: default:palm_planks: template: default:recipe/planks