diff --git a/kubejs/startup_scripts/wheat_plus.js b/kubejs/startup_scripts/wheat_plus.js index fa02429..ee9894f 100644 --- a/kubejs/startup_scripts/wheat_plus.js +++ b/kubejs/startup_scripts/wheat_plus.js @@ -737,6 +737,14 @@ function regBlockOtherBasic(event) { texture: '', orientable: false, }, + { + name: 'station_sign_a', + box: [5, -16, 5, 11, 32, 11, true], + label: '站牌', + model: 'common/station_sign_a', + texture: '', + orientable: true, + }, { name: 'statue_player_alex', box: [4, 0, 6, 12, 31, 10, true], diff --git a/resourcepack/assets/wheat_plus/models/block/common/station_sign_a.json b/resourcepack/assets/wheat_plus/models/block/common/station_sign_a.json new file mode 100644 index 0000000..afbd183 --- /dev/null +++ b/resourcepack/assets/wheat_plus/models/block/common/station_sign_a.json @@ -0,0 +1,129 @@ +{ + "credit": "Created by HuJiao & Frost-ZX using Blockbench.", + "ambientocclusion": false, + "texture_size": [128, 128], + "textures": { + "0": "wheat_plus:block/common/station_sign_a", + "particle": "wheat_plus:block/common/station_sign_a" + }, + "elements": [ + { + "name": "pole", + "from": [23, -14, 7], + "to": [25, 30, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [1, 1, 1]}, + "faces": { + "north": {"uv": [3.75, 0, 4, 5.5], "texture": "#0"}, + "east": {"uv": [4, 0, 4.25, 5.5], "texture": "#0"}, + "south": {"uv": [4.25, 0, 4.5, 5.5], "texture": "#0"}, + "west": {"uv": [4.5, 0, 4.75, 5.5], "texture": "#0"}, + "up": {"uv": [3.75, 5.25, 3.5, 5], "texture": "#0"}, + "down": {"uv": [5.5, 2.25, 5.25, 2.5], "texture": "#0"} + } + }, + { + "name": "base", + "from": [22, -16, 6], + "to": [26, -14, 10], + "faces": { + "north": {"uv": [5.25, 1.25, 5.75, 1.5], "texture": "#0"}, + "east": {"uv": [5.25, 1.5, 5.75, 1.75], "texture": "#0"}, + "south": {"uv": [5.25, 1.75, 5.75, 2], "texture": "#0"}, + "west": {"uv": [5.25, 2, 5.75, 2.25], "texture": "#0"}, + "up": {"uv": [2.5, 5.5, 2, 5], "texture": "#0"}, + "down": {"uv": [3, 5, 2.5, 5.5], "texture": "#0"} + } + }, + { + "name": "pole", + "from": [-9, -14, 7], + "to": [-7, 30, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [1, 1, 1]}, + "faces": { + "north": {"uv": [4.75, 0, 5, 5.5], "texture": "#0"}, + "east": {"uv": [0, 5, 0.25, 10.5], "texture": "#0"}, + "south": {"uv": [5, 0, 5.25, 5.5], "texture": "#0"}, + "west": {"uv": [0.25, 5, 0.5, 10.5], "texture": "#0"}, + "up": {"uv": [5.5, 2.75, 5.25, 2.5], "texture": "#0"}, + "down": {"uv": [5.5, 2.75, 5.25, 3], "texture": "#0"} + } + }, + { + "name": "base", + "from": [-10, -16, 6], + "to": [-6, -14, 10], + "faces": { + "north": {"uv": [3, 5, 3.5, 5.25], "texture": "#0"}, + "east": {"uv": [5.25, 0.5, 5.75, 0.75], "texture": "#0"}, + "south": {"uv": [5.25, 0.75, 5.75, 1], "texture": "#0"}, + "west": {"uv": [5.25, 1, 5.75, 1.25], "texture": "#0"}, + "up": {"uv": [1.5, 5.5, 1, 5], "texture": "#0"}, + "down": {"uv": [2, 5, 1.5, 5.5], "texture": "#0"} + } + }, + { + "name": "center", + "from": [-7, 8, 7], + "to": [23, 28, 9], + "faces": { + "north": {"uv": [0, 0, 3.75, 2.5], "texture": "#0"}, + "east": {"uv": [0.5, 5, 0.75, 7.5], "texture": "#0"}, + "south": {"uv": [0, 2.5, 3.75, 5], "texture": "#0"}, + "west": {"uv": [0.75, 5, 1, 7.5], "texture": "#0"}, + "up": {"uv": [9, 0.25, 5.25, 0], "texture": "#0"}, + "down": {"uv": [9, 0.25, 5.25, 0.5], "texture": "#0"} + } + } + ], + "display": { + "thirdperson_righthand": { + "translation": [-6, 2, 0], + "scale": [0.4, 0.4, 0.4] + }, + "thirdperson_lefthand": { + "translation": [-6, 2, 0], + "scale": [0.4, 0.4, 0.4] + }, + "firstperson_righthand": { + "rotation": [0, -90, 25], + "translation": [1, 3, 1], + "scale": [0.5, 0.5, 0.5] + }, + "firstperson_lefthand": { + "rotation": [0, -90, 25], + "translation": [1, 3, 1], + "scale": [0.5, 0.5, 0.5] + }, + "ground": { + "translation": [0, 8, 0], + "scale": [0.5, 0.5, 0.5] + }, + "gui": { + "rotation": [30, 225, 0], + "scale": [0.25, 0.25, 0.25] + }, + "head": { + "translation": [0, 6.5, 0], + "scale": [0.5, 0.5, 0.5] + }, + "fixed": { + "translation": [0, 0, -1], + "scale": [0.4, 0.4, 0.4] + } + }, + "groups": [ + { + "name": "left", + "origin": [1, 1, 1], + "color": 0, + "children": [0, 1] + }, + { + "name": "right", + "origin": [1, 1, 1], + "color": 0, + "children": [2, 3] + }, + 4 + ] +} \ No newline at end of file diff --git a/resourcepack/assets/wheat_plus/textures/block/common/station_sign_a.png b/resourcepack/assets/wheat_plus/textures/block/common/station_sign_a.png new file mode 100644 index 0000000..967f928 Binary files /dev/null and b/resourcepack/assets/wheat_plus/textures/block/common/station_sign_a.png differ