Problem with model,need help ASAP

Started by _chuchu_ on

Topic category: Help with MCreator software

Last seen on 17:23, 30. Mar 2021
Joined May 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Problem with model,need help ASAP
Fri, 10/27/2017 - 17:36 (edited)

Hey guys ! I've made a model recently but i don't have a idea why he don't work,i've already set a lot of others model like that,but i got a error that time.

It's a 3D Model for a block in my mod,my game don't crash but the model don't show in the game and it's a purple and black block. It's just a stone statue of a biped.

Json of my model :

{
    "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
    "textures": {
        "0": "blocks/corrupted_stone"
    },
    "elements": [
        {
            "name": "head",
            "from": [ 4.0, 30.0, 4.0 ], 
            "to": [ 12.0, 38.0, 12.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 8.0, 7.0, 16.0, 15.0 ] },
                "east": { "texture": "#0", "uv": [ 8.0, 0.0, 16.0, 8.0 ] },
                "south": { "texture": "#0", "uv": [ 8.0, 0.0, 16.0, 8.0 ] },
                "west": { "texture": "#0", "uv": [ 8.0, 0.0, 16.0, 8.0 ] },
                "up": { "texture": "#0", "uv": [ 8.0, 0.0, 16.0, 8.0 ] },
                "down": { "texture": "#0", "uv": [ 8.0, 0.0, 16.0, 8.0 ] }
            }
        },
        {
            "name": "body",
            "from": [ 4.0, 17.0, 6.0 ], 
            "to": [ 12.0, 29.0, 10.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 0.0, 2.0, 8.0, 14.0 ] },
                "east": { "texture": "#0", "uv": [ 8.0, 0.0, 16.0, 12.0 ] },
                "south": { "texture": "#0", "uv": [ 8.0, 1.0, 16.0, 13.0 ] },
                "west": { "texture": "#0", "uv": [ 10.0, 4.0, 14.0, 16.0 ] },
                "up": { "texture": "#0", "uv": [ 8.0, 0.0, 16.0, 4.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 8.0, 4.0 ] }
            }
        },
        {
            "name": "rightarm",
            "from": [ -11.0, 11.0, 6.0 ], 
            "to": [ -7.0, 23.0, 10.0 ], 
            "rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "z", "angle": -22.5 },
            "faces": {
                "north": { "texture": "#0", "uv": [ 11.0, 0.0, 15.0, 12.0 ] },
                "east": { "texture": "#0", "uv": [ 9.0, 4.0, 13.0, 16.0 ] },
                "south": { "texture": "#0", "uv": [ 10.0, 4.0, 14.0, 16.0 ] },
                "west": { "texture": "#0", "uv": [ 11.0, 0.0, 15.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": "rightleg",
            "from": [ 0.0, 1.3999999999999986, 6.0 ], 
            "to": [ 4.0, 13.399999999999999, 10.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 9.0, 4.0, 13.0, 16.0 ] },
                "east": { "texture": "#0", "uv": [ 12.0, 1.0, 16.0, 13.0 ] },
                "south": { "texture": "#0", "uv": [ 11.0, 4.0, 15.0, 16.0 ] },
                "west": { "texture": "#0", "uv": [ 10.0, 0.0, 14.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": "Casque2",
            "from": [ 3.5, 30.0, 8.5 ], 
            "to": [ 4.5, 37.0, 15.5 ], 
            "rotation": { "origin": [ 3.5, 32.0, 3.5 ], "axis": "x", "angle": -45.0 },
            "faces": {
                "north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 7.0 ] },
                "east": { "texture": "#0", "uv": [ 9.0, 0.0, 16.0, 7.0 ] },
                "south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 7.0 ] },
                "west": { "texture": "#0", "uv": [ 9.0, 0.0, 16.0, 7.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 7.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 7.0 ] }
            }
        },
        {
            "name": "leftarm",
            "from": [ 22.0, 11.0, 6.0 ], 
            "to": [ 26.0, 23.0, 10.0 ], 
            "rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "z", "angle": 22.5 },
            "faces": {
                "north": { "texture": "#0", "uv": [ 11.0, 0.0, 15.0, 12.0 ] },
                "east": { "texture": "#0", "uv": [ 9.0, 4.0, 13.0, 16.0 ] },
                "south": { "texture": "#0", "uv": [ 10.0, 4.0, 14.0, 16.0 ] },
                "west": { "texture": "#0", "uv": [ 11.0, 0.0, 15.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": "leftleg",
            "from": [ 11.0, 1.3999999999999986, 6.0 ], 
            "to": [ 15.0, 13.399999999999999, 10.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 9.0, 4.0, 13.0, 16.0 ] },
                "east": { "texture": "#0", "uv": [ 12.0, 1.0, 16.0, 13.0 ] },
                "south": { "texture": "#0", "uv": [ 11.0, 4.0, 15.0, 16.0 ] },
                "west": { "texture": "#0", "uv": [ 10.0, 0.0, 14.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": "Casque3",
            "from": [ 11.5, 30.0, 8.5 ], 
            "to": [ 12.5, 37.0, 15.5 ], 
            "rotation": { "origin": [ 3.5, 32.0, 3.5 ], "axis": "x", "angle": -45.0 },
            "faces": {
                "north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 7.0 ] },
                "east": { "texture": "#0", "uv": [ 9.0, 0.0, 16.0, 7.0 ] },
                "south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 7.0 ] },
                "west": { "texture": "#0", "uv": [ 9.0, 0.0, 16.0, 7.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 7.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 7.0 ] }
            }
        }
    ]
}

And i don't think the texture is a problem,but here is it :

Here is the pastebin for the error : https://pastebin.com/NGpNitM6

Edited by Klemen on Fri, 10/27/2017 - 17:36
Last seen on 17:23, 30. Mar 2021
Joined May 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
but i can't fix it.
Thu, 08/17/2017 - 14:35

but i can't fix it.

Last seen on 23:32, 21. Feb 2018
Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey man, First Calm down, we
Thu, 08/17/2017 - 15:22

Hey man, First Calm down, we need what version of MCreator you are using, then what

you want to do with it

Last seen on 17:23, 30. Mar 2021
Joined May 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
sorry,going to explain
Thu, 08/17/2017 - 15:38

sorry,going to explain everythig in the post.

Last seen on 17:17, 10. Jan 2024
Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Caused by: com.google.gson
Thu, 08/17/2017 - 15:39

Caused by: com.google.gson.JsonParseException: 'to' specifier exceeds the allowed boundaries: Vector3f[12.0, 38.0, 12.0]
Your model is too big. .JSON models have specific boundaries that you can't pass. The element of the model must be between -16 and 32 (including both these numbers). As you can see, some of your elements have Y  38.

Last seen on 17:23, 30. Mar 2021
Joined May 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:Caused by: com.google.gson
Thu, 08/17/2017 - 20:01

@#5 Thanks ! I'm subscribed to you and i really love you videos !