Jump to content

Recommended Posts

Posted (edited)

I have two custom models in my mod, one renders perfectly while the other doesn't render at all, its just a big black and purple box. The log says that its missing a blockstate, but it isn't its in the folder that it should be in:

[15:43:38] [main/ERROR] [FML]: Exception loading blockstate for the variant realfoods:oven#normal: 
java.lang.Exception: Could not load model definition for variant realfoods:oven
	at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:281) ~[ModelLoader.class:?]
	at net.minecraft.client.renderer.block.model.ModelBakery.loadBlock(ModelBakery.java:121) ~[ModelBakery.class:?]
	at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:236) ~[ModelLoader.class:?]
	at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:163) ~[ModelLoader.class:?]
	at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
	at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121) [SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.Minecraft.init(Minecraft.java:559) [Minecraft.class:?]
	at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?]
	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_151]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_151]
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_151]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_151]
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
	at GradleStart.main(GradleStart.java:25) [start/:?]
Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model realfoods:blockstates/oven.json
	at net.minecraft.client.renderer.block.model.ModelBakery.loadMultipartMBD(ModelBakery.java:228) ~[ModelBakery.class:?]
	at net.minecraft.client.renderer.block.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:208) ~[ModelBakery.class:?]
	at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:277) ~[ModelLoader.class:?]
	... 20 more
Caused by: java.io.FileNotFoundException: realfoods:blockstates/oven.json
	at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:104) ~[FallbackResourceManager.class:?]
	at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:79) ~[SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.renderer.block.model.ModelBakery.loadMultipartMBD(ModelBakery.java:221) ~[ModelBakery.class:?]
	at net.minecraft.client.renderer.block.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:208) ~[ModelBakery.class:?]
	at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:277) ~[ModelLoader.class:?]
	... 20 more

oven.json (blockstate):

{
    "variants": {
        "normal": { "model": "realfoods:oven" }
    }
}

oven.json (model):

Spoiler

{
    "parent": "block/block",
    "textures": {
        "particle": "blocks/blocks/iron_bars",
        "0": "blocks/iron_block",
        "1": "blocks/iron_bars",
        "2": "blocks/coal_block",
        "3": "blocks/redstone_block",
        "4": "blocks/glass"
    },
    "elements": [
        {
            "name": "Cube",
            "from": [ 0.0, 0.0, 0.0 ], 
            "to": [ 16.0, 2.0, 15.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 0.0, 7.0, 16.0, 9.0 ] },
                "east": { "texture": "#0", "uv": [ 0.0, 7.0, 15.0, 9.0 ] },
                "south": { "texture": "#0", "uv": [ 0.0, 14.0, 16.0, 16.0 ] },
                "west": { "texture": "#0", "uv": [ 0.0, 7.0, 15.0, 9.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 15.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 15.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 0.0, 2.0, 0.0 ], 
            "to": [ 2.0, 12.0, 15.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 14.0, 0.0, 16.0, 10.0 ] },
                "east": { "texture": "#0", "uv": [ 0.0, 0.0, 15.0, 10.0 ] },
                "south": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 10.0 ] },
                "west": { "texture": "#0", "uv": [ 0.0, 0.0, 15.0, 10.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 15.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 15.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 14.0, 2.0, 0.0 ], 
            "to": [ 16.0, 12.0, 15.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 10.0 ] },
                "east": { "texture": "#0", "uv": [ 0.0, 0.0, 15.0, 10.0 ] },
                "south": { "texture": "#0", "uv": [ 14.0, 0.0, 16.0, 10.0 ] },
                "west": { "texture": "#0", "uv": [ 0.0, 0.0, 15.0, 10.0 ] },
                "up": { "texture": "#0", "uv": [ 14.0, 0.0, 16.0, 15.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 15.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 2.0, 2.0, 0.0 ], 
            "to": [ 14.0, 12.0, 2.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 2.0, 0.0, 14.0, 10.0 ] },
                "east": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 10.0 ] },
                "south": { "texture": "#0", "uv": [ 2.0, 0.0, 14.0, 10.0 ] },
                "west": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 10.0 ] },
                "up": { "texture": "#0", "uv": [ 2.0, 0.0, 14.0, 2.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 2.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 2.0, 4.0, 2.0 ], 
            "to": [ 3.0, 5.0, 14.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 0.0, 0.0, 4.0, 2.0 ] },
                "up": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 12.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 12.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 4.0, 4.0, 2.0 ], 
            "to": [ 5.0, 5.0, 14.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 0.0, 0.0, 6.0, 3.0 ] },
                "up": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 12.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 12.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 6.0, 4.0, 2.0 ], 
            "to": [ 8.0, 5.0, 14.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "up": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 12.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 12.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 11.0, 4.0, 2.0 ], 
            "to": [ 12.0, 5.0, 14.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "up": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 12.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 12.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 13.0, 4.0, 2.0 ], 
            "to": [ 14.0, 5.0, 14.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "up": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 12.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 12.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 9.0, 4.0, 2.0 ], 
            "to": [ 10.0, 5.0, 14.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 12.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 12.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 3.0, 4.0, 2.0 ], 
            "to": [ 4.0, 5.0, 3.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 5.0, 4.0, 2.0 ], 
            "to": [ 6.0, 5.0, 3.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 8.0, 4.0, 2.0 ], 
            "to": [ 9.0, 5.0, 3.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 10.0, 4.0, 2.0 ], 
            "to": [ 11.0, 5.0, 3.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 12.0, 4.0, 2.0 ], 
            "to": [ 13.0, 5.0, 3.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 12.0, 4.0, 5.0 ], 
            "to": [ 13.0, 5.0, 6.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 10.0, 4.0, 5.0 ], 
            "to": [ 11.0, 5.0, 6.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 8.0, 4.0, 5.0 ], 
            "to": [ 9.0, 5.0, 6.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 5.0, 4.0, 5.0 ], 
            "to": [ 6.0, 5.0, 6.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 3.0, 4.0, 5.0 ], 
            "to": [ 4.0, 5.0, 6.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 3.0, 4.0, 8.0 ], 
            "to": [ 4.0, 5.0, 9.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 5.0, 4.0, 8.0 ], 
            "to": [ 6.0, 5.0, 9.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 8.0, 4.0, 8.0 ], 
            "to": [ 9.0, 5.0, 9.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 10.0, 4.0, 8.0 ], 
            "to": [ 11.0, 5.0, 9.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 12.0, 4.0, 8.0 ], 
            "to": [ 13.0, 5.0, 9.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 12.0, 4.0, 11.0 ], 
            "to": [ 13.0, 5.0, 12.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 10.0, 4.0, 11.0 ], 
            "to": [ 11.0, 5.0, 12.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 8.0, 4.0, 11.0 ], 
            "to": [ 9.0, 5.0, 12.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 5.0, 4.0, 11.0 ], 
            "to": [ 6.0, 5.0, 12.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 3.0, 4.0, 11.0 ], 
            "to": [ 4.0, 5.0, 12.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 3.0, 4.0, 13.0 ], 
            "to": [ 4.0, 5.0, 14.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 5.0, 4.0, 13.0 ], 
            "to": [ 6.0, 5.0, 14.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 8.0, 4.0, 13.0 ], 
            "to": [ 9.0, 5.0, 14.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 10.0, 4.0, 13.0 ], 
            "to": [ 11.0, 5.0, 14.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 12.0, 4.0, 13.0 ], 
            "to": [ 13.0, 5.0, 14.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 9.0, 4.0, 8.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 3.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 7.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 3.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 1.0, 2.0, 15.0 ], 
            "to": [ 3.0, 11.0, 16.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 9.0 ] },
                "east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 9.0 ] },
                "south": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 9.0 ] },
                "west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 9.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 13.0, 2.0, 15.0 ], 
            "to": [ 15.0, 11.0, 16.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 9.0 ] },
                "east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 9.0 ] },
                "south": { "texture": "#0", "uv": [ 14.0, 0.0, 16.0, 9.0 ] },
                "west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 9.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 1.0, 1.0, 15.0 ], 
            "to": [ 15.0, 2.0, 16.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
                "east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
                "south": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
                "west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 3.0, 9.0, 15.0 ], 
            "to": [ 13.0, 11.0, 16.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 0.0, 0.0, 10.0, 2.0 ] },
                "east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 2.0 ] },
                "south": { "texture": "#0", "uv": [ 0.0, 0.0, 10.0, 2.0 ] },
                "west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 2.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 10.0, 1.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 10.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 4.0, 9.0, 16.0 ], 
            "to": [ 12.0, 10.0, 17.0 ], 
            "faces": {
                "north": { "texture": "#2", "uv": [ 0.0, 0.0, 8.0, 1.0 ] },
                "east": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
                "south": { "texture": "#2", "uv": [ 0.0, 0.0, 8.0, 1.0 ] },
                "west": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
                "up": { "texture": "#2", "uv": [ 0.0, 0.0, 8.0, 1.0 ] },
                "down": { "texture": "#2", "uv": [ 0.0, 0.0, 8.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 2.0, 11.0, 14.0 ], 
            "to": [ 14.0, 12.0, 15.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 1.0, 0.0, 13.0, 1.0 ] },
                "east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
                "south": { "texture": "#0", "uv": [ 1.0, 1.0, 13.0, 2.0 ] },
                "west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 0.0, 12.0, 0.0 ], 
            "to": [ 16.0, 13.0, 15.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 1.0, 0.0, 17.0, 1.0 ] },
                "east": { "texture": "#0", "uv": [ 0.0, 0.0, 15.0, 1.0 ] },
                "south": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
                "west": { "texture": "#0", "uv": [ 0.0, 0.0, 15.0, 1.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 15.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 0.0, 13.0, 0.0 ], 
            "to": [ 16.0, 17.0, 2.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 4.0 ] },
                "east": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 4.0 ] },
                "south": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 4.0 ] },
                "west": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 4.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 2.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 2.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 12.0, 14.0, 2.0 ], 
            "to": [ 14.0, 16.0, 3.0 ], 
            "faces": {
                "north": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
                "east": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 2.0 ] },
                "south": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
                "west": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 2.0 ] },
                "up": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
                "down": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 2.0, 14.0, 2.0 ], 
            "to": [ 4.0, 16.0, 3.0 ], 
            "faces": {
                "north": { "texture": "#3", "uv": [ 6.0, 6.0, 8.0, 8.0 ] },
                "east": { "texture": "#3", "uv": [ 4.0, 3.0, 5.0, 5.0 ] },
                "south": { "texture": "#3", "uv": [ 3.0, 3.0, 5.0, 5.0 ] },
                "west": { "texture": "#3", "uv": [ 4.0, 3.0, 5.0, 5.0 ] },
                "up": { "texture": "#3", "uv": [ 2.0, 2.0, 4.0, 3.0 ] },
                "down": { "texture": "#3", "uv": [ 3.0, 2.0, 5.0, 3.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 3.0, 2.0, 15.0 ], 
            "to": [ 13.0, 9.0, 16.0 ], 
            "faces": {
                "north": { "texture": "#4", "uv": [ 1.0, 4.0, 11.0, 11.0 ] },
                "east": { "texture": "#4", "uv": [ 6.0, 5.0, 7.0, 12.0 ] },
                "south": { "texture": "#4", "uv": [ 1.0, 3.0, 11.0, 10.0 ] },
                "west": { "texture": "#4", "uv": [ 6.0, 4.0, 7.0, 11.0 ] },
                "up": { "texture": "#4", "uv": [ 4.0, 4.0, 14.0, 5.0 ] },
                "down": { "texture": "#4", "uv": [ 1.0, 4.0, 11.0, 5.0 ] }
            }
        }
    ]
}

 

 

Edited by SeanOMik

Developer of "A Realistic Foods Mod"

Posted
6 hours ago, SeanOMik said:

Caused by: java.io.FileNotFoundException: realfoods:blockstates/oven.json

Well. Whatever you did, the game can't find your blockstate file.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted (edited)
15 hours ago, Draco18s said:

Well. Whatever you did, the game can't find your blockstate file.

Okay, I dont know why the error was reported as being a blockstate error, but it wasn't at all, it was actually a model file issue...

"textures": {
        "particle": "blocks/blocks/iron_bars",
        "0": "blocks/iron_block",
        "1": "blocks/coal_block",
        "2": "blocks/redstone_block",
        "3": "blocks/glass",
        "4": "blocks/iron_bars"
    }

On the particle line for some reason it has a second 'blocks/'. I used mrcrayfishish model creator to make this model, I'm not sure why this happened, but it did.

Edited by SeanOMik

Developer of "A Realistic Foods Mod"

Posted
11 hours ago, SeanOMik said:

Okay, I dont know why the error was reported as being a blockstate error, but it wasn't at all, it was actually a model file issue...


"textures": {
        "particle": "blocks/blocks/iron_bars",
        "0": "blocks/iron_block",
        "1": "blocks/coal_block",
        "2": "blocks/redstone_block",
        "3": "blocks/glass",
        "4": "blocks/iron_bars"
    }

On the particle line for some reason it has a second 'blocks/'. I used mrcrayfishish model creator to make this model, I'm not sure why this happened, but it did.

Can I recommend BlockBench? http://blockbench.net

  • Like 1

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted
On 5/13/2018 at 3:14 PM, SeanOMik said:

 I used mrcrayfishish model creator to make this model, I'm not sure why this happened, but it did.

 

8 hours ago, vpontin said:

...or MyCrayfish model creator

?

  • Thanks 1
  • Confused 1

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I have a custom 3d model which works perfectly. BUT I want it to be held diffrently on the players hand when the item is being used. My JSON file under assets/examplemod/items looks like this: { "model": { "type": "minecraft:condition", "on_false": { "type": "minecraft:model", "model": "examplemod:item/example_item" }, "on_true": { "type": "minecraft:model", "model": "examplemod:item/example_item_using" }, "property": "minecraft:using_item" } }   This works fine until the item is used. The correct model will be displayed but with a full black texture instead of the actuall texture. Any idea why? (I want to use the exact same texture for both items, because their model is the same just diffrent displays on firstperson_righthand and firstperson_lefthand). The models JSON's are fully blockbench files inlcuding the elements, display, textures with texture_size.   Also is this the correct way to do it? Because it feels so dumb to change the exact same model just for a diffrent right- and lefthand view.   (fyi: ItemUseAnimation is BLOCK for this item)
    • I just backed up my world then tried to create new mod with currently equipped mod but with new world still made same error. Sooo I think it's not world error. also It's working fine on singleplayer. + but it made some another weird error with new world
    • Maybe the file is too large - you can upload the log file via Mediafire
    • Create a new instance and start with Embeddium + Oculus Then add new mods one by one or in groups The "IncompatibleClassChangeError: class net.coderbot.iris.gui.option.ShadowDistanceOption" often appears in connection with an incompatible mod
    • I hosted forge modded server using feather client I was able to join without any issues yesterday, but today after I tested my shader on my single world then tried to join the world but it made error meassage. (I also changed server.properties's render settings, but I reverted it as same as yesterday) So I removed my shader and removed optifine on server and on my mod file then it made this error: Internal Exception: io.netty.handler.codec.DecoderException: net.minecraft.ResourceLocationException: Non [a-z0-9/-1 character in path of location: inecraft:ask_server\u0012\u0001\uFFFD\n\u0007targets\u001D\u0001\u0014minecraft:ask_server\u0012\u0002\uFFFD\n\uFFFD\n\u0002id!\u0014minecraft:ask_server\u0002 \u0001\uFFFD\n\u0006target\u0006\u0001\u0002\u0001\uFFFD\n\ttarget My server/client is 1.20.1 forge. And I got 34 mods total, it was working pretty fine yesterday (I did not add/remove any mods before it started happening) I hope it's not about my worlds, it's been quite long since using this world I'm not native english speaker so there may be grammar issue! Thank you for reading!
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.