Problem with model,need help ASAP

Started by _chuchu_ on Thu, 08/17/2017 - 12:22

Topic category: Help with MCreator's application

Last seen on 10:48, 19. Jun 2019
Joined May 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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 10:48, 19. Jun 2019
Joined May 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Hey guys,just an update,i
Thu, 08/17/2017 - 14:35

Hey guys,just an update,i have the error,here's the pastebin :

https://pastebin.com/NGpNitM6

Last seen on 10:48, 19. Jun 2019
Joined May 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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 10:48, 19. Jun 2019
Joined May 2015
User points:

Statistics:

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

sorry,going to explain everythig in the post.

Last seen on 00:21, 11. Aug 2019
Joined Aug 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
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 10:48, 19. Jun 2019
Joined May 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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 !