Skip to content

Commit c085461

Browse files
committed
重製按鈕做法
為修復圖片縮放問題重製
1 parent daa4c2f commit c085461

File tree

157 files changed

+969
-535
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+969
-535
lines changed

assets/minecraft/models/item/model/button_09.json

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,35 @@
11
{
22
"credit": "Made with Blockbench, a free, modern block model editor by JannisX11, model design by OKTW",
33
"textures": {
4-
"0": "custom/button_09",
4+
"0": "custom/button_blank",
55
"1": "custom/colors",
6-
"particle": "custom/button_09"
6+
"2": "custom/icon_09",
7+
"particle": "custom/button_blank"
78
},
89
"elements": [
910
{
10-
"from": [0, -0.5, 0],
11-
"to": [16, 0.5, 16],
11+
"from": [-1, -0.5, -1],
12+
"to": [17, 0, 17],
1213
"shade": false,
1314
"faces": {
1415
"north": {"uv": [0, 15, 1, 16], "texture": "#1"},
1516
"east": {"uv": [0, 15, 1, 16], "texture": "#1"},
1617
"south": {"uv": [0, 15, 1, 16], "texture": "#1"},
1718
"west": {"uv": [0, 15, 1, 16], "texture": "#1"},
1819
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
19-
"down": {"uv": [0, 16, 16, 0], "texture": "#0"}
20+
"down": {"uv": [0, 16, 1, 15], "texture": "#1"}
21+
}
22+
},
23+
{
24+
"from": [0, 1, 0],
25+
"to": [16, 1, 16],
26+
"faces": {
27+
"north": {"uv": [15, 0, 16, 1], "texture": "#1"},
28+
"east": {"uv": [15, 0, 16, 1], "texture": "#1"},
29+
"south": {"uv": [15, 0, 16, 1], "texture": "#1"},
30+
"west": {"uv": [15, 0, 16, 1], "texture": "#1"},
31+
"up": {"uv": [0, 0, 16, 16], "texture": "#2"},
32+
"down": {"uv": [15, 0, 16, 1], "texture": "#1"}
2033
}
2134
}
2235
],
@@ -27,7 +40,6 @@
2740
"rotation": [90, 0, 0]
2841
},
2942
"gui": {
30-
"scale": [1.125, 1.125, 1.125],
3143
"rotation": [90, 0, 0]
3244
},
3345
"thirdperson_lefthand": {
@@ -36,9 +48,9 @@
3648
"rotation": [90, 0, 0]
3749
},
3850
"fixed": {
39-
"scale": [2, 2, 2],
51+
"scale": [1.778, 2, 1.778],
4052
"rotation": [90, 0, 180],
41-
"translation": [0, 0, -15.125]
53+
"translation": [0, 0, -16.125]
4254
},
4355
"ground": {
4456
"scale": [0.5, 0.5, 0.5],
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"parent": "item/generated",
33
"textures": {
4-
"layer0": "custom/button_all"
4+
"layer0": "custom/icon_all"
55
}
66
}

assets/minecraft/models/item/model/button_arrow_down.json

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,35 @@
11
{
22
"credit": "Made with Blockbench, a free, modern block model editor by JannisX11, model design by OKTW",
33
"textures": {
4-
"0": "custom/button_arrow_down",
4+
"0": "custom/button_blank",
55
"1": "custom/colors",
6-
"particle": "custom/button_arrow_down"
6+
"2": "custom/icon_arrow_down",
7+
"particle": "custom/button_blank"
78
},
89
"elements": [
910
{
10-
"from": [0, -0.5, 0],
11-
"to": [16, 0.5, 16],
11+
"from": [-1, -0.5, -1],
12+
"to": [17, 0, 17],
1213
"shade": false,
1314
"faces": {
1415
"north": {"uv": [0, 15, 1, 16], "texture": "#1"},
1516
"east": {"uv": [0, 15, 1, 16], "texture": "#1"},
1617
"south": {"uv": [0, 15, 1, 16], "texture": "#1"},
1718
"west": {"uv": [0, 15, 1, 16], "texture": "#1"},
1819
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
19-
"down": {"uv": [0, 16, 16, 0], "texture": "#0"}
20+
"down": {"uv": [0, 16, 1, 15], "texture": "#1"}
21+
}
22+
},
23+
{
24+
"from": [0, 1, 0],
25+
"to": [16, 1, 16],
26+
"faces": {
27+
"north": {"uv": [15, 0, 16, 1], "texture": "#1"},
28+
"east": {"uv": [15, 0, 16, 1], "texture": "#1"},
29+
"south": {"uv": [15, 0, 16, 1], "texture": "#1"},
30+
"west": {"uv": [15, 0, 16, 1], "texture": "#1"},
31+
"up": {"uv": [0, 0, 16, 16], "texture": "#2"},
32+
"down": {"uv": [15, 0, 16, 1], "texture": "#1"}
2033
}
2134
}
2235
],
@@ -27,7 +40,6 @@
2740
"rotation": [90, 0, 0]
2841
},
2942
"gui": {
30-
"scale": [1.125, 1.125, 1.125],
3143
"rotation": [90, 0, 0]
3244
},
3345
"thirdperson_lefthand": {
@@ -36,9 +48,9 @@
3648
"rotation": [90, 0, 0]
3749
},
3850
"fixed": {
39-
"scale": [2, 2, 2],
51+
"scale": [1.778, 2, 1.778],
4052
"rotation": [90, 0, 180],
41-
"translation": [0, 0, -15.125]
53+
"translation": [0, 0, -16.125]
4254
},
4355
"ground": {
4456
"scale": [0.5, 0.5, 0.5],

assets/minecraft/models/item/model/button_arrow_left.json

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,35 @@
11
{
22
"credit": "Made with Blockbench, a free, modern block model editor by JannisX11, model design by OKTW",
33
"textures": {
4-
"0": "custom/button_arrow_left",
4+
"0": "custom/button_blank",
55
"1": "custom/colors",
6-
"particle": "custom/button_arrow_left"
6+
"2": "custom/icon_arrow_left",
7+
"particle": "custom/button_blank"
78
},
89
"elements": [
910
{
10-
"from": [0, -0.5, 0],
11-
"to": [16, 0.5, 16],
11+
"from": [-1, -0.5, -1],
12+
"to": [17, 0, 17],
1213
"shade": false,
1314
"faces": {
1415
"north": {"uv": [0, 15, 1, 16], "texture": "#1"},
1516
"east": {"uv": [0, 15, 1, 16], "texture": "#1"},
1617
"south": {"uv": [0, 15, 1, 16], "texture": "#1"},
1718
"west": {"uv": [0, 15, 1, 16], "texture": "#1"},
1819
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
19-
"down": {"uv": [0, 16, 16, 0], "texture": "#0"}
20+
"down": {"uv": [0, 16, 1, 15], "texture": "#1"}
21+
}
22+
},
23+
{
24+
"from": [0, 1, 0],
25+
"to": [16, 1, 16],
26+
"faces": {
27+
"north": {"uv": [15, 0, 16, 1], "texture": "#1"},
28+
"east": {"uv": [15, 0, 16, 1], "texture": "#1"},
29+
"south": {"uv": [15, 0, 16, 1], "texture": "#1"},
30+
"west": {"uv": [15, 0, 16, 1], "texture": "#1"},
31+
"up": {"uv": [0, 0, 16, 16], "texture": "#2"},
32+
"down": {"uv": [15, 0, 16, 1], "texture": "#1"}
2033
}
2134
}
2235
],
@@ -27,7 +40,6 @@
2740
"rotation": [90, 0, 0]
2841
},
2942
"gui": {
30-
"scale": [1.125, 1.125, 1.125],
3143
"rotation": [90, 0, 0]
3244
},
3345
"thirdperson_lefthand": {
@@ -36,9 +48,9 @@
3648
"rotation": [90, 0, 0]
3749
},
3850
"fixed": {
39-
"scale": [2, 2, 2],
51+
"scale": [1.778, 2, 1.778],
4052
"rotation": [90, 0, 180],
41-
"translation": [0, 0, -15.125]
53+
"translation": [0, 0, -16.125]
4254
},
4355
"ground": {
4456
"scale": [0.5, 0.5, 0.5],

assets/minecraft/models/item/model/button_arrow_right.json

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,35 @@
11
{
22
"credit": "Made with Blockbench, a free, modern block model editor by JannisX11, model design by OKTW",
33
"textures": {
4-
"0": "custom/button_arrow_right",
4+
"0": "custom/button_blank",
55
"1": "custom/colors",
6-
"particle": "custom/button_arrow_right"
6+
"2": "custom/icon_arrow_right",
7+
"particle": "custom/button_blank"
78
},
89
"elements": [
910
{
10-
"from": [0, -0.5, 0],
11-
"to": [16, 0.5, 16],
11+
"from": [-1, -0.5, -1],
12+
"to": [17, 0, 17],
1213
"shade": false,
1314
"faces": {
1415
"north": {"uv": [0, 15, 1, 16], "texture": "#1"},
1516
"east": {"uv": [0, 15, 1, 16], "texture": "#1"},
1617
"south": {"uv": [0, 15, 1, 16], "texture": "#1"},
1718
"west": {"uv": [0, 15, 1, 16], "texture": "#1"},
1819
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
19-
"down": {"uv": [0, 16, 16, 0], "texture": "#0"}
20+
"down": {"uv": [0, 16, 1, 15], "texture": "#1"}
21+
}
22+
},
23+
{
24+
"from": [0, 1, 0],
25+
"to": [16, 1, 16],
26+
"faces": {
27+
"north": {"uv": [15, 0, 16, 1], "texture": "#1"},
28+
"east": {"uv": [15, 0, 16, 1], "texture": "#1"},
29+
"south": {"uv": [15, 0, 16, 1], "texture": "#1"},
30+
"west": {"uv": [15, 0, 16, 1], "texture": "#1"},
31+
"up": {"uv": [0, 0, 16, 16], "texture": "#2"},
32+
"down": {"uv": [15, 0, 16, 1], "texture": "#1"}
2033
}
2134
}
2235
],
@@ -27,7 +40,6 @@
2740
"rotation": [90, 0, 0]
2841
},
2942
"gui": {
30-
"scale": [1.125, 1.125, 1.125],
3143
"rotation": [90, 0, 0]
3244
},
3345
"thirdperson_lefthand": {
@@ -36,9 +48,9 @@
3648
"rotation": [90, 0, 0]
3749
},
3850
"fixed": {
39-
"scale": [2, 2, 2],
51+
"scale": [1.778, 2, 1.778],
4052
"rotation": [90, 0, 180],
41-
"translation": [0, 0, -15.125]
53+
"translation": [0, 0, -16.125]
4254
},
4355
"ground": {
4456
"scale": [0.5, 0.5, 0.5],

assets/minecraft/models/item/model/button_arrow_up.json

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,35 @@
11
{
22
"credit": "Made with Blockbench, a free, modern block model editor by JannisX11, model design by OKTW",
33
"textures": {
4-
"0": "custom/button_arrow_up",
4+
"0": "custom/button_blank",
55
"1": "custom/colors",
6-
"particle": "custom/button_arrow_up"
6+
"2": "custom/icon_arrow_up",
7+
"particle": "custom/button_blank"
78
},
89
"elements": [
910
{
10-
"from": [0, -0.5, 0],
11-
"to": [16, 0.5, 16],
11+
"from": [-1, -0.5, -1],
12+
"to": [17, 0, 17],
1213
"shade": false,
1314
"faces": {
1415
"north": {"uv": [0, 15, 1, 16], "texture": "#1"},
1516
"east": {"uv": [0, 15, 1, 16], "texture": "#1"},
1617
"south": {"uv": [0, 15, 1, 16], "texture": "#1"},
1718
"west": {"uv": [0, 15, 1, 16], "texture": "#1"},
1819
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
19-
"down": {"uv": [0, 16, 16, 0], "texture": "#0"}
20+
"down": {"uv": [0, 16, 1, 15], "texture": "#1"}
21+
}
22+
},
23+
{
24+
"from": [0, 1, 0],
25+
"to": [16, 1, 16],
26+
"faces": {
27+
"north": {"uv": [15, 0, 16, 1], "texture": "#1"},
28+
"east": {"uv": [15, 0, 16, 1], "texture": "#1"},
29+
"south": {"uv": [15, 0, 16, 1], "texture": "#1"},
30+
"west": {"uv": [15, 0, 16, 1], "texture": "#1"},
31+
"up": {"uv": [0, 0, 16, 16], "texture": "#2"},
32+
"down": {"uv": [15, 0, 16, 1], "texture": "#1"}
2033
}
2134
}
2235
],
@@ -27,7 +40,6 @@
2740
"rotation": [90, 0, 0]
2841
},
2942
"gui": {
30-
"scale": [1.125, 1.125, 1.125],
3143
"rotation": [90, 0, 0]
3244
},
3345
"thirdperson_lefthand": {
@@ -36,9 +48,9 @@
3648
"rotation": [90, 0, 0]
3749
},
3850
"fixed": {
39-
"scale": [2, 2, 2],
51+
"scale": [1.778, 2, 1.778],
4052
"rotation": [90, 0, 180],
41-
"translation": [0, 0, -15.125]
53+
"translation": [0, 0, -16.125]
4254
},
4355
"ground": {
4456
"scale": [0.5, 0.5, 0.5],

assets/minecraft/models/item/model/button_az.json

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,35 @@
11
{
22
"credit": "Made with Blockbench, a free, modern block model editor by JannisX11, model design by OKTW",
33
"textures": {
4-
"0": "custom/button_az",
4+
"0": "custom/button_blank",
55
"1": "custom/colors",
6-
"particle": "custom/button_az"
6+
"2": "custom/icon_az",
7+
"particle": "custom/button_blank"
78
},
89
"elements": [
910
{
10-
"from": [0, -0.5, 0],
11-
"to": [16, 0.5, 16],
11+
"from": [-1, -0.5, -1],
12+
"to": [17, 0, 17],
1213
"shade": false,
1314
"faces": {
1415
"north": {"uv": [0, 15, 1, 16], "texture": "#1"},
1516
"east": {"uv": [0, 15, 1, 16], "texture": "#1"},
1617
"south": {"uv": [0, 15, 1, 16], "texture": "#1"},
1718
"west": {"uv": [0, 15, 1, 16], "texture": "#1"},
1819
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
19-
"down": {"uv": [0, 16, 16, 0], "texture": "#0"}
20+
"down": {"uv": [0, 16, 1, 15], "texture": "#1"}
21+
}
22+
},
23+
{
24+
"from": [0, 1, 0],
25+
"to": [16, 1, 16],
26+
"faces": {
27+
"north": {"uv": [15, 0, 16, 1], "texture": "#1"},
28+
"east": {"uv": [15, 0, 16, 1], "texture": "#1"},
29+
"south": {"uv": [15, 0, 16, 1], "texture": "#1"},
30+
"west": {"uv": [15, 0, 16, 1], "texture": "#1"},
31+
"up": {"uv": [0, 0, 16, 16], "texture": "#2"},
32+
"down": {"uv": [15, 0, 16, 1], "texture": "#1"}
2033
}
2134
}
2235
],
@@ -27,7 +40,6 @@
2740
"rotation": [90, 0, 0]
2841
},
2942
"gui": {
30-
"scale": [1.125, 1.125, 1.125],
3143
"rotation": [90, 0, 0]
3244
},
3345
"thirdperson_lefthand": {
@@ -36,9 +48,9 @@
3648
"rotation": [90, 0, 0]
3749
},
3850
"fixed": {
39-
"scale": [2, 2, 2],
51+
"scale": [1.778, 2, 1.778],
4052
"rotation": [90, 0, 180],
41-
"translation": [0, 0, -15.125]
53+
"translation": [0, 0, -16.125]
4254
},
4355
"ground": {
4456
"scale": [0.5, 0.5, 0.5],

0 commit comments

Comments
 (0)