From 52ca59619a1e6209b25e3314255fd90b4becd242 Mon Sep 17 00:00:00 2001 From: Frost-ZX Date: Sat, 5 Apr 2025 19:47:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E7=9F=B3=E8=8B=B1?= =?UTF-8?q?=E5=9D=97=E3=80=81=E5=9E=82=E7=9B=B4=E7=9F=B3=E8=8B=B1=E5=8F=B0?= =?UTF-8?q?=E9=98=B6=E3=80=81=E5=A2=99=EF=BC=88=E7=9F=B3=E8=8B=B1=EF=BC=89?= =?UTF-8?q?=E3=80=81=E9=BB=91=E6=9D=BF=E6=96=B9=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kubejs/startup_scripts/wheat_plus.js | 32 +++++++++++++++++++ .../block/building/building_misc_d.json | 25 +++++++++++++++ .../building_quartz_vertical_slab.json | 25 +++++++++++++++ .../block/building/building_wall_d.json | 25 +++++++++++++++ .../furniture/furniture_black_board_a.json | 23 +++++++++++++ 5 files changed, 130 insertions(+) create mode 100644 resourcepack/assets/wheat_plus/models/block/building/building_misc_d.json create mode 100644 resourcepack/assets/wheat_plus/models/block/building/building_quartz_vertical_slab.json create mode 100644 resourcepack/assets/wheat_plus/models/block/building/building_wall_d.json create mode 100644 resourcepack/assets/wheat_plus/models/block/furniture/furniture_black_board_a.json diff --git a/kubejs/startup_scripts/wheat_plus.js b/kubejs/startup_scripts/wheat_plus.js index de5f4b1..ca10dc1 100644 --- a/kubejs/startup_scripts/wheat_plus.js +++ b/kubejs/startup_scripts/wheat_plus.js @@ -228,6 +228,14 @@ function regBlockBuildingAndFurniture(event) { texture: '', orientable: true, }, + { + name: 'building_misc_d', + box: [2, 0, 2, 14, 16, 14, true], + label: '石英块', + model: 'building/building_misc_d', + texture: '', + orientable: true, + }, { name: 'building_pillar_a', box: [2, 0, 2, 14, 16, 14, true], @@ -260,6 +268,14 @@ function regBlockBuildingAndFurniture(event) { texture: '', orientable: false, }, + { + name: 'building_quartz_vertical_slab', + box: [2, 0, 2, 14, 16, 14, true], + label: '垂直石英台阶', + model: 'building/building_quartz_vertical_slab', + texture: '', + orientable: true, + }, { name: 'building_rail_a', box: [2, 0, 2, 14, 16, 14, true], @@ -396,6 +412,14 @@ function regBlockBuildingAndFurniture(event) { texture: '', orientable: true, }, + { + name: 'building_wall_d', + box: [2, 0, 2, 14, 16, 14, true], + label: '墙(石英)', + model: 'building/building_wall_d', + texture: '', + orientable: true, + }, // 家具方块 { name: 'furniture_birch_chair_a', @@ -421,6 +445,14 @@ function regBlockBuildingAndFurniture(event) { texture: '', orientable: true, }, + { + name: 'furniture_black_board_a', + box: [2, 0, 2, 14, 16, 14, true], + label: '黑板', + model: 'furniture/furniture_black_board_a', + texture: '', + orientable: true, + }, { name: 'furniture_kitchen_counter_a', box: [2, 0, 2, 14, 16, 14, true], diff --git a/resourcepack/assets/wheat_plus/models/block/building/building_misc_d.json b/resourcepack/assets/wheat_plus/models/block/building/building_misc_d.json new file mode 100644 index 0000000..bf7ddec --- /dev/null +++ b/resourcepack/assets/wheat_plus/models/block/building/building_misc_d.json @@ -0,0 +1,25 @@ +{ + "credit": "Created by Frost-ZX using Blockbench.", + "parent": "block/block", + "textures": { + "1": "block/quartz_block_bottom", + "2": "block/quartz_block_side", + "3": "block/quartz_block_top", + "particle": "block/quartz_block_side" + }, + "elements": [ + { + "from": [0, 8, 8], + "to": [16, 16, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]}, + "faces": { + "north": {"uv": [0, 0, 16, 8], "texture": "#2"}, + "east": {"uv": [0, 0, 8, 8], "texture": "#2", "cullface": "east"}, + "south": {"uv": [0, 0, 16, 8], "texture": "#2", "cullface": "south"}, + "west": {"uv": [8, 0, 16, 8], "texture": "#2", "cullface": "west"}, + "up": {"uv": [0, 8, 16, 16], "texture": "#3", "cullface": "up"}, + "down": {"uv": [0, 0, 16, 8], "texture": "#1"} + } + } + ] +} \ No newline at end of file diff --git a/resourcepack/assets/wheat_plus/models/block/building/building_quartz_vertical_slab.json b/resourcepack/assets/wheat_plus/models/block/building/building_quartz_vertical_slab.json new file mode 100644 index 0000000..74f47c5 --- /dev/null +++ b/resourcepack/assets/wheat_plus/models/block/building/building_quartz_vertical_slab.json @@ -0,0 +1,25 @@ +{ + "credit": "Created by Frost-ZX using Blockbench.", + "parent": "block/block", + "textures": { + "2": "block/quartz_block_bottom", + "3": "block/quartz_block_side", + "4": "block/quartz_block_top", + "particle": "block/quartz_block_side" + }, + "elements": [ + { + "from": [0, 0, 8], + "to": [16, 16, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]}, + "faces": { + "north": {"uv": [0, 0, 16, 16], "texture": "#3"}, + "east": {"uv": [0, 0, 8, 16], "texture": "#3", "cullface": "east"}, + "south": {"uv": [0, 0, 16, 16], "texture": "#3", "cullface": "south"}, + "west": {"uv": [8, 0, 16, 16], "texture": "#3", "cullface": "west"}, + "up": {"uv": [0, 8, 16, 16], "rotation": 270, "texture": "#4", "cullface": "up"}, + "down": {"uv": [0, 0, 16, 8], "rotation": 90, "texture": "#2", "cullface": "down"} + } + } + ] +} \ No newline at end of file diff --git a/resourcepack/assets/wheat_plus/models/block/building/building_wall_d.json b/resourcepack/assets/wheat_plus/models/block/building/building_wall_d.json new file mode 100644 index 0000000..aac640b --- /dev/null +++ b/resourcepack/assets/wheat_plus/models/block/building/building_wall_d.json @@ -0,0 +1,25 @@ +{ + "credit": "Created by Frost-ZX using Blockbench.", + "parent": "wheat_plus:block/base/normal_ao_off", + "textures": { + "1": "block/quartz_block_bottom", + "2": "block/quartz_block_side", + "3": "block/quartz_block_top", + "particle": "block/quartz_block_side" + }, + "elements": [ + { + "from": [0, 0, 3], + "to": [16, 16, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]}, + "faces": { + "north": {"uv": [0, 0, 16, 16], "texture": "#2"}, + "east": {"uv": [0, 0, 13, 16], "texture": "#2", "cullface": "east"}, + "south": {"uv": [0, 0, 16, 16], "texture": "#2", "cullface": "south"}, + "west": {"uv": [3, 0, 16, 16], "texture": "#2", "cullface": "west"}, + "up": {"uv": [0, 3, 16, 16], "texture": "#3", "cullface": "up"}, + "down": {"uv": [0, 0, 16, 13], "texture": "#1", "cullface": "down"} + } + } + ] +} \ No newline at end of file diff --git a/resourcepack/assets/wheat_plus/models/block/furniture/furniture_black_board_a.json b/resourcepack/assets/wheat_plus/models/block/furniture/furniture_black_board_a.json new file mode 100644 index 0000000..2a72473 --- /dev/null +++ b/resourcepack/assets/wheat_plus/models/block/furniture/furniture_black_board_a.json @@ -0,0 +1,23 @@ +{ + "credit": "Created by Frost-ZX using Blockbench.", + "parent": "block/block", + "textures": { + "1": "block/black_concrete", + "particle": "block/black_concrete" + }, + "elements": [ + { + "from": [0, 0, 15], + "to": [16, 16, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]}, + "faces": { + "north": {"uv": [0, 0, 16, 16], "texture": "#1"}, + "east": {"uv": [0, 0, 1, 16], "texture": "#1", "cullface": "east"}, + "south": {"uv": [0, 0, 16, 16], "texture": "#1", "cullface": "south"}, + "west": {"uv": [15, 0, 16, 16], "texture": "#1", "cullface": "west"}, + "up": {"uv": [0, 15, 16, 16], "rotation": 270, "texture": "#1", "cullface": "up"}, + "down": {"uv": [0, 0, 16, 1], "rotation": 90, "texture": "#1", "cullface": "down"} + } + } + ] +} \ No newline at end of file