Bonjour, Bonsoir
je développe depuis peu un mod,mais j’ai rapidement rencontré un problème sur un craft.
je voudrais bien chercher en ligne pour y trouver ma réponse mais je ne sais pas comment formuler la question car ce bug est assez étrange…
il y a a plusieurs partie d’un anneau craftable. Celle de haut et bas fonctionnent nickel :
le code :
{
"type": "minecraft:crafting_shaped",
"pattern": [
"SSS",
" ",
" "
],
"key": {
"S": {
"item": "ringer:ruby_stick"
}
},
"result": {
"item": "ringer:ruby_ring_up"
}
}
{
"type": "minecraft:crafting_shaped",
"pattern": [
" ",
" ",
"SSS"
],
"key": {
"S": {
"item": "ringer:stone_stick"
}
},
"result": {
"item": "ringer:stone_ring_down"
}
}
et le résultat :
Mais lors ce qu’il s’agit de droite et gauche…
{
"type": "minecraft:crafting_shaped",
"pattern": [
" S",
" S",
" S"
],
"key": {
"S": {
"item": "ringer:ruby_stick"
}
},
"result": {
"item": "ringer:ruby_ring_right"
}
}
{
"type": "minecraft:crafting_shaped",
"pattern": [
"S ",
"S ",
"S "
],
"key": {
"S": {
"item": "ringer:ruby_stick"
}
},
"result": {
"item": "ringer:ruby_ring_left"
}
}
je ne comprend pas… 🤨
il y a une chose que j’ai remarqué : lors ce que j’enlève le json du craft de la partie gauche, le craft marche quand même en donnant la partie droite en jeu.
Merci d’avance