Résolu Model de bloc custom/avancé
-
Need help guys…
-
As-tu des logs pour le fichier json ? Si oui, donnes les. Sinon, quel est le problème exactement ?
-
Et non, je ne voit pas de platecrafter.json dans les logs
PARCONTRE ! Je voit ENORMEMENT d’erreur .json
:::
[11:49:54] [Client thread/ERROR] [FML]: Exception loading model ut:block/platecrafter with loader instance, skippingcom.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Not a JSON Object: “textures”
at com.google.gson.Gson.fromJson(Gson.java:815) ~[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:67) ~[ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:451) ~[ModelLoader$VanillaLoader.class:?]
at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:92) [ModelLoaderRegistry.class:?]
at net.minecraftforge.client.model.ModelLoader.loadAnyModel(ModelLoader.java:187) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.getModel(ModelLoader.java:170) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader$WeightedRandomModel.<init>(ModelLoader.java:342) [ModelLoader$WeightedRandomModel.class:?]
at net.minecraftforge.client.model.ModelLoader.registerVariant(ModelLoader.java:140) [ModelLoader.class:?]
at net.minecraft.client.resources.model.ModelBakery.loadVariants(ModelBakery.java:122) [ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:121) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:91) [ModelLoader.class:?]
at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:29) [ModelManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:130) [SimpleReloadableResourceManager.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:511) [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.8.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_45]
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: java.lang.IllegalStateException: Not a JSON Object: “textures”
at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90) ~[JsonElement.class:?]
at net.minecraft.client.renderer.block.model.ModelBlock$Deserializer.parseModelBlock(ModelBlock.java:244) ~[ModelBlock$Deserializer.class:?]
at net.minecraft.client.renderer.block.model.ModelBlock$Deserializer.deserialize(ModelBlock.java:323) ~[ModelBlock$Deserializer.class:?]
at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:58) ~[TreeTypeAdapter.class:?]
at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
… 26 more
[11:50:22] [Client thread/INFO]: Created: 512x512 textures-atlas
[11:50:32] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[11:50:32] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Useful Things
[11:50:33] [Client thread/INFO]: SoundSystem shutting down…
[11:50:33] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[11:50:33] [Sound Library Loader/INFO]: Starting up SoundSystem…
[11:50:33] [Thread-11/INFO]: Initializing LWJGL OpenAL
[11:50:33] [Thread-11/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[11:50:34] [Thread-11/INFO]: OpenAL initialized.
[11:50:34] [Sound Library Loader/INFO]: Sound engine started
[11:50:55] [Client thread/ERROR] [FML]: Exception loading model ut:block/platecrafter with loader instance, skipping
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Not a JSON Object: “textures”
at com.google.gson.Gson.fromJson(Gson.java:815) ~[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:67) ~[ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:451) ~[ModelLoader$VanillaLoader.class:?]
at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:92) [ModelLoaderRegistry.class:?]
at net.minecraftforge.client.model.ModelLoader.loadAnyModel(ModelLoader.java:187) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.getModel(ModelLoader.java:170) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader$WeightedRandomModel.<init>(ModelLoader.java:342) [ModelLoader$WeightedRandomModel.class:?]
at net.minecraftforge.client.model.ModelLoader.registerVariant(ModelLoader.java:140) [ModelLoader.class:?]
at net.minecraft.client.resources.model.ModelBakery.loadVariants(ModelBakery.java:122) [ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:121) [ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:91) [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:774) [Minecraft.class:?]
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:329) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:528) [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.8.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_45]
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: java.lang.IllegalStateException: Not a JSON Object: “textures”
at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90) ~[JsonElement.class:?]
at net.minecraft.client.renderer.block.model.ModelBlock$Deserializer.parseModelBlock(ModelBlock.java:244) ~[ModelBlock$Deserializer.class:?]
at net.minecraft.client.renderer.block.model.ModelBlock$Deserializer.deserialize(ModelBlock.java:323) ~[ModelBlock$Deserializer.class:?]
at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:58) ~[TreeTypeAdapter.class:?]
at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
… 29 more
:::</init></init> -
Ces logs ne sont plus à jour je pense car il est indiqué que l’élément “textures” n’est pas un objet Json or c’en est un dans le fichier json que tu nous a donné.
-
J’ai effectivement modifié légèrement le .json( j’ai juste recharger le .json dans ModelCreator)
Voici un log tout frais[21:13:20] [Client thread/ERROR] [FML]: Exception loading model ut:block/platecrafter with loader instance, skipping com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Not a JSON Object: "textures" at com.google.gson.Gson.fromJson(Gson.java:815) ~[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:67) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:451) ~[ModelLoader$VanillaLoader.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:92) [ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader.loadAnyModel(ModelLoader.java:187) [ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.getModel(ModelLoader.java:170) [ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader$WeightedRandomModel.<init>(ModelLoader.java:342) [ModelLoader$WeightedRandomModel.class:?] at net.minecraftforge.client.model.ModelLoader.registerVariant(ModelLoader.java:140) [ModelLoader.class:?] at net.minecraft.client.resources.model.ModelBakery.loadVariants(ModelBakery.java:122) [ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:121) [ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:91) [ModelLoader.class:?] at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:29) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:130) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:511) [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.8.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_45] 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: java.lang.IllegalStateException: Not a JSON Object: "textures" at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90) ~[JsonElement.class:?] at net.minecraft.client.renderer.block.model.ModelBlock$Deserializer.parseModelBlock(ModelBlock.java:244) ~[ModelBlock$Deserializer.class:?] at net.minecraft.client.renderer.block.model.ModelBlock$Deserializer.deserialize(ModelBlock.java:323) ~[ModelBlock$Deserializer.class:?] at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:58) ~[TreeTypeAdapter.class:?] at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?] … 26 more [21:13:32] [Client thread/INFO]: Created: 512x512 textures-atlas [21:13:40] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [21:13:40] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Useful Things [21:13:41] [Client thread/INFO]: SoundSystem shutting down… [21:13:42] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com [21:13:42] [Sound Library Loader/INFO]: Starting up SoundSystem… [21:13:42] [Thread-11/INFO]: Initializing LWJGL OpenAL [21:13:42] [Thread-11/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [21:13:42] [Thread-11/INFO]: OpenAL initialized. [21:13:42] [Sound Library Loader/INFO]: Sound engine started [21:14:00] [Client thread/ERROR] [FML]: Exception loading model ut:block/platecrafter with loader instance, skipping com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Not a JSON Object: "textures" at com.google.gson.Gson.fromJson(Gson.java:815) ~[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:67) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:451) ~[ModelLoader$VanillaLoader.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:92) [ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader.loadAnyModel(ModelLoader.java:187) [ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.getModel(ModelLoader.java:170) [ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader$WeightedRandomModel.<init>(ModelLoader.java:342) [ModelLoader$WeightedRandomModel.class:?] at net.minecraftforge.client.model.ModelLoader.registerVariant(ModelLoader.java:140) [ModelLoader.class:?] at net.minecraft.client.resources.model.ModelBakery.loadVariants(ModelBakery.java:122) [ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:121) [ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:91) [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:774) [Minecraft.class:?] at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:329) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:528) [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.8.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_45] 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: java.lang.IllegalStateException: Not a JSON Object: "textures" at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90) ~[JsonElement.class:?] at net.minecraft.client.renderer.block.model.ModelBlock$Deserializer.parseModelBlock(ModelBlock.java:244) ~[ModelBlock$Deserializer.class:?] at net.minecraft.client.renderer.block.model.ModelBlock$Deserializer.deserialize(ModelBlock.java:323) ~[ModelBlock$Deserializer.class:?] at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:58) ~[TreeTypeAdapter.class:?] at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?] … 29 more
Mais il y toujours marqué Not a JSON Object: “textures”
Voici donc mon .json tout frais aussi"textures": { "0": "ut:blocks/back", "1": "ut:blocks/sides", "2": "ut:blocks/front", "3": "ut:blocks/cobblestone", "4": "ut:blocks/planks_oak", "5": "ut:blocks/iron_block" }, "elements": [ { "name": "Base", "from": [ 0.0, 0.0, 0.0 ], "to": [ 16.0, 16.0, 16.0 ], "faces": { "north": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "east": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "south": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "west": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "up": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "down": { "texture": "#4", "uv": [ 0.0, 0.0, 16.0, 16.0 ] } } }, { "name": "Remblais 2", "from": [ 0.0, 16.0, 0.0 ], "to": [ 16.0, 19.0, 3.0 ], "faces": { "north": { "texture": "#3", "uv": [ 0.0, 3.0, 16.0, 6.0 ] }, "east": { "texture": "#3", "uv": [ 0.0, 0.0, 3.0, 3.0 ] }, "south": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 3.0 ] }, "west": { "texture": "#3", "uv": [ 0.0, 0.0, 3.0, 3.0 ] }, "up": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 3.0 ] }, "down": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 3.0 ] } } }, { "name": "Remblais 1", "from": [ 0.0, 19.0, 0.0 ], "to": [ 16.0, 22.0, 2.0 ], "faces": { "north": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 3.0 ] }, "east": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 3.0 ] }, "south": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 3.0 ] }, "west": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 3.0 ] }, "up": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 2.0 ] }, "down": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 2.0 ] } } }, { "name": "Manche Marteau", "from": [ 7.0, 13.0, 0.0 ], "to": [ 9.0, 18.0, 2.0 ], "rotation": { "origin": [ 7.0, 14.0, 8.0 ], "axis": "x", "angle": 45.0 }, "faces": { "north": { "texture": "#4", "uv": [ 0.0, 0.0, 4.0, 11.0 ] }, "east": { "texture": "#4", "uv": [ 0.0, 0.0, 3.0, 11.0 ] }, "south": { "texture": "#4", "uv": [ 0.0, 0.0, 3.0, 11.0 ] }, "west": { "texture": "#4", "uv": [ 0.0, 0.0, 5.0, 11.0 ] }, "up": { "texture": "#4", "uv": [ 0.0, 0.0, -1.0, 5.0 ] }, "down": { "texture": "#4", "uv": [ 0.0, 0.0, 2.0, 2.0 ] } } }, { "name": "Tête marteau", "from": [ 6.0, 18.0, -1.0 ], "to": [ 10.0, 21.0, 5.0 ], "rotation": { "origin": [ 8.0, 15.0, 8.0 ], "axis": "x", "angle": 45.0 }, "faces": { "north": { "texture": "#5", "uv": [ 3.0, 3.0, 7.0, 6.0 ] }, "east": { "texture": "#5", "uv": [ 8.0, 3.0, 14.0, 6.0 ] }, "south": { "texture": "#5", "uv": [ 3.0, 3.0, 7.0, 6.0 ] }, "west": { "texture": "#5", "uv": [ 3.0, 3.0, 9.0, 6.0 ] }, "up": { "texture": "#5", "uv": [ 3.0, 3.0, 7.0, 9.0 ] }, "down": { "texture": "#5", "uv": [ 3.0, 3.0, 7.0, 9.0 ] } } } ] }
Et voici un screen de mes packages, au cas ou il y aurait un problème avec.
http://www.noelshack.com/2015-24-1433791133-caputure-des-packages-textures.png( J’ai pris en capture les packages textures/items –’ )
http://www.noelshack.com/2015-24-1433791293-capture-de-spackages-des-textures-models.png</init></init> -
Il manque l’ouverture d’accolade du début du json …
http://jsonlint.com/ -
Pas compris l’erreur….
Arrive pas a corrigerEDIT : Bon je dois y aller, je corrigerais sa demain, je le validerais vers 12h
-
–’ u_U …
Il manque l’ouverture d’accolade du début du json …
Comment est-ce que je peux être plus clair ???
Allumes la lumière x) !!!{ "textures": { "0": "ut:blocks/back", "1": "ut:blocks/sides", "2": "ut:blocks/front", "3": "ut:blocks/cobblestone", "4": "ut:blocks/planks_oak", "5": "ut:blocks/iron_block" }, "elements": [ { "name": "Base", "from": [ 0.0, 0.0, 0.0 ], "to": [ 16.0, 16.0, 16.0 ], "faces": { "north": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "east": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "south": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "west": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "up": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "down": { "texture": "#4", "uv": [ 0.0, 0.0, 16.0, 16.0 ] } } }, { "name": "Remblais 2", "from": [ 0.0, 16.0, 0.0 ], "to": [ 16.0, 19.0, 3.0 ], "faces": { "north": { "texture": "#3", "uv": [ 0.0, 3.0, 16.0, 6.0 ] }, "east": { "texture": "#3", "uv": [ 0.0, 0.0, 3.0, 3.0 ] }, "south": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 3.0 ] }, "west": { "texture": "#3", "uv": [ 0.0, 0.0, 3.0, 3.0 ] }, "up": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 3.0 ] }, "down": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 3.0 ] } } }, { "name": "Remblais 1", "from": [ 0.0, 19.0, 0.0 ], "to": [ 16.0, 22.0, 2.0 ], "faces": { "north": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 3.0 ] }, "east": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 3.0 ] }, "south": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 3.0 ] }, "west": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 3.0 ] }, "up": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 2.0 ] }, "down": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 2.0 ] } } }, { "name": "Manche Marteau", "from": [ 7.0, 13.0, 0.0 ], "to": [ 9.0, 18.0, 2.0 ], "rotation": { "origin": [ 7.0, 14.0, 8.0 ], "axis": "x", "angle": 45.0 }, "faces": { "north": { "texture": "#4", "uv": [ 0.0, 0.0, 4.0, 11.0 ] }, "east": { "texture": "#4", "uv": [ 0.0, 0.0, 3.0, 11.0 ] }, "south": { "texture": "#4", "uv": [ 0.0, 0.0, 3.0, 11.0 ] }, "west": { "texture": "#4", "uv": [ 0.0, 0.0, 5.0, 11.0 ] }, "up": { "texture": "#4", "uv": [ 0.0, 0.0, -1.0, 5.0 ] }, "down": { "texture": "#4", "uv": [ 0.0, 0.0, 2.0, 2.0 ] } } }, { "name": "Tête marteau", "from": [ 6.0, 18.0, -1.0 ], "to": [ 10.0, 21.0, 5.0 ], "rotation": { "origin": [ 8.0, 15.0, 8.0 ], "axis": "x", "angle": 45.0 }, "faces": { "north": { "texture": "#5", "uv": [ 3.0, 3.0, 7.0, 6.0 ] }, "east": { "texture": "#5", "uv": [ 8.0, 3.0, 14.0, 6.0 ] }, "south": { "texture": "#5", "uv": [ 3.0, 3.0, 7.0, 6.0 ] }, "west": { "texture": "#5", "uv": [ 3.0, 3.0, 9.0, 6.0 ] }, "up": { "texture": "#5", "uv": [ 3.0, 3.0, 7.0, 9.0 ] }, "down": { "texture": "#5", "uv": [ 3.0, 3.0, 7.0, 9.0 ] } } } ] }
-
Ah ok
Je faisais : “textures” [ { car c’est ce que me disait de faire jsonlint
d’ailleurs, merci beaucoup pour ce site
Le bloc n’est pas encore orientable, mais dès que j’aurait le temps, je le ferais