From efb404900cf3d9dbb8eaaba8887c1d44f58bb74f Mon Sep 17 00:00:00 2001 From: jhqwqmc <2110242767@qq.com> Date: Sun, 10 Aug 2025 10:01:43 +0800 Subject: [PATCH] =?UTF-8?q?feat(default-assets):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=A3=8B=E7=9B=98=E6=96=B9=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default/configuration/block_name.yml | 4 +- .../default/configuration/blocks.yml | 71 ++++++++++++++++++ .../default/configuration/categories.yml | 3 +- .../resources/default/configuration/i18n.yml | 2 + .../textures/block/custom/chessboard.png | Bin 0 -> 719 bytes 5 files changed, 78 insertions(+), 2 deletions(-) create mode 100644 common-files/src/main/resources/resources/default/resourcepack/assets/minecraft/textures/block/custom/chessboard.png diff --git a/common-files/src/main/resources/resources/default/configuration/block_name.yml b/common-files/src/main/resources/resources/default/configuration/block_name.yml index 5619af49a..0b89fc743 100644 --- a/common-files/src/main/resources/resources/default/configuration/block_name.yml +++ b/common-files/src/main/resources/resources/default/configuration/block_name.yml @@ -26,6 +26,7 @@ lang: block_name:default:gunpowder_block: GunPowder Block block_name:default:solid_gunpowder_block: Solid GunPowder Block block_name:default:copper_coil: Copper Coil + block_name:default:chessboard: Chessboard zh_cn: block_name:default:chinese_lantern: 灯笼 block_name:default:netherite_anvil: 下界合金砧 @@ -49,4 +50,5 @@ lang: block_name:default:ender_pearl_flower: 末影珍珠花 block_name:default:gunpowder_block: 火药粉末 block_name:default:solid_gunpowder_block: 凝固火药块 - block_name:default:copper_coil: 铜线圈 \ No newline at end of file + block_name:default:copper_coil: 铜线圈 + block_name:default:chessboard: 棋盘 \ No newline at end of file diff --git a/common-files/src/main/resources/resources/default/configuration/blocks.yml b/common-files/src/main/resources/resources/default/configuration/blocks.yml index f97b2da35..8df0578c9 100644 --- a/common-files/src/main/resources/resources/default/configuration/blocks.yml +++ b/common-files/src/main/resources/resources/default/configuration/blocks.yml @@ -364,6 +364,77 @@ items#misc: pebble=3: appearance: 'three' id: 4 + default:chessboard: + material: nether_brick + custom-model-data: 3006 + data: + item-name: + model: + type: minecraft:model + path: minecraft:item/custom/chessboard + generation: + parent: minecraft:block/custom/chessboard + behavior: + type: block_item + block: + loot: + template: default:loot_table/self + settings: + hardness: 1.4 + resistance: 1.4 + is-suffocating: true + is-redstone-conductor: true + push-reaction: PUSH_ONLY + instrument: BASEDRUM + map-color: 36 + sounds: + break: minecraft:block.stone.break + fall: minecraft:block.stone.fall + hit: minecraft:block.stone.hit + place: minecraft:block.stone.place + step: minecraft:block.stone.step + states: + properties: + facing: + type: 4-direction + default: north + appearances: + east: + state: note_block:18 + model: + path: minecraft:block/custom/chessboard + y: 270 + generation: + parent: minecraft:block/template_glazed_terracotta + textures: + pattern: minecraft:block/custom/chessboard + north: + state: note_block:19 + model: + path: minecraft:block/custom/chessboard + y: 180 + south: + state: note_block:20 + model: + path: minecraft:block/custom/chessboard + west: + state: note_block:21 + model: + path: minecraft:block/custom/chessboard + y: 90 + variants: + facing=east: + appearance: east + id: 18 + facing=north: + appearance: north + id: 19 + facing=south: + appearance: south + id: 20 + facing=west: + appearance: west + id: 21 recipes#misc: default:chinese_lantern: type: shaped diff --git a/common-files/src/main/resources/resources/default/configuration/categories.yml b/common-files/src/main/resources/resources/default/configuration/categories.yml index 10ef8b0f2..248c46162 100644 --- a/common-files/src/main/resources/resources/default/configuration/categories.yml +++ b/common-files/src/main/resources/resources/default/configuration/categories.yml @@ -77,4 +77,5 @@ categories: - default:copper_coil - default:flame_elytra - default:cap - - default:pebble \ No newline at end of file + - default:pebble + - default:chessboard \ No newline at end of file diff --git a/common-files/src/main/resources/resources/default/configuration/i18n.yml b/common-files/src/main/resources/resources/default/configuration/i18n.yml index b032f9c78..be1f59d04 100644 --- a/common-files/src/main/resources/resources/default/configuration/i18n.yml +++ b/common-files/src/main/resources/resources/default/configuration/i18n.yml @@ -45,6 +45,7 @@ i18n: item.pebble: Pebble item.cap: Cap item.flower_basket: Flower Basket + item.chessboard: Chessboard category.default.name: Default Assets category.default.lore: Contains the default configuration of CraftEngine category.palm_tree: Palm Tree @@ -100,6 +101,7 @@ i18n: item.pebble: 石子 item.cap: 鸭舌帽 item.flower_basket: 花篮 + item.chessboard: 棋盘 category.default.name: 默认资产 category.default.lore: 包含了CraftEngine的默认配置 category.palm_tree: 棕榈树 diff --git a/common-files/src/main/resources/resources/default/resourcepack/assets/minecraft/textures/block/custom/chessboard.png b/common-files/src/main/resources/resources/default/resourcepack/assets/minecraft/textures/block/custom/chessboard.png new file mode 100644 index 0000000000000000000000000000000000000000..97ebb52c9ddf530347479f0c3b1d68d5f0698007 GIT binary patch literal 719 zcmV;=0x1DAFRWC)$QmOf~k(M6mp#X+R_Tm&hO z7IacXm+Ds9TAHMVHc6Xzljc5-`Tme19=P1gJ^%S$|9@2W_gCF$G+?_PY}*D`C=@~_ zw~v*T6})=$PX1}FvaL}yq4PW z@o}is&o4Tc%ZWq+aFgHpVhPD)QWWg$>e~4;n#lCV45)+wc}@c(BO{2%O;NUR0?mIVAiz+bXLyopfB^a%g}002ovPDHLkV1ka2 BR9OH3 literal 0 HcmV?d00001