Skip to content

Commit

Permalink
Create mill wheel item
Browse files Browse the repository at this point in the history
  • Loading branch information
tlm9201 committed Oct 20, 2024
1 parent ad05ebd commit c035eca
Show file tree
Hide file tree
Showing 2 changed files with 174 additions and 1 deletion.
8 changes: 7 additions & 1 deletion core/assets/minecraft/models/item/stick.json
Original file line number Diff line number Diff line change
Expand Up @@ -488,9 +488,15 @@
},
{
"predicate": {
"custom_model_data": 95
"custom_model_data": 96
},
"model": "mvndicraft:blacksmith/hammer_crosshair_red"
},
{
"predicate": {
"custom_model_data": 97
},
"model": "mvndicraft:farming/mill_wheel_item"
},
{"predicate": {"custom_model_data":3000}, "model": "mvndicraft:placeables/barricade"},
{"predicate": {"custom_model_data":3001}, "model": "mvndicraft:placeables/bear_trap/bear_trap_open"},
Expand Down
167 changes: 167 additions & 0 deletions core/assets/mvndicraft/models/farming/mill_wheel_item.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
{
"credit": "Made with Blockbench",
"textures": {
"2": "mvndicraft:farming/mill_wheel",
"3": "mvndicraft:farming/windmill",
"particle": "mvndicraft:farming/gearbox"
},
"elements": [
{
"from": [5, -11.76, 1],
"to": [11, -9.74, 15],
"rotation": {"angle": 0, "axis": "y", "origin": [8, -10.75, 8]},
"faces": {
"north": {"uv": [10, 5, 16, 7.01], "texture": "#2"},
"east": {"uv": [0, 0, 7, 1.01], "texture": "#missing"},
"south": {"uv": [8, 9, 14, 11.01], "texture": "#2"},
"west": {"uv": [0, 0, 7, 1.01], "texture": "#missing"},
"up": {"uv": [2, 2, 8, 16], "texture": "#2"},
"down": {"uv": [2, 2, 8, 16], "texture": "#2"}
}
},
{
"from": [8.70711, -11.75, 9.46447],
"to": [14.38211, -9.75, 13.46447],
"rotation": {"angle": 45, "axis": "y", "origin": [11.70711, -10.75, 11.46447]},
"faces": {
"north": {"uv": [2.8375, 0, 5.675, 1], "texture": "#missing"},
"east": {"uv": [2, 0, 4, 1], "texture": "#missing"},
"south": {"uv": [10, 9, 16, 11.01], "texture": "#2"},
"west": {"uv": [2, 0, 4, 1], "texture": "#missing"},
"up": {"uv": [8, 2, 12, 8], "texture": "#2"},
"down": {"uv": [8, 2, 12, 8], "texture": "#2"}
}
},
{
"from": [11.01764, -11.76, 5],
"to": [15.01764, -9.74, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [8.24264, -10.75, 8]},
"faces": {
"north": {"uv": [2, 0, 4, 1.01], "texture": "#2"},
"east": {"uv": [0, 4, 6, 6.01], "texture": "#2"},
"south": {"uv": [2, 0, 4, 1.01], "texture": "#2"},
"up": {"uv": [7, 0, 11, 6], "texture": "#2"},
"down": {"uv": [1, 1, 6, 6.01], "texture": "#2"}
}
},
{
"from": [8.70711, -11.75, 2.53553],
"to": [14.38211, -9.75, 6.53553],
"rotation": {"angle": -45, "axis": "y", "origin": [11.70711, -10.75, 4.53553]},
"faces": {
"north": {"uv": [4, 3, 10, 5.01], "texture": "#2"},
"east": {"uv": [0, 0, 2, 1], "texture": "#missing"},
"south": {"uv": [0, 0, 2.8375, 1], "texture": "#missing"},
"west": {"uv": [0, 0, 2, 1], "texture": "#missing"},
"up": {"uv": [9, 8, 5, 2], "rotation": 90, "texture": "#2"},
"down": {"uv": [9, 8, 5, 2], "rotation": 90, "texture": "#2"}
}
},
{
"from": [0.98236, -11.76, 5],
"to": [4.98236, -9.74, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [7.75736, -10.75, 8]},
"faces": {
"north": {"uv": [0, 0, 2, 1.01], "texture": "#missing"},
"east": {"uv": [0, 0, 3, 1.01], "texture": "#missing"},
"south": {"uv": [0, 0, 2, 1.01], "texture": "#missing"},
"west": {"uv": [5, 3, 11, 5.01], "texture": "#2"},
"up": {"uv": [0, 4, 4, 10], "texture": "#2"},
"down": {"uv": [5, 3, 11, 5.01], "texture": "#2"}
}
},
{
"from": [1.61789, -11.75, 2.53553],
"to": [7.29289, -9.75, 6.53553],
"rotation": {"angle": 45, "axis": "y", "origin": [4.29289, -10.75, 4.53553]},
"faces": {
"north": {"uv": [0, 4, 6, 6.01], "texture": "#2"},
"east": {"uv": [2, 0, 4, 1], "texture": "#missing"},
"south": {"uv": [2.8375, 0, 5.675, 1], "texture": "#missing"},
"west": {"uv": [2, 0, 4, 1], "texture": "#missing"},
"up": {"uv": [10, 4, 14, 10], "rotation": 90, "texture": "#2"},
"down": {"uv": [0, 4, 6, 6.01], "texture": "#2"}
}
},
{
"from": [1.61789, -11.75, 9.46447],
"to": [7.29289, -9.75, 13.46447],
"rotation": {"angle": -45, "axis": "y", "origin": [4.29289, -10.75, 11.46447]},
"faces": {
"north": {"uv": [0, 0, 2.8375, 1], "texture": "#missing"},
"east": {"uv": [0, 0, 2, 1], "texture": "#missing"},
"south": {"uv": [1, 3, 7, 5.01], "texture": "#2"},
"west": {"uv": [0, 0, 2, 1], "texture": "#missing"},
"up": {"uv": [5, 5, 9, 11], "rotation": 90, "texture": "#2"},
"down": {"uv": [1, 3, 7, 5.01], "texture": "#2"}
}
},
{
"from": [6, -9.75, 6],
"to": [10, -8.75, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [7, -11.75, 7]},
"faces": {
"north": {"uv": [7, 1, 11, 2], "texture": "#2"},
"east": {"uv": [0, 0, 4, 1], "texture": "#2"},
"south": {"uv": [4, 0, 8, 1], "texture": "#2"},
"west": {"uv": [8, 0, 12, 1], "texture": "#2"},
"up": {"uv": [9, 0, 13, 4], "texture": "#2"}
}
},
{
"from": [7, -8.75, 7],
"to": [9, 8.25, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [7, -7.75, 7]},
"faces": {
"north": {"uv": [5, 0, 5.25, 2.125], "texture": "#3"},
"east": {"uv": [5.25, 0, 5.5, 2.125], "texture": "#3"},
"south": {"uv": [5, 0, 5.25, 2.125], "texture": "#3"},
"west": {"uv": [5.25, 0, 5, 2.125], "texture": "#3"},
"up": {"uv": [5, 5.75, 5.25, 6], "texture": "#3"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 1.75, 5.5],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 1.75, 5.5],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, 45, 0],
"translation": [0, 7.75, 0],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, 45, 0],
"translation": [0, 7.75, 0],
"scale": [0.4, 0.4, 0.4]
},
"ground": {
"translation": [0, 3.75, 0],
"scale": [0.25, 0.25, 0.25]
},
"gui": {
"rotation": [30, 225, 0],
"translation": [0, 6.25, 0],
"scale": [0.625, 0.625, 0.625]
},
"fixed": {
"translation": [0, 4.5, 0],
"scale": [0.5, 0.5, 0.5]
}
},
"groups": [
{
"name": "wheel",
"origin": [4.29289, 1, 11.46447],
"color": 0,
"children": [0, 1, 2, 3, 4, 5, 6, 7, 8]
}
]
}

0 comments on commit c035eca

Please sign in to comment.