Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Jak obrócić itemek w JSON resources-packu? MC 1.9


tomxgaming

Rekomendowane odpowiedzi

Opublikowano

Chodz o to ze chce zrobic resourcespacka z broniami pod serwer który robie. 

Korzystam z tego tuta https://www.youtube.com/watch?v=uQ6G5k4k35k

I jest wszystko dobrze ale widać kawałek tej broni, chce ją dać do przodu 

i tu jest problem bo mc w ogóle nie reaguje na zmiane (na 1.8 jest normalnie)

Tu jest ten skrypt co za to odpowiada 

 

    ],
    "display": {
        "thirdperson": {
            "rotation": [60,60,180],
            "translation": [0,3.5,-0.25],
            "scale": [0.7,0.7,0.7]
        },
"gui": {
            "rotation": [0,-90,0],
            "translation": [0,0,0],
            "scale": [1.2,1.2,1.2]
        },
        "firstperson": {
            "rotation": [0,120,0],
            "translation": [90,2,0],
            "scale": [6,1.4,1.4]
        }
    }
}
 
I czy ktoś ma skrypt który za to odpowiada i działa na 1.9 ??
 
 
Tu jest cały plik .json 
 
{
    "__createdwith": "opl's Model Creator",
    "ambientocclusion": false,
    "textures": {
        "p90": "items/p90tekstura"
    },
    "elements": [
        {
            "from": [7,4,2],
            "to": [10,5,15],
            "faces": {
                "up": {
                    "uv": [0,11,2,16],
                    "texture": "#p90"
                },
                "down": {
                    "uv": [3,0,5,9],
                    "texture": "#p90"
                },
                "west": {
                    "uv": [0,5,5,6],
                    "texture": "#p90"
                },
                "east": {
                    "uv": [0,6,6,7],
                    "texture": "#p90"
                },
                "north": {
                    "uv": [0,11,3,12],
                    "texture": "#p90"
                },
                "south": {
                    "uv": [0,10,3,11],
                    "texture": "#p90"
                }
            }
        },
        {
            "from": [7,5,2],
            "to": [10,8,3],
            "faces": {
                "up": {
                    "uv": [2,6,5,7],
                    "texture": "#p90"
                },
                "west": {
                    "uv": [3,9,4,12],
                    "texture": "#p90"
                },
                "east": {
                    "uv": [3,9,4,12],
                    "texture": "#p90"
                },
                "north": {
                    "uv": [3,5,6,8],
                    "texture": "#p90"
                },
                "south": {
                    "uv": [0,11,3,14],
                    "texture": "#p90"
                }
            }
        },
        {
            "from": [7,7,6],
            "to": [10,8,14],
            "faces": {
                "up": {
                    "uv": [7,7,10,15],
                    "texture": "#p90"
                },
                "down": {
                    "uv": [0,11,3,16],
                    "texture": "#p90"
                },
                "west": {
                    "uv": [7,8,15,9],
                    "texture": "#p90"
                },
                "east": {
                    "uv": [7,5,15,6],
                    "texture": "#p90"
                },
                "south": {
                    "texture": "#p90"
                }
            }
        },
        {
            "from": [7,5,4],
            "to": [10,6,5],
            "faces": {
                "west": {
                    "uv": [4,11,5,12],
                    "texture": "#p90"
                },
                "east": {
                    "texture": "#p90"
                },
                "north": {
                    "uv": [0,12,3,13],
                    "texture": "#p90"
                },
                "south": {
                    "uv": [0,11,3,12],
                    "texture": "#p90"
                }
            }
        },
        {
            "from": [7,5,7],
            "to": [10,7,8],
            "faces": {
                "west": {
                    "uv": [4,11,5,13],
                    "texture": "#p90"
                },
                "east": {
                    "uv": [4,10,5,12],
                    "texture": "#p90"
                },
                "north": {
                    "uv": [0,12,3,14],
                    "texture": "#p90"
                }
            }
        },
        {
            "from": [7,6,3],
            "to": [10,7,6],
            "faces": {
                "down": {
                    "uv": [0,12,3,15],
                    "texture": "#p90"
                },
                "west": {
                    "uv": [3,12,6,13],
                    "texture": "#p90"
                },
                "east": {
                    "uv": [3,11,6,12],
                    "texture": "#p90"
                },
                "south": {
                    "uv": [0,11,3,12],
                    "texture": "#p90"
                }
            }
        },
        {
            "from": [7,5,8],
            "to": [10,7,15],
            "faces": {
                "up": {
                    "uv": [1,2,4,9],
                    "texture": "#p90"
                },
                "west": {
                    "uv": [0,4,7,6],
                    "texture": "#p90"
                },
                "east": {
                    "uv": [0,5,7,7],
                    "texture": "#p90"
                },
                "south": {
                    "uv": [3,10,6,12],
                    "texture": "#p90"
                }
            }
        },
        {
            "from": [8,5,0],
            "to": [9,6,2],
            "faces": {
                "up": {
                    "uv": [5,11,6,13],
                    "texture": "#p90"
                },
                "down": {
                    "uv": [4,10,5,12],
                    "texture": "#p90"
                },
                "west": {
                    "uv": [3,11,5,12],
                    "texture": "#p90"
                },
                "east": {
                    "uv": [4,10,6,11],
                    "texture": "#p90"
                },
                "north": {
                    "uv": [3,9,4,10],
                    "texture": "#p90"
                }
            }
        },
        {
            "from": [9,8,3],
            "to": [10,9,5],
            "faces": {
                "up": {
                    "uv": [4,11,5,13],
                    "texture": "#p90"
                },
                "west": {
                    "uv": [4,11,6,12],
                    "texture": "#p90"
                },
                "east": {
                    "uv": [1,12,3,13],
                    "texture": "#p90"
                },
                "north": {
                    "uv": [4,11,5,12],
                    "texture": "#p90"
                },
                "south": {
                    "uv": [4,11,5,13],
                    "texture": "#p90"
                }
            }
        },
        {
            "from": [7,8,3],
            "to": [8,9,5],
            "faces": {
                "up": {
                    "uv": [4,11,5,13],
                    "texture": "#p90"
                },
                "west": {
                    "uv": [0,11,2,12],
                    "texture": "#p90"
                },
                "east": {
                    "uv": [1,13,3,14],
                    "texture": "#p90"
                },
                "north": {
                    "uv": [4,11,5,12],
                    "texture": "#p90"
                },
                "south": {
                    "uv": [4,11,5,12],
                    "texture": "#p90"
                }
            }
        },
        {
            "from": [8,9,3],
            "to": [9,10,5],
            "faces": {
                "up": {
                    "uv": [4,12,5,14],
                    "texture": "#p90"
                },
                "down": {
                    "uv": [1,12,2,14],
                    "texture": "#p90"
                },
                "west": {
                    "uv": [0,12,2,13],
                    "texture": "#p90"
                },
                "east": {
                    "uv": [0,11,2,12],
                    "texture": "#p90"
                },
                "north": {
                    "uv": [15,0,16,1],
                    "texture": "#p90"
                },
                "south": {
                    "uv": [15,0,16,1],
                    "texture": "#p90"
                }
            }
        },
        {
            "from": [7,7,3],
            "to": [10,8,6],
            "faces": {
                "up": {
                    "uv": [0,11,3,14],
                    "texture": "#p90"
                },
                "west": {
                    "texture": "#p90"
                },
                "east": {
                    "texture": "#p90"
                }
            }
        }
    ],
    "display": {
        "thirdperson": {
            "rotation": [60,60,180],
            "translation": [0,3.5,-0.25],
            "scale": [0.7,0.7,0.7]
        },
"gui": {
            "rotation": [0,-90,0],
            "translation": [0,0,0],
            "scale": [1.2,1.2,1.2]
        },
        "firstperson": {
            "rotation": [0,120,0],
            "translation": [90,2,0],
            "scale": [6,1.4,1.4]
        }
    }
}

 

  • 3 tygodnie później...
Opublikowano

Jest pełno gotowych resource packów zabawa z nimi to piekło ściągnij i miej spokój :p

Uwierz mi że bym chciał ale są albo na 1.8 i tak sam musze to z rotatować itp albo są jakieś słabe 

Opublikowano

Znalazłem (wczesniej niż to pisze) 

 

            }
        }
    ],
    "display": {
        "thirdperson_righthand": {
            "rotation": [ 0, -90, 0 ],
            "translation": [ -1, -2, 2.5 ],
            "scale": [ 0.9, 0.9, 0.9 ]
        },
        "thirdperson_lefthand": {
            "rotation": [ -80, -280, 40 ],
            "translation": [ -1, -2, 2.5 ],
            "scale": [ 0.9, 0.9, 0.9 ]
        },
        "firstperson_righthand": {
            "rotation": [ 25, -90, 0 ],
            "translation": [ 1.13, 5.2, 1.13],
            "scale": [ 0.7, 0.7, 0.7 ]
        },
        "firstperson_lefthand": {
            "rotation": [ 25, -90, 0 ],
            "translation": [ 1.13, 5.2, 1.13],
            "scale": [ 0.7, 0.7, 0.7 ]
        },
        "gui": {
            "rotation": [ 0, 0, 0 ],
            "translation": [ 1, 1, 1 ],
            "scale": [ 1.0, 1.0, 1.0 ]
        }
   }
 
 
 
   
}

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...