Posted September 23, 20169 yr I have been attempting to troubleshoot this for hours by now. This is from the log: [21:51:47] [Client thread/ERROR] [FML]: Exception loading model for variant selimrandomstuff:bedWhite#facing=west,occupied=false,part=foot for blockstate "selimrandomstuff:bedWhite[facing=west,occupied=false,part=foot]" net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model selimrandomstuff:bedWhite#facing=west,occupied=false,part=foot with loader VariantLoader.INSTANCE, skipping at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:153) ~[ModelLoaderRegistry.class:?] And this is the blockstate (bedWhite.json): { "variants": { "facing=north,part=foot,occupied=false": { "model": "bed_foot", "y": 180 }, "facing=east,part=foot,occupied=false": { "model": "selimrandomstuff:bed_footWhite", "y": 270 }, "facing=south,part=foot,occupied=false": { "model": "selimrandomstuff:bed_footWhite" }, "facing=west,part=foot,occupied=false": { "model": "selimrandomstuff:bed_footWhite", "y": 90 }, "facing=north,part=head,occupied=false": { "model": "selimrandomstuff:bed_headWhite", "y": 180 }, "facing=east,part=head,occupied=false": { "model": "selimrandomstuff:bed_headWhite", "y": 270 }, "facing=south,part=head,occupied=false": { "model": "selimrandomstuff:bed_headWhite" }, "facing=west,part=head,occupied=false": { "model": "selimrandomstuff:bed_headWhite", "y": 90 }, "facing=north,part=foot,occupied=true": { "model": "selimrandomstuff:bed_footWhite", "y": 180 }, "facing=east,part=foot,occupied=true": { "model": "selimrandomstuff:bed_footWhite", "y": 270 }, "facing=south,part=foot,occupied=true": { "model": "selimrandomstuff:bed_footWhite" }, "facing=west,part=foot,occupied=true": { "model": "selimrandomstuff:bed_footWhite", "y": 90 }, "facing=north,part=head,occupied=true": { "model": "selimrandomstuff:bed_headWhite", "y": 180 }, "facing=east,part=head,occupied=true": { "model": "selimrandomstuff:bed_headWhite", "y": 270 }, "facing=south,part=head,occupied=true": { "model": "selimrandomstuff:bed_headWhite" }, "facing=west,part=head,occupied=true": { "model": "selimrandomstuff:bed_headWhite", "y": 90 } } } And, the model itself (bed_footWhite.json): { "textures": { "particle": "blocks/bed_feet_top", "top": "blocks/bed_feet_top", "bottom": "blocks/planks_oak", "end": "blocks/bed_feet_end", "side": "blocks/bed_feet_side" }, "elements": [ { "from": [ 0, 0, 0 ], "to": [ 16, 9, 16 ], "faces": { "up": { "uv": [ 0, 16, 16, 0 ], "texture": "#top", "rotation": 90 }, "north": { "uv": [ 0, 7, 16, 16 ], "texture": "#end" }, "west": { "uv": [ 0, 7, 16, 16 ], "texture": "#side" }, "east": { "uv": [ 16, 7, 0, 16 ], "texture": "#side" } } }, { "from": [ 0, 3, 0 ], "to": [ 16, 3, 16 ], "faces": { "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#bottom" } } } ] } This problem is occuring for every possible variant for the block. I only posted the model for the foot part because I assume that it is the same issue for both the foot model and the head model. I have this feeling that I am overlooking some minor thing.
September 23, 20169 yr Exception loading model for variant selimrandomstuff:bedWhite#facing=west,occupied=false,part=foot ... "facing=west,part=foot,occupied=false": { "model": "selimrandomstuff:bed_footWhite", "y": 90 }, When using the vanilla blockstates format, the properties in each variant name must be in alphabetical order. You haven't done this. Consider using Forge's blockstates format. This allows you to specify the effect of each property individually, including the model and textures. 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.
September 23, 20169 yr Author Huh. I didn't know that it needed to be alphabetical. I thought I tried that even. As for Forge's blockstate system, I will look into it, thanks.
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.