Jump to content

Recommended Posts

Posted

In 1.9+, the

firstperson

and

thirdperson

display transformations that existed in 1.8.x have been split into left- and right-hand versions (

thirdperson_righthand

,

thirdperson_lefthand

,

firstperson_righthand

and

firstperson_lefthand

).

 

If that's not the issue, post your models.

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.

Posted

The odd thing is that the regular "full" blocks my mod adds have no problems.

 

{
    "parent": "md:block/wooden_brine_filter_2full",
    "display": {
        "thirdperson": {
            "rotation": [ 10, -45, 170 ],
            "translation": [ 0, 1.5, -2.75 ],
            "scale": [ 0.375, 0.375, 0.375 ]
        }
    }
}

My item model.

 

My block model: (Yes I used MrCrayFish's model creator)

{
    "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
    "textures": {
        "particle": "blocks/planks_oak",
        "0": "blocks/planks_oak"
    },
    "elements": [
        {
            "name": "Cube",
            "from": [ 0.0, 0.0, 4.0 ], 
            "to": [ 4.0, 12.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 4.0, 0.0, 8.0, 12.0 ] },
                "east": { "texture": "#0", "uv": [ 1.0, 0.0, 5.0, 12.0 ] },
                "south": { "texture": "#0", "uv": [ 1.0, 1.0, 5.0, 13.0 ] },
                "west": { "texture": "#0", "uv": [ 1.0, 0.0, 5.0, 12.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 0.0, 0.0, 0.0 ], 
            "to": [ 4.0, 12.0, 4.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 12.0, 0.0, 16.0, 12.0 ] },
                "east": { "texture": "#0", "uv": [ 1.0, 1.0, 5.0, 13.0 ] },
                "south": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 12.0 ] },
                "west": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 12.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 0.0, 0.0, 8.0 ], 
            "to": [ 4.0, 12.0, 12.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 4.0, 0.0, 8.0, 12.0 ] },
                "east": { "texture": "#0", "uv": [ 1.0, 0.0, 5.0, 12.0 ] },
                "south": { "texture": "#0", "uv": [ 1.0, 2.0, 5.0, 14.0 ] },
                "west": { "texture": "#0", "uv": [ 1.0, 0.0, 5.0, 12.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 0.0, 0.0, 12.0 ], 
            "to": [ 4.0, 12.0, 16.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 4.0, 0.0, 8.0, 12.0 ] },
                "east": { "texture": "#0", "uv": [ 1.0, 0.0, 5.0, 12.0 ] },
                "south": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 12.0 ] },
                "west": { "texture": "#0", "uv": [ 6.0, 0.0, 10.0, 12.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 4.0, 0.0, 12.0 ], 
            "to": [ 8.0, 12.0, 16.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 4.0, 0.0, 8.0, 12.0 ] },
                "east": { "texture": "#0", "uv": [ 2.0, 3.0, 6.0, 15.0 ] },
                "south": { "texture": "#0", "uv": [ 2.0, 0.0, 5.0, 12.0 ] },
                "west": { "texture": "#0", "uv": [ 12.0, 1.0, 16.0, 13.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 8.0, 0.0, 12.0 ], 
            "to": [ 12.0, 12.0, 16.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 4.0, 0.0, 8.0, 12.0 ] },
                "east": { "texture": "#0", "uv": [ 1.0, 0.0, 5.0, 12.0 ] },
                "south": { "texture": "#0", "uv": [ 1.0, 0.0, 4.0, 12.0 ] },
                "west": { "texture": "#0", "uv": [ 12.0, 1.0, 16.0, 13.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 12.0, 0.0, 12.0 ], 
            "to": [ 16.0, 12.0, 16.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 4.0, 0.0, 8.0, 12.0 ] },
                "east": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 12.0 ] },
                "south": { "texture": "#0", "uv": [ 13.0, 0.0, 16.0, 12.0 ] },
                "west": { "texture": "#0", "uv": [ 10.0, 1.0, 14.0, 13.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 12.0, 0.0, 8.0 ], 
            "to": [ 16.0, 12.0, 12.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 4.0, 0.0, 8.0, 12.0 ] },
                "east": { "texture": "#0", "uv": [ 1.0, 0.0, 5.0, 12.0 ] },
                "south": { "texture": "#0", "uv": [ 12.0, 1.0, 15.0, 13.0 ] },
                "west": { "texture": "#0", "uv": [ 10.0, 1.0, 14.0, 13.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 12.0, 0.0, 4.0 ], 
            "to": [ 16.0, 12.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 4.0, 0.0, 8.0, 12.0 ] },
                "east": { "texture": "#0", "uv": [ 1.0, 0.0, 5.0, 12.0 ] },
                "south": { "texture": "#0", "uv": [ 12.0, 1.0, 15.0, 13.0 ] },
                "west": { "texture": "#0", "uv": [ 10.0, 1.0, 14.0, 13.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 12.0, 0.0, 0.0 ], 
            "to": [ 16.0, 12.0, 4.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 12.0 ] },
                "east": { "texture": "#0", "uv": [ 12.0, 0.0, 16.0, 12.0 ] },
                "south": { "texture": "#0", "uv": [ 1.0, 2.0, 4.0, 14.0 ] },
                "west": { "texture": "#0", "uv": [ 10.0, 1.0, 14.0, 13.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 1.0, 4.0, 5.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 8.0, 0.0, 0.0 ], 
            "to": [ 12.0, 12.0, 4.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 1.0, 0.0, 5.0, 12.0 ] },
                "east": { "texture": "#0", "uv": [ 12.0, 0.0, 16.0, 12.0 ] },
                "south": { "texture": "#0", "uv": [ 1.0, 2.0, 4.0, 14.0 ] },
                "west": { "texture": "#0", "uv": [ 10.0, 1.0, 14.0, 13.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 1.0, 4.0, 5.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 4.0, 0.0, 0.0 ], 
            "to": [ 8.0, 12.0, 4.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 1.0, 0.0, 5.0, 12.0 ] },
                "east": { "texture": "#0", "uv": [ 12.0, 0.0, 16.0, 12.0 ] },
                "south": { "texture": "#0", "uv": [ 1.0, 2.0, 4.0, 14.0 ] },
                "west": { "texture": "#0", "uv": [ 10.0, 1.0, 14.0, 13.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 1.0, 4.0, 5.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 0.0, 0.0, 0.0 ], 
            "to": [ 0.0, 0.0, 0.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 0.0, 0.0, 0.0, 0.0 ] },
                "east": { "texture": "#0", "uv": [ 0.0, 0.0, 0.0, 0.0 ] },
                "south": { "texture": "#0", "uv": [ 0.0, 0.0, 0.0, 0.0 ] },
                "west": { "texture": "#0", "uv": [ 0.0, 0.0, 0.0, 0.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 0.0, 0.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 0.0, 0.0 ] }
            }
        }
    ]
}

Posted

Most block models extend

block/block

, which defines the standard display transformations for block models. You should probably do this too.

 

As I said in my previous post, there is no

thirdperson

display transformation any more; it's been split into

thirdperson_righthand

and

thirdperson_lefthand

.

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.

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.

Guest
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.

Announcements



×
×
  • Create New...

Important Information

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