Skip to content

Commit

Permalink
briefcase
Browse files Browse the repository at this point in the history
  • Loading branch information
noxhy committed Oct 1, 2024
1 parent 4dbe986 commit 1dd3164
Show file tree
Hide file tree
Showing 7 changed files with 226 additions and 1 deletion.
2 changes: 1 addition & 1 deletion assets/minecraft/font/icons.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

{"type": "bitmap", "file": "font/icons/items/defuse_kit.png", "ascent": 8, "height": 8, "chars": ["@"]},
{"type": "bitmap", "file": "font/icons/items/bomb.png", "ascent": 8, "height": 8, "chars": ["*"]},
{"type": "bitmap", "file": "font/icons/items/briefcase.png", "ascent": 8, "height": 8, "chars": ["("]},
{"type": "bitmap", "file": "font/icons/items/briefcase.png", "ascent": 7, "height": 8, "chars": ["("]},
{"type": "bitmap", "file": "font/icons/items/grenade.png", "ascent": 7, "height": 8, "chars": ["A"]},
{"type": "bitmap", "file": "font/icons/items/smoke_grenade.png", "ascent": 7, "height": 8, "chars": ["B"]},
{"type": "bitmap", "file": "font/icons/items/flashbang.png", "ascent": 7, "height": 8, "chars": ["C"]},
Expand Down
1 change: 1 addition & 0 deletions assets/minecraft/models/item/filled_slot.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"textures": {
"layer0": "item/filled_slot"
},
"gui_light": "front",
"display": {
"gui": {
"scale": [1.1, 1.1, 1.1]
Expand Down
91 changes: 91 additions & 0 deletions assets/minecraft/models/item/items/briefcase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"credit": "Made with Blockbench",
"texture_size": [64, 64],
"textures": {
"0": "item/items/briefcase",
"particle": "item/items/briefcase"
},
"elements": [
{
"from": [6, 0, 0],
"to": [10, 10, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 0]},
"faces": {
"north": {"uv": [7.5, 7.25, 8.5, 9.75], "texture": "#0"},
"east": {"uv": [4.25, 0, 8.25, 2.5], "texture": "#0"},
"south": {"uv": [6.5, 7.25, 7.5, 9.75], "texture": "#0"},
"west": {"uv": [8.25, 0, 4.25, 2.5], "texture": "#0"},
"up": {"uv": [8.25, 7.25, 4.25, 6.25], "rotation": 90, "texture": "#0"},
"down": {"uv": [4, 6.75, 0, 7.75], "rotation": 270, "texture": "#0"}
}
},
{
"from": [7, 10, 11],
"to": [9, 12, 12],
"rotation": {"angle": 0, "axis": "y", "origin": [7, 10, -4]},
"faces": {
"north": {"uv": [8.25, 0.75, 8.75, 1.25], "texture": "#0"},
"east": {"uv": [4, 6.75, 4.25, 7.25], "texture": "#0"},
"south": {"uv": [8.25, 0.25, 8.75, 0.75], "texture": "#0"},
"west": {"uv": [2, 8.25, 2.25, 8.75], "texture": "#0"},
"up": {"uv": [2.5, 8.75, 2.25, 8.25], "rotation": 90, "texture": "#0"},
"down": {"uv": [8.5, 2.25, 8.25, 2.75], "rotation": 270, "texture": "#0"}
}
},
{
"from": [7, 10, 4],
"to": [9, 12, 5],
"rotation": {"angle": 0, "axis": "y", "origin": [7, 10, -11]},
"faces": {
"north": {"uv": [8.25, 1.75, 8.75, 2.25], "texture": "#0"},
"east": {"uv": [2.5, 8.25, 2.75, 8.75], "texture": "#0"},
"south": {"uv": [8.25, 1.25, 8.75, 1.75], "texture": "#0"},
"west": {"uv": [2.75, 8.25, 3, 8.75], "texture": "#0"},
"up": {"uv": [8.5, 3.25, 8.25, 2.75], "rotation": 90, "texture": "#0"},
"down": {"uv": [3.25, 8.25, 3, 8.75], "rotation": 270, "texture": "#0"}
}
},
{
"from": [7, 12, 4],
"to": [9, 13, 12],
"rotation": {"angle": 0, "axis": "y", "origin": [7, 11, -9]},
"faces": {
"north": {"uv": [8.25, 3.25, 8.75, 3.5], "texture": "#0"},
"east": {"uv": [0, 8.25, 2, 8.5], "texture": "#0"},
"south": {"uv": [3.25, 8.25, 3.75, 8.5], "texture": "#0"},
"west": {"uv": [8.25, 0, 10.25, 0.25], "texture": "#0"},
"up": {"uv": [2, 8.25, 0, 7.75], "rotation": 90, "texture": "#0"},
"down": {"uv": [4, 7.75, 2, 8.25], "rotation": 270, "texture": "#0"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [90, 0, 0],
"translation": [0, -2, -2],
"scale": [0.8, 0.8, 0.8]
},
"thirdperson_lefthand": {
"rotation": [90, 0, 0],
"translation": [0, -2, -2],
"scale": [0.8, 0.8, 0.8]
},
"firstperson_righthand": {
"translation": [0, 2.75, 0],
"scale": [0.8, 0.8, 0.8]
},
"firstperson_lefthand": {
"translation": [0, 2.75, 0],
"scale": [0.8, 0.8, 0.8]
},
"ground": {
"rotation": [0, 0, 90],
"scale": [0.8, 0.8, 0.8]
},
"gui": {
"rotation": [39.5, -49.25, 0],
"translation": [0, 2.25, 0],
"scale": [0.8, 0.8, 0.8]
}
}
}
104 changes: 104 additions & 0 deletions assets/minecraft/models/item/items/briefcase_full.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"credit": "Made with Blockbench",
"texture_size": [64, 64],
"textures": {
"0": "item/items/briefcase",
"particle": "item/items/briefcase"
},
"elements": [
{
"from": [6, 0, 0],
"to": [10, 10, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 0]},
"faces": {
"north": {"uv": [7.5, 7.25, 8.5, 9.75], "texture": "#0"},
"east": {"uv": [4.25, 0, 8.25, 2.5], "texture": "#0"},
"south": {"uv": [6.5, 7.25, 7.5, 9.75], "texture": "#0"},
"west": {"uv": [8.25, 0, 4.25, 2.5], "texture": "#0"},
"up": {"uv": [8.25, 7.25, 4.25, 6.25], "rotation": 90, "texture": "#0"},
"down": {"uv": [4, 6.75, 0, 7.75], "rotation": 270, "texture": "#0"}
}
},
{
"from": [5.5, -0.5, -0.5],
"to": [10.5, 10.5, 16.5],
"rotation": {"angle": 0, "axis": "y", "origin": [8.5, -0.5, -0.5]},
"faces": {
"north": {"uv": [5.25, 7.25, 6.5, 10], "texture": "#0"},
"east": {"uv": [4.25, 2.75, 0, 5.5], "texture": "#0"},
"south": {"uv": [4, 7.25, 5.25, 10], "texture": "#0"},
"west": {"uv": [0, 2.75, 4.25, 5.5], "texture": "#0"},
"up": {"uv": [8.5, 6.25, 4.25, 5], "rotation": 90, "texture": "#0"},
"down": {"uv": [4.25, 5.5, 0, 6.75], "rotation": 270, "texture": "#0"}
}
},
{
"from": [7, 10, 11],
"to": [9, 12, 12],
"rotation": {"angle": 0, "axis": "y", "origin": [7, 10, -4]},
"faces": {
"north": {"uv": [8.25, 0.75, 8.75, 1.25], "texture": "#0"},
"east": {"uv": [4, 6.75, 4.25, 7.25], "texture": "#0"},
"south": {"uv": [8.25, 0.25, 8.75, 0.75], "texture": "#0"},
"west": {"uv": [2, 8.25, 2.25, 8.75], "texture": "#0"},
"up": {"uv": [2.5, 8.75, 2.25, 8.25], "rotation": 90, "texture": "#0"},
"down": {"uv": [8.5, 2.25, 8.25, 2.75], "rotation": 270, "texture": "#0"}
}
},
{
"from": [7, 10, 4],
"to": [9, 12, 5],
"rotation": {"angle": 0, "axis": "y", "origin": [7, 10, -11]},
"faces": {
"north": {"uv": [8.25, 1.75, 8.75, 2.25], "texture": "#0"},
"east": {"uv": [2.5, 8.25, 2.75, 8.75], "texture": "#0"},
"south": {"uv": [8.25, 1.25, 8.75, 1.75], "texture": "#0"},
"west": {"uv": [2.75, 8.25, 3, 8.75], "texture": "#0"},
"up": {"uv": [8.5, 3.25, 8.25, 2.75], "rotation": 90, "texture": "#0"},
"down": {"uv": [3.25, 8.25, 3, 8.75], "rotation": 270, "texture": "#0"}
}
},
{
"from": [7, 12, 4],
"to": [9, 13, 12],
"rotation": {"angle": 0, "axis": "y", "origin": [7, 11, -9]},
"faces": {
"north": {"uv": [8.25, 3.25, 8.75, 3.5], "texture": "#0"},
"east": {"uv": [0, 8.25, 2, 8.5], "texture": "#0"},
"south": {"uv": [3.25, 8.25, 3.75, 8.5], "texture": "#0"},
"west": {"uv": [8.25, 0, 10.25, 0.25], "texture": "#0"},
"up": {"uv": [2, 8.25, 0, 7.75], "rotation": 90, "texture": "#0"},
"down": {"uv": [4, 7.75, 2, 8.25], "rotation": 270, "texture": "#0"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [90, 0, 0],
"translation": [0, -2, -2],
"scale": [0.8, 0.8, 0.8]
},
"thirdperson_lefthand": {
"rotation": [90, 0, 0],
"translation": [0, -2, -2],
"scale": [0.8, 0.8, 0.8]
},
"firstperson_righthand": {
"translation": [0, 2.75, 0],
"scale": [0.8, 0.8, 0.8]
},
"firstperson_lefthand": {
"translation": [0, 2.75, 0],
"scale": [0.8, 0.8, 0.8]
},
"ground": {
"rotation": [0, 0, 90],
"scale": [0.8, 0.8, 0.8]
},
"gui": {
"rotation": [39.5, -49.25, 0],
"translation": [0, 2.25, 0],
"scale": [0.8, 0.8, 0.8]
}
}
}
13 changes: 13 additions & 0 deletions assets/minecraft/models/item/painting.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parent": "item/generated",
"textures": {
"layer0": "item/painting"
},

"overrides": [

{"predicate": {"custom_model_data":1}, "model": "item/items/briefcase"},
{"predicate": {"custom_model_data":2}, "model": "item/items/briefcase_full"}

]
}
16 changes: 16 additions & 0 deletions assets/minecraft/sounds.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,22 @@
"sounds":[{"name":"empty"}]
},
"block.nether_wood.step":
{
"replace":true,
"sounds":[{"name":"empty"}]
},
"block.azalea.step":
{
"replace":true,
"sounds":[{"name":"empty"}]
},

"block.azalea_leaves.step":
{
"replace":true,
"sounds":[{"name":"empty"}]
},
"block.flowering_azalea.step":
{
"replace":true,
"sounds":[{"name":"empty"}]
Expand Down
Binary file added assets/minecraft/textures/item/items/briefcase.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1dd3164

Please sign in to comment.