Bonjour ou Bonsoir, je poste cette discussion car j'ai un problème avec un item de mon ressource pack je m'explique.
J'ai créer un item en 3D, puis je l'ai remplacé par l'épée en fer. Le ressource pack et l'épée marche parfaitement. Mais voila le réel problème:
Pour ceux qui n'ont pas compris, l'épée dépasse l'inventaire vers le haut.
Je vous envoi le .json
{
"credit": "Made with Blockbench",
"textures": {
"0": "blocks/quartz_block_top",
"3": "blocks/planks_spruce",
"4": "blocks/iron_block"
},
"elements": [
{
"from": [8, 2, 8],
"to": [9, 11, 9],
"faces": {
"north": {"uv": [0, 0, 1, 1], "texture": "#3"},
"east": {"uv": [0, 0, 1, 1], "texture": "#3"},
"south": {"uv": [0, 0, 1, 1], "texture": "#3"},
"west": {"uv": [0, 0, 1, 1], "texture": "#3"},
"up": {"uv": [0, 0, 1, 1], "texture": "#missing"},
"down": {"uv": [0, 0, 1, 1], "texture": "#3"}
}
},
{
"from": [8, 10, 5],
"to": [9, 11, 8],
"faces": {
"north": {"uv": [0, 0, 1, 1], "texture": "#4"},
"east": {"uv": [0, 0, 3, 1], "texture": "#missing"},
"south": {"uv": [0, 0, 1, 1], "texture": "#missing"},
"west": {"uv": [0, 0, 3, 1], "texture": "#missing"},
"up": {"uv": [0, 0, 1, 3], "texture": "#4"},
"down": {"uv": [0, 0, 1, 3], "texture": "#4"}
}
},
{
"from": [8, 10, 9],
"to": [9, 11, 12],
"faces": {
"north": {"uv": [0, 0, 1, 1], "texture": "#missing"},
"east": {"uv": [0, 0, 3, 1], "texture": "#missing"},
"south": {"uv": [0, 0, 1, 1], "texture": "#4"},
"west": {"uv": [0, 0, 3, 1], "texture": "#missing"},
"up": {"uv": [0, 0, 1, 3], "texture": "#4"},
"down": {"uv": [0, 0, 1, 3], "texture": "#4"}
}
},
{
"from": [8, 11, 7],
"to": [9, 31, 10],
"faces": {
"north": {"uv": [0, 0, 1, 16], "texture": "#0"},
"east": {"uv": [0, 0, 3, 16], "texture": "#0"},
"south": {"uv": [0, 0, 1, 16], "texture": "#0"},
"west": {"uv": [0, 0, 3, 16], "texture": "#0"},
"up": {"uv": [0, 0, 1, 3], "texture": "#0"},
"down": {"uv": [0, 0, 1, 3], "texture": "#missing"}
}
},
{
"from": [8, 31, 8],
"to": [9, 32, 9],
"faces": {
"north": {"uv": [0, 0, 1, 1], "texture": "#0"},
"east": {"uv": [0, 0, 1, 1], "texture": "#0"},
"south": {"uv": [0, 0, 1, 1], "texture": "#0"},
"west": {"uv": [0, 0, 1, 1], "texture": "#0"},
"up": {"uv": [0, 0, 1, 1], "texture": "#0"},
"down": {"uv": [0, 0, 1, 1], "texture": "#missing"}
}
},
{
"from": [9, 10, 5],
"to": [10, 11, 12],
"faces": {
"north": {"uv": [0, 0, 1, 1], "texture": "#4"},
"east": {"uv": [0, 0, 7, 1], "texture": "#4"},
"south": {"uv": [0, 0, 1, 1], "texture": "#4"},
"west": {"uv": [0, 0, 7, 1], "texture": "#missing"},
"up": {"uv": [0, 0, 1, 7], "texture": "#4"},
"down": {"uv": [0, 0, 1, 7], "texture": "#4"}
}
},
{
"from": [7, 10, 5],
"to": [8, 11, 12],
"faces": {
"north": {"uv": [0, 0, 1, 1], "texture": "#4"},
"east": {"uv": [0, 0, 7, 1], "texture": "#missing"},
"south": {"uv": [0, 0, 1, 1], "texture": "#4"},
"west": {"uv": [0, 0, 7, 1], "texture": "#4"},
"up": {"uv": [0, 0, 1, 7], "texture": "#4"},
"down": {"uv": [0, 0, 1, 7], "texture": "#4"}
}
},
{
"from": [7, 11, 3],
"to": [10, 12, 5],
"faces": {
"north": {"uv": [0, 0, 3, 1], "texture": "#4"},
"east": {"uv": [0, 0, 2, 1], "texture": "#4"},
"south": {"uv": [0, 0, 3, 1], "texture": "#4"},
"west": {"uv": [0, 0, 2, 1], "texture": "#4"},
"up": {"uv": [0, 0, 3, 2], "texture": "#4"},
"down": {"uv": [0, 0, 3, 2], "texture": "#4"}
}
},
{
"from": [7, 11, 12],
"to": [10, 12, 14],
"faces": {
"north": {"uv": [0, 0, 3, 1], "texture": "#4"},
"east": {"uv": [0, 0, 2, 1], "texture": "#4"},
"south": {"uv": [0, 0, 3, 1], "texture": "#4"},
"west": {"uv": [0, 0, 2, 1], "texture": "#4"},
"up": {"uv": [0, 0, 3, 2], "texture": "#4"},
"down": {"uv": [0, 0, 3, 2], "texture": "#4"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [0, 0, -1]
}
}
}
Merci pour votre aide que vous nous apporter ! Bonne journée ou bonne soirée
J'ai créer un item en 3D, puis je l'ai remplacé par l'épée en fer. Le ressource pack et l'épée marche parfaitement. Mais voila le réel problème:
Je vous envoi le .json
{
"credit": "Made with Blockbench",
"textures": {
"0": "blocks/quartz_block_top",
"3": "blocks/planks_spruce",
"4": "blocks/iron_block"
},
"elements": [
{
"from": [8, 2, 8],
"to": [9, 11, 9],
"faces": {
"north": {"uv": [0, 0, 1, 1], "texture": "#3"},
"east": {"uv": [0, 0, 1, 1], "texture": "#3"},
"south": {"uv": [0, 0, 1, 1], "texture": "#3"},
"west": {"uv": [0, 0, 1, 1], "texture": "#3"},
"up": {"uv": [0, 0, 1, 1], "texture": "#missing"},
"down": {"uv": [0, 0, 1, 1], "texture": "#3"}
}
},
{
"from": [8, 10, 5],
"to": [9, 11, 8],
"faces": {
"north": {"uv": [0, 0, 1, 1], "texture": "#4"},
"east": {"uv": [0, 0, 3, 1], "texture": "#missing"},
"south": {"uv": [0, 0, 1, 1], "texture": "#missing"},
"west": {"uv": [0, 0, 3, 1], "texture": "#missing"},
"up": {"uv": [0, 0, 1, 3], "texture": "#4"},
"down": {"uv": [0, 0, 1, 3], "texture": "#4"}
}
},
{
"from": [8, 10, 9],
"to": [9, 11, 12],
"faces": {
"north": {"uv": [0, 0, 1, 1], "texture": "#missing"},
"east": {"uv": [0, 0, 3, 1], "texture": "#missing"},
"south": {"uv": [0, 0, 1, 1], "texture": "#4"},
"west": {"uv": [0, 0, 3, 1], "texture": "#missing"},
"up": {"uv": [0, 0, 1, 3], "texture": "#4"},
"down": {"uv": [0, 0, 1, 3], "texture": "#4"}
}
},
{
"from": [8, 11, 7],
"to": [9, 31, 10],
"faces": {
"north": {"uv": [0, 0, 1, 16], "texture": "#0"},
"east": {"uv": [0, 0, 3, 16], "texture": "#0"},
"south": {"uv": [0, 0, 1, 16], "texture": "#0"},
"west": {"uv": [0, 0, 3, 16], "texture": "#0"},
"up": {"uv": [0, 0, 1, 3], "texture": "#0"},
"down": {"uv": [0, 0, 1, 3], "texture": "#missing"}
}
},
{
"from": [8, 31, 8],
"to": [9, 32, 9],
"faces": {
"north": {"uv": [0, 0, 1, 1], "texture": "#0"},
"east": {"uv": [0, 0, 1, 1], "texture": "#0"},
"south": {"uv": [0, 0, 1, 1], "texture": "#0"},
"west": {"uv": [0, 0, 1, 1], "texture": "#0"},
"up": {"uv": [0, 0, 1, 1], "texture": "#0"},
"down": {"uv": [0, 0, 1, 1], "texture": "#missing"}
}
},
{
"from": [9, 10, 5],
"to": [10, 11, 12],
"faces": {
"north": {"uv": [0, 0, 1, 1], "texture": "#4"},
"east": {"uv": [0, 0, 7, 1], "texture": "#4"},
"south": {"uv": [0, 0, 1, 1], "texture": "#4"},
"west": {"uv": [0, 0, 7, 1], "texture": "#missing"},
"up": {"uv": [0, 0, 1, 7], "texture": "#4"},
"down": {"uv": [0, 0, 1, 7], "texture": "#4"}
}
},
{
"from": [7, 10, 5],
"to": [8, 11, 12],
"faces": {
"north": {"uv": [0, 0, 1, 1], "texture": "#4"},
"east": {"uv": [0, 0, 7, 1], "texture": "#missing"},
"south": {"uv": [0, 0, 1, 1], "texture": "#4"},
"west": {"uv": [0, 0, 7, 1], "texture": "#4"},
"up": {"uv": [0, 0, 1, 7], "texture": "#4"},
"down": {"uv": [0, 0, 1, 7], "texture": "#4"}
}
},
{
"from": [7, 11, 3],
"to": [10, 12, 5],
"faces": {
"north": {"uv": [0, 0, 3, 1], "texture": "#4"},
"east": {"uv": [0, 0, 2, 1], "texture": "#4"},
"south": {"uv": [0, 0, 3, 1], "texture": "#4"},
"west": {"uv": [0, 0, 2, 1], "texture": "#4"},
"up": {"uv": [0, 0, 3, 2], "texture": "#4"},
"down": {"uv": [0, 0, 3, 2], "texture": "#4"}
}
},
{
"from": [7, 11, 12],
"to": [10, 12, 14],
"faces": {
"north": {"uv": [0, 0, 3, 1], "texture": "#4"},
"east": {"uv": [0, 0, 2, 1], "texture": "#4"},
"south": {"uv": [0, 0, 3, 1], "texture": "#4"},
"west": {"uv": [0, 0, 2, 1], "texture": "#4"},
"up": {"uv": [0, 0, 3, 2], "texture": "#4"},
"down": {"uv": [0, 0, 3, 2], "texture": "#4"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [0, 0, -1]
}
}
}
Merci pour votre aide que vous nous apporter ! Bonne journée ou bonne soirée
Dernière édition: