Skip to content

Commit

Permalink
item textures n models
Browse files Browse the repository at this point in the history
  • Loading branch information
Thepigcat76 committed Sep 9, 2024
1 parent 35f5da4 commit 31cdbfa
Show file tree
Hide file tree
Showing 13 changed files with 218 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"parent": "minecraft:block/cube",
"textures": {
"down": "modjam:block/multiblock/drain/bottom_4",
"east": "modjam:block/multiblock/drain/drain_side_unformed",
"north": "modjam:block/multiblock/drain/drain_side_unformed",
"south": "modjam:block/multiblock/drain/drain_side_unformed",
"up": "modjam:block/multiblock/drain/top_4",
"west": "modjam:block/multiblock/drain/drain_side_unformed"
}
}
6 changes: 6 additions & 0 deletions src/generated/resources/assets/modjam/models/item/gear.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "modjam:item/gear"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "modjam:item/rusty_gear"
}
}
119 changes: 119 additions & 0 deletions src/main/resources/assets/modjam/models/block/laser_relay.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
{
"credit": "Made with Blockbench",
"textures": {
"0": "block/prismarine_bricks",
"1": "modjam:block/lens",
"particle": "block/prismarine_bricks"
},
"elements": [
{
"from": [0, 4, 4],
"to": [16, 6, 12],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 4, 7]},
"faces": {
"north": {"uv": [16, 13, 0, 15], "texture": "#0"},
"east": {"uv": [0, 11, 8, 13], "texture": "#0"},
"south": {"uv": [0, 1, 16, 3], "texture": "#0"},
"west": {"uv": [0, 0, 8, 2], "texture": "#0"},
"up": {"uv": [0, 0, 16, 8], "texture": "#0"},
"down": {"uv": [0, 2, 16, 10], "texture": "#0"}
}
},
{
"from": [0, 6, 4],
"to": [16, 10, 6],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 6, 7]},
"faces": {
"north": {"uv": [16, 9, 0, 13], "texture": "#0"},
"east": {"uv": [2, 9, 4, 13], "texture": "#0"},
"south": {"uv": [0, 0, 16, 4], "texture": "#0"},
"west": {"uv": [0, 0, 2, 4], "texture": "#0"},
"up": {"uv": [0, 0, 16, 2], "texture": "#0"},
"down": {"uv": [0, 0, 16, 2], "texture": "#0"}
}
},
{
"from": [0, 6, 10],
"to": [16, 10, 12],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 6, 13]},
"faces": {
"north": {"uv": [0, 0, 16, 4], "texture": "#0"},
"east": {"uv": [0, 1, 2, 5], "texture": "#0"},
"south": {"uv": [0, 2, 16, 6], "texture": "#0"},
"west": {"uv": [0, 0, 2, 4], "texture": "#0"},
"up": {"uv": [0, 0, 16, 2], "texture": "#0"},
"down": {"uv": [0, 0, 16, 2], "texture": "#0"}
}
},
{
"from": [10, 6, 6],
"to": [12, 10, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 6, 11]},
"faces": {
"north": {"uv": [8, 4, 10, 8], "texture": "#1"},
"east": {"uv": [4, 0, 8, 4], "texture": "#1"},
"south": {"uv": [6, 8, 8, 12], "texture": "#1"},
"west": {"uv": [4, 0, 8, 4], "texture": "#1"},
"up": {"uv": [10, 12, 8, 8], "texture": "#1"},
"down": {"uv": [12, 0, 10, 4], "texture": "#1"}
}
},
{
"from": [4, 6, 6],
"to": [6, 10, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [-6, 6, 11]},
"faces": {
"north": {"uv": [0, 8, 2, 12], "texture": "#1"},
"east": {"uv": [0, 4, 4, 8], "texture": "#1"},
"south": {"uv": [8, 0, 10, 4], "texture": "#1"},
"west": {"uv": [0, 4, 4, 8], "texture": "#1"},
"up": {"uv": [4, 12, 2, 8], "texture": "#1"},
"down": {"uv": [6, 8, 4, 12], "texture": "#1"}
}
},
{
"from": [0, 10, 4],
"to": [16, 12, 12],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 10, 7]},
"faces": {
"north": {"uv": [0, 13, 16, 15], "rotation": 180, "texture": "#0"},
"east": {"uv": [0, 0, 8, 2], "texture": "#0"},
"south": {"uv": [0, 0, 16, 2], "texture": "#0"},
"west": {"uv": [0, 0, 8, 2], "texture": "#0"},
"up": {"uv": [16, 6, 0, 14], "rotation": 180, "texture": "#0"},
"down": {"uv": [0, 0, 16, 8], "texture": "#0"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, 45, 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]
}
}
}
76 changes: 76 additions & 0 deletions src/main/resources/assets/modjam/models/item/valve.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"credit": "Made with Blockbench",
"textures": {
"1": "modjam:item/valve_handle",
"6": "modjam:item/valve_wheel",
"particle": "modjam:item/valve_wheel"
},
"elements": [
{
"from": [0, 2, 0],
"to": [16, 2, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-14, 2, -14]},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#6"},
"east": {"uv": [0, 0, 16, 16], "texture": "#6"},
"south": {"uv": [0, 0, 16, 16], "texture": "#6"},
"west": {"uv": [0, 0, 16, 16], "texture": "#6"},
"up": {"uv": [0, 0, 16, 16], "texture": "#6"},
"down": {"uv": [0, 0, 16, 16], "texture": "#6"}
}
},
{
"from": [6, 0, 6],
"to": [10, 2, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [7, 0, 7]},
"faces": {
"north": {"uv": [4, 0, 8, 2], "texture": "#1"},
"east": {"uv": [4, 2, 8, 4], "texture": "#1"},
"south": {"uv": [4, 4, 8, 6], "texture": "#1"},
"west": {"uv": [4, 6, 8, 8], "texture": "#1"},
"up": {"uv": [4, 4, 0, 0], "texture": "#1"},
"down": {"uv": [4, 4, 0, 8], "texture": "#1"}
}
}
],
"gui_light": "front",
"display": {
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, 45, 0],
"translation": [0, 2, 0],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, 225, 0],
"translation": [0, 2, 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]
},
"head": {
"rotation": [0, 180, 0],
"translation": [0, 13, 0.5]
},
"fixed": {
"rotation": [-90, 0, 0],
"translation": [0, 0, -3],
"scale": [0.5, 0.5, 0.5]
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 31cdbfa

Please sign in to comment.