Jump to content

Recommended Posts

Posted

I was trying to make a sword but I couldn't figure it out. I tried to copy the iron sword json but that just looks odd. It looks like I am holding any other regular item.

Current code I have:

{
    "parent": "builtin/generated",
    "textures": {
        "layer0": "ntm:items/InfusedSword"
    },
    "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 ]
        }
    }
}

 

Can someone help me make an actual sword json file? The sword is basically like the vanilla ones just red. No difference in textures. Thanks!  :)

Posted

I was trying to make a sword but I couldn't figure it out. I tried to copy the iron sword json but that just looks odd. It looks like I am holding any other regular item.

Current code I have:

{
    "parent": "builtin/generated",
    "textures": {
        "layer0": "ntm:items/InfusedSword"
    },
    "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 ]
        }
    }
}

 

Can someone help me make an actual sword json file? The sword is basically like the vanilla ones just red. No difference in textures. Thanks!  :)

 

That model is from 1.8.x, 1.9 split the

firstperson

and

thirdperson

display transformations into left-/right-hand versions and added several models like

item/generated

and

item/handheld

that define the standard display transformations for you.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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