diff --git a/kubejs/startup_scripts/wheat_plus.js b/kubejs/startup_scripts/wheat_plus.js index 5830911..c73a210 100644 --- a/kubejs/startup_scripts/wheat_plus.js +++ b/kubejs/startup_scripts/wheat_plus.js @@ -1362,6 +1362,42 @@ function regBlockCommon(event) { textureUpDown: 'common/tree_willow_wood_ud', type: '', }, + { + name: 'demo_block_a', + label: 'demo 方块', + blockstate: null, + box: [1, 1, 1, 15, 15, 15, true], + model: 'demo/demo_block_a', + texture: '', + type: 'cardinal', + }, + { + name: 'demo_block_b', + label: 'demo 方块', + blockstate: null, + box: [1, 1, 1, 15, 15, 15, true], + model: 'demo/demo_block_b', + texture: '', + type: 'cardinal', + }, + { + name: 'demo_block_c', + label: 'demo 方块', + blockstate: null, + box: [1, 1, 1, 15, 15, 15, true], + model: 'demo/demo_block_c', + texture: '', + type: 'cardinal', + }, + { + name: 'demo_block_d', + label: 'demo 方块', + blockstate: null, + box: [1, 1, 1, 15, 15, 15, true], + model: 'demo/demo_block_d', + texture: '', + type: 'cardinal', + }, ]; blockList.forEach((config) => { diff --git a/resourcepack/assets/wheat_plus/models/block/demo/demo_block_a.json b/resourcepack/assets/wheat_plus/models/block/demo/demo_block_a.json new file mode 100644 index 0000000..1265cc3 --- /dev/null +++ b/resourcepack/assets/wheat_plus/models/block/demo/demo_block_a.json @@ -0,0 +1,23 @@ +{ + "credit": "Created by Frost-ZX using Blockbench.", + "parent": "block/block", + "textures": { + "particle": "block/stone", + "texture": "block/stone" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]}, + "faces": { + "north": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "east": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "south": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "west": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#texture"} + } + } + ] +} \ No newline at end of file diff --git a/resourcepack/assets/wheat_plus/models/block/demo/demo_block_b.json b/resourcepack/assets/wheat_plus/models/block/demo/demo_block_b.json new file mode 100644 index 0000000..1265cc3 --- /dev/null +++ b/resourcepack/assets/wheat_plus/models/block/demo/demo_block_b.json @@ -0,0 +1,23 @@ +{ + "credit": "Created by Frost-ZX using Blockbench.", + "parent": "block/block", + "textures": { + "particle": "block/stone", + "texture": "block/stone" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]}, + "faces": { + "north": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "east": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "south": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "west": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#texture"} + } + } + ] +} \ No newline at end of file diff --git a/resourcepack/assets/wheat_plus/models/block/demo/demo_block_c.json b/resourcepack/assets/wheat_plus/models/block/demo/demo_block_c.json new file mode 100644 index 0000000..1265cc3 --- /dev/null +++ b/resourcepack/assets/wheat_plus/models/block/demo/demo_block_c.json @@ -0,0 +1,23 @@ +{ + "credit": "Created by Frost-ZX using Blockbench.", + "parent": "block/block", + "textures": { + "particle": "block/stone", + "texture": "block/stone" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]}, + "faces": { + "north": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "east": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "south": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "west": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#texture"} + } + } + ] +} \ No newline at end of file diff --git a/resourcepack/assets/wheat_plus/models/block/demo/demo_block_d.json b/resourcepack/assets/wheat_plus/models/block/demo/demo_block_d.json new file mode 100644 index 0000000..1265cc3 --- /dev/null +++ b/resourcepack/assets/wheat_plus/models/block/demo/demo_block_d.json @@ -0,0 +1,23 @@ +{ + "credit": "Created by Frost-ZX using Blockbench.", + "parent": "block/block", + "textures": { + "particle": "block/stone", + "texture": "block/stone" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]}, + "faces": { + "north": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "east": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "south": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "west": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#texture"} + } + } + ] +} \ No newline at end of file