Jump to content

[1.8] item,json rotations and traslations how do you calculate ?


Recommended Posts

good days

im fixing some items i get this again


i have this crossbow and i want it to remian down the crosshair horizontally aiming to the crosshair  exactly in the middle of the screen

this rotation works on some imaginary point at the down rigth side of the screen  "translation": [ 0, 0, 0 ],


and the other i want to set down the crosshair exactly in the horizontal middle  is when pulling the bow animation EnumAction.BOW  i wanna steve pulling the bow rigth down the crosshair when pulling  but on hand this hass been, well close to the point but not where it must be








    "parent": "builtin/generated",
    "textures": {
        "layer0": "modmercenario:items/arcos/vallestaMercenaria00"

   "display": {
        "thirdperson": {
            "rotation": [ 0, 90, -35 ],
            "translation": [ 0, 1.25, -3.5 ],
            "scale": [ 0.85, 0.85, 0.85 ]
        "firstperson": {
            "rotation": [ 0, -135, 25 ],
            "translation": [ 0, 4, 2 ],
            "scale": [ 1.7, 1.7, 1.7 ]



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.