From 4115d7f21df1559d38ce2c048473f4539bb85e9f Mon Sep 17 00:00:00 2001 From: Frost-ZX <30585462+Frost-ZX@users.noreply.github.com> Date: Mon, 12 Sep 2022 21:07:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E9=9A=94=E7=A6=BB?= =?UTF-8?q?=E6=A1=A9=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 | 6 + .../models/block/common/isolation_pile_a.json | 268 ++++++++++++++++++ 2 files changed, 274 insertions(+) create mode 100644 resourcepack/assets/wheat_plus/models/block/common/isolation_pile_a.json diff --git a/kubejs/startup_scripts/wheat_plus.js b/kubejs/startup_scripts/wheat_plus.js index 473ed66..933ab7f 100644 --- a/kubejs/startup_scripts/wheat_plus.js +++ b/kubejs/startup_scripts/wheat_plus.js @@ -477,6 +477,12 @@ onEvent('block.registry', (event) => { console.info(`${LOG_PREFIX} 注册方块 - 其它 - 开始`); const blocks = [ + { + name: 'isolation_pile_a', + box: [5, 0, 5, 11, 16, 11, true], + label: '隔离桩', + model: 'common/isolation_pile_a', + }, { name: 'statue_player_alex', box: [4, 0, 6, 12, 31, 10, true], diff --git a/resourcepack/assets/wheat_plus/models/block/common/isolation_pile_a.json b/resourcepack/assets/wheat_plus/models/block/common/isolation_pile_a.json new file mode 100644 index 0000000..1d095af --- /dev/null +++ b/resourcepack/assets/wheat_plus/models/block/common/isolation_pile_a.json @@ -0,0 +1,268 @@ +{ + "credit": "Created by Frost-ZX using Blockbench.", + "parent": "block/block", + "ambientocclusion": false, + "textures": { + "black": "block/black_concrete", + "particle": "block/yellow_concrete", + "yellow": "block/yellow_concrete" + }, + "elements": [ + { + "name": "A", + "from": [7, 12, 5], + "to": [9, 16, 6], + "faces": { + "north": {"uv": [7, 0, 9, 4], "texture": "#yellow"}, + "east": {"uv": [10, 0, 11, 4], "texture": "#yellow"}, + "south": {"uv": [7, 0, 9, 4], "texture": "#yellow"}, + "west": {"uv": [5, 0, 6, 4], "texture": "#yellow"}, + "up": {"uv": [7, 5, 9, 6], "texture": "#yellow", "cullface": "up"} + } + }, + { + "name": "B", + "from": [6, 12, 6], + "to": [10, 16, 7], + "faces": { + "north": {"uv": [6, 0, 10, 4], "texture": "#yellow"}, + "east": {"uv": [9, 0, 10, 4], "texture": "#yellow"}, + "south": {"uv": [6, 0, 10, 4], "texture": "#yellow"}, + "west": {"uv": [6, 0, 7, 4], "texture": "#yellow"}, + "up": {"uv": [6, 6, 10, 7], "texture": "#yellow", "cullface": "up"} + } + }, + { + "name": "C", + "from": [5, 12, 7], + "to": [11, 16, 9], + "faces": { + "north": {"uv": [5, 0, 11, 4], "texture": "#yellow"}, + "east": {"uv": [7, 0, 9, 4], "texture": "#yellow"}, + "south": {"uv": [5, 0, 11, 4], "texture": "#yellow"}, + "west": {"uv": [7, 0, 9, 4], "texture": "#yellow"}, + "up": {"uv": [5, 7, 11, 9], "texture": "#yellow", "cullface": "up"} + } + }, + { + "name": "D", + "from": [6, 12, 9], + "to": [10, 16, 10], + "faces": { + "north": {"uv": [6, 0, 10, 4], "texture": "#yellow"}, + "east": {"uv": [6, 0, 7, 4], "texture": "#yellow"}, + "south": {"uv": [6, 0, 10, 4], "texture": "#yellow"}, + "west": {"uv": [9, 0, 10, 4], "texture": "#yellow"}, + "up": {"uv": [6, 9, 10, 10], "texture": "#yellow", "cullface": "up"} + } + }, + { + "name": "E", + "from": [7, 12, 10], + "to": [9, 16, 11], + "faces": { + "north": {"uv": [7, 0, 9, 4], "texture": "#yellow"}, + "east": {"uv": [5, 0, 6, 4], "texture": "#yellow"}, + "south": {"uv": [7, 0, 9, 4], "texture": "#yellow"}, + "west": {"uv": [10, 0, 11, 4], "texture": "#yellow"}, + "up": {"uv": [7, 10, 9, 11], "texture": "#yellow", "cullface": "up"} + } + }, + { + "name": "A", + "from": [7, 8, 5], + "to": [9, 12, 6], + "faces": { + "north": {"uv": [7, 4, 9, 8], "texture": "#black"}, + "east": {"uv": [10, 4, 11, 8], "texture": "#black"}, + "south": {"uv": [7, 4, 9, 8], "texture": "#black"}, + "west": {"uv": [5, 4, 6, 8], "texture": "#black"} + } + }, + { + "name": "B", + "from": [6, 8, 6], + "to": [10, 12, 7], + "faces": { + "north": {"uv": [6, 4, 10, 8], "texture": "#black"}, + "east": {"uv": [9, 4, 10, 8], "texture": "#black"}, + "south": {"uv": [6, 4, 10, 8], "texture": "#black"}, + "west": {"uv": [6, 4, 7, 8], "texture": "#black"} + } + }, + { + "name": "C", + "from": [5, 8, 7], + "to": [11, 12, 9], + "faces": { + "north": {"uv": [5, 4, 11, 8], "texture": "#black"}, + "east": {"uv": [7, 4, 9, 8], "texture": "#black"}, + "south": {"uv": [5, 4, 11, 8], "texture": "#black"}, + "west": {"uv": [7, 4, 9, 8], "texture": "#black"} + } + }, + { + "name": "D", + "from": [6, 8, 9], + "to": [10, 12, 10], + "faces": { + "north": {"uv": [6, 4, 10, 8], "texture": "#black"}, + "east": {"uv": [6, 4, 7, 8], "texture": "#black"}, + "south": {"uv": [6, 4, 10, 8], "texture": "#black"}, + "west": {"uv": [9, 4, 10, 8], "texture": "#black"} + } + }, + { + "name": "E", + "from": [7, 8, 10], + "to": [9, 12, 11], + "faces": { + "north": {"uv": [7, 4, 9, 8], "texture": "#black"}, + "east": {"uv": [5, 4, 6, 8], "texture": "#black"}, + "south": {"uv": [7, 4, 9, 8], "texture": "#black"}, + "west": {"uv": [10, 4, 11, 8], "texture": "#black"} + } + }, + { + "name": "A", + "from": [7, 4, 5], + "to": [9, 8, 6], + "faces": { + "north": {"uv": [7, 8, 9, 12], "texture": "#yellow"}, + "east": {"uv": [10, 8, 11, 12], "texture": "#yellow"}, + "south": {"uv": [7, 8, 9, 12], "texture": "#yellow"}, + "west": {"uv": [5, 8, 6, 12], "texture": "#yellow"} + } + }, + { + "name": "B", + "from": [6, 4, 6], + "to": [10, 8, 7], + "faces": { + "north": {"uv": [6, 8, 10, 12], "texture": "#yellow"}, + "east": {"uv": [9, 8, 10, 12], "texture": "#yellow"}, + "south": {"uv": [6, 8, 10, 12], "texture": "#yellow"}, + "west": {"uv": [6, 8, 7, 12], "texture": "#yellow"} + } + }, + { + "name": "C", + "from": [5, 4, 7], + "to": [11, 8, 9], + "faces": { + "north": {"uv": [5, 8, 11, 12], "texture": "#yellow"}, + "east": {"uv": [7, 8, 9, 12], "texture": "#yellow"}, + "south": {"uv": [5, 8, 11, 12], "texture": "#yellow"}, + "west": {"uv": [7, 8, 9, 12], "texture": "#yellow"} + } + }, + { + "name": "D", + "from": [6, 4, 9], + "to": [10, 8, 10], + "faces": { + "north": {"uv": [6, 8, 10, 12], "texture": "#yellow"}, + "east": {"uv": [6, 8, 7, 12], "texture": "#yellow"}, + "south": {"uv": [6, 8, 10, 12], "texture": "#yellow"}, + "west": {"uv": [9, 8, 10, 12], "texture": "#yellow"} + } + }, + { + "name": "E", + "from": [7, 4, 10], + "to": [9, 8, 11], + "faces": { + "north": {"uv": [7, 8, 9, 12], "texture": "#yellow"}, + "east": {"uv": [5, 8, 6, 12], "texture": "#yellow"}, + "south": {"uv": [7, 8, 9, 12], "texture": "#yellow"}, + "west": {"uv": [10, 8, 11, 12], "texture": "#yellow"} + } + }, + { + "name": "A", + "from": [7, 0, 5], + "to": [9, 4, 6], + "faces": { + "north": {"uv": [7, 12, 9, 16], "texture": "#black"}, + "east": {"uv": [10, 12, 11, 16], "texture": "#black"}, + "south": {"uv": [7, 12, 9, 16], "texture": "#black"}, + "west": {"uv": [5, 12, 6, 16], "texture": "#black"}, + "down": {"uv": [7, 10, 9, 11], "texture": "#black", "cullface": "down"} + } + }, + { + "name": "B", + "from": [6, 0, 6], + "to": [10, 4, 7], + "faces": { + "north": {"uv": [6, 12, 10, 16], "texture": "#black"}, + "east": {"uv": [9, 12, 10, 16], "texture": "#black"}, + "south": {"uv": [6, 12, 10, 16], "texture": "#black"}, + "west": {"uv": [6, 12, 7, 16], "texture": "#black"}, + "down": {"uv": [6, 9, 10, 10], "texture": "#black", "cullface": "down"} + } + }, + { + "name": "C", + "from": [5, 0, 7], + "to": [11, 4, 9], + "faces": { + "north": {"uv": [5, 12, 11, 16], "texture": "#black"}, + "east": {"uv": [7, 12, 9, 16], "texture": "#black"}, + "south": {"uv": [5, 12, 11, 16], "texture": "#black"}, + "west": {"uv": [7, 12, 9, 16], "texture": "#black"}, + "down": {"uv": [5, 7, 11, 9], "texture": "#black", "cullface": "down"} + } + }, + { + "name": "D", + "from": [6, 0, 9], + "to": [10, 4, 10], + "faces": { + "north": {"uv": [6, 12, 10, 16], "texture": "#black"}, + "east": {"uv": [6, 12, 7, 16], "texture": "#black"}, + "south": {"uv": [6, 12, 10, 16], "texture": "#black"}, + "west": {"uv": [9, 12, 10, 16], "texture": "#black"}, + "down": {"uv": [6, 6, 10, 7], "texture": "#black", "cullface": "down"} + } + }, + { + "name": "E", + "from": [7, 0, 10], + "to": [9, 4, 11], + "faces": { + "north": {"uv": [7, 12, 9, 16], "texture": "#black"}, + "east": {"uv": [5, 12, 6, 16], "texture": "#black"}, + "south": {"uv": [7, 12, 9, 16], "texture": "#black"}, + "west": {"uv": [10, 12, 11, 16], "texture": "#black"}, + "down": {"uv": [7, 5, 9, 6], "texture": "#black", "cullface": "down"} + } + } + ], + "groups": [ + { + "name": "L4", + "origin": [0, 0, 0], + "color": 0, + "children": [0, 1, 2, 3, 4] + }, + { + "name": "L3", + "origin": [0, 0, 0], + "color": 0, + "children": [5, 6, 7, 8, 9] + }, + { + "name": "L2", + "origin": [0, 0, 0], + "color": 0, + "children": [10, 11, 12, 13, 14] + }, + { + "name": "L1", + "origin": [0, 0, 0], + "color": 0, + "children": [15, 16, 17, 18, 19] + } + ] +} \ No newline at end of file