Jump to content

[1.9][!Unsolved!] Model Problems || Blocking


Lyras

Recommended Posts

I am despairing.

As you can see in this thread ( = http://www.minecraftforge.net/forum/index.php/topic,40447.0.html [by the way: unsolved] ) I've got a annoying problem I cannot solve.

 

My first problem: I'm creating shields and of course I want some animation for blocking. And of course I made a model for this. Sadly this model won't work. The  model for just holding is working perfectly but the "blocking"-model isn't working at all! :-[

Unfortunately Minecraft takes the standart "blocking"-model.

 

[Holding Model]

{
    "textures": {
        "0": "betterlife:items/shield_iron"
    },
    "display": {
        "thirdperson_righthand": {
            "rotation": [ 90, -75, 90 ],
            "translation": [ 2, -2, 1 ],
            "scale": [ 1, 1, 1 ]
        },
        "thirdperson_lefthand": {
            "rotation": [ 90, -75, 90 ],
            "translation": [ 2, -2, 1 ],
            "scale": [ 1, 1, 1 ]
        },
        "firstperson_righthand": {
            "rotation": [ 10, -15, -3 ],
            "translation": [ 0, 0, 0 ],
            "scale": [ 0.9, 0.9, 0.9 ]
        },
        "firstperson_lefthand": {
            "rotation": [ 10, -15, -3 ],
            "translation": [ 0, 0, 0 ],
            "scale": [ 0.9, 0.9, 0.9 ]
        },
        "gui": {
            "rotation": [ 0, 180, 0 ],
            "translation": [ 0, 0, 0 ],
            "scale": [ 1, 1, 1 ]
        }
    },
    "overrides": [
        {
            "predicate": {
                "blocking": 1
            },
            "model": "betterlife:item/shield_iron_blocking"
        }
    ],
    "elements": [
        {
            "name": "Border",
            "from": [ 7.0, 1.0, 7.0 ], 
            "to": [ 9.0, 2.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 7.0, 14.0, 9.0, 15.0 ] },
                "east": { "texture": "#0", "uv": [ 7.0, 14.0, 8.0, 15.0 ] },
                "south": { "texture": "#0", "uv": [ 7.0, 14.0, 9.0, 15.0 ] },
                "west": { "texture": "#0", "uv": [ 8.0, 14.0, 9.0, 15.0 ] },
                "up": { "texture": "#0", "uv": [ 7.0, 14.0, 9.0, 15.0 ] },
                "down": { "texture": "#0", "uv": [ 7.0, 14.0, 9.0, 15.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 5.0, 2.0, 7.0 ], 
            "to": [ 7.0, 3.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 9.0, 13.0, 11.0, 14.0 ] },
                "east": { "texture": "#0", "uv": [ 9.0, 13.0, 10.0, 14.0 ] },
                "south": { "texture": "#0", "uv": [ 9.0, 13.0, 11.0, 14.0 ] },
                "west": { "texture": "#0", "uv": [ 10.0, 13.0, 11.0, 14.0 ] },
                "up": { "texture": "#0", "uv": [ 9.0, 13.0, 11.0, 14.0 ] },
                "down": { "texture": "#0", "uv": [ 9.0, 13.0, 11.0, 14.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 9.0, 2.0, 7.0 ], 
            "to": [ 11.0, 3.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 5.0, 13.0, 7.0, 14.0 ] },
                "east": { "texture": "#0", "uv": [ 5.0, 13.0, 6.0, 14.0 ] },
                "south": { "texture": "#0", "uv": [ 5.0, 13.0, 7.0, 14.0 ] },
                "west": { "texture": "#0", "uv": [ 6.0, 13.0, 7.0, 14.0 ] },
                "up": { "texture": "#0", "uv": [ 5.0, 13.0, 7.0, 14.0 ] },
                "down": { "texture": "#0", "uv": [ 5.0, 13.0, 7.0, 14.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 4.0, 3.0, 7.0 ], 
            "to": [ 5.0, 4.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 11.0, 12.0, 12.0, 13.0 ] },
                "east": { "texture": "#0", "uv": [ 11.0, 12.0, 12.0, 13.0 ] },
                "south": { "texture": "#0", "uv": [ 11.0, 12.0, 12.0, 13.0 ] },
                "west": { "texture": "#0", "uv": [ 11.0, 12.0, 12.0, 13.0 ] },
                "up": { "texture": "#0", "uv": [ 11.0, 12.0, 12.0, 13.0 ] },
                "down": { "texture": "#0", "uv": [ 11.0, 12.0, 12.0, 13.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 11.0, 3.0, 7.0 ], 
            "to": [ 12.0, 4.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 4.0, 12.0, 5.0, 13.0 ] },
                "east": { "texture": "#0", "uv": [ 4.0, 12.0, 5.0, 13.0 ] },
                "south": { "texture": "#0", "uv": [ 4.0, 12.0, 5.0, 13.0 ] },
                "west": { "texture": "#0", "uv": [ 4.0, 12.0, 5.0, 13.0 ] },
                "up": { "texture": "#0", "uv": [ 4.0, 12.0, 5.0, 13.0 ] },
                "down": { "texture": "#0", "uv": [ 4.0, 12.0, 5.0, 13.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 3.0, 4.0, 7.0 ], 
            "to": [ 4.0, 7.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 12.0, 9.0, 13.0, 12.0 ] },
                "east": { "texture": "#0", "uv": [ 12.0, 9.0, 13.0, 12.0 ] },
                "south": { "texture": "#0", "uv": [ 12.0, 9.0, 13.0, 12.0 ] },
                "west": { "texture": "#0", "uv": [ 12.0, 9.0, 13.0, 12.0 ] },
                "up": { "texture": "#0", "uv": [ 13.0, 9.0, 12.0, 10.0 ] },
                "down": { "texture": "#0", "uv": [ 12.0, 11.0, 13.0, 12.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 12.0, 4.0, 7.0 ], 
            "to": [ 13.0, 7.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 3.0, 9.0, 4.0, 12.0 ] },
                "east": { "texture": "#0", "uv": [ 3.0, 9.0, 4.0, 12.0 ] },
                "south": { "texture": "#0", "uv": [ 3.0, 9.0, 4.0, 12.0 ] },
                "west": { "texture": "#0", "uv": [ 3.0, 9.0, 4.0, 12.0 ] },
                "up": { "texture": "#0", "uv": [ 3.0, 9.0, 4.0, 10.0 ] },
                "down": { "texture": "#0", "uv": [ 3.0, 11.0, 4.0, 12.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 2.0, 7.0, 7.0 ], 
            "to": [ 3.0, 10.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 13.0, 6.0, 14.0, 9.0 ] },
                "east": { "texture": "#0", "uv": [ 13.0, 6.0, 14.0, 9.0 ] },
                "south": { "texture": "#0", "uv": [ 13.0, 6.0, 14.0, 9.0 ] },
                "west": { "texture": "#0", "uv": [ 13.0, 6.0, 14.0, 9.0 ] },
                "up": { "texture": "#0", "uv": [ 13.0, 6.0, 14.0, 7.0 ] },
                "down": { "texture": "#0", "uv": [ 13.0, 8.0, 14.0, 9.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 13.0, 7.0, 7.0 ], 
            "to": [ 14.0, 10.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 2.0, 6.0, 3.0, 9.0 ] },
                "east": { "texture": "#0", "uv": [ 2.0, 6.0, 3.0, 9.0 ] },
                "south": { "texture": "#0", "uv": [ 2.0, 6.0, 3.0, 9.0 ] },
                "west": { "texture": "#0", "uv": [ 2.0, 6.0, 3.0, 9.0 ] },
                "up": { "texture": "#0", "uv": [ 2.0, 6.0, 3.0, 7.0 ] },
                "down": { "texture": "#0", "uv": [ 2.0, 8.0, 3.0, 9.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 1.0, 10.0, 7.0 ], 
            "to": [ 2.0, 12.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 14.0, 4.0, 15.0, 6.0 ] },
                "east": { "texture": "#0", "uv": [ 14.0, 4.0, 15.0, 6.0 ] },
                "south": { "texture": "#0", "uv": [ 14.0, 4.0, 15.0, 6.0 ] },
                "west": { "texture": "#0", "uv": [ 14.0, 4.0, 15.0, 6.0 ] },
                "up": { "texture": "#0", "uv": [ 14.0, 4.0, 15.0, 5.0 ] },
                "down": { "texture": "#0", "uv": [ 14.0, 5.0, 15.0, 6.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 14.0, 10.0, 7.0 ], 
            "to": [ 15.0, 12.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 1.0, 4.0, 2.0, 6.0 ] },
                "east": { "texture": "#0", "uv": [ 1.0, 4.0, 2.0, 6.0 ] },
                "south": { "texture": "#0", "uv": [ 1.0, 4.0, 2.0, 6.0 ] },
                "west": { "texture": "#0", "uv": [ 1.0, 4.0, 2.0, 6.0 ] },
                "up": { "texture": "#0", "uv": [ 1.0, 4.0, 2.0, 5.0 ] },
                "down": { "texture": "#0", "uv": [ 1.0, 4.0, 2.0, 5.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 2.0, 12.0, 7.0 ], 
            "to": [ 4.0, 13.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 12.0, 3.0, 14.0, 4.0 ] },
                "east": { "texture": "#0", "uv": [ 12.0, 3.0, 13.0, 4.0 ] },
                "south": { "texture": "#0", "uv": [ 12.0, 3.0, 14.0, 4.0 ] },
                "west": { "texture": "#0", "uv": [ 13.0, 3.0, 14.0, 4.0 ] },
                "up": { "texture": "#0", "uv": [ 12.0, 3.0, 14.0, 4.0 ] },
                "down": { "texture": "#0", "uv": [ 12.0, 3.0, 14.0, 4.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 12.0, 12.0, 7.0 ], 
            "to": [ 14.0, 13.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 2.0, 3.0, 4.0, 4.0 ] },
                "east": { "texture": "#0", "uv": [ 2.0, 3.0, 3.0, 4.0 ] },
                "south": { "texture": "#0", "uv": [ 2.0, 3.0, 4.0, 4.0 ] },
                "west": { "texture": "#0", "uv": [ 3.0, 3.0, 4.0, 4.0 ] },
                "up": { "texture": "#0", "uv": [ 2.0, 3.0, 4.0, 4.0 ] },
                "down": { "texture": "#0", "uv": [ 2.0, 3.0, 4.0, 4.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 4.0, 13.0, 7.0 ], 
            "to": [ 7.0, 14.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 9.0, 2.0, 12.0, 3.0 ] },
                "east": { "texture": "#0", "uv": [ 9.0, 2.0, 10.0, 3.0 ] },
                "south": { "texture": "#0", "uv": [ 9.0, 2.0, 12.0, 3.0 ] },
                "west": { "texture": "#0", "uv": [ 11.0, 2.0, 12.0, 3.0 ] },
                "up": { "texture": "#0", "uv": [ 9.0, 2.0, 12.0, 3.0 ] },
                "down": { "texture": "#0", "uv": [ 9.0, 2.0, 12.0, 3.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 9.0, 13.0, 7.0 ], 
            "to": [ 12.0, 14.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 4.0, 2.0, 7.0, 3.0 ] },
                "east": { "texture": "#0", "uv": [ 4.0, 2.0, 5.0, 3.0 ] },
                "south": { "texture": "#0", "uv": [ 4.0, 2.0, 7.0, 3.0 ] },
                "west": { "texture": "#0", "uv": [ 6.0, 2.0, 7.0, 3.0 ] },
                "up": { "texture": "#0", "uv": [ 4.0, 2.0, 7.0, 3.0 ] },
                "down": { "texture": "#0", "uv": [ 4.0, 2.0, 7.0, 3.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 7.0, 14.0, 7.0 ], 
            "to": [ 9.0, 15.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 7.0, 1.0, 9.0, 2.0 ] },
                "east": { "texture": "#0", "uv": [ 7.0, 1.0, 8.0, 2.0 ] },
                "south": { "texture": "#0", "uv": [ 7.0, 1.0, 9.0, 2.0 ] },
                "west": { "texture": "#0", "uv": [ 8.0, 1.0, 9.0, 2.0 ] },
                "up": { "texture": "#0", "uv": [ 7.0, 1.0, 9.0, 2.0 ] },
                "down": { "texture": "#0", "uv": [ 7.0, 1.0, 9.0, 2.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 4.0, 4.0, 7.0 ], 
            "to": [ 12.0, 13.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 4.0, 3.0, 12.0, 12.0 ] },
                "east": { "texture": "#0", "uv": [ 4.0, 3.0, 5.0, 12.0 ] },
                "south": { "texture": "#0", "uv": [ 4.0, 3.0, 12.0, 12.0 ] },
                "west": { "texture": "#0", "uv": [ 11.0, 3.0, 12.0, 12.0 ] },
                "up": { "texture": "#0", "uv": [ 4.0, 3.0, 12.0, 4.0 ] },
                "down": { "texture": "#0", "uv": [ 4.0, 11.0, 12.0, 12.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 5.0, 3.0, 7.0 ], 
            "to": [ 11.0, 4.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 5.0, 12.0, 11.0, 13.0 ] },
                "east": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "south": { "texture": "#0", "uv": [ 5.0, 12.0, 11.0, 13.0 ] },
                "west": { "texture": "#0", "uv": [ 10.0, 12.0, 11.0, 13.0 ] },
                "up": { "texture": "#0", "uv": [ 5.0, 12.0, 11.0, 13.0 ] },
                "down": { "texture": "#0", "uv": [ 5.0, 12.0, 11.0, 13.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 7.0, 2.0, 7.0 ], 
            "to": [ 9.0, 3.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 7.0, 13.0, 9.0, 14.0 ] },
                "east": { "texture": "#0", "uv": [ 7.0, 13.0, 8.0, 14.0 ] },
                "south": { "texture": "#0", "uv": [ 7.0, 13.0, 9.0, 14.0 ] },
                "west": { "texture": "#0", "uv": [ 8.0, 13.0, 9.0, 14.0 ] },
                "up": { "texture": "#0", "uv": [ 7.0, 13.0, 9.0, 14.0 ] },
                "down": { "texture": "#0", "uv": [ 7.0, 13.0, 9.0, 14.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 7.0, 13.0, 7.0 ], 
            "to": [ 9.0, 14.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 7.0, 2.0, 9.0, 3.0 ] },
                "east": { "texture": "#0", "uv": [ 7.0, 2.0, 8.0, 3.0 ] },
                "south": { "texture": "#0", "uv": [ 7.0, 2.0, 9.0, 3.0 ] },
                "west": { "texture": "#0", "uv": [ 8.0, 2.0, 9.0, 3.0 ] },
                "up": { "texture": "#0", "uv": [ 7.0, 2.0, 9.0, 3.0 ] },
                "down": { "texture": "#0", "uv": [ 7.0, 2.0, 9.0, 3.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 3.0, 7.0, 7.0 ], 
            "to": [ 4.0, 12.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 12.0, 4.0, 13.0, 9.0 ] },
                "east": { "texture": "#0", "uv": [ 12.0, 4.0, 13.0, 9.0 ] },
                "south": { "texture": "#0", "uv": [ 12.0, 4.0, 13.0, 9.0 ] },
                "west": { "texture": "#0", "uv": [ 12.0, 4.0, 13.0, 9.0 ] },
                "up": { "texture": "#0", "uv": [ 12.0, 4.0, 13.0, 5.0 ] },
                "down": { "texture": "#0", "uv": [ 12.0, 8.0, 13.0, 9.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 2.0, 10.0, 7.0 ], 
            "to": [ 3.0, 12.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 13.0, 4.0, 14.0, 6.0 ] },
                "east": { "texture": "#0", "uv": [ 13.0, 4.0, 14.0, 6.0 ] },
                "south": { "texture": "#0", "uv": [ 13.0, 4.0, 14.0, 6.0 ] },
                "west": { "texture": "#0", "uv": [ 13.0, 4.0, 14.0, 6.0 ] },
                "up": { "texture": "#0", "uv": [ 13.0, 4.0, 14.0, 5.0 ] },
                "down": { "texture": "#0", "uv": [ 13.0, 5.0, 14.0, 6.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 12.0, 7.0, 7.0 ], 
            "to": [ 13.0, 12.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 3.0, 4.0, 4.0, 9.0 ] },
                "east": { "texture": "#0", "uv": [ 3.0, 4.0, 4.0, 9.0 ] },
                "south": { "texture": "#0", "uv": [ 3.0, 4.0, 4.0, 9.0 ] },
                "west": { "texture": "#0", "uv": [ 3.0, 4.0, 4.0, 9.0 ] },
                "up": { "texture": "#0", "uv": [ 3.0, 4.0, 4.0, 5.0 ] },
                "down": { "texture": "#0", "uv": [ 3.0, 8.0, 4.0, 9.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 13.0, 10.0, 7.0 ], 
            "to": [ 14.0, 12.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 2.0, 4.0, 3.0, 6.0 ] },
                "east": { "texture": "#0", "uv": [ 2.0, 4.0, 3.0, 6.0 ] },
                "south": { "texture": "#0", "uv": [ 2.0, 4.0, 3.0, 6.0 ] },
                "west": { "texture": "#0", "uv": [ 2.0, 4.0, 3.0, 6.0 ] },
                "up": { "texture": "#0", "uv": [ 2.0, 4.0, 3.0, 5.0 ] },
                "down": { "texture": "#0", "uv": [ 2.0, 5.0, 3.0, 6.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 9.0, 8.0, 8.0 ], 
            "to": [ 10.0, 9.0, 9.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "east": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "south": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "west": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "up": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "down": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 6.0, 8.0, 8.0 ], 
            "to": [ 7.0, 9.0, 9.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "east": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "south": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "west": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "up": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "down": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 6.0, 8.0, 9.0 ], 
            "to": [ 10.0, 9.0, 10.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "east": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "south": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "west": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "up": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "down": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] }
            }
        }
    ]
}

 

[blocking Model]

{    
    "textures": {
        "0": "betterlife:items/shield_iron"
    },
    "display": {
        "thirdperson_righthand": {
            "rotation": [ 45, 0, -10 ],
            "translation": [ 0, 4.0, 2.5 ],
            "scale": [ 0.85, 0.85, 0.85 ]
        },
        "thirdperson_lefthand": {
            "rotation": [ 45, 0, -10 ],
            "translation": [ 0, 4.0, 2.5 ],
            "scale": [ 0.85, 0.85, 0.85 ]
        },
        "firstperson_righthand": {
            "rotation": [ 45, 90, -10 ],
            "translation": [ 0, 0, 0 ],
            "scale": [ 0.68, 0.68, 0.68 ]
        },
        "firstperson_lefthand": {
            "rotation": [ 45, 90, -10 ],
            "translation": [ 0, 0, 0 ],
            "scale": [ 0.68, 0.68, 0.68 ]
        }
    }
}

 

[shieldIron.class]

package shield;

import java.util.List;

import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

public class ShieldIron extends ShieldBase {

public ShieldIron () {

	super( "shield_iron" , 340 , 13 , 2 * 60 * 20 , false );

} 

    public int getItemEnchantability () {
    	
    	return 0;
    	
    }

} 

 

Second problem: I made four textures for my golden bow and the models. When I pull the bow, only the standy-model and the first pulling-model get loaded.

 

[Models]

bow_gold.json
{
    "parent": "item/generated",
    "textures": {
        "layer0": "betterlife:items/bow_gold_standby"
    },
    "display": {
        "thirdperson_righthand": {
            "rotation": [ -80, 260, -40 ],
            "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": [ 0, -90, 25 ],
            "translation": [ 1.13, 3.2, 1.13],
            "scale": [ 0.68, 0.68, 0.68 ]
        },
        "firstperson_lefthand": {
            "rotation": [ 0, 90, -25 ],
            "translation": [ 1.13, 3.2, 1.13],
            "scale": [ 0.68, 0.68, 0.68 ]
        }
    },
    "overrides": [
        {
            "predicate": {
                "pulling": 1
            },
            "model": "betterlife:item/bow_gold_pulling_0"
        },
        {
            "predicate": {
                "pulling": 1,
                "pull": 0.65
            },
            "model": "betterlife:item/bow_gold_pulling_1"
        },
        {
            "predicate": {
                "pulling": 1,
                "pull": 0.9
            },
            "model": "betterlife:item/bow_gold_pulling_2"
        }
    ]
}

bow_gold_pulling_0.json
{
    "parent": "betterlife:item/bow_gold",
    "textures": {
        "layer0": "betterlife:items/bow_gold_pulling_0"
    }
}

bow_gold_pulling_1.json
{
    "parent": "betterlife:item/bow_gold",
    "textures": {
        "layer0": "betterlife:items/bow_gold_pulling_1"
    }
}

bow_gold_pulling_2.json
{
    "parent": "betterlife:item/bow_gold",
    "textures": {
        "layer0": "betterlife:items/bow_gold_pulling_2"
    }
}

*Hug*

Link to comment
Share on other sites

I'm not entirely sure what the issue with your shield is, but I can tell you that the

pull

property getter created by

ItemBow

only works for

Items.BOW

. You need to create your own property getter, like this one.

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.

Link to comment
Share on other sites

After a while I got time to go through my code and my items/weapons etc.

 

I noticed that the blocking model isn't working and I want to get it to work!

 

[normal shield]

{
    "textures": {
        "0": "betterlife:items/shield_iron"
    },
    "display": {
        "thirdperson_righthand": {
            "rotation": [ 90, -75, 90 ],
            "translation": [ 2, -2, 1 ],
            "scale": [ 1, 1, 1 ]
        },
        "thirdperson_lefthand": {
            "rotation": [ 90, -75, 90 ],
            "translation": [ 2, -2, 1 ],
            "scale": [ 1, 1, 1 ]
        },
        "firstperson_righthand": {
            "rotation": [ 10, -15, -3 ],
            "translation": [ 0, 0, 0 ],
            "scale": [ 0.9, 0.9, 0.9 ]
        },
        "firstperson_lefthand": {
            "rotation": [ 10, -15, -3 ],
            "translation": [ 0, 0, 0 ],
            "scale": [ 0.9, 0.9, 0.9 ]
        },
        "gui": {
            "rotation": [ 0, 180, 0 ],
            "translation": [ 0, 0, 0 ],
            "scale": [ 1, 1, 1 ]
        }
    },
    "overrides": [
        {
            "predicate": {
                "betterlife:blocking": 1
            },
            "model": "betterlife:item/shield_iron_blocking"
        }
    ],
    "elements": [
        {
            "name": "Border",
            "from": [ 7.0, 1.0, 7.0 ], 
            "to": [ 9.0, 2.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 7.0, 14.0, 9.0, 15.0 ] },
                "east": { "texture": "#0", "uv": [ 7.0, 14.0, 8.0, 15.0 ] },
                "south": { "texture": "#0", "uv": [ 7.0, 14.0, 9.0, 15.0 ] },
                "west": { "texture": "#0", "uv": [ 8.0, 14.0, 9.0, 15.0 ] },
                "up": { "texture": "#0", "uv": [ 7.0, 14.0, 9.0, 15.0 ] },
                "down": { "texture": "#0", "uv": [ 7.0, 14.0, 9.0, 15.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 5.0, 2.0, 7.0 ], 
            "to": [ 7.0, 3.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 9.0, 13.0, 11.0, 14.0 ] },
                "east": { "texture": "#0", "uv": [ 9.0, 13.0, 10.0, 14.0 ] },
                "south": { "texture": "#0", "uv": [ 9.0, 13.0, 11.0, 14.0 ] },
                "west": { "texture": "#0", "uv": [ 10.0, 13.0, 11.0, 14.0 ] },
                "up": { "texture": "#0", "uv": [ 9.0, 13.0, 11.0, 14.0 ] },
                "down": { "texture": "#0", "uv": [ 9.0, 13.0, 11.0, 14.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 9.0, 2.0, 7.0 ], 
            "to": [ 11.0, 3.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 5.0, 13.0, 7.0, 14.0 ] },
                "east": { "texture": "#0", "uv": [ 5.0, 13.0, 6.0, 14.0 ] },
                "south": { "texture": "#0", "uv": [ 5.0, 13.0, 7.0, 14.0 ] },
                "west": { "texture": "#0", "uv": [ 6.0, 13.0, 7.0, 14.0 ] },
                "up": { "texture": "#0", "uv": [ 5.0, 13.0, 7.0, 14.0 ] },
                "down": { "texture": "#0", "uv": [ 5.0, 13.0, 7.0, 14.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 4.0, 3.0, 7.0 ], 
            "to": [ 5.0, 4.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 11.0, 12.0, 12.0, 13.0 ] },
                "east": { "texture": "#0", "uv": [ 11.0, 12.0, 12.0, 13.0 ] },
                "south": { "texture": "#0", "uv": [ 11.0, 12.0, 12.0, 13.0 ] },
                "west": { "texture": "#0", "uv": [ 11.0, 12.0, 12.0, 13.0 ] },
                "up": { "texture": "#0", "uv": [ 11.0, 12.0, 12.0, 13.0 ] },
                "down": { "texture": "#0", "uv": [ 11.0, 12.0, 12.0, 13.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 11.0, 3.0, 7.0 ], 
            "to": [ 12.0, 4.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 4.0, 12.0, 5.0, 13.0 ] },
                "east": { "texture": "#0", "uv": [ 4.0, 12.0, 5.0, 13.0 ] },
                "south": { "texture": "#0", "uv": [ 4.0, 12.0, 5.0, 13.0 ] },
                "west": { "texture": "#0", "uv": [ 4.0, 12.0, 5.0, 13.0 ] },
                "up": { "texture": "#0", "uv": [ 4.0, 12.0, 5.0, 13.0 ] },
                "down": { "texture": "#0", "uv": [ 4.0, 12.0, 5.0, 13.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 3.0, 4.0, 7.0 ], 
            "to": [ 4.0, 7.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 12.0, 9.0, 13.0, 12.0 ] },
                "east": { "texture": "#0", "uv": [ 12.0, 9.0, 13.0, 12.0 ] },
                "south": { "texture": "#0", "uv": [ 12.0, 9.0, 13.0, 12.0 ] },
                "west": { "texture": "#0", "uv": [ 12.0, 9.0, 13.0, 12.0 ] },
                "up": { "texture": "#0", "uv": [ 13.0, 9.0, 12.0, 10.0 ] },
                "down": { "texture": "#0", "uv": [ 12.0, 11.0, 13.0, 12.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 12.0, 4.0, 7.0 ], 
            "to": [ 13.0, 7.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 3.0, 9.0, 4.0, 12.0 ] },
                "east": { "texture": "#0", "uv": [ 3.0, 9.0, 4.0, 12.0 ] },
                "south": { "texture": "#0", "uv": [ 3.0, 9.0, 4.0, 12.0 ] },
                "west": { "texture": "#0", "uv": [ 3.0, 9.0, 4.0, 12.0 ] },
                "up": { "texture": "#0", "uv": [ 3.0, 9.0, 4.0, 10.0 ] },
                "down": { "texture": "#0", "uv": [ 3.0, 11.0, 4.0, 12.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 2.0, 7.0, 7.0 ], 
            "to": [ 3.0, 10.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 13.0, 6.0, 14.0, 9.0 ] },
                "east": { "texture": "#0", "uv": [ 13.0, 6.0, 14.0, 9.0 ] },
                "south": { "texture": "#0", "uv": [ 13.0, 6.0, 14.0, 9.0 ] },
                "west": { "texture": "#0", "uv": [ 13.0, 6.0, 14.0, 9.0 ] },
                "up": { "texture": "#0", "uv": [ 13.0, 6.0, 14.0, 7.0 ] },
                "down": { "texture": "#0", "uv": [ 13.0, 8.0, 14.0, 9.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 13.0, 7.0, 7.0 ], 
            "to": [ 14.0, 10.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 2.0, 6.0, 3.0, 9.0 ] },
                "east": { "texture": "#0", "uv": [ 2.0, 6.0, 3.0, 9.0 ] },
                "south": { "texture": "#0", "uv": [ 2.0, 6.0, 3.0, 9.0 ] },
                "west": { "texture": "#0", "uv": [ 2.0, 6.0, 3.0, 9.0 ] },
                "up": { "texture": "#0", "uv": [ 2.0, 6.0, 3.0, 7.0 ] },
                "down": { "texture": "#0", "uv": [ 2.0, 8.0, 3.0, 9.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 1.0, 10.0, 7.0 ], 
            "to": [ 2.0, 12.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 14.0, 4.0, 15.0, 6.0 ] },
                "east": { "texture": "#0", "uv": [ 14.0, 4.0, 15.0, 6.0 ] },
                "south": { "texture": "#0", "uv": [ 14.0, 4.0, 15.0, 6.0 ] },
                "west": { "texture": "#0", "uv": [ 14.0, 4.0, 15.0, 6.0 ] },
                "up": { "texture": "#0", "uv": [ 14.0, 4.0, 15.0, 5.0 ] },
                "down": { "texture": "#0", "uv": [ 14.0, 5.0, 15.0, 6.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 14.0, 10.0, 7.0 ], 
            "to": [ 15.0, 12.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 1.0, 4.0, 2.0, 6.0 ] },
                "east": { "texture": "#0", "uv": [ 1.0, 4.0, 2.0, 6.0 ] },
                "south": { "texture": "#0", "uv": [ 1.0, 4.0, 2.0, 6.0 ] },
                "west": { "texture": "#0", "uv": [ 1.0, 4.0, 2.0, 6.0 ] },
                "up": { "texture": "#0", "uv": [ 1.0, 4.0, 2.0, 5.0 ] },
                "down": { "texture": "#0", "uv": [ 1.0, 4.0, 2.0, 5.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 2.0, 12.0, 7.0 ], 
            "to": [ 4.0, 13.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 12.0, 3.0, 14.0, 4.0 ] },
                "east": { "texture": "#0", "uv": [ 12.0, 3.0, 13.0, 4.0 ] },
                "south": { "texture": "#0", "uv": [ 12.0, 3.0, 14.0, 4.0 ] },
                "west": { "texture": "#0", "uv": [ 13.0, 3.0, 14.0, 4.0 ] },
                "up": { "texture": "#0", "uv": [ 12.0, 3.0, 14.0, 4.0 ] },
                "down": { "texture": "#0", "uv": [ 12.0, 3.0, 14.0, 4.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 12.0, 12.0, 7.0 ], 
            "to": [ 14.0, 13.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 2.0, 3.0, 4.0, 4.0 ] },
                "east": { "texture": "#0", "uv": [ 2.0, 3.0, 3.0, 4.0 ] },
                "south": { "texture": "#0", "uv": [ 2.0, 3.0, 4.0, 4.0 ] },
                "west": { "texture": "#0", "uv": [ 3.0, 3.0, 4.0, 4.0 ] },
                "up": { "texture": "#0", "uv": [ 2.0, 3.0, 4.0, 4.0 ] },
                "down": { "texture": "#0", "uv": [ 2.0, 3.0, 4.0, 4.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 4.0, 13.0, 7.0 ], 
            "to": [ 7.0, 14.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 9.0, 2.0, 12.0, 3.0 ] },
                "east": { "texture": "#0", "uv": [ 9.0, 2.0, 10.0, 3.0 ] },
                "south": { "texture": "#0", "uv": [ 9.0, 2.0, 12.0, 3.0 ] },
                "west": { "texture": "#0", "uv": [ 11.0, 2.0, 12.0, 3.0 ] },
                "up": { "texture": "#0", "uv": [ 9.0, 2.0, 12.0, 3.0 ] },
                "down": { "texture": "#0", "uv": [ 9.0, 2.0, 12.0, 3.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 9.0, 13.0, 7.0 ], 
            "to": [ 12.0, 14.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 4.0, 2.0, 7.0, 3.0 ] },
                "east": { "texture": "#0", "uv": [ 4.0, 2.0, 5.0, 3.0 ] },
                "south": { "texture": "#0", "uv": [ 4.0, 2.0, 7.0, 3.0 ] },
                "west": { "texture": "#0", "uv": [ 6.0, 2.0, 7.0, 3.0 ] },
                "up": { "texture": "#0", "uv": [ 4.0, 2.0, 7.0, 3.0 ] },
                "down": { "texture": "#0", "uv": [ 4.0, 2.0, 7.0, 3.0 ] }
            }
        },
        {
            "name": "Border",
            "from": [ 7.0, 14.0, 7.0 ], 
            "to": [ 9.0, 15.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 7.0, 1.0, 9.0, 2.0 ] },
                "east": { "texture": "#0", "uv": [ 7.0, 1.0, 8.0, 2.0 ] },
                "south": { "texture": "#0", "uv": [ 7.0, 1.0, 9.0, 2.0 ] },
                "west": { "texture": "#0", "uv": [ 8.0, 1.0, 9.0, 2.0 ] },
                "up": { "texture": "#0", "uv": [ 7.0, 1.0, 9.0, 2.0 ] },
                "down": { "texture": "#0", "uv": [ 7.0, 1.0, 9.0, 2.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 4.0, 4.0, 7.0 ], 
            "to": [ 12.0, 13.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 4.0, 3.0, 12.0, 12.0 ] },
                "east": { "texture": "#0", "uv": [ 4.0, 3.0, 5.0, 12.0 ] },
                "south": { "texture": "#0", "uv": [ 4.0, 3.0, 12.0, 12.0 ] },
                "west": { "texture": "#0", "uv": [ 11.0, 3.0, 12.0, 12.0 ] },
                "up": { "texture": "#0", "uv": [ 4.0, 3.0, 12.0, 4.0 ] },
                "down": { "texture": "#0", "uv": [ 4.0, 11.0, 12.0, 12.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 5.0, 3.0, 7.0 ], 
            "to": [ 11.0, 4.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 5.0, 12.0, 11.0, 13.0 ] },
                "east": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "south": { "texture": "#0", "uv": [ 5.0, 12.0, 11.0, 13.0 ] },
                "west": { "texture": "#0", "uv": [ 10.0, 12.0, 11.0, 13.0 ] },
                "up": { "texture": "#0", "uv": [ 5.0, 12.0, 11.0, 13.0 ] },
                "down": { "texture": "#0", "uv": [ 5.0, 12.0, 11.0, 13.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 7.0, 2.0, 7.0 ], 
            "to": [ 9.0, 3.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 7.0, 13.0, 9.0, 14.0 ] },
                "east": { "texture": "#0", "uv": [ 7.0, 13.0, 8.0, 14.0 ] },
                "south": { "texture": "#0", "uv": [ 7.0, 13.0, 9.0, 14.0 ] },
                "west": { "texture": "#0", "uv": [ 8.0, 13.0, 9.0, 14.0 ] },
                "up": { "texture": "#0", "uv": [ 7.0, 13.0, 9.0, 14.0 ] },
                "down": { "texture": "#0", "uv": [ 7.0, 13.0, 9.0, 14.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 7.0, 13.0, 7.0 ], 
            "to": [ 9.0, 14.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 7.0, 2.0, 9.0, 3.0 ] },
                "east": { "texture": "#0", "uv": [ 7.0, 2.0, 8.0, 3.0 ] },
                "south": { "texture": "#0", "uv": [ 7.0, 2.0, 9.0, 3.0 ] },
                "west": { "texture": "#0", "uv": [ 8.0, 2.0, 9.0, 3.0 ] },
                "up": { "texture": "#0", "uv": [ 7.0, 2.0, 9.0, 3.0 ] },
                "down": { "texture": "#0", "uv": [ 7.0, 2.0, 9.0, 3.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 3.0, 7.0, 7.0 ], 
            "to": [ 4.0, 12.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 12.0, 4.0, 13.0, 9.0 ] },
                "east": { "texture": "#0", "uv": [ 12.0, 4.0, 13.0, 9.0 ] },
                "south": { "texture": "#0", "uv": [ 12.0, 4.0, 13.0, 9.0 ] },
                "west": { "texture": "#0", "uv": [ 12.0, 4.0, 13.0, 9.0 ] },
                "up": { "texture": "#0", "uv": [ 12.0, 4.0, 13.0, 5.0 ] },
                "down": { "texture": "#0", "uv": [ 12.0, 8.0, 13.0, 9.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 2.0, 10.0, 7.0 ], 
            "to": [ 3.0, 12.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 13.0, 4.0, 14.0, 6.0 ] },
                "east": { "texture": "#0", "uv": [ 13.0, 4.0, 14.0, 6.0 ] },
                "south": { "texture": "#0", "uv": [ 13.0, 4.0, 14.0, 6.0 ] },
                "west": { "texture": "#0", "uv": [ 13.0, 4.0, 14.0, 6.0 ] },
                "up": { "texture": "#0", "uv": [ 13.0, 4.0, 14.0, 5.0 ] },
                "down": { "texture": "#0", "uv": [ 13.0, 5.0, 14.0, 6.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 12.0, 7.0, 7.0 ], 
            "to": [ 13.0, 12.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 3.0, 4.0, 4.0, 9.0 ] },
                "east": { "texture": "#0", "uv": [ 3.0, 4.0, 4.0, 9.0 ] },
                "south": { "texture": "#0", "uv": [ 3.0, 4.0, 4.0, 9.0 ] },
                "west": { "texture": "#0", "uv": [ 3.0, 4.0, 4.0, 9.0 ] },
                "up": { "texture": "#0", "uv": [ 3.0, 4.0, 4.0, 5.0 ] },
                "down": { "texture": "#0", "uv": [ 3.0, 8.0, 4.0, 9.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 13.0, 10.0, 7.0 ], 
            "to": [ 14.0, 12.0, 8.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 2.0, 4.0, 3.0, 6.0 ] },
                "east": { "texture": "#0", "uv": [ 2.0, 4.0, 3.0, 6.0 ] },
                "south": { "texture": "#0", "uv": [ 2.0, 4.0, 3.0, 6.0 ] },
                "west": { "texture": "#0", "uv": [ 2.0, 4.0, 3.0, 6.0 ] },
                "up": { "texture": "#0", "uv": [ 2.0, 4.0, 3.0, 5.0 ] },
                "down": { "texture": "#0", "uv": [ 2.0, 5.0, 3.0, 6.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 9.0, 8.0, 8.0 ], 
            "to": [ 10.0, 9.0, 9.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "east": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "south": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "west": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "up": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "down": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 6.0, 8.0, 8.0 ], 
            "to": [ 7.0, 9.0, 9.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "east": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "south": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "west": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "up": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "down": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] }
            }
        },
        {
            "name": "Inside",
            "from": [ 6.0, 8.0, 9.0 ], 
            "to": [ 10.0, 9.0, 10.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "east": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "south": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "west": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "up": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] },
                "down": { "texture": "#0", "uv": [ 5.0, 12.0, 6.0, 13.0 ] }
            }
        }
    ]
}

 

[blocking]

{    
    "parent": "betterlife:item/shield_iron",
    "textures": {
        "layer0": "betterlife:items/shield_iron"
    },
    "display": {
        "thirdperson_righthand": {
            "rotation": [ 90, -75, 90 ],
            "translation": [ 2, -2, 1 ],
            "scale": [ 1, 1, 1 ]
        },
        "thirdperson_lefthand": {
            "rotation": [ 90, -75, 90 ],
            "translation": [ 2, -2, 1 ],
            "scale": [ 1, 1, 1 ]
        },
        "firstperson_righthand": {
            "rotation": [ 20, 15, 60 ],
            "translation": [ 0, 0, 0 ],
            "scale": [ 0.9, 0.9, 0.9 ]
        },
        "firstperson_lefthand": {
            "rotation": [ 10, -15, -3 ],
            "translation": [ 0, 0, 0 ],
            "scale": [ 0.9, 0.9, 0.9 ]
        }
    }
}

 

What am I doing wrong?

 

Thanks in advance

*Hug*

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.

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.