Jump to content

Recommended Posts

Posted

Hi All

 

  I've seen a lot of posts about this but I can't quit nail it down.  I've troubleshot a number of errors, but I'm not sure what to do about this one.  All code is below - any helping eyes on this would be fantastic and I would be forever grateful

 

-J

 

Error:

 

[17:12:36] [main/INFO] [GradleStart]: Extra: []
[17:12:36] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /Users/jamie/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker]
[17:12:36] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[17:12:36] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[17:12:36] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[17:12:36] [main/INFO] [FML]: Forge Mod Loader version 11.14.3.1521 for Minecraft 1.8 loading
[17:12:36] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_60, running on Mac OS X:x86_64:10.10.5, installed at /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre
[17:12:36] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[17:12:36] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[17:12:36] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[17:12:36] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[17:12:36] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[17:12:36] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[17:12:36] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[17:12:36] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[17:12:36] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[17:12:36] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[17:12:37] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[17:12:37] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[17:12:37] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[17:12:37] [Client thread/INFO]: Setting user: Player591
[17:12:39] [Client thread/INFO]: LWJGL Version: 2.9.2
[17:12:39] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[17:12:39] [Client thread/INFO] [FML]: MinecraftForge v11.14.3.1521 Initialized
[17:12:39] [Client thread/INFO] [FML]: Replaced 204 ore recipies
[17:12:39] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[17:12:39] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[17:12:39] [Client thread/INFO] [FML]: Searching /Users/jamie/Desktop/forge-1/run/mods for mods
[17:12:40] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[17:12:41] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, uncharted_content] at CLIENT
[17:12:41] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, uncharted_content] at SERVER
[17:12:41] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Uncharted Content
[17:12:41] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[17:12:41] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
[17:12:41] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[17:12:41] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[17:12:41] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[17:12:41] [Client thread/INFO] [sTDOUT]: [com.mediacom.uncharted_content.Main:preInit:30]: Called Method: preInit event
[17:12:41] [Client thread/INFO] [FML]: Applying holder lookups
[17:12:41] [Client thread/INFO] [FML]: Holder lookups applied
[17:12:41] [Client thread/INFO] [FML]: Injecting itemstacks
[17:12:41] [Client thread/INFO] [FML]: Itemstack injection complete
[17:12:41] [sound Library Loader/INFO]: Starting up SoundSystem...
[17:12:41] [Thread-7/INFO]: Initializing LWJGL OpenAL
[17:12:41] [Thread-7/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[17:12:41] [Thread-7/INFO]: OpenAL initialized.
[17:12:42] [sound Library Loader/INFO]: Sound engine started
[17:12:42] [Client thread/WARN]: Unable to load definition uncharted_content:treasure_map2#facing=north
java.lang.RuntimeException: Encountered an exception when loading model definition of 'uncharted_content:treasure_map2#facing=north' from: 'uncharted_content:blockstates/treasure_map2.json' in resourcepack: 'FMLFileResourcePack:Uncharted Content'
at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(Unknown Source) ~[ModelBakery.class:?]
at net.minecraft.client.resources.model.ModelBakery.loadVariants(Unknown Source) [ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.loadBlocks(Unknown Source) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(Unknown Source) [ModelLoader.class:?]
at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(Unknown Source) [ModelManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(Unknown Source) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.Minecraft.startGame(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Unknown Source) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
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_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
at GradleStart.main(Unknown Source) [start/:?]
Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
at com.google.gson.Gson.fromJson(Gson.java:818) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 21 more
Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
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.skipValue(JsonReader.java:1209) ~[JsonReader.class:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:170) ~[ReflectiveTypeAdapterFactory$Adapter.class:?]
at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 21 more
[17:12:42] [Client thread/WARN]: Unable to load definition uncharted_content:treasure_map2#facing=east
java.lang.RuntimeException: Encountered an exception when loading model definition of 'uncharted_content:treasure_map2#facing=east' from: 'uncharted_content:blockstates/treasure_map2.json' in resourcepack: 'FMLFileResourcePack:Uncharted Content'
at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(Unknown Source) ~[ModelBakery.class:?]
at net.minecraft.client.resources.model.ModelBakery.loadVariants(Unknown Source) [ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.loadBlocks(Unknown Source) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(Unknown Source) [ModelLoader.class:?]
at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(Unknown Source) [ModelManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(Unknown Source) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.Minecraft.startGame(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Unknown Source) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
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_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
at GradleStart.main(Unknown Source) [start/:?]
Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
at com.google.gson.Gson.fromJson(Gson.java:818) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 21 more
Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
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.skipValue(JsonReader.java:1209) ~[JsonReader.class:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:170) ~[ReflectiveTypeAdapterFactory$Adapter.class:?]
at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 21 more
[17:12:42] [Client thread/WARN]: Unable to load definition uncharted_content:treasure_map2#facing=south
java.lang.RuntimeException: Encountered an exception when loading model definition of 'uncharted_content:treasure_map2#facing=south' from: 'uncharted_content:blockstates/treasure_map2.json' in resourcepack: 'FMLFileResourcePack:Uncharted Content'
at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(Unknown Source) ~[ModelBakery.class:?]
at net.minecraft.client.resources.model.ModelBakery.loadVariants(Unknown Source) [ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.loadBlocks(Unknown Source) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(Unknown Source) [ModelLoader.class:?]
at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(Unknown Source) [ModelManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(Unknown Source) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.Minecraft.startGame(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Unknown Source) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
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_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
at GradleStart.main(Unknown Source) [start/:?]
Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
at com.google.gson.Gson.fromJson(Gson.java:818) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 21 more
Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
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.skipValue(JsonReader.java:1209) ~[JsonReader.class:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:170) ~[ReflectiveTypeAdapterFactory$Adapter.class:?]
at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 21 more
[17:12:42] [Client thread/WARN]: Unable to load definition uncharted_content:treasure_map2#facing=down
java.lang.RuntimeException: Encountered an exception when loading model definition of 'uncharted_content:treasure_map2#facing=down' from: 'uncharted_content:blockstates/treasure_map2.json' in resourcepack: 'FMLFileResourcePack:Uncharted Content'
at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(Unknown Source) ~[ModelBakery.class:?]
at net.minecraft.client.resources.model.ModelBakery.loadVariants(Unknown Source) [ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.loadBlocks(Unknown Source) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(Unknown Source) [ModelLoader.class:?]
at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(Unknown Source) [ModelManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(Unknown Source) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.Minecraft.startGame(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Unknown Source) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
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_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
at GradleStart.main(Unknown Source) [start/:?]
Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
at com.google.gson.Gson.fromJson(Gson.java:818) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 21 more
Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
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.skipValue(JsonReader.java:1209) ~[JsonReader.class:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:170) ~[ReflectiveTypeAdapterFactory$Adapter.class:?]
at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 21 more
[17:12:42] [Client thread/WARN]: Unable to load definition uncharted_content:treasure_map2#facing=west
java.lang.RuntimeException: Encountered an exception when loading model definition of 'uncharted_content:treasure_map2#facing=west' from: 'uncharted_content:blockstates/treasure_map2.json' in resourcepack: 'FMLFileResourcePack:Uncharted Content'
at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(Unknown Source) ~[ModelBakery.class:?]
at net.minecraft.client.resources.model.ModelBakery.loadVariants(Unknown Source) [ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.loadBlocks(Unknown Source) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(Unknown Source) [ModelLoader.class:?]
at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(Unknown Source) [ModelManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(Unknown Source) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.Minecraft.startGame(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Unknown Source) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
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_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
at GradleStart.main(Unknown Source) [start/:?]
Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
at com.google.gson.Gson.fromJson(Gson.java:818) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 21 more
Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
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.skipValue(JsonReader.java:1209) ~[JsonReader.class:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:170) ~[ReflectiveTypeAdapterFactory$Adapter.class:?]
at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 21 more
[17:12:43] [Client thread/WARN]: Unable to load definition uncharted_content:treasure_map2#facing=up
java.lang.RuntimeException: Encountered an exception when loading model definition of 'uncharted_content:treasure_map2#facing=up' from: 'uncharted_content:blockstates/treasure_map2.json' in resourcepack: 'FMLFileResourcePack:Uncharted Content'
at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(Unknown Source) ~[ModelBakery.class:?]
at net.minecraft.client.resources.model.ModelBakery.loadVariants(Unknown Source) [ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.loadBlocks(Unknown Source) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(Unknown Source) [ModelLoader.class:?]
at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(Unknown Source) [ModelManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(Unknown Source) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.Minecraft.startGame(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Unknown Source) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
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_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
at GradleStart.main(Unknown Source) [start/:?]
Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
at com.google.gson.Gson.fromJson(Gson.java:818) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 21 more
Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
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.skipValue(JsonReader.java:1209) ~[JsonReader.class:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:170) ~[ReflectiveTypeAdapterFactory$Adapter.class:?]
at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 21 more
[17:12:43] [Client thread/INFO] [FML]: Max texture size: 16384
[17:12:43] [Client thread/INFO]: Created: 16x16 textures-atlas
[17:12:43] [Client thread/INFO] [sTDOUT]: [com.mediacom.uncharted_content.Main:init:36]: Called Method: init event
[17:12:43] [Client thread/INFO] [FML]: Injecting itemstacks
[17:12:43] [Client thread/INFO] [FML]: Itemstack injection complete
[17:12:43] [Client thread/INFO] [sTDOUT]: [com.mediacom.uncharted_content.Main:postInit:42]: Called Method: postInit event
[17:12:43] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[17:12:43] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Uncharted Content
[17:12:43] [Client thread/INFO]: SoundSystem shutting down...
[17:12:44] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[17:12:44] [sound Library Loader/INFO]: Starting up SoundSystem...
[17:12:44] [Thread-9/INFO]: Initializing LWJGL OpenAL
[17:12:44] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[17:12:44] [Thread-9/INFO]: OpenAL initialized.
[17:12:44] [sound Library Loader/INFO]: Sound engine started
[17:12:44] [Client thread/WARN]: Unable to load definition uncharted_content:treasure_map2#facing=north
java.lang.RuntimeException: Encountered an exception when loading model definition of 'uncharted_content:treasure_map2#facing=north' from: 'uncharted_content:blockstates/treasure_map2.json' in resourcepack: 'FMLFileResourcePack:Uncharted Content'
at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(Unknown Source) ~[ModelBakery.class:?]
at net.minecraft.client.resources.model.ModelBakery.loadVariants(Unknown Source) [ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.loadBlocks(Unknown Source) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(Unknown Source) [ModelLoader.class:?]
at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(Unknown Source) [ModelManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(Unknown Source) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(Unknown Source) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.Minecraft.refreshResources(Unknown Source) [Minecraft.class:?]
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(Unknown Source) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Unknown Source) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
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_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
at GradleStart.main(Unknown Source) [start/:?]
Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
at com.google.gson.Gson.fromJson(Gson.java:818) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 24 more
Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
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.skipValue(JsonReader.java:1209) ~[JsonReader.class:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:170) ~[ReflectiveTypeAdapterFactory$Adapter.class:?]
at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 24 more
[17:12:44] [Client thread/WARN]: Unable to load definition uncharted_content:treasure_map2#facing=east
java.lang.RuntimeException: Encountered an exception when loading model definition of 'uncharted_content:treasure_map2#facing=east' from: 'uncharted_content:blockstates/treasure_map2.json' in resourcepack: 'FMLFileResourcePack:Uncharted Content'
at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(Unknown Source) ~[ModelBakery.class:?]
at net.minecraft.client.resources.model.ModelBakery.loadVariants(Unknown Source) [ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.loadBlocks(Unknown Source) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(Unknown Source) [ModelLoader.class:?]
at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(Unknown Source) [ModelManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(Unknown Source) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(Unknown Source) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.Minecraft.refreshResources(Unknown Source) [Minecraft.class:?]
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(Unknown Source) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Unknown Source) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
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_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
at GradleStart.main(Unknown Source) [start/:?]
Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
at com.google.gson.Gson.fromJson(Gson.java:818) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 24 more
Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
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.skipValue(JsonReader.java:1209) ~[JsonReader.class:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:170) ~[ReflectiveTypeAdapterFactory$Adapter.class:?]
at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 24 more
[17:12:44] [Client thread/WARN]: Unable to load definition uncharted_content:treasure_map2#facing=south
java.lang.RuntimeException: Encountered an exception when loading model definition of 'uncharted_content:treasure_map2#facing=south' from: 'uncharted_content:blockstates/treasure_map2.json' in resourcepack: 'FMLFileResourcePack:Uncharted Content'
at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(Unknown Source) ~[ModelBakery.class:?]
at net.minecraft.client.resources.model.ModelBakery.loadVariants(Unknown Source) [ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.loadBlocks(Unknown Source) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(Unknown Source) [ModelLoader.class:?]
at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(Unknown Source) [ModelManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(Unknown Source) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(Unknown Source) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.Minecraft.refreshResources(Unknown Source) [Minecraft.class:?]
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(Unknown Source) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Unknown Source) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
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_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
at GradleStart.main(Unknown Source) [start/:?]
Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
at com.google.gson.Gson.fromJson(Gson.java:818) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 24 more
Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
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.skipValue(JsonReader.java:1209) ~[JsonReader.class:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:170) ~[ReflectiveTypeAdapterFactory$Adapter.class:?]
at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 24 more
[17:12:44] [Client thread/WARN]: Unable to load definition uncharted_content:treasure_map2#facing=down
java.lang.RuntimeException: Encountered an exception when loading model definition of 'uncharted_content:treasure_map2#facing=down' from: 'uncharted_content:blockstates/treasure_map2.json' in resourcepack: 'FMLFileResourcePack:Uncharted Content'
at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(Unknown Source) ~[ModelBakery.class:?]
at net.minecraft.client.resources.model.ModelBakery.loadVariants(Unknown Source) [ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.loadBlocks(Unknown Source) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(Unknown Source) [ModelLoader.class:?]
at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(Unknown Source) [ModelManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(Unknown Source) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(Unknown Source) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.Minecraft.refreshResources(Unknown Source) [Minecraft.class:?]
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(Unknown Source) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Unknown Source) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
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_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
at GradleStart.main(Unknown Source) [start/:?]
Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
at com.google.gson.Gson.fromJson(Gson.java:818) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 24 more
Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
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.skipValue(JsonReader.java:1209) ~[JsonReader.class:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:170) ~[ReflectiveTypeAdapterFactory$Adapter.class:?]
at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 24 more
[17:12:44] [Client thread/WARN]: Unable to load definition uncharted_content:treasure_map2#facing=west
java.lang.RuntimeException: Encountered an exception when loading model definition of 'uncharted_content:treasure_map2#facing=west' from: 'uncharted_content:blockstates/treasure_map2.json' in resourcepack: 'FMLFileResourcePack:Uncharted Content'
at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(Unknown Source) ~[ModelBakery.class:?]
at net.minecraft.client.resources.model.ModelBakery.loadVariants(Unknown Source) [ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.loadBlocks(Unknown Source) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(Unknown Source) [ModelLoader.class:?]
at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(Unknown Source) [ModelManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(Unknown Source) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(Unknown Source) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.Minecraft.refreshResources(Unknown Source) [Minecraft.class:?]
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(Unknown Source) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Unknown Source) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
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_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
at GradleStart.main(Unknown Source) [start/:?]
Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
at com.google.gson.Gson.fromJson(Gson.java:818) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 24 more
Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
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.skipValue(JsonReader.java:1209) ~[JsonReader.class:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:170) ~[ReflectiveTypeAdapterFactory$Adapter.class:?]
at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 24 more
[17:12:44] [Client thread/WARN]: Unable to load definition uncharted_content:treasure_map2#facing=up
java.lang.RuntimeException: Encountered an exception when loading model definition of 'uncharted_content:treasure_map2#facing=up' from: 'uncharted_content:blockstates/treasure_map2.json' in resourcepack: 'FMLFileResourcePack:Uncharted Content'
at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(Unknown Source) ~[ModelBakery.class:?]
at net.minecraft.client.resources.model.ModelBakery.loadVariants(Unknown Source) [ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.loadBlocks(Unknown Source) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(Unknown Source) [ModelLoader.class:?]
at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(Unknown Source) [ModelManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(Unknown Source) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(Unknown Source) [simpleReloadableResourceManager.class:?]
at net.minecraft.client.Minecraft.refreshResources(Unknown Source) [Minecraft.class:?]
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(Unknown Source) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Unknown Source) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Unknown Source) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
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_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
at GradleStart.main(Unknown Source) [start/:?]
Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
at com.google.gson.Gson.fromJson(Gson.java:818) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 24 more
Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 4 column 71
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.skipValue(JsonReader.java:1209) ~[JsonReader.class:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:170) ~[ReflectiveTypeAdapterFactory$Adapter.class:?]
at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:717) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:689) ~[Gson.class:?]
at net.minecraftforge.client.model.BlockStateLoader.load(Unknown Source) ~[blockStateLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(Unknown Source) ~[ModelBlockDefinition.class:?]
... 24 more
[17:12:45] [Client thread/INFO] [FML]: Max texture size: 16384
[17:12:45] [Client thread/INFO]: Created: 512x512 textures-atlas

 

BlockRenderRegister Class:

 

package com.mymod.mymodname.client.render.blocks;

import com.mymod.mymodname.Main;
import com.mymod.mymodname.blocks.ModBlock;

import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.resources.model.ModelResourceLocation;
import net.minecraft.item.Item;


public final class BlockRenderRegister {

public static void registerBlockRenderer() {
	reg(ModBlock.treasureMap2);

}

public static String modid = Main.MODID;


public static void reg(Block block) {
	    Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(block), 0, 
	    		new ModelResourceLocation(modid + ":" + block.getUnlocalizedName().substring(5), "inventory"));

}
}

 

Block Class

 

package com.mediacom.uncharted_content.blocks;

import java.util.Iterator;

import com.google.common.base.Predicate;
import com.mediacom.uncharted_content.Main;
import com.mediacom.uncharted_content.network.ModGuiHandler;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.IProperty;
import net.minecraft.block.properties.PropertyDirection;
import net.minecraft.block.state.BlockState;
import net.minecraft.block.state.IBlockState;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.BlockPos;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.MathHelper;
import net.minecraft.world.World;

public class BasicBlock extends Block{

public static final PropertyDirection FACING = PropertyDirection.create("facing");

    //public static final PropertyDirection FACING = PropertyDirection.create("facing");
    
public BasicBlock(String unlocalizedName, Material material, float hardness, 
		float resistance) {
        super(material);
	this.setUnlocalizedName(unlocalizedName);
	this.setCreativeTab(CreativeTabs.tabBlock);
	this.setHardness(hardness);
	this.setResistance(resistance);

	}

protected BlockState createBlockState()
    {
        return new BlockState(this, new IProperty[]{FACING});
    }


public BasicBlock(String unlocalizedName, float hardness, float resistance) {
	this(unlocalizedName, Material.carpet, hardness, resistance);

}

public BasicBlock(String unlocalizedName) {
	this(unlocalizedName, 2.0f, 10.0f);
}

    public void onBlockPlacedBy(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase placer, ItemStack stack)
    {
        worldIn.setBlockState(pos, state.withProperty(FACING, getFacingFromEntity(worldIn, pos, placer)), 2);

     
    }

private Comparable getFacingFromEntity(World worldIn, BlockPos pos, EntityLivingBase placer) {
	// TODO Auto-generated method stub
	return null;
}

public int getMetaFromState(IBlockState state) { return 0; }
public IBlockState getStateFromMeta(int meta) { return this.getDefaultState(); }

public IBlockState onBlockPlaced(World worldIn, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer)
    {
            return this.getDefaultState().withProperty(FACING, facing);

        }

@Override
    public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumFacing side, float hitX, float hitY, float hitZ)
    {
	if (worldIn.isRemote) {
            playerIn.openGui(Main.instance, 0, worldIn, (int) playerIn.posX, (int) playerIn.posY, (int) playerIn.posZ);
        }

	return false;
    }

static final class SwitchEnumFacing
    {
        static final int[] FACING_LOOKUP = new int[EnumFacing.values().length];
        
        static
        {
            try
            {
                FACING_LOOKUP[EnumFacing.DOWN.ordinal()] = 1;
            }
            catch (NoSuchFieldError var6)
            {
                ;
            }

            try
            {
                FACING_LOOKUP[EnumFacing.UP.ordinal()] = 2;
            }
            catch (NoSuchFieldError var5)
            {
                ;
            }

            try
            {
                FACING_LOOKUP[EnumFacing.NORTH.ordinal()] = 3;
            }
            catch (NoSuchFieldError var4)
            {
                ;
            }

            try
            {
                FACING_LOOKUP[EnumFacing.SOUTH.ordinal()] = 4;
            }
            catch (NoSuchFieldError var3)
            {
                ;
            }

            try
            {
                FACING_LOOKUP[EnumFacing.WEST.ordinal()] = 5;
            }
            catch (NoSuchFieldError var2)
            {
                ;
            }

            try
            {
                FACING_LOOKUP[EnumFacing.EAST.ordinal()] = 6;
            }
            catch (NoSuchFieldError var1)
            {
                ;
            }
        }
    }
}

 

Parent Model File

 

{
    "ambientocclusion": false,
    "textures": {
        "particle": "#texture"
    },
    "elements": [
        {   "from": [ 5,  0,  6 ],
            "to": [ 11,  0.1, 10 ],
            "shade": false,
            "rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true },
            "faces": {
                "down":  { "uv": [ 0,  0, 16, 16 ], "texture": "#texture", "cullface": "down" },
                "up":    { "uv": [ 1,  1, 15, 15 ], "texture": "#texture", "rotation": 0 },
                "north": { "uv": [ 6,  6, 10, 10 ], "texture": "#texture" },
                "south": { "uv": [ 6,  6, 10, 10 ], "texture": "#texture" },
                "west":  { "uv": [ 6,  6, 10, 10 ], "texture": "#texture" },
                "east":  { "uv": [ 6,  6, 10, 10 ], "texture": "#texture" }
            }
        }
    ]
}

 

BlockState File

 

{
    "variants": {
        "normal": { "model": "mymodname:treasure_map2"},
        "facing=north": { "model": "mymodname:treasure_map2",},
        "facing=south": { "model": "mymodname:treasure_map2", "y": 180},
        "facing=east": { "model": "mymodname:treasure_map2", "y": 270},
        "facing=west": { "model": "mymodname:treasure_map2", "y": 90},
        "facing=down": { "model": "mymodname:treasure_map2", "y": 90},
    }
}

 

BlockFile

 

{
  "parent": "mymodname:model/treasure_block",
  "textures": {
    "texture": "mymodname:blocks/treasure_map2"
    }
}

 

Thanks again to anyone who contributes to help solve this.

Posted

One model file has this:

    "parent": "mymodname:model/treasure_block"

 

Maybe the word "model" doesn't belong there? Maybe the word "block" does?

 

Also, a failure to load referenced content can mean that your directory structure is off.

Your model file should be in ...assets\mymodname\models\block

 

It's easy to get pluralization wrong (model vs models, block vs blocks), so look carefully.

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.

Posted

Thanks for contributing everyone and helping me out.  I've made some progress but have some interesting issues.  I have literally spent two days on this and modified my code dozens of ways.  If you can help me out here, I will bow before ever unwaivery godly-debugging presence.

 

My treasuremap2 block is rendering but only in one direction.  Evenmore curious, it seems to be rendering whatever the first model file in my assets.mymod_content.models.block package is.  Other than being confusing it's self, it tells me that the blockstates.json file is being ignored.  I should theoretically be able to make a change to all blocks in the block states.json file and see a change, but I don't.  Also you can see in the console readout that I am detecting a facing property for when the block is placed. 

 

Thank everyone for their time, it is much appreciated.

 

Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
[16:07:25] [main/INFO] [GradleStart]: Extra: []
[16:07:25] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /Users/jamie/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker]
[16:07:25] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:07:25] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:07:25] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[16:07:25] [main/INFO] [FML]: Forge Mod Loader version 11.14.3.1521 for Minecraft 1.8 loading
[16:07:25] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_60, running on Mac OS X:x86_64:10.10.5, installed at /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre
[16:07:25] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[16:07:25] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:07:25] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[16:07:25] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:07:25] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:07:25] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[16:07:26] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[16:07:26] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[16:07:26] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[16:07:26] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[16:07:26] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[16:07:26] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[16:07:26] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[16:07:27] [Client thread/INFO]: Setting user: Player404
[16:07:29] [Client thread/INFO]: LWJGL Version: 2.9.2
[16:07:29] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[16:07:29] [Client thread/INFO] [FML]: MinecraftForge v11.14.3.1521 Initialized
[16:07:29] [Client thread/INFO] [FML]: Replaced 204 ore recipies
[16:07:29] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[16:07:29] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[16:07:29] [Client thread/INFO] [FML]: Searching /Users/jamie/Desktop/forge-1/run/mods for mods
[16:07:30] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[16:07:31] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, mymod_content] at CLIENT
[16:07:31] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, mymod_content] at SERVER
[16:07:31] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:mymod Content
[16:07:31] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[16:07:31] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
[16:07:31] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[16:07:31] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[16:07:31] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[16:07:31] [Client thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:<init>:42]: PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[down, up, north, south, west, east]}
[16:07:31] [Client thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:<init>:50]: PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[down, up, north, south, west, east]}
[16:07:31] [Client thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:<init>:56]: PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[down, up, north, south, west, east]}
[16:07:31] [Client thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.Main:preInit:30]: Called Method: preInit event
[16:07:31] [Client thread/INFO] [FML]: Applying holder lookups
[16:07:31] [Client thread/INFO] [FML]: Holder lookups applied
[16:07:31] [Client thread/INFO] [FML]: Injecting itemstacks
[16:07:31] [Client thread/INFO] [FML]: Itemstack injection complete
[16:07:31] [sound Library Loader/INFO]: Starting up SoundSystem...
[16:07:32] [Thread-7/INFO]: Initializing LWJGL OpenAL
[16:07:32] [Thread-7/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[16:07:32] [Thread-7/INFO]: OpenAL initialized.
[16:07:32] [sound Library Loader/INFO]: Sound engine started
[16:07:33] [Client thread/INFO] [FML]: Max texture size: 16384
[16:07:33] [Client thread/INFO]: Created: 16x16 textures-atlas
[16:07:33] [Client thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.Main:init:36]: Called Method: init event
[16:07:33] [Client thread/INFO] [FML]: Injecting itemstacks
[16:07:33] [Client thread/INFO] [FML]: Itemstack injection complete
[16:07:33] [Client thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.Main:postInit:42]: Called Method: postInit event
[16:07:33] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[16:07:33] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:mymod Content
[16:07:33] [Client thread/INFO]: SoundSystem shutting down...
[16:07:34] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[16:07:34] [sound Library Loader/INFO]: Starting up SoundSystem...
[16:07:34] [Thread-9/INFO]: Initializing LWJGL OpenAL
[16:07:34] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[16:07:34] [Thread-9/INFO]: OpenAL initialized.
[16:07:34] [sound Library Loader/INFO]: Sound engine started
[16:07:35] [Client thread/INFO] [FML]: Max texture size: 16384
[16:07:35] [Client thread/INFO]: Created: 512x512 textures-atlas
[16:07:40] [server thread/INFO]: Starting integrated minecraft server version 1.8
[16:07:40] [server thread/INFO]: Generating keypair
[16:07:40] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[16:07:40] [server thread/INFO] [FML]: Applying holder lookups
[16:07:40] [server thread/INFO] [FML]: Holder lookups applied
[16:07:40] [server thread/INFO] [FML]: Loading dimension 0 (TheNextEpisode) (net.minecraft.server.integrated.IntegratedServer@54d3d8d)
[16:07:40] [server thread/INFO] [FML]: Loading dimension 1 (TheNextEpisode) (net.minecraft.server.integrated.IntegratedServer@54d3d8d)
[16:07:40] [server thread/INFO] [FML]: Loading dimension -1 (TheNextEpisode) (net.minecraft.server.integrated.IntegratedServer@54d3d8d)
[16:07:40] [server thread/INFO]: Preparing start region for level 0
[16:07:41] [server thread/INFO]: Changing view distance to 12, from 10
[16:07:42] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
[16:07:42] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
[16:07:42] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected]
[16:07:42] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
[16:07:42] [server thread/INFO] [FML]: [server thread] Server side modded connection established
[16:07:42] [server thread/INFO]: Player404[local:E:239bf040] logged in with entity id 115 at (812.9941968071159, 4.0, 29.578231509824818)
[16:07:42] [server thread/INFO]: Player404 joined the game
[16:07:49] [server thread/INFO]: Saving and pausing game...
[16:07:49] [server thread/INFO]: Saving chunks for level 'TheNextEpisode'/Overworld
[16:07:49] [server thread/INFO]: Saving chunks for level 'TheNextEpisode'/Nether
[16:07:49] [server thread/INFO]: Saving chunks for level 'TheNextEpisode'/The End
[16:08:14] [server thread/INFO]: Saving and pausing game...
[16:08:14] [server thread/INFO]: Saving chunks for level 'TheNextEpisode'/Overworld
[16:08:14] [server thread/INFO]: Saving chunks for level 'TheNextEpisode'/Nether
[16:08:14] [server thread/INFO]: Saving chunks for level 'TheNextEpisode'/The End
[16:20:51] [Client thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:onBlockPlaced:79]: up
[16:20:51] [server thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:onBlockPlaced:79]: up
[16:20:51] [server thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:getMetaFromState:86]: PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[down, up, north, south, west, east]}toMeta
[16:20:51] [server thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:getMetaFromState:86]: PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[down, up, north, south, west, east]}toMeta
2
[16:20:57] [Client thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:onBlockPlaced:79]: west
[16:20:57] [server thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:onBlockPlaced:79]: west
[16:20:57] [server thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:getMetaFromState:86]: PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[down, up, north, south, west, east]}toMeta
[16:20:57] [server thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:getMetaFromState:86]: PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[down, up, north, south, west, east]}toMeta
4
[16:21:00] [Client thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:onBlockPlaced:79]: north
[16:21:00] [server thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:onBlockPlaced:79]: north
[16:21:00] [server thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:getMetaFromState:86]: PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[down, up, north, south, west, east]}toMeta
[16:21:00] [server thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:getMetaFromState:86]: PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[down, up, north, south, west, east]}toMeta
2
[16:21:03] [Client thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:onBlockPlaced:79]: east
[16:21:03] [server thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:onBlockPlaced:79]: east
[16:21:03] [server thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:getMetaFromState:86]: PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[down, up, north, south, west, east]}toMeta
[16:21:03] [server thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:getMetaFromState:86]: PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[down, up, north, south, west, east]}toMeta
5
[16:21:07] [Client thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:onBlockPlaced:79]: south
[16:21:07] [server thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:onBlockPlaced:79]: south
[16:21:07] [server thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:getMetaFromState:86]: PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[down, up, north, south, west, east]}toMeta
[16:21:07] [server thread/INFO] [sTDOUT]: [com.mycompany.mymod_content.blocks.BasicBlock:getMetaFromState:86]: PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[down, up, north, south, west, east]}toMeta
[16:14:30] [server thread/INFO]: Saving and pausing game...
[16:14:30] [server thread/INFO]: Saving chunks for level 'TheNextEpisode'/Overworld
[16:14:30] [server thread/INFO]: Saving chunks for level 'TheNextEpisode'/Nether
[16:14:30] [server thread/INFO]: Saving chunks for level 'TheNextEpisode'/The End
[16:14:56] [server thread/INFO]: Player404 has just earned the achievement [Taking Inventory]
[16:14:56] [Client thread/INFO]: [CHAT] Player404 has just earned the achievement [Taking Inventory]
[16:15:03] [server thread/INFO]: Saving and pausing game...
[16:15:03] [server thread/INFO]: Saving chunks for level 'TheNextEpisode'/Overworld
[16:15:03] [server thread/INFO]: Saving chunks for level 'TheNextEpisode'/Nether
[16:15:03] [server thread/INFO]: Saving chunks for level 'TheNextEpisode'/The End
[16:15:15] [Client thread/INFO]: Stopping!
[16:15:15] [Client thread/INFO]: SoundSystem shutting down...
[16:15:15] [server thread/INFO]: Stopping server
[16:15:15] [server thread/INFO]: Saving players
[16:15:15] [server thread/INFO]: Saving worlds
[16:15:15] [server thread/INFO]: Saving chunks for level 'TheNextEpisode'/Overworld
[16:15:15] [server thread/INFO]: Saving chunks for level 'TheNextEpisode'/Nether
[16:15:15] [server thread/INFO]: Saving chunks for level 'TheNextEpisode'/The End
[16:15:15] [server thread/INFO] [FML]: Unloading dimension 0
[16:15:15] [server thread/INFO] [FML]: Unloading dimension -1
[16:15:15] [server thread/INFO] [FML]: Unloading dimension 1
[16:15:15] [server thread/INFO] [FML]: Applying holder lookups
[16:15:15] [server thread/INFO] [FML]: Holder lookups applied
[16:15:15] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com

 

package com.mycompany.modname_content.blocks;

import java.util.Iterator;

import com.google.common.base.Predicate;
import com.mycompany.modname_content.Main;
import com.mycompany.modname_content.network.ModGuiHandler;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.IProperty;
import net.minecraft.block.properties.PropertyDirection;
import net.minecraft.block.state.BlockState;
import net.minecraft.block.state.IBlockState;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.BlockPos;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.MathHelper;
import net.minecraft.world.World;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

public class BasicBlock extends Block
{

public static final PropertyDirection FACING = PropertyDirection.create("facing");

    
public BasicBlock(String unlocalizedName, Material material, float hardness, 
		float resistance) {
        super(material);
	this.setUnlocalizedName(unlocalizedName);
	this.setCreativeTab(CreativeTabs.tabBlock);
	this.setHardness(hardness);
	this.setResistance(resistance);
	this.setDefaultState(this.blockState.getBaseState().withProperty(FACING, EnumFacing.UP));
	System.out.println(FACING); 

	}


public BasicBlock(String unlocalizedName, float hardness, float resistance) {
	this(unlocalizedName, Material.carpet, hardness, resistance);
	this.setDefaultState(this.blockState.getBaseState().withProperty(FACING, EnumFacing.UP));
	System.out.println(FACING); 
}

public BasicBlock(String unlocalizedName) {
	this(unlocalizedName, 2.0f, 10.0f); 
	this.setDefaultState(this.blockState.getBaseState().withProperty(FACING, EnumFacing.UP));
	System.out.println(FACING); 
}

@Override
protected BlockState createBlockState()
    {
        return new BlockState(this, new IProperty[]{FACING});
        
    }

    public boolean isOpaqueCube()
    {
        return false;
    }

    public boolean isFullCube()
    {
        return false;
    }

    @Override
    public IBlockState onBlockPlaced(World world, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer)
    {
    	System.out.println(facing);
    	return this.getDefaultState().withProperty(FACING, getFacingFromEntity(world, pos, placer));
         
    }
    
public int getMetaFromState(IBlockState state) {

	System.out.println(FACING + "toMeta");
	return ((EnumFacing) state.getValue(FACING)).getIndex();

}

public IBlockState getStateFromMeta(int meta) {

	System.out.println(meta);
	return this.getDefaultState().withProperty(FACING, EnumFacing.getFront(meta));

}

    
public void onBlockPlacedBy(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase placer, ItemStack stack)
    {
        worldIn.setBlockState(pos, state.withProperty(FACING, getFacingFromEntity(worldIn, pos, placer)), 2);
       

     
    }
    
/*
@Override
    public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumFacing side, float hitX, float hitY, float hitZ)
    {
	if (worldIn.isRemote) {
            playerIn.openGui(Main.instance, 0, worldIn, (int) playerIn.posX, (int) playerIn.posY, (int) playerIn.posZ);
        }

	return false;
    }
*/

    public static EnumFacing getFacingFromEntity(World worldIn, BlockPos clickedBlock, EntityLivingBase entityIn)
    {
        if (MathHelper.abs((float)entityIn.posX - (float)clickedBlock.getX()) < 2.0F && MathHelper.abs((float)entityIn.posZ - (float)clickedBlock.getZ()) < 2.0F)
        {
            double d0 = entityIn.posY + (double)entityIn.getEyeHeight();

            if (d0 - (double)clickedBlock.getY() > 2.0D)
            {
                return EnumFacing.UP;
            }

            if ((double)clickedBlock.getY() - d0 > 0.0D)
            {
                return EnumFacing.DOWN;
            }
        }

        return entityIn.getHorizontalFacing().getOpposite();
    }
    
}

 

package com.mycompany.mymod_content.client.render.blocks;

import com.mycompany.mymod_content.Main;
import com.mycompany.mymod_content.blocks.ModBlock;

import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.resources.model.ModelBakery;
import net.minecraft.client.resources.model.ModelResourceLocation;
import net.minecraft.item.Item;


public final class BlockRenderRegister {

public static void preInit() {

}

public static void registerBlockRenderer() {
	reg(ModBlock.treasureMap2);

}

public static String modid = Main.MODID;



public static void reg(Block block) {
	    Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(block), 0, 
	    		new ModelResourceLocation(modid + ":" + block.getUnlocalizedName().substring(5), "inventory"));

}

}

 

package com.mycompany.mymod_content;

import com.mycompany.mymod_content.client.render.blocks.BlockRenderRegister;
import com.mycompany.mymod_content.client.render.items.ItemRenderRegister;

import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;

public class ClientProxy extends CommonProxy{

@Override
public void preInit(FMLPreInitializationEvent e) {
	// TODO Auto-generated method stub
	super.preInit(e);
	BlockRenderRegister.preInit();
}


@Override
public void init(FMLInitializationEvent e) {
	// TODO Auto-generated method stub
	super.init(e);

	ItemRenderRegister.registerItemRenderer();
	BlockRenderRegister.registerBlockRenderer();
}

@Override
public void postInit(FMLPostInitializationEvent e) {
	// TODO Auto-generated method stub
	super.postInit(e);
}

}

 

package com.mycompany.mymod_content.blocks;

import net.minecraft.block.Block;
import net.minecraftforge.fml.common.registry.GameRegistry;

public final class ModBlock {

public static Block treasureMap2;

public static void createBlocks() {
	GameRegistry.registerBlock(treasureMap2 =
    		new BasicBlock("treasure_map2").setLightLevel(1.0f), "treasure_map2");
}
}

 

{
    "variants": {
        "facing=north": { "model": "mymod_content:treasure_map2_wall_north" },
        "facing=south": { "model": "mymod_content:treasure_map2_wall_north" },
        "facing=east": { "model": "mymod_content:treasure_map2", "z": 45 },
        "facing=west": { "model": "mymod_content:treasure_map2", "z": 45 },
        "facing=up": { "model": "mymod_content:treasure_map2" },
        "facing=down": { "model": "mymod_content:treasure_map2" }
    }
}

 

{
  "parent": "mymod_content:model/treasure_block_wall_north",
  "textures": {
    "texture": "mymod_content:blocks/treasure_map2"
    }
}

 

{
  "parent": "mymod_content:model/treasure_block_wall_north",
  "textures": {
    "texture": "mymod_content:blocks/treasure_map2"
    }
}

 

{
    "ambientocclusion": false,
    "textures": {
        "particle": "#texture"
    },
    "elements": [
        {   "from": [ 5,  6,  2.5 ],
            "to": [ 11,  10, 2.6 ],
            "shade": false,
            "rotation": { "origin": [ 8, 8, 8 ], "axis": "x", "angle": 0, "rescale": true },
            "faces": {
                "down":  { "uv": [ 0,  0, 16, 16 ], "texture": "#texture", "cullface": "down" },
                "up":    { "uv": [ 0,  0, 16, 15 ], "texture": "#texture", "rotation": 0 },
                "north": { "uv": [ 6,  6, 10, 10 ], "texture": "#texture" },
                "south": { "uv": [ 6,  6, 10, 10 ], "texture": "#texture" },
                "west":  { "uv": [ 6,  6, 10, 10 ], "texture": "#texture" },
                "east":  { "uv": [ 6,  6, 10, 10 ], "texture": "#texture" }
            }
        }
    ]
}

 

{
    "ambientocclusion": false,
    "textures": {
        "particle": "#texture"
    },
    "elements": [
        {   "from": [ 5,  0,  6 ],
            "to": [ 11,  0.1, 10 ],
            "shade": false,
            "rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true },
            "faces": {
                "down":  { "uv": [ 0,  0, 16, 16 ], "texture": "#texture", "cullface": "down" },
                "up":    { "uv": [ 1,  1, 15, 15 ], "texture": "#texture" },
                "north": { "uv": [ 6,  6, 10, 10 ], "texture": "#texture" },
                "south": { "uv": [ 6,  6, 10, 10 ], "texture": "#texture" },
                "west":  { "uv": [ 6,  6, 10, 10 ], "texture": "#texture" },
                "east":  { "uv": [ 6,  6, 10, 10 ], "texture": "#texture" }
            }
        }
    ]

}

mymod

Posted

Have you passed all of your json code through an analyzer? I use a website called jsonlint.

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.

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.