Jump to content

Recommended Posts

Posted

Hey everybody,

i have a problem with swords on my mod.

Ingame, the sword textures are purple/black blocks. It says it cant find the json file.

I work after a youtube tutorial, but i simply cannot find the mistake i made.

When i search for the problem, there are a few entries about this, but nothing helped me.

 

My Main Mod File "Calex.java": (I deleted Crafting Recipes)

package com.calex;

import com.calex.items.ItemRedstone_Ball;
import com.calex.items.ItemRedstone_Ingot;
import com.calex.items.ItemRedstoneSword;

import net.minecraft.client.Minecraft;
import net.minecraft.client.resources.model.ModelResourceLocation;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.Item.ToolMaterial;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemSword;
import net.minecraftforge.common.util.EnumHelper;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.registry.GameRegistry;

@Mod(modid = Calex.MODID)
public class Calex {

public static final String MODID = "calex";

public static ToolMaterial redstoneTools = EnumHelper.addToolMaterial("redstoneTools", 2, 209, 9.0F, 2.0F, 16);

public static Item redstone_ball = new ItemRedstone_Ball();
public static Item redstone_ingot = new ItemRedstone_Ingot();
public static ItemSword redstonesword = new ItemRedstoneSword();

@EventHandler
public void preInit(FMLPreInitializationEvent event) {


}

@EventHandler
public void Init(FMLInitializationEvent event) {

	GameRegistry.registerItem(redstone_ball, "redstone_ball");
	GameRegistry.registerItem(redstone_ingot, "redstone_ingot");
	GameRegistry.registerItem(redstonesword, "redstonesword");
	Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(redstone_ball, 0, new ModelResourceLocation("calex:redstone_ball", "inventory"));
	Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(redstone_ingot, 0, new ModelResourceLocation("calex:redstone_ingot", "inventory"));
	Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(redstonesword, 0, new ModelResourceLocation("calex:redstonesword", "inventory"));
}

	@EventHandler
public void postInit(FMLPostInitializationEvent event) {

}

}

 

My "redstonesword.json":

 

{ 
    "parent": "builtin/generated", 
    "textures": { 
        "layer0": "calex:items/redstonesword; 
    }, 
    "display": { 
        "thirdperson": { 
            "rotation": [ 0, 90, -35 ], 
            "translation": [ 0, 1.25, -3.5 ], 
            "scale": [ 0.85, 0.85, 0.85 ] 
        }, 
        "firstperson": { 
            "rotation": [ 0, -135, 25 ], 
            "translation": [ 0, 4, 2 ], 
            "scale": [ 1.7, 1.7, 1.7 ] 
        } 
    }
}

 

And the full log when i start the game:

 

[23:28:58] [main/INFO] [GradleStart]: Extra: []
[23:28:58] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --accessToken, {REDACTED}, --assetIndex, 1.8, --assetsDir, C:/Dokumente und Einstellungen/Alex/.gradle/caches/minecraft/assets, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[23:28:58] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[23:28:58] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[23:28:58] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[23:28:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[23:28:58] [main/INFO] [FML]: Forge Mod Loader version 8.99.124.1450 for Minecraft 1.8 loading
[23:28:58] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.7.0_60-ea, running on Windows XP:x86:5.1, installed at C:\Programme\Java\jre7
[23:28:58] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[23:28:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[23:28:58] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[23:28:58] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[23:28:58] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[23:28:58] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[23:28:58] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[23:28:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[23:28:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[23:28:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[23:28:59] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[23:29:02] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[23:29:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[23:29:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[23:29:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[23:29:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[23:29:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[23:29:03] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[23:29:04] [Client thread/INFO]: Setting user: Player439
[23:29:10] [Client thread/INFO]: LWJGL Version: 2.9.1
[23:29:11] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[23:29:11] [Client thread/INFO] [FML]: MinecraftForge v11.14.3.1450 Initialized
[23:29:11] [Client thread/INFO] [FML]: Replaced 204 ore recipies
[23:29:11] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[23:29:11] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[23:29:11] [Client thread/INFO] [FML]: Searching C:\Dokumente und Einstellungen\Alex\Desktop\Minecraft\CalexMod\Calex\eclipse\mods for mods
[23:29:11] [Client thread/INFO] [calex]: Mod calex is missing the required element 'name'. Substituting calex
[23:29:11] [Client thread/WARN] [calex]: Mod calex is missing the required element 'version' and no fallback can be found. Substituting '1.0'.
[23:29:14] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[23:29:14] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, calex] at CLIENT
[23:29:14] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, calex] at SERVER
[23:29:15] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:calex
[23:29:15] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[23:29:15] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
[23:29:15] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[23:29:15] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[23:29:15] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[23:29:15] [Client thread/INFO] [FML]: Applying holder lookups
[23:29:15] [Client thread/INFO] [FML]: Holder lookups applied
[23:29:15] [Client thread/INFO] [FML]: Injecting itemstacks
[23:29:15] [Client thread/INFO] [FML]: Itemstack injection complete
[23:29:16] [sound Library Loader/INFO]: Starting up SoundSystem...
[23:29:16] [Thread-7/INFO]: Initializing LWJGL OpenAL
[23:29:16] [Thread-7/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[23:29:17] [Thread-7/INFO]: OpenAL initialized.
[23:29:17] [sound Library Loader/INFO]: Sound engine started
[23:29:23] [Client thread/INFO]: Created: 512x512 textures-atlas
[23:29:25] [Client thread/INFO] [FML]: Injecting itemstacks
[23:29:25] [Client thread/INFO] [FML]: Itemstack injection complete
[23:29:26] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[23:29:26] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:calex
[23:29:26] [Client thread/INFO]: SoundSystem shutting down...
[23:29:26] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[23:29:26] [sound Library Loader/INFO]: Starting up SoundSystem...
[23:29:26] [Thread-9/INFO]: Initializing LWJGL OpenAL
[23:29:26] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[23:29:26] [Thread-9/INFO]: OpenAL initialized.
[23:29:27] [sound Library Loader/INFO]: Sound engine started
[23:29:32] [Client thread/ERROR] [FML]: Exception loading model calex:item/redstonesword with loader instance, skipping
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated object at line 6 column 7
at com.google.gson.internal.Streams.parse(Streams.java:56) ~[streams.class:?]
at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:54) ~[TreeTypeAdapter.class:?]
at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:741) ~[Gson.class:?]
at net.minecraft.client.renderer.block.model.ModelBlock.deserialize(ModelBlock.java:47) ~[ModelBlock.class:?]
at net.minecraft.client.resources.model.ModelBakery.loadModel(ModelBakery.java:269) ~[ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.access$900(ModelLoader.java:71) ~[ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:534) ~[ModelLoader$VanillaLoader.class:?]
at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:92) [ModelLoaderRegistry.class:?]
at net.minecraftforge.client.model.ModelLoader.loadAnyModel(ModelLoader.java:201) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.getModel(ModelLoader.java:184) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:171) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:96) [ModelLoader.class:?]
at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:29) [ModelManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:143) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:121) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:775) [Minecraft.class:?]
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:331) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:529) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:356) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60-ea]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60-ea]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60-ea]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60-ea]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
at GradleStart.main(Unknown Source) [start/:?]
Caused by: com.google.gson.stream.MalformedJsonException: Unterminated object at line 6 column 7
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505) ~[JsonReader.class:?]
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:480) ~[JsonReader.class:?]
at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:403) ~[JsonReader.class:?]
at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:666) ~[TypeAdapters$25.class:?]
at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:667) ~[TypeAdapters$25.class:?]
at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:642) ~[TypeAdapters$25.class:?]
at com.google.gson.internal.Streams.parse(Streams.java:44) ~[streams.class:?]
... 28 more
[23:29:32] [Client thread/INFO]: Created: 512x512 textures-atlas
[23:29:33] [Client thread/ERROR] [FML]: Model definition for location calex:redstonesword#inventory not found

 

I hope maybe someone can help me :(

 

Ahh, and the textures work on every other item.

Posted
[23:29:32] [Client thread/ERROR] [FML]: Exception loading model calex:item/redstonesword with loader instance, skipping

com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated object at line 6 column 7

 

As the log says, you have a syntax error in your

redstonesword

model (an unclosed string with a semicolon after it). JSONLint will tell you what the problem is in more detail.

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.

Posted

Uff, yeah, i missed a second ", but it dont fix the proplem. Maybe something changed at the log, so i post a new again:

[23:48:10] [main/INFO] [GradleStart]: Extra: []
[23:48:10] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --accessToken, {REDACTED}, --assetIndex, 1.8, --assetsDir, C:/Dokumente und Einstellungen/Alex/.gradle/caches/minecraft/assets, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[23:48:10] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[23:48:10] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[23:48:10] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[23:48:10] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[23:48:10] [main/INFO] [FML]: Forge Mod Loader version 8.99.124.1450 for Minecraft 1.8 loading
[23:48:10] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.7.0_60-ea, running on Windows XP:x86:5.1, installed at C:\Programme\Java\jre7
[23:48:10] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[23:48:10] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[23:48:10] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[23:48:10] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[23:48:10] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[23:48:10] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[23:48:10] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[23:48:10] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[23:48:10] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[23:48:10] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[23:48:11] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[23:48:14] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[23:48:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[23:48:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[23:48:15] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[23:48:15] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[23:48:15] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[23:48:15] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[23:48:16] [Client thread/INFO]: Setting user: Player88
[23:48:21] [Client thread/INFO]: LWJGL Version: 2.9.1
[23:48:22] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[23:48:22] [Client thread/INFO] [FML]: MinecraftForge v11.14.3.1450 Initialized
[23:48:22] [Client thread/INFO] [FML]: Replaced 204 ore recipies
[23:48:22] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[23:48:22] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[23:48:22] [Client thread/INFO] [FML]: Searching C:\Dokumente und Einstellungen\Alex\Desktop\Minecraft\CalexMod\Calex\eclipse\mods for mods
[23:48:22] [Client thread/INFO] [calex]: Mod calex is missing the required element 'name'. Substituting calex
[23:48:22] [Client thread/WARN] [calex]: Mod calex is missing the required element 'version' and no fallback can be found. Substituting '1.0'.
[23:48:24] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[23:48:25] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, calex] at CLIENT
[23:48:25] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, calex] at SERVER
[23:48:25] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:calex
[23:48:26] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[23:48:26] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
[23:48:26] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[23:48:26] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[23:48:26] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[23:48:26] [Client thread/INFO] [FML]: Applying holder lookups
[23:48:26] [Client thread/INFO] [FML]: Holder lookups applied
[23:48:26] [Client thread/INFO] [FML]: Injecting itemstacks
[23:48:26] [Client thread/INFO] [FML]: Itemstack injection complete
[23:48:26] [sound Library Loader/INFO]: Starting up SoundSystem...
[23:48:27] [Thread-7/INFO]: Initializing LWJGL OpenAL
[23:48:27] [Thread-7/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[23:48:27] [Thread-7/INFO]: OpenAL initialized.
[23:48:27] [sound Library Loader/INFO]: Sound engine started
[23:48:32] [Client thread/INFO]: Created: 512x512 textures-atlas
[23:48:34] [Client thread/INFO] [FML]: Injecting itemstacks
[23:48:34] [Client thread/INFO] [FML]: Itemstack injection complete
[23:48:35] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[23:48:35] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:calex
[23:48:35] [Client thread/INFO]: SoundSystem shutting down...
[23:48:35] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[23:48:35] [sound Library Loader/INFO]: Starting up SoundSystem...
[23:48:35] [Thread-9/INFO]: Initializing LWJGL OpenAL
[23:48:35] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[23:48:36] [Thread-9/INFO]: OpenAL initialized.
[23:48:36] [sound Library Loader/INFO]: Sound engine started
[23:48:40] [Client thread/ERROR] [FML]: Exception loading model calex:item/redstonesword with loader instance, skipping
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 5 column 6
at com.google.gson.internal.Streams.parse(Streams.java:56) ~[streams.class:?]
at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:54) ~[TreeTypeAdapter.class:?]
at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:741) ~[Gson.class:?]
at net.minecraft.client.renderer.block.model.ModelBlock.deserialize(ModelBlock.java:47) ~[ModelBlock.class:?]
at net.minecraft.client.resources.model.ModelBakery.loadModel(ModelBakery.java:269) ~[ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.access$900(ModelLoader.java:71) ~[ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:534) ~[ModelLoader$VanillaLoader.class:?]
at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:92) [ModelLoaderRegistry.class:?]
at net.minecraftforge.client.model.ModelLoader.loadAnyModel(ModelLoader.java:201) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.getModel(ModelLoader.java:184) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:171) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:96) [ModelLoader.class:?]
at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:29) [ModelManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:143) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:121) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:775) [Minecraft.class:?]
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:331) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:529) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:356) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60-ea]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60-ea]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60-ea]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60-ea]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
at GradleStart.main(Unknown Source) [start/:?]
Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 5 column 6
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505) ~[JsonReader.class:?]
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:494) ~[JsonReader.class:?]
at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:403) ~[JsonReader.class:?]
at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:666) ~[TypeAdapters$25.class:?]
at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:667) ~[TypeAdapters$25.class:?]
at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:642) ~[TypeAdapters$25.class:?]
at com.google.gson.internal.Streams.parse(Streams.java:44) ~[streams.class:?]
... 28 more
[23:48:41] [Client thread/INFO]: Created: 512x512 textures-atlas
[23:48:41] [Client thread/ERROR] [FML]: Model definition for location calex:redstonesword#inventory not found

Posted

You still have a syntax error in your model. Did you remove the semicolon?

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.

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.