Skip to content

Commit

Permalink
v2 (#1)
Browse files Browse the repository at this point in the history
* refactor
* pack format 46
bill96012 authored Jan 9, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 110b573 commit 0341175
Showing 478 changed files with 4,811 additions and 2,578 deletions.
1,924 changes: 1,924 additions & 0 deletions assets/guitem/items/gui_stack.json

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions assets/guitem/models/gui_item/_1x.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parent": "guitem:gui_item/_display",
"textures": {
"complete": "guitem:gui_item/blank",
"quarter_top_left": "guitem:gui_item/blank",
"quarter_top_right": "guitem:gui_item/blank",
"quarter_bottom_left": "guitem:gui_item/blank",
"quarter_bottom_right": "guitem:gui_item/blank"
}
}
30 changes: 30 additions & 0 deletions assets/guitem/models/gui_item/_3x.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parent": "guitem:gui_item/_display",
"textures": {
"complete": "guitem:gui_item/blank",
"center": "guitem:gui_item/blank",
"top": "guitem:gui_item/blank",
"top_left": "guitem:gui_item/blank",
"top_right": "guitem:gui_item/blank",
"bottom": "guitem:gui_item/blank",
"bottom_left": "guitem:gui_item/blank",
"bottom_right": "guitem:gui_item/blank",
"left": "guitem:gui_item/blank",
"right": "guitem:gui_item/blank",
"1x_center": "guitem:gui_item/blank",
"1x_top": "guitem:gui_item/blank",
"1x_top_left": "guitem:gui_item/blank",
"1x_top_right": "guitem:gui_item/blank",
"1x_bottom": "guitem:gui_item/blank",
"1x_bottom_left": "guitem:gui_item/blank",
"1x_bottom_right": "guitem:gui_item/blank",
"1x_left": "guitem:gui_item/blank",
"1x_right": "guitem:gui_item/blank"
},
"display": {
"gui": {
"rotation": [90, 0, 0],
"scale": [4, 1, 4]
}
}
}
32 changes: 32 additions & 0 deletions assets/guitem/models/gui_item/_display.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"textures": {
"particle": "guitem:gui_item/blank"
},
"gui_light": "front",
"display": {
"thirdperson_righthand": {
"scale": [0, 0, 0]
},
"thirdperson_lefthand": {
"scale": [0, 0, 0]
},
"firstperson_righthand": {
"scale": [0, 0, 0]
},
"firstperson_lefthand": {
"scale": [0, 0, 0]
},
"ground": {
"scale": [0, 0, 0]
},
"gui": {
"rotation": [90, 0, 0]
},
"head": {
"scale": [0, 0, 0]
},
"fixed": {
"scale": [0, 0, 0]
}
}
}
14 changes: 14 additions & 0 deletions assets/guitem/models/gui_item/background_layer/3xbr_debug.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parent": "guitem:gui_item/background_layer/_3xbr",
"textures": {
"center": "guitem:gui_item/3x_debug",
"top": "guitem:gui_item/3x_debug",
"top_left": "guitem:gui_item/3x_debug",
"top_right": "guitem:gui_item/3x_debug",
"bottom": "guitem:gui_item/3x_debug",
"bottom_left": "guitem:gui_item/3x_debug",
"bottom_right": "guitem:gui_item/3x_debug",
"left": "guitem:gui_item/3x_debug",
"right": "guitem:gui_item/3x_debug"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "guitem:gui_item/background_layer/_3xtl",
"textures": {
"complete": "guitem:gui_item/3x_debug"
}
}
40 changes: 40 additions & 0 deletions assets/guitem/models/gui_item/background_layer/_1x.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parent": "guitem:gui_item/_1x",
"elements": [
{
"from": [-8, -16, -8],
"to": [24, -16, 24],
"faces": {
"up": {"uv": [0, 0, 16, 16], "texture": "#complete"}
}
},
{
"from": [-8, -16, -8],
"to": [8, -16, 8],
"faces": {
"up": {"uv": [0, 0, 8, 8], "texture": "#quarter_top_left"}
}
},
{
"from": [8, -16, -8],
"to": [24, -16, 8],
"faces": {
"up": {"uv": [8, 0, 16, 8], "texture": "#quarter_top_right"}
}
},
{
"from": [-8, -16, 8],
"to": [8, -16, 24],
"faces": {
"up": {"uv": [0, 8, 8, 16], "texture": "#quarter_bottom_left"}
}
},
{
"from": [8, -16, 8],
"to": [24, -16, 24],
"faces": {
"up": {"uv": [8, 8, 16, 16], "texture": "#quarter_bottom_right"}
}
}
]
}
40 changes: 40 additions & 0 deletions assets/guitem/models/gui_item/background_layer/_1x_compact.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parent": "guitem:gui_item/_1x",
"elements": [
{
"from": [0, -16, 0],
"to": [16, -16, 16],
"faces": {
"up": {"uv": [0, 0, 16, 16], "texture": "#complete"}
}
},
{
"from": [0, -16, 0],
"to": [8, -16, 8],
"faces": {
"up": {"uv": [0, 0, 8, 8], "texture": "#quarter_top_left"}
}
},
{
"from": [8, -16, 0],
"to": [16, -16, 8],
"faces": {
"up": {"uv": [8, 0, 16, 8], "texture": "#quarter_top_right"}
}
},
{
"from": [0, -16, 8],
"to": [8, -16, 16],
"faces": {
"up": {"uv": [0, 8, 8, 16], "texture": "#quarter_bottom_left"}
}
},
{
"from": [8, -16, 8],
"to": [16, -16, 16],
"faces": {
"up": {"uv": [8, 8, 16, 16], "texture": "#quarter_bottom_right"}
}
}
]
}
138 changes: 138 additions & 0 deletions assets/guitem/models/gui_item/background_layer/_3x.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
{
"parent": "guitem:gui_item/_3x",
"elements": [
{
"from": [-0.5, -16, -0.5],
"to": [16.5, -16, 16.5],
"faces": {
"up": {"uv": [1.175, 1.175, 14.825, 14.825], "texture": "#complete"}
}
},
{
"from": [5.75, -16, 5.75],
"to": [10.25, -16, 10.25],
"faces": {
"up": {"uv": [6.2, 6.2, 9.8, 9.8], "texture": "#center"}
}
},
{
"from": [5.75, -16, -0.5],
"to": [10.25, -16, 5.75],
"faces": {
"up": {"uv": [6.2, 1.2, 9.8, 6.2], "texture": "#top"}
}
},
{
"from": [-0.5, -16, -0.5],
"to": [5.75, -16, 5.75],
"faces": {
"up": {"uv": [1.2, 1.2, 6.2, 6.2], "texture": "#top_left"}
}
},
{
"from": [10.25, -16, -0.5],
"to": [16.5, -16, 5.75],
"faces": {
"up": {"uv": [9.8, 1.2, 14.8, 6.2], "texture": "#top_right"}
}
},
{
"from": [5.75, -16, 10.25],
"to": [10.25, -16, 16.5],
"faces": {
"up": {"uv": [6.2, 9.8, 9.8, 14.8], "texture": "#bottom"}
}
},
{
"from": [-0.5, -16, 10.25],
"to": [5.75, -16, 16.5],
"faces": {
"up": {"uv": [1.2, 9.8, 6.2, 14.8], "texture": "#bottom_left"}
}
},
{
"from": [10.25, -16, 10.25],
"to": [16.5, -16, 16.5],
"faces": {
"up": {"uv": [9.8, 9.8, 14.8, 14.8], "texture": "#bottom_right"}
}
},
{
"from": [-0.5, -16, 5.75],
"to": [5.75, -16, 10.25],
"faces": {
"up": {"uv": [1.2, 6.2, 6.2, 9.8], "texture": "#left"}
}
},
{
"from": [10.25, -16, 5.75],
"to": [16.5, -16, 10.25],
"faces": {
"up": {"uv": [9.8, 6.2, 14.8, 9.8], "texture": "#right"}
}
},
{
"from": [4, -16, 4],
"to": [12, -16, 12],
"faces": {
"up": {"uv": [0, 0, 16, 16], "texture": "#1x_center"}
}
},
{
"from": [4, -16, -0.5],
"to": [12, -16, 7.5],
"faces": {
"up": {"uv": [0, 0, 16, 16], "texture": "#1x_top"}
}
},
{
"from": [-0.5, -16, -0.5],
"to": [7.5, -16, 7.5],
"faces": {
"up": {"uv": [0, 0, 16, 16], "texture": "#1x_top_left"}
}
},
{
"from": [8.5, -16, -0.5],
"to": [16.5, -16, 7.5],
"faces": {
"up": {"uv": [0, 0, 16, 16], "texture": "#1x_top_right"}
}
},
{
"from": [4, -16, 8.5],
"to": [12, -16, 16.5],
"faces": {
"up": {"uv": [0, 0, 16, 16], "texture": "#1x_bottom"}
}
},
{
"from": [-0.5, -16, 8.5],
"to": [7.5, -16, 16.5],
"faces": {
"up": {"uv": [0, 0, 16, 16], "texture": "#1x_bottom_left"}
}
},
{
"from": [8.5, -16, 8.5],
"to": [16.5, -16, 16.5],
"faces": {
"up": {"uv": [0, 0, 16, 16], "texture": "#1x_bottom_right"}
}
},
{
"from": [-0.5, -16, 4],
"to": [7.5, -16, 12],
"faces": {
"up": {"uv": [0, 0, 16, 16], "texture": "#1x_left"}
}
},
{
"from": [8.5, -16, 4],
"to": [16.5, -16, 12],
"faces": {
"up": {"uv": [0, 0, 16, 16], "texture": "#1x_right"}
}
}
]
}
10 changes: 10 additions & 0 deletions assets/guitem/models/gui_item/background_layer/_3xbr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parent": "guitem:gui_item/background_layer/_3x",
"display": {
"gui": {
"rotation": [90, 0, 0],
"translation": [-18, 18, 0],
"scale": [4, 1, 4]
}
}
}
10 changes: 10 additions & 0 deletions assets/guitem/models/gui_item/background_layer/_3xtl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parent": "guitem:gui_item/background_layer/_3x",
"display": {
"gui": {
"rotation": [90, 0, 0],
"translation": [18, -18, 0],
"scale": [4, 1, 4]
}
}
}
6 changes: 6 additions & 0 deletions assets/guitem/models/gui_item/background_layer/debug.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "guitem:gui_item/background_layer/_1x",
"textures": {
"complete": "guitem:gui_item/debug"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "guitem:gui_item/background_layer/_1x",
"textures": {
"complete": "guitem:gui_item/main_field"
}
}
6 changes: 6 additions & 0 deletions assets/guitem/models/gui_item/background_layer/sub_field.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "guitem:gui_item/background_layer/_1x",
"textures": {
"complete": "guitem:gui_item/sub_field"
}
}
Loading

0 comments on commit 0341175

Please sign in to comment.