1
0

fix: 优化方块模型显示效果

This commit is contained in:
2025-04-05 19:47:14 +08:00
parent 2376759f7f
commit 04b023437c
33 changed files with 101 additions and 69 deletions

View File

@@ -111,7 +111,7 @@ function regBlockBuildingAndFurniture(event) {
{
name: 'building_brick_d',
box: [2, 0, 2, 14, 16, 14, true],
label: '砖块1/4',
label: '砖块(砖块,1/4',
model: 'building/building_brick_d',
texture: '',
orientable: true,
@@ -119,7 +119,7 @@ function regBlockBuildingAndFurniture(event) {
{
name: 'building_brick_d_tall',
box: [2, 0, 2, 14, 16, 14, true],
label: '砖块1/4',
label: '砖块(砖块,1/4',
model: 'building/building_brick_d_tall',
texture: '',
orientable: true,
@@ -127,7 +127,7 @@ function regBlockBuildingAndFurniture(event) {
{
name: 'building_brick_e',
box: [2, 0, 2, 14, 16, 14, true],
label: '砖块1/4',
label: '砖块(青色陶瓦,1/4',
model: 'building/building_brick_e',
texture: '',
orientable: true,
@@ -135,7 +135,7 @@ function regBlockBuildingAndFurniture(event) {
{
name: 'building_brick_e_tall',
box: [2, 0, 2, 14, 16, 14, true],
label: '砖块1/4',
label: '砖块(青色陶瓦,1/4',
model: 'building/building_brick_e_tall',
texture: '',
orientable: true,
@@ -190,7 +190,7 @@ function regBlockBuildingAndFurniture(event) {
},
{
name: 'building_ground_a',
box: null,
box: [0, 0, 0, 16, 16, 16, true],
label: '地面(红色混凝土 + 磨制闪长岩)',
model: 'building/building_ground_a',
texture: '',
@@ -207,7 +207,7 @@ function regBlockBuildingAndFurniture(event) {
{
name: 'building_misc_a',
box: [2, 0, 2, 14, 16, 14, true],
label: '石英',
label: '石英',
model: 'building/building_misc_a',
texture: '',
orientable: true,
@@ -374,7 +374,7 @@ function regBlockBuildingAndFurniture(event) {
},
{
name: 'building_wall_a',
box: null,
box: [0, 0, 0, 16, 16, 16, true],
label: '墙(石砖 + 石英)',
model: 'building/building_wall_a',
texture: '',
@@ -382,8 +382,8 @@ function regBlockBuildingAndFurniture(event) {
},
{
name: 'building_wall_b',
box: null,
label: '墙(灰色混凝土 + 石英)',
box: [0, 0, 0, 16, 16, 16, true],
label: '墙(青色陶瓦 + 石英)',
model: 'building/building_wall_b',
texture: '',
orientable: true,

View File

@@ -0,0 +1,54 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"ambientocclusion": false,
"textures": {
"0": "wheat_plus:block/common/color_normal",
"particle": "wheat_plus:block/common/color_normal"
},
"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": "#0", "cullface": "north"},
"east": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "east"},
"south": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "south"},
"west": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "west"},
"up": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "up"},
"down": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "down"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.25, 0.25, 0.25]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.25, 0.25, 0.25]
},
"firstperson_righthand": {
"rotation": [0, 225, 0],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, 225, 0],
"scale": [0.4, 0.4, 0.4]
},
"ground": {
"translation": [0, 3, 0],
"scale": [0.25, 0.25, 0.25]
},
"gui": {
"rotation": [30, 225, 0],
"scale": [0.625, 0.625, 0.625]
},
"fixed": {
"scale": [0.5, 0.5, 0.5]
}
}
}

View File

@@ -1,6 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"0": "wheat_plus:block/brick/brick_d",
"particle": "wheat_plus:block/brick/brick_d"

View File

@@ -1,7 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"ambientocclusion": false,
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"0": "wheat_plus:block/brick/brick_d",
"particle": "wheat_plus:block/brick/brick_d"

View File

@@ -1,9 +1,9 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"1": "block/gray_concrete",
"particle": "block/gray_concrete"
"1": "block/cyan_terracotta",
"particle": "block/cyan_terracotta"
},
"elements": [
{

View File

@@ -1,10 +1,9 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"ambientocclusion": false,
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"1": "block/gray_concrete",
"particle": "block/gray_concrete"
"1": "block/cyan_terracotta",
"particle": "block/cyan_terracotta"
},
"elements": [
{

View File

@@ -1,7 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"ambientocclusion": false,
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"1": "block/white_concrete",
"2": "block/black_concrete",

View File

@@ -1,7 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"ambientocclusion": false,
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"2": "block/black_concrete",
"particle": "block/white_concrete"

View File

@@ -50,13 +50,13 @@
},
{
"from": [0, 0, 1],
"to": [16, 1, 16],
"to": [16, 2, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 15, 16, 16], "texture": "#2"},
"east": {"uv": [0, 15, 15, 16], "texture": "#2", "cullface": "east"},
"south": {"uv": [0, 15, 16, 16], "texture": "#2", "cullface": "south"},
"west": {"uv": [1, 15, 16, 16], "texture": "#2", "cullface": "west"},
"north": {"uv": [0, 14, 16, 16], "texture": "#2"},
"east": {"uv": [0, 14, 15, 16], "texture": "#2", "cullface": "east"},
"south": {"uv": [0, 14, 16, 16], "texture": "#2", "cullface": "south"},
"west": {"uv": [1, 14, 16, 16], "texture": "#2", "cullface": "west"},
"up": {"uv": [0, 1, 16, 16], "texture": "#3"},
"down": {"uv": [0, 0, 16, 15], "texture": "#1", "cullface": "down"}
}

View File

@@ -1,7 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"ambientocclusion": false,
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"0": "block/iron_block",
"particle": "block/iron_block"

View File

@@ -1,7 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"ambientocclusion": false,
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"0": "block/iron_block",
"particle": "block/iron_block"

View File

@@ -1,7 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"ambientocclusion": false,
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"0": "block/iron_block",
"particle": "block/iron_block"

View File

@@ -1,7 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"ambientocclusion": false,
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"0": "block/iron_block",
"particle": "block/iron_block"

View File

@@ -1,7 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"ambientocclusion": false,
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"0": "block/iron_block",
"particle": "block/iron_block"

View File

@@ -1,7 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"ambientocclusion": false,
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"0": "block/iron_block",
"particle": "block/iron_block"

View File

@@ -1,7 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"ambientocclusion": false,
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"0": "block/iron_block",
"particle": "block/iron_block"

View File

@@ -1,6 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"0": "wheat_plus:block/brick/brick_d",
"1": "block/quartz_block_bottom",

View File

@@ -1,12 +1,12 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"1": "block/quartz_block_bottom",
"2": "block/quartz_block_side",
"3": "block/quartz_block_top",
"4": "block/gray_concrete",
"particle": "block/gray_concrete"
"4": "block/cyan_terracotta",
"particle": "block/cyan_terracotta"
},
"elements": [
{

View File

@@ -1,6 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"1": "block/quartz_block_bottom",
"2": "block/quartz_block_side",

View File

@@ -1,7 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"ambientocclusion": false,
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"black": "block/black_concrete",
"particle": "block/yellow_concrete",

View File

@@ -1,6 +1,5 @@
{
"credit": "Created by HuJiao & Frost-ZX using Blockbench.",
"parent": "block/block",
"ambientocclusion": false,
"textures": {
"particle": "wheat_plus:block/common/ticket_machine_a",

View File

@@ -1,7 +1,6 @@
{
"credit": "Create by Frost-ZX using Blockbench.",
"parent": "block/block",
"ambientocclusion": false,
"parent": "wheat_plus:block/base/normal_ao_off",
"elements": [
{
"name": "core",

View File

@@ -1,7 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"ambientocclusion": false,
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"particle": "block/gray_concrete",
"base": "block/gray_concrete",

View File

@@ -1,7 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"ambientocclusion": false,
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"particle": "block/gray_concrete",
"base": "block/gray_concrete",

View File

@@ -1,7 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"ambientocclusion": false,
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"particle": "block/gray_concrete",
"base": "block/gray_concrete",

View File

@@ -1,7 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"ambientocclusion": false,
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"particle": "block/gray_concrete",
"base": "block/gray_concrete",

View File

@@ -1,6 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"particle": "wheat_plus:block/road/base",
"texture": "wheat_plus:block/road/base",

View File

@@ -1,6 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"particle": "wheat_plus:block/road/base",
"texture": "wheat_plus:block/road/base",

View File

@@ -1,6 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"particle": "wheat_plus:block/road/base",
"texture": "wheat_plus:block/road/base",

View File

@@ -1,7 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"ambientocclusion": false,
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"particle": "wheat_plus:block/road/base",
"base": "wheat_plus:block/road/base",

View File

@@ -1,7 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "block/block",
"ambientocclusion": false,
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"particle": "wheat_plus:block/road/base",
"base": "wheat_plus:block/road/base",

View File

@@ -1,7 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "wheat_plus:block/statue/player",
"ambientocclusion": false,
"textures": {
"particle": "wheat_plus:block/statue/alex",
"texture": "wheat_plus:block/statue/alex"

View File

@@ -1,7 +1,6 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "wheat_plus:block/statue/player",
"ambientocclusion": false,
"textures": {
"particle": "wheat_plus:block/statue/steve",
"texture": "wheat_plus:block/statue/steve"