From eae8f31702c30ba93c2daa9f45b54cd748449cad Mon Sep 17 00:00:00 2001 From: Frost-ZX Date: Thu, 1 May 2025 19:58:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E7=9C=9F=E5=AE=9E?= =?UTF-8?q?=E6=9C=A8=E5=88=B6=E6=A2=AF=E5=AD=90=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 | 18 +++ .../common/real_wooden_ladder_bottom.json | 102 +++++++++++++++ .../block/common/real_wooden_ladder_top.json | 116 ++++++++++++++++++ 3 files changed, 236 insertions(+) create mode 100644 resourcepack/assets/wheat_plus/models/block/common/real_wooden_ladder_bottom.json create mode 100644 resourcepack/assets/wheat_plus/models/block/common/real_wooden_ladder_top.json diff --git a/kubejs/startup_scripts/wheat_plus.js b/kubejs/startup_scripts/wheat_plus.js index 5380b87..492728a 100644 --- a/kubejs/startup_scripts/wheat_plus.js +++ b/kubejs/startup_scripts/wheat_plus.js @@ -410,6 +410,24 @@ function regBlockCommon(event) { texture: '', type: '', }, + { + name: 'real_wooden_ladder_bottom', + label: '木制梯子(下部分)', + blockstate: null, + box: [0, 0, 0, 16, 16, 8, true], + model: 'common/real_wooden_ladder_bottom', + texture: '', + type: 'cardinal', + }, + { + name: 'real_wooden_ladder_top', + label: '木制梯子(上部分)', + blockstate: null, + box: [0, 0, 7, 16, 16, 16, true], + model: 'common/real_wooden_ladder_top', + texture: '', + type: 'cardinal', + }, { name: 'road_sign_a_ns', label: '路牌(NS)', diff --git a/resourcepack/assets/wheat_plus/models/block/common/real_wooden_ladder_bottom.json b/resourcepack/assets/wheat_plus/models/block/common/real_wooden_ladder_bottom.json new file mode 100644 index 0000000..a40972c --- /dev/null +++ b/resourcepack/assets/wheat_plus/models/block/common/real_wooden_ladder_bottom.json @@ -0,0 +1,102 @@ +{ + "credit": "Created by Frost-ZX using Blockbench.", + "parent": "block/block", + "textures": { + "1": "block/oak_planks", + "particle": "block/oak_planks" + }, + "elements": [ + { + "name": "H_2", + "from": [1, 2.7, 6.9], + "to": [15, 4.7, 7.9], + "rotation": {"angle": 22.5, "axis": "x", "origin": [0, 16, 0]}, + "faces": { + "north": {"uv": [1, 9.8, 15, 11.8], "texture": "#1"}, + "east": {"uv": [8.1, 9.8, 9.1, 11.8], "texture": "#1"}, + "south": {"uv": [1, 9.8, 15, 11.8], "texture": "#1"}, + "west": {"uv": [6.9, 9.8, 7.9, 11.8], "texture": "#1"}, + "up": {"uv": [1, 6.9, 15, 7.9], "texture": "#1"}, + "down": {"uv": [1, 8.1, 15, 9.1], "texture": "#1"} + } + }, + { + "name": "H_3", + "from": [1, 7.1, 6.9], + "to": [15, 9.1, 7.9], + "rotation": {"angle": 22.5, "axis": "x", "origin": [0, 16, 0]}, + "faces": { + "north": {"uv": [1, 5.4, 15, 7.4], "texture": "#1"}, + "east": {"uv": [8.1, 5.4, 9.1, 7.4], "texture": "#1"}, + "south": {"uv": [1, 5.4, 15, 7.4], "texture": "#1"}, + "west": {"uv": [6.9, 5.4, 7.9, 7.4], "texture": "#1"}, + "up": {"uv": [1, 6.9, 15, 7.9], "texture": "#1"}, + "down": {"uv": [1, 8.1, 15, 9.1], "texture": "#1"} + } + }, + { + "name": "H_4", + "from": [1, 11.5, 6.9], + "to": [15, 13.5, 7.9], + "rotation": {"angle": 22.5, "axis": "x", "origin": [0, 16, 0]}, + "faces": { + "north": {"uv": [1, 1, 15, 3], "texture": "#1"}, + "east": {"uv": [8.1, 1, 9.1, 3], "texture": "#1"}, + "south": {"uv": [1, 1, 15, 3], "texture": "#1"}, + "west": {"uv": [6.9, 1, 7.9, 3], "texture": "#1"}, + "up": {"uv": [1, 6.9, 15, 7.9], "texture": "#1"}, + "down": {"uv": [1, 8.1, 15, 9.1], "texture": "#1"} + } + }, + { + "name": "H_5", + "from": [1, 15.9, 6.9], + "to": [15, 17.9, 7.9], + "rotation": {"angle": 22.5, "axis": "x", "origin": [0, 16, 0]}, + "faces": { + "north": {"uv": [1, 0, 15, 2], "texture": "#1"}, + "east": {"uv": [8.1, 0, 9.1, 2], "texture": "#1"}, + "south": {"uv": [1, 0, 15, 2], "texture": "#1"}, + "west": {"uv": [6.9, 0, 7.9, 2], "texture": "#1"}, + "up": {"uv": [1, 6.9, 15, 7.9], "texture": "#1"}, + "down": {"uv": [1, 8.1, 15, 9.1], "texture": "#1"} + } + }, + { + "name": "V_L", + "from": [12, 1.6, 6.65], + "to": [14, 19.1, 8.15], + "rotation": {"angle": 22.5, "axis": "x", "origin": [0, 16, 0]}, + "faces": { + "north": {"uv": [2, 0, 4, 16], "texture": "#1"}, + "east": {"uv": [7.85, 0, 9.35, 16], "texture": "#1"}, + "south": {"uv": [12, 0, 14, 16], "texture": "#1"}, + "west": {"uv": [6.65, 0, 8.15, 16], "texture": "#1"}, + "up": {"uv": [12, 6.65, 14, 8.15], "texture": "#1"}, + "down": {"uv": [12, 7.85, 14, 9.35], "texture": "#1"} + } + }, + { + "name": "V_R", + "from": [2, 1.6, 6.65], + "to": [4, 19.1, 8.15], + "rotation": {"angle": 22.5, "axis": "x", "origin": [0, 16, 0]}, + "faces": { + "north": {"uv": [12, 0, 14, 16], "texture": "#1"}, + "east": {"uv": [7.85, 0, 9.35, 16], "texture": "#1"}, + "south": {"uv": [2, 0, 4, 16], "texture": "#1"}, + "west": {"uv": [6.65, 0, 8.15, 16], "texture": "#1"}, + "up": {"uv": [2, 6.65, 4, 8.15], "texture": "#1"}, + "down": {"uv": [2, 7.85, 4, 9.35], "texture": "#1"} + } + } + ], + "groups": [ + { + "name": "Bottom", + "origin": [0, 1, 8.5], + "color": 0, + "children": [0, 1, 2, 3, 4, 5] + } + ] +} \ No newline at end of file diff --git a/resourcepack/assets/wheat_plus/models/block/common/real_wooden_ladder_top.json b/resourcepack/assets/wheat_plus/models/block/common/real_wooden_ladder_top.json new file mode 100644 index 0000000..f0e1138 --- /dev/null +++ b/resourcepack/assets/wheat_plus/models/block/common/real_wooden_ladder_top.json @@ -0,0 +1,116 @@ +{ + "credit": "Created by Frost-ZX using Blockbench.", + "parent": "block/block", + "textures": { + "1": "block/oak_planks", + "particle": "block/oak_planks" + }, + "elements": [ + { + "name": "Connect", + "from": [0.5, 14.6, 14.5], + "to": [15.5, 16.1, 18], + "faces": { + "north": {"uv": [0.5, 0, 15.5, 1.5], "texture": "#1"}, + "east": {"uv": [0, 0, 3.5, 1.5], "texture": "#1"}, + "south": {"uv": [0.5, 0, 15.5, 1.5], "texture": "#1"}, + "west": {"uv": [0, 0, 3.5, 1.5], "texture": "#1"}, + "up": {"uv": [0.5, 0, 15.5, 3.5], "texture": "#1"}, + "down": {"uv": [0.5, 0, 15.5, 3.5], "texture": "#1"} + } + }, + { + "name": "H_1", + "from": [1, 4.2, 6.9], + "to": [15, 6.2, 7.9], + "rotation": {"angle": 22.5, "axis": "x", "origin": [0, 0, 0]}, + "faces": { + "north": {"uv": [1, 9.8, 15, 11.8], "texture": "#1"}, + "east": {"uv": [8.1, 9.8, 9.1, 11.8], "texture": "#1"}, + "south": {"uv": [1, 9.8, 15, 11.8], "texture": "#1"}, + "west": {"uv": [6.9, 9.8, 7.9, 11.8], "texture": "#1"}, + "up": {"uv": [1, 6.9, 15, 7.9], "texture": "#1"}, + "down": {"uv": [1, 8.1, 15, 9.1], "texture": "#1"} + } + }, + { + "name": "H_2", + "from": [1, 8.6, 6.9], + "to": [15, 10.6, 7.9], + "rotation": {"angle": 22.5, "axis": "x", "origin": [0, 0, 0]}, + "faces": { + "north": {"uv": [1, 5.4, 15, 7.4], "texture": "#1"}, + "east": {"uv": [8.1, 5.4, 9.1, 7.4], "texture": "#1"}, + "south": {"uv": [1, 5.4, 15, 7.4], "texture": "#1"}, + "west": {"uv": [6.9, 5.4, 7.9, 7.4], "texture": "#1"}, + "up": {"uv": [1, 6.9, 15, 7.9], "texture": "#1"}, + "down": {"uv": [1, 8.1, 15, 9.1], "texture": "#1"} + } + }, + { + "name": "H_3", + "from": [1, 13, 6.9], + "to": [15, 15, 7.9], + "rotation": {"angle": 22.5, "axis": "x", "origin": [0, 0, 0]}, + "faces": { + "north": {"uv": [1, 1, 15, 3], "texture": "#1"}, + "east": {"uv": [8.1, 1, 9.1, 3], "texture": "#1"}, + "south": {"uv": [1, 1, 15, 3], "texture": "#1"}, + "west": {"uv": [6.9, 1, 7.9, 3], "texture": "#1"}, + "up": {"uv": [1, 6.9, 15, 7.9], "texture": "#1"}, + "down": {"uv": [1, 8.1, 15, 9.1], "texture": "#1"} + } + }, + { + "name": "H_4", + "from": [1, 17.4, 6.9], + "to": [15, 19.4, 7.9], + "rotation": {"angle": 22.5, "axis": "x", "origin": [0, 0, 0]}, + "faces": { + "north": {"uv": [1, 0, 15, 2], "texture": "#1"}, + "east": {"uv": [8.1, 0, 9.1, 2], "texture": "#1"}, + "south": {"uv": [1, 0, 15, 2], "texture": "#1"}, + "west": {"uv": [6.9, 0, 7.9, 2], "texture": "#1"}, + "up": {"uv": [1, 6.9, 15, 7.9], "texture": "#1"}, + "down": {"uv": [1, 8.1, 15, 9.1], "texture": "#1"} + } + }, + { + "name": "V_L", + "from": [12, 3.1, 6.65], + "to": [14, 20.6, 8.15], + "rotation": {"angle": 22.5, "axis": "x", "origin": [0, 0, 0]}, + "faces": { + "north": {"uv": [2, 0, 4, 16], "texture": "#1"}, + "east": {"uv": [7.85, 0, 9.35, 16], "texture": "#1"}, + "south": {"uv": [12, 0, 14, 16], "texture": "#1"}, + "west": {"uv": [6.65, 0, 8.15, 16], "texture": "#1"}, + "up": {"uv": [12, 6.65, 14, 8.15], "texture": "#1"}, + "down": {"uv": [12, 7.85, 14, 9.35], "texture": "#1"} + } + }, + { + "name": "V_R", + "from": [2, 3.1, 6.65], + "to": [4, 20.6, 8.15], + "rotation": {"angle": 22.5, "axis": "x", "origin": [0, 0, 0]}, + "faces": { + "north": {"uv": [12, 0, 14, 16], "texture": "#1"}, + "east": {"uv": [7.85, 0, 9.35, 16], "texture": "#1"}, + "south": {"uv": [2, 0, 4, 16], "texture": "#1"}, + "west": {"uv": [6.65, 0, 8.15, 16], "texture": "#1"}, + "up": {"uv": [2, 6.65, 4, 8.15], "texture": "#1"}, + "down": {"uv": [2, 7.85, 4, 9.35], "texture": "#1"} + } + } + ], + "groups": [ + 0, + { + "name": "Top", + "origin": [0, 1, 8.5], + "color": 0, + "children": [1, 2, 3, 4, 5, 6] + } + ] +} \ No newline at end of file