Item model doesn't work

Started by Nyancatpig on

Topic category: Help with MCreator software

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Item model doesn't work

The model that I'm using for a custom item doesn't work properly. It's a valid json. so there must be something wrong with code.

{
    "textures": {
        "0": "iron/irongauntlet",
        "particle": "iron/irongauntlet"
    },
    "display": {
        "thirdperson_righthand": {
            "from": [5.9, 3.9, 7.9],
            "to": [10.1, 8.1, 16.1],
            "rotation": {"angle": 0, "axis": "x", "origin": [10, 0, 16]},
            "faces": {
                "north": {"uv": [12, 0, 8, 4], "rotation": 180, "texture": "#0"},
                "east": {"uv": [4, 4, 8, 12], "rotation": 270, "texture": "#0"},
                "south": {"uv": [8, 4, 4, 0], "texture": "#0"},
                "west": {"uv": [8, 8, 12, 16], "rotation": 90, "texture": "#0"},
                "up": {"uv": [0, 0, 4, 8], "rotation": 180, "texture": "#0"},
                "down": {"uv": [0, 8, 4, 16], "texture": "#0"}
                }
        },
        "thirdperson_lefthand": {
            "from": [5.9, 3.9, 7.9],
            "to": [10.1, 8.1, 16.1],
            "rotation": {"angle": 0, "axis": "x", "origin": [10, 0, 16]},
            "faces": {
                "north": {"uv": [12, 0, 8, 4], "rotation": 180, "texture": "#0"},
                "east": {"uv": [4, 4, 8, 12], "rotation": 270, "texture": "#0"},
                "south": {"uv": [8, 4, 4, 0], "texture": "#0"},
                "west": {"uv": [8, 8, 12, 16], "rotation": 90, "texture": "#0"},
                "up": {"uv": [0, 0, 4, 8], "rotation": 180, "texture": "#0"},
                "down": {"uv": [0, 8, 4, 16], "texture": "#0"}
                }
        },
        "firstperson_righthand": {
            "from": [5.9, -0.1, 15.9],
            "to": [10.1, 8.1, 20.1],
            "rotation": {"angle": 0, "axis": "x", "origin": [10, 0, 12]},
            "faces": {
                "north": {"uv": [0, 8, 4, 16], "rotation": 180, "texture": "#1"},
                "east": {"uv": [4, 4, 8, 12], "rotation": 180, "texture": "#1"},
                "south": {"uv": [0, 0, 4, 8], "rotation": 180, "texture": "#1"},
                "west": {"uv": [8, 8, 12, 16], "rotation": 180, "texture": "#1"},
                "up": {"uv": [12, 0, 8, 4], "texture": "#1"},
                "down": {"uv": [8, 4, 4, 0], "texture": "#1"}
                }
        },
        "firstperson_lefthand": {
            "from": [5.9, -0.1, 15.9],
            "to": [10.1, 8.1, 20.1],
            "rotation": {"angle": 0, "axis": "x", "origin": [10, 0, 12]},
            "faces": {
                "north": {"uv": [0, 8, 4, 16], "rotation": 180, "texture": "#1"},
                "east": {"uv": [4, 4, 8, 12], "rotation": 180, "texture": "#1"},
                "south": {"uv": [0, 0, 4, 8], "rotation": 180, "texture": "#1"},
                "west": {"uv": [8, 8, 12, 16], "rotation": 180, "texture": "#1"},
                "up": {"uv": [12, 0, 8, 4], "texture": "#1"},
                "down": {"uv": [8, 4, 4, 0], "texture": "#1"}
                }
        },
        "gui": {
        "parent": "minecraft:item/generated",
        "textures": {
        "layer0": "modestweaponry:item/iron_gauntlets"
        },
        "fixed": {
        "parent": "minecraft:item/generated",
        "textures": {
        "layer0": "modestweaponry:item/iron_gauntlets"
        }
        },
        "ground": {
        "parent": "minecraft:item/generated",
        "textures": {
        "layer0": "modestweaponry:item/iron_gauntlets"
        }
        }
    }
}
}
 

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
  "parent": "minecraft: item…
Wed, 12/30/2020 - 07:22

  "parent": "minecraft: item / created"

Remove "minecraft: item / created" the name, it should help

The solution to this problem…
Wed, 12/30/2020 - 17:07

The solution to this problem and many other problems can be found in our knowledge base: https://mcreator.net/support/knowledgebase Please check the knowledge base before opening a new topic on the issue which has a known fix.

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes but all of the answers…
Thu, 12/31/2020 - 00:38

Yes but all of the answers just say 'you can do this by setting custom render modes'. I don't know how to do that.