Jump to content

execption loading model for varient


zanzi2342

Recommended Posts

hi guys first time posting here!  Im new to modding minecraft and im running into an issue here.  im trying to make a custom furnace. the java classes are fine no errors there but the game throws multiple model errors from launch. ive copied the blockstates and models from the vanilla furnace everything should be working but its not this is what im getting..

 

 

Exception loading model for variant zc:crystal_furnace#facing=west for blockstate "zc:crystal_furnace[facing=west]"

net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model zc:crystal_furnace#facing=west with loader VariantLoader.INSTANCE

 

net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model minecraft:block/crystal_furnace with loader VanillaLoader.INSTANCE

 

its goes through north south east and west errors as well

 

 

here are the blockstates

{

    "variants": {

        "facing=north": { "model": "crystal_furnace" },

        "facing=south": { "model": "crystal_furnace", "y": 180 },

        "facing=west":  { "model": "crystal_furnace", "y": 270 },

        "facing=east":  { "model": "crystal_furnace", "y": 90 }

    }

}

 

{

    "variants": {

        "facing=north": { "model": "lit_crystal_furnace" },

        "facing=south": { "model": "lit_crystal_furnace", "y": 180 },

        "facing=west":  { "model": "lit_crystal_furnace", "y": 270 },

        "facing=east":  { "model": "lit_crystal_furnace", "y": 90 }

    }

}

 

 

the block models

{

    "parent": "block/orientable",

    "textures": {

        "top": "zc:blocks/crystal_furnace_top",

        "front": "zc:blocks/crystal_furnace_front_off",

        "side": "zc:blocks/crystal_furnace_side"

    }

}

 

{

    "parent": "block/orientable",

    "textures": {

        "top": "zc:blocks/crystal_furnace_top",

        "front": "zc:blocks/crystal_furnace_front_on",

        "side": "zc:blocks/crystal_furnace_side"

    }

}

 

and the item models

{

    "parent": "zc:block/crystal_furnace"

}

 

 

 

{

    "parent": "zc:block/lit_crystal_furnace"

}

 

hopefully its something simple and we can get it figured out

 

 

Link to comment
Share on other sites

Orientable? Try subclassing BlockHorizontal, which uses just your compass points.

 

In your variants, each model needs to be fully qualified (have your mod name before a colon).

 

Where's your code? Where's your crash report?

 

 

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

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.