Skip to content

Commit

Permalink
重製按鈕做法
Browse files Browse the repository at this point in the history
為修復圖片縮放問題重製
  • Loading branch information
bill96012 committed Sep 11, 2018
1 parent daa4c2f commit c085461
Show file tree
Hide file tree
Showing 157 changed files with 969 additions and 535 deletions.
28 changes: 20 additions & 8 deletions assets/minecraft/models/item/model/button_09.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,35 @@
{
"credit": "Made with Blockbench, a free, modern block model editor by JannisX11, model design by OKTW",
"textures": {
"0": "custom/button_09",
"0": "custom/button_blank",
"1": "custom/colors",
"particle": "custom/button_09"
"2": "custom/icon_09",
"particle": "custom/button_blank"
},
"elements": [
{
"from": [0, -0.5, 0],
"to": [16, 0.5, 16],
"from": [-1, -0.5, -1],
"to": [17, 0, 17],
"shade": false,
"faces": {
"north": {"uv": [0, 15, 1, 16], "texture": "#1"},
"east": {"uv": [0, 15, 1, 16], "texture": "#1"},
"south": {"uv": [0, 15, 1, 16], "texture": "#1"},
"west": {"uv": [0, 15, 1, 16], "texture": "#1"},
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
"down": {"uv": [0, 16, 16, 0], "texture": "#0"}
"down": {"uv": [0, 16, 1, 15], "texture": "#1"}
}
},
{
"from": [0, 1, 0],
"to": [16, 1, 16],
"faces": {
"north": {"uv": [15, 0, 16, 1], "texture": "#1"},
"east": {"uv": [15, 0, 16, 1], "texture": "#1"},
"south": {"uv": [15, 0, 16, 1], "texture": "#1"},
"west": {"uv": [15, 0, 16, 1], "texture": "#1"},
"up": {"uv": [0, 0, 16, 16], "texture": "#2"},
"down": {"uv": [15, 0, 16, 1], "texture": "#1"}
}
}
],
Expand All @@ -27,7 +40,6 @@
"rotation": [90, 0, 0]
},
"gui": {
"scale": [1.125, 1.125, 1.125],
"rotation": [90, 0, 0]
},
"thirdperson_lefthand": {
Expand All @@ -36,9 +48,9 @@
"rotation": [90, 0, 0]
},
"fixed": {
"scale": [2, 2, 2],
"scale": [1.778, 2, 1.778],
"rotation": [90, 0, 180],
"translation": [0, 0, -15.125]
"translation": [0, 0, -16.125]
},
"ground": {
"scale": [0.5, 0.5, 0.5],
Expand Down
2 changes: 1 addition & 1 deletion assets/minecraft/models/item/model/button_all.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "custom/button_all"
"layer0": "custom/icon_all"
}
}
28 changes: 20 additions & 8 deletions assets/minecraft/models/item/model/button_arrow_down.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,35 @@
{
"credit": "Made with Blockbench, a free, modern block model editor by JannisX11, model design by OKTW",
"textures": {
"0": "custom/button_arrow_down",
"0": "custom/button_blank",
"1": "custom/colors",
"particle": "custom/button_arrow_down"
"2": "custom/icon_arrow_down",
"particle": "custom/button_blank"
},
"elements": [
{
"from": [0, -0.5, 0],
"to": [16, 0.5, 16],
"from": [-1, -0.5, -1],
"to": [17, 0, 17],
"shade": false,
"faces": {
"north": {"uv": [0, 15, 1, 16], "texture": "#1"},
"east": {"uv": [0, 15, 1, 16], "texture": "#1"},
"south": {"uv": [0, 15, 1, 16], "texture": "#1"},
"west": {"uv": [0, 15, 1, 16], "texture": "#1"},
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
"down": {"uv": [0, 16, 16, 0], "texture": "#0"}
"down": {"uv": [0, 16, 1, 15], "texture": "#1"}
}
},
{
"from": [0, 1, 0],
"to": [16, 1, 16],
"faces": {
"north": {"uv": [15, 0, 16, 1], "texture": "#1"},
"east": {"uv": [15, 0, 16, 1], "texture": "#1"},
"south": {"uv": [15, 0, 16, 1], "texture": "#1"},
"west": {"uv": [15, 0, 16, 1], "texture": "#1"},
"up": {"uv": [0, 0, 16, 16], "texture": "#2"},
"down": {"uv": [15, 0, 16, 1], "texture": "#1"}
}
}
],
Expand All @@ -27,7 +40,6 @@
"rotation": [90, 0, 0]
},
"gui": {
"scale": [1.125, 1.125, 1.125],
"rotation": [90, 0, 0]
},
"thirdperson_lefthand": {
Expand All @@ -36,9 +48,9 @@
"rotation": [90, 0, 0]
},
"fixed": {
"scale": [2, 2, 2],
"scale": [1.778, 2, 1.778],
"rotation": [90, 0, 180],
"translation": [0, 0, -15.125]
"translation": [0, 0, -16.125]
},
"ground": {
"scale": [0.5, 0.5, 0.5],
Expand Down
28 changes: 20 additions & 8 deletions assets/minecraft/models/item/model/button_arrow_left.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,35 @@
{
"credit": "Made with Blockbench, a free, modern block model editor by JannisX11, model design by OKTW",
"textures": {
"0": "custom/button_arrow_left",
"0": "custom/button_blank",
"1": "custom/colors",
"particle": "custom/button_arrow_left"
"2": "custom/icon_arrow_left",
"particle": "custom/button_blank"
},
"elements": [
{
"from": [0, -0.5, 0],
"to": [16, 0.5, 16],
"from": [-1, -0.5, -1],
"to": [17, 0, 17],
"shade": false,
"faces": {
"north": {"uv": [0, 15, 1, 16], "texture": "#1"},
"east": {"uv": [0, 15, 1, 16], "texture": "#1"},
"south": {"uv": [0, 15, 1, 16], "texture": "#1"},
"west": {"uv": [0, 15, 1, 16], "texture": "#1"},
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
"down": {"uv": [0, 16, 16, 0], "texture": "#0"}
"down": {"uv": [0, 16, 1, 15], "texture": "#1"}
}
},
{
"from": [0, 1, 0],
"to": [16, 1, 16],
"faces": {
"north": {"uv": [15, 0, 16, 1], "texture": "#1"},
"east": {"uv": [15, 0, 16, 1], "texture": "#1"},
"south": {"uv": [15, 0, 16, 1], "texture": "#1"},
"west": {"uv": [15, 0, 16, 1], "texture": "#1"},
"up": {"uv": [0, 0, 16, 16], "texture": "#2"},
"down": {"uv": [15, 0, 16, 1], "texture": "#1"}
}
}
],
Expand All @@ -27,7 +40,6 @@
"rotation": [90, 0, 0]
},
"gui": {
"scale": [1.125, 1.125, 1.125],
"rotation": [90, 0, 0]
},
"thirdperson_lefthand": {
Expand All @@ -36,9 +48,9 @@
"rotation": [90, 0, 0]
},
"fixed": {
"scale": [2, 2, 2],
"scale": [1.778, 2, 1.778],
"rotation": [90, 0, 180],
"translation": [0, 0, -15.125]
"translation": [0, 0, -16.125]
},
"ground": {
"scale": [0.5, 0.5, 0.5],
Expand Down
28 changes: 20 additions & 8 deletions assets/minecraft/models/item/model/button_arrow_right.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,35 @@
{
"credit": "Made with Blockbench, a free, modern block model editor by JannisX11, model design by OKTW",
"textures": {
"0": "custom/button_arrow_right",
"0": "custom/button_blank",
"1": "custom/colors",
"particle": "custom/button_arrow_right"
"2": "custom/icon_arrow_right",
"particle": "custom/button_blank"
},
"elements": [
{
"from": [0, -0.5, 0],
"to": [16, 0.5, 16],
"from": [-1, -0.5, -1],
"to": [17, 0, 17],
"shade": false,
"faces": {
"north": {"uv": [0, 15, 1, 16], "texture": "#1"},
"east": {"uv": [0, 15, 1, 16], "texture": "#1"},
"south": {"uv": [0, 15, 1, 16], "texture": "#1"},
"west": {"uv": [0, 15, 1, 16], "texture": "#1"},
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
"down": {"uv": [0, 16, 16, 0], "texture": "#0"}
"down": {"uv": [0, 16, 1, 15], "texture": "#1"}
}
},
{
"from": [0, 1, 0],
"to": [16, 1, 16],
"faces": {
"north": {"uv": [15, 0, 16, 1], "texture": "#1"},
"east": {"uv": [15, 0, 16, 1], "texture": "#1"},
"south": {"uv": [15, 0, 16, 1], "texture": "#1"},
"west": {"uv": [15, 0, 16, 1], "texture": "#1"},
"up": {"uv": [0, 0, 16, 16], "texture": "#2"},
"down": {"uv": [15, 0, 16, 1], "texture": "#1"}
}
}
],
Expand All @@ -27,7 +40,6 @@
"rotation": [90, 0, 0]
},
"gui": {
"scale": [1.125, 1.125, 1.125],
"rotation": [90, 0, 0]
},
"thirdperson_lefthand": {
Expand All @@ -36,9 +48,9 @@
"rotation": [90, 0, 0]
},
"fixed": {
"scale": [2, 2, 2],
"scale": [1.778, 2, 1.778],
"rotation": [90, 0, 180],
"translation": [0, 0, -15.125]
"translation": [0, 0, -16.125]
},
"ground": {
"scale": [0.5, 0.5, 0.5],
Expand Down
28 changes: 20 additions & 8 deletions assets/minecraft/models/item/model/button_arrow_up.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,35 @@
{
"credit": "Made with Blockbench, a free, modern block model editor by JannisX11, model design by OKTW",
"textures": {
"0": "custom/button_arrow_up",
"0": "custom/button_blank",
"1": "custom/colors",
"particle": "custom/button_arrow_up"
"2": "custom/icon_arrow_up",
"particle": "custom/button_blank"
},
"elements": [
{
"from": [0, -0.5, 0],
"to": [16, 0.5, 16],
"from": [-1, -0.5, -1],
"to": [17, 0, 17],
"shade": false,
"faces": {
"north": {"uv": [0, 15, 1, 16], "texture": "#1"},
"east": {"uv": [0, 15, 1, 16], "texture": "#1"},
"south": {"uv": [0, 15, 1, 16], "texture": "#1"},
"west": {"uv": [0, 15, 1, 16], "texture": "#1"},
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
"down": {"uv": [0, 16, 16, 0], "texture": "#0"}
"down": {"uv": [0, 16, 1, 15], "texture": "#1"}
}
},
{
"from": [0, 1, 0],
"to": [16, 1, 16],
"faces": {
"north": {"uv": [15, 0, 16, 1], "texture": "#1"},
"east": {"uv": [15, 0, 16, 1], "texture": "#1"},
"south": {"uv": [15, 0, 16, 1], "texture": "#1"},
"west": {"uv": [15, 0, 16, 1], "texture": "#1"},
"up": {"uv": [0, 0, 16, 16], "texture": "#2"},
"down": {"uv": [15, 0, 16, 1], "texture": "#1"}
}
}
],
Expand All @@ -27,7 +40,6 @@
"rotation": [90, 0, 0]
},
"gui": {
"scale": [1.125, 1.125, 1.125],
"rotation": [90, 0, 0]
},
"thirdperson_lefthand": {
Expand All @@ -36,9 +48,9 @@
"rotation": [90, 0, 0]
},
"fixed": {
"scale": [2, 2, 2],
"scale": [1.778, 2, 1.778],
"rotation": [90, 0, 180],
"translation": [0, 0, -15.125]
"translation": [0, 0, -16.125]
},
"ground": {
"scale": [0.5, 0.5, 0.5],
Expand Down
28 changes: 20 additions & 8 deletions assets/minecraft/models/item/model/button_az.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,35 @@
{
"credit": "Made with Blockbench, a free, modern block model editor by JannisX11, model design by OKTW",
"textures": {
"0": "custom/button_az",
"0": "custom/button_blank",
"1": "custom/colors",
"particle": "custom/button_az"
"2": "custom/icon_az",
"particle": "custom/button_blank"
},
"elements": [
{
"from": [0, -0.5, 0],
"to": [16, 0.5, 16],
"from": [-1, -0.5, -1],
"to": [17, 0, 17],
"shade": false,
"faces": {
"north": {"uv": [0, 15, 1, 16], "texture": "#1"},
"east": {"uv": [0, 15, 1, 16], "texture": "#1"},
"south": {"uv": [0, 15, 1, 16], "texture": "#1"},
"west": {"uv": [0, 15, 1, 16], "texture": "#1"},
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
"down": {"uv": [0, 16, 16, 0], "texture": "#0"}
"down": {"uv": [0, 16, 1, 15], "texture": "#1"}
}
},
{
"from": [0, 1, 0],
"to": [16, 1, 16],
"faces": {
"north": {"uv": [15, 0, 16, 1], "texture": "#1"},
"east": {"uv": [15, 0, 16, 1], "texture": "#1"},
"south": {"uv": [15, 0, 16, 1], "texture": "#1"},
"west": {"uv": [15, 0, 16, 1], "texture": "#1"},
"up": {"uv": [0, 0, 16, 16], "texture": "#2"},
"down": {"uv": [15, 0, 16, 1], "texture": "#1"}
}
}
],
Expand All @@ -27,7 +40,6 @@
"rotation": [90, 0, 0]
},
"gui": {
"scale": [1.125, 1.125, 1.125],
"rotation": [90, 0, 0]
},
"thirdperson_lefthand": {
Expand All @@ -36,9 +48,9 @@
"rotation": [90, 0, 0]
},
"fixed": {
"scale": [2, 2, 2],
"scale": [1.778, 2, 1.778],
"rotation": [90, 0, 180],
"translation": [0, 0, -15.125]
"translation": [0, 0, -16.125]
},
"ground": {
"scale": [0.5, 0.5, 0.5],
Expand Down
Loading

0 comments on commit c085461

Please sign in to comment.