Skip to content

Commit

Permalink
add maillet_de_noel
Browse files Browse the repository at this point in the history
  • Loading branch information
YanisBft committed Dec 21, 2024
1 parent b54b0bf commit 431272a
Show file tree
Hide file tree
Showing 4 changed files with 235 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,15 @@ http://creativecommons.org/licenses/by/3.0/

</details>

<details>
<summary>Calendrier de l'avent 2024</summary>

| CustomModelData | Item | Model path |
|-----------------|------|---------------------------------------------|
| 202412 | mace | peaceandcube:adventcalendar/maillet_de_noel |

</details>

### Donjons

<details>
Expand Down
10 changes: 10 additions & 0 deletions src/assets/minecraft/models/item/mace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parent": "minecraft:item/handheld_mace",
"textures": {
"layer0": "minecraft:item/mace"
},

"overrides": [
{"predicate": { "custom_model_data": 202412 }, "model": "peaceandcube:adventcalendar/maillet_de_noel"}
]
}
216 changes: 216 additions & 0 deletions src/assets/peaceandcube/models/adventcalendar/maillet_de_noel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,216 @@
{
"credit": "Made with Blockbench",
"textures": {
"0": "peaceandcube:adventcalendar/maillet_de_noel",
"particle": "peaceandcube:adventcalendar/maillet_de_noel"
},
"elements": [
{
"from": [7, 0, 7],
"to": [9, 12, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [7, 0, 7]},
"faces": {
"north": {"uv": [8.5, 2.5, 9.5, 13.5], "texture": "#0"},
"east": {"uv": [9.5, 2.5, 10.5, 13.5], "texture": "#0"},
"south": {"uv": [13.5, 3, 14.5, 14], "texture": "#0"},
"west": {"uv": [14.5, 3, 15.5, 14], "texture": "#0"},
"up": {"uv": [0, 0, 2, 2], "texture": "#missing"},
"down": {"uv": [10.5, 5, 13.5, 11], "texture": "#0"}
}
},
{
"from": [7, 20, 7],
"to": [9, 21, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [7, 20, 7]},
"faces": {
"north": {"uv": [8.5, 1, 9.5, 2], "texture": "#0"},
"east": {"uv": [9.5, 1, 10.5, 2], "texture": "#0"},
"south": {"uv": [10.5, 1, 11.5, 2], "texture": "#0"},
"west": {"uv": [11, 1, 12, 2], "texture": "#0"},
"up": {"uv": [10.5, 5, 13.5, 11], "texture": "#0"},
"down": {"uv": [0, 0, 2, 2], "texture": "#missing"}
}
},
{
"from": [2, 13, 11],
"to": [14, 19, 12],
"rotation": {"angle": 0, "axis": "y", "origin": [2, 19, 12]},
"faces": {
"north": {"uv": [0, 0, 4.5, 16], "rotation": 90, "texture": "#0"},
"east": {"uv": [0, 0, 4.5, 1], "rotation": 90, "texture": "#0"},
"south": {"uv": [0, 0, 4.5, 16], "rotation": 90, "texture": "#0"},
"west": {"uv": [0, 0, 4.5, 0.5], "rotation": 270, "texture": "#0"},
"up": {"uv": [0, 0, 8, 0.5], "texture": "#0"},
"down": {"uv": [0, 0, 8, 0.5], "rotation": 180, "texture": "#0"}
}
},
{
"from": [2, 19, 5],
"to": [14, 20, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [2, 19, 11]},
"faces": {
"north": {"uv": [0, 0, 8, 0.5], "texture": "#0"},
"east": {"uv": [0, 0, 4.5, 1], "texture": "#0"},
"south": {"uv": [0, 0, 8, 0.5], "texture": "#0"},
"west": {"uv": [0, 0, 4.5, 0.5], "texture": "#0"},
"up": {"uv": [0, 0, 4.5, 16], "rotation": 270, "texture": "#0"},
"down": {"uv": [0, 0, 4.5, 16], "rotation": 90, "texture": "#0"}
}
},
{
"from": [2, 12, 5],
"to": [14, 13, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [2, 13, 5]},
"faces": {
"north": {"uv": [0, 0, 8, 0.5], "rotation": 180, "texture": "#0"},
"east": {"uv": [0, 0, 4.5, 1], "rotation": 180, "texture": "#0"},
"south": {"uv": [0, 0, 8, 0.5], "rotation": 180, "texture": "#0"},
"west": {"uv": [0, 0, 4.5, 0.5], "rotation": 180, "texture": "#0"},
"up": {"uv": [0, 0, 4.5, 16], "rotation": 90, "texture": "#0"},
"down": {"uv": [0, 0, 4.5, 16], "rotation": 270, "texture": "#0"}
}
},
{
"from": [2, 13, 4],
"to": [14, 19, 5],
"rotation": {"angle": 0, "axis": "y", "origin": [2, 19, 5]},
"faces": {
"north": {"uv": [0, 0, 4.5, 16], "rotation": 90, "texture": "#0"},
"east": {"uv": [0, 0, 4.5, 1], "rotation": 90, "texture": "#0"},
"south": {"uv": [0, 0, 4.5, 16], "rotation": 90, "texture": "#0"},
"west": {"uv": [0, 0, 4.5, 0.5], "rotation": 270, "texture": "#0"},
"up": {"uv": [0, 0, 8, 0.5], "texture": "#0"},
"down": {"uv": [0, 0, 8, 0.5], "rotation": 180, "texture": "#0"}
}
},
{
"from": [2, 18, 10],
"to": [14, 19, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [2, 19, 7]},
"faces": {
"north": {"uv": [0, 0, 0.5, 16], "rotation": 270, "texture": "#0"},
"east": {"uv": [0.5, 0, 1, 0.5], "rotation": 90, "texture": "#0"},
"south": {"uv": [1, 0, 1.5, 16], "rotation": 90, "texture": "#0"},
"west": {"uv": [1.5, 0, 2, 0.5], "rotation": 90, "texture": "#0"},
"up": {"uv": [2.5, 0, 3, 16], "rotation": 90, "texture": "#0"},
"down": {"uv": [5, 0, 5.5, 16], "rotation": 90, "texture": "#0"}
}
},
{
"from": [2, 13, 5],
"to": [14, 14, 6],
"rotation": {"angle": 0, "axis": "y", "origin": [2, 14, 2]},
"faces": {
"north": {"uv": [0, 0, 0.5, 16], "rotation": 270, "texture": "#0"},
"east": {"uv": [0.5, 0, 1, 0.5], "rotation": 90, "texture": "#0"},
"south": {"uv": [1, 0, 1.5, 16], "rotation": 90, "texture": "#0"},
"west": {"uv": [1.5, 0, 2, 0.5], "rotation": 90, "texture": "#0"},
"up": {"uv": [2.5, 0, 3, 16], "rotation": 90, "texture": "#0"},
"down": {"uv": [5, 0, 5.5, 16], "rotation": 90, "texture": "#0"}
}
},
{
"from": [2, 13, 10],
"to": [14, 14, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [2, 14, 7]},
"faces": {
"north": {"uv": [0, 0, 0.5, 16], "rotation": 270, "texture": "#0"},
"east": {"uv": [0.5, 0, 1, 0.5], "rotation": 90, "texture": "#0"},
"south": {"uv": [1, 0, 1.5, 16], "rotation": 90, "texture": "#0"},
"west": {"uv": [1.5, 0, 2, 0.5], "rotation": 90, "texture": "#0"},
"up": {"uv": [2.5, 0, 3, 16], "rotation": 90, "texture": "#0"},
"down": {"uv": [5, 0, 5.5, 16], "rotation": 90, "texture": "#0"}
}
},
{
"from": [2, 18, 5],
"to": [14, 19, 6],
"rotation": {"angle": 0, "axis": "y", "origin": [2, 19, 2]},
"faces": {
"north": {"uv": [0, 0, 0.5, 16], "rotation": 270, "texture": "#0"},
"east": {"uv": [0.5, 0, 1, 0.5], "rotation": 90, "texture": "#0"},
"south": {"uv": [1, 0, 1.5, 16], "rotation": 90, "texture": "#0"},
"west": {"uv": [1.5, 0, 2, 0.5], "rotation": 90, "texture": "#0"},
"up": {"uv": [2.5, 0, 3, 16], "rotation": 90, "texture": "#0"},
"down": {"uv": [5, 0, 5.5, 16], "rotation": 90, "texture": "#0"}
}
},
{
"from": [2.5, 13, 5],
"to": [13.5, 19, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [2, 16, 7]},
"faces": {
"north": {"uv": [0, 0, 11, 6], "texture": "#missing"},
"east": {"uv": [8.5, 1, 15.5, 15], "texture": "#0"},
"south": {"uv": [0, 0, 11, 6], "texture": "#missing"},
"west": {"uv": [8.5, 1, 15.5, 15], "texture": "#0"},
"up": {"uv": [0, 0, 11, 6], "texture": "#missing"},
"down": {"uv": [0, 0, 11, 6], "texture": "#missing"}
}
},
{
"name": "houx",
"from": [5, 20, 6],
"to": [8, 23, 6],
"rotation": {"angle": -22.5, "axis": "y", "origin": [5, 20, 6]},
"faces": {
"north": {"uv": [9.5, 3, 14.5, 13], "texture": "#0"},
"east": {"uv": [0, 0, 0, 3], "texture": "#missing"},
"south": {"uv": [9.5, 3, 14.5, 13], "texture": "#0"},
"west": {"uv": [0, 0, 0, 3], "texture": "#missing"},
"up": {"uv": [0, 0, 3, 0], "texture": "#missing"},
"down": {"uv": [0, 0, 3, 0], "texture": "#missing"}
}
},
{
"name": "houx",
"from": [5, 21, 7],
"to": [8, 24, 7],
"rotation": {"angle": 22.5, "axis": "x", "origin": [5, 21, 7]},
"faces": {
"north": {"uv": [9.5, 3, 14.5, 13], "texture": "#0"},
"east": {"uv": [0, 0, 0, 3], "texture": "#missing"},
"south": {"uv": [9.5, 3, 14.5, 13], "texture": "#0"},
"west": {"uv": [0, 0, 0, 3], "texture": "#missing"},
"up": {"uv": [0, 0, 3, 0], "texture": "#missing"},
"down": {"uv": [0, 0, 3, 0], "texture": "#missing"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [0, 90, 0],
"translation": [0, 2.5, 1.75],
"scale": [0.9, 0.9, 0.9]
},
"thirdperson_lefthand": {
"rotation": [0, -90, 0],
"translation": [0, 2.5, 1.75],
"scale": [0.9, 0.9, 0.9]
},
"firstperson_righthand": {
"rotation": [3, 79, -4],
"translation": [5.25, 2, -3.75],
"scale": [0.9, 0.9, 0.9]
},
"firstperson_lefthand": {
"rotation": [1, -98, 1],
"translation": [5.25, 1.75, -4],
"scale": [0.9, 0.9, 0.9]
},
"gui": {
"rotation": [0, 0, -45.75],
"translation": [-2.5, -2.75, 0],
"scale": [0.85, 0.85, 0.85]
},
"head": {
"rotation": [175.5, -70.21, 87.16],
"translation": [3.5, 15.25, -11.25],
"scale": [1.5, 1.5, 1.5]
},
"fixed": {
"translation": [0, -2.75, 0],
"scale": [0.85, 0.85, 0.85]
}
}
}
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 431272a

Please sign in to comment.