Créer un bloc basique
-
Dans src/main/resources il faut que tu créé un dossier nommé assets puis dedans un dossier nommé comme ton modid.
-
D’accord merci je test sa de suite
Bon après multiples tentative sa ne veut toujours pas a moi que j’ai encore une fois rien compris ?
D’ailleurs pour en arriver a ce résultat là j’ai été obliger d’aller déplacer les fichier directement a la source, normal ? -
Comme les fichiers sont sur ton screen, ça devrais être bon, a part la texture qui devrais être dans une dossier blocks (assets.modid.textures.block). Si ça ne fonctionne toujours pas, montre nous les erreurs dans la console.
-
Toujours “not found”
2017-09-05 16:20:34,890 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2017-09-05 16:20:34,895 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [16:20:35] [main/INFO] [GradleStart]: Extra: [] [16:20:35] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/Mickaël/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, 1.8.9, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [16:20:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [16:20:35] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [16:20:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [16:20:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [16:20:35] [main/INFO] [FML]: Forge Mod Loader version 11.15.1.1722 for Minecraft 1.8.9 loading [16:20:35] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_144, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_144 [16:20:35] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [16:20:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [16:20:35] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [16:20:35] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [16:20:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [16:20:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [16:20:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [16:20:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [16:20:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [16:20:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [16:20:35] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [16:20:38] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [16:20:38] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [16:20:38] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [16:20:39] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [16:20:39] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [16:20:39] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [16:20:39] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} 2017-09-05 16:20:40,612 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2017-09-05 16:20:40,687 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2017-09-05 16:20:40,691 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [16:20:41] [Client thread/INFO]: Setting user: Player443 [16:20:48] [Client thread/INFO]: LWJGL Version: 2.9.4 [16:20:49] [Client thread/WARN] [FML]: ============================================================= [16:20:49] [Client thread/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML! [16:20:49] [Client thread/WARN] [FML]: Offendor: com/sun/jna/Native.main([Ljava/lang/String;)V [16:20:49] [Client thread/WARN] [FML]: Use FMLCommonHandler.exitJava instead [16:20:49] [Client thread/WARN] [FML]: ============================================================= [16:20:50] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246]: –-- Minecraft Crash Report ---- // Ouch. That hurt :( Time: 05/09/17 16:20 Description: Loading screen debug info This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.8.9 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_144, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 717287416 bytes (684 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: Loaded coremods (and transformers): GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13476 Compatibility Profile Context 22.19.171.1024' Renderer: 'Radeon (TM) RX 480 Graphics' [16:20:51] [Client thread/INFO] [FML]: MinecraftForge v11.15.1.1722 Initialized [16:20:51] [Client thread/INFO] [FML]: Replaced 204 ore recipies [16:20:52] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [16:20:52] [Client thread/INFO] [FML]: Searching E:\forge1.8.9\run\mods for mods [16:20:55] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [16:20:56] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, slimeplus] at CLIENT [16:20:56] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, slimeplus] at SERVER [16:20:57] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Slime Plus [16:20:57] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [16:20:57] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations [16:20:57] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [16:20:57] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [16:20:58] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [16:20:58] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [16:20:58] [Client thread/INFO] [STDOUT]: [fr.mick991_1.slimeplus.TutorialCommon:preInit:10]: pre init côté commun [16:20:58] [Client thread/INFO] [STDOUT]: [fr.mick991_1.slimeplus.TutorialClient:preInit:17]: pre init côté client [16:20:58] [Client thread/INFO] [FML]: Applying holder lookups [16:20:58] [Client thread/INFO] [FML]: Holder lookups applied [16:20:58] [Client thread/INFO] [FML]: Injecting itemstacks [16:20:58] [Client thread/INFO] [FML]: Itemstack injection complete [16:20:58] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null [16:20:58] [Sound Library Loader/INFO]: Starting up SoundSystem… [16:20:59] [Thread-9/INFO]: Initializing LWJGL OpenAL [16:20:59] [Thread-9/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [16:20:59] [Thread-9/ERROR]: Error in class 'LibraryLWJGLOpenAL' [16:20:59] [Thread-9/ERROR]: Unable to initialize OpenAL. Probable cause: OpenAL not supported. [16:20:59] [Thread-9/WARN]: ERROR MESSAGE: [16:20:59] [Thread-9/INFO]: Could not locate OpenAL library. [16:20:59] [Thread-9/WARN]: STACK TRACE: [16:20:59] [Thread-9/INFO]: org.lwjgl.openal.AL.create(AL.java:156) [16:20:59] [Thread-9/INFO]: org.lwjgl.openal.AL.create(AL.java:102) [16:20:59] [Thread-9/INFO]: org.lwjgl.openal.AL.create(AL.java:206) [16:20:59] [Thread-9/INFO]: paulscode.sound.libraries.LibraryLWJGLOpenAL.init(LibraryLWJGLOpenAL.java:164) [16:20:59] [Thread-9/INFO]: paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576) [16:20:59] [Thread-9/INFO]: paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572) [16:20:59] [Thread-9/INFO]: paulscode.sound.CommandThread.run(CommandThread.java:121) [16:20:59] [Sound Library Loader/WARN]: ERROR MESSAGE: [16:20:59] [Sound Library Loader/INFO]: Could not locate OpenAL library. [16:20:59] [Sound Library Loader/INFO]: Starting up SoundSystem… [16:20:59] [Thread-11/INFO]: Switching to No Sound [16:20:59] [Thread-11/INFO]: (Silent Mode) [16:20:59] [Sound Library Loader/INFO]: Sound engine started [16:21:13] [Client thread/INFO] [FML]: Max texture size: 16384 [16:21:13] [Client thread/INFO]: Created: 16x16 textures-atlas [16:21:16] [Client thread/INFO] [FML]: Injecting itemstacks [16:21:17] [Client thread/INFO] [FML]: Itemstack injection complete [16:21:17] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [16:21:17] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Slime Plus [16:21:17] [Client thread/INFO]: SoundSystem shutting down… [16:21:17] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com [16:21:17] [Sound Library Loader/INFO]: Starting up SoundSystem… [16:21:17] [Thread-13/INFO]: Initializing LWJGL OpenAL [16:21:17] [Thread-13/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [16:21:17] [Thread-13/ERROR]: Error in class 'LibraryLWJGLOpenAL' [16:21:17] [Thread-13/ERROR]: Unable to initialize OpenAL. Probable cause: OpenAL not supported. [16:21:17] [Thread-13/WARN]: ERROR MESSAGE: [16:21:17] [Thread-13/INFO]: Could not locate OpenAL library. [16:21:17] [Thread-13/WARN]: STACK TRACE: [16:21:17] [Thread-13/INFO]: org.lwjgl.openal.AL.create(AL.java:156) [16:21:17] [Thread-13/INFO]: org.lwjgl.openal.AL.create(AL.java:102) [16:21:17] [Thread-13/INFO]: org.lwjgl.openal.AL.create(AL.java:206) [16:21:17] [Thread-13/INFO]: paulscode.sound.libraries.LibraryLWJGLOpenAL.init(LibraryLWJGLOpenAL.java:164) [16:21:17] [Thread-13/INFO]: paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576) [16:21:17] [Thread-13/INFO]: paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572) [16:21:17] [Thread-13/INFO]: paulscode.sound.CommandThread.run(CommandThread.java:121) [16:21:18] [Sound Library Loader/WARN]: ERROR MESSAGE: [16:21:18] [Sound Library Loader/INFO]: Could not locate OpenAL library. [16:21:18] [Sound Library Loader/INFO]: Starting up SoundSystem… [16:21:18] [Thread-15/INFO]: Switching to No Sound [16:21:18] [Thread-15/INFO]: (Silent Mode) [16:21:18] [Sound Library Loader/INFO]: Sound engine started [16:21:29] [Client thread/INFO] [FML]: Max texture size: 16384 [16:21:31] [Client thread/INFO]: Created: 512x512 textures-atlas [16:21:32] [Client thread/ERROR] [FML]: Exception loading model for variant slimeplus:block_congelateur#inventory java.lang.Exception: Could not load model definition for variant slimeplus:block_congelateur#inventory at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:219) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:256) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:120) ~[ModelLoader.class:?] at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:130) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:111) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:778) [Minecraft.class:?] at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:326) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:538) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:364) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_144] 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_144] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_144] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model slimeplus:blockstates/block_congelateur.json at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?] … 22 more Caused by: java.io.FileNotFoundException: slimeplus:blockstates/block_congelateur.json at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:82) ~[SimpleReloadableResourceManager.class:?] at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?] … 22 more [16:21:32] [Client thread/ERROR] [FML]: Exception loading model for variant slimeplus:block_congelateur#normal java.lang.Exception: Could not load model definition for variant slimeplus:block_congelateur#normal at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:219) ~[ModelLoader.class:?] at net.minecraft.client.resources.model.ModelBakery.loadVariants(ModelBakery.java:109) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:174) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:119) ~[ModelLoader.class:?] at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:130) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:111) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:778) [Minecraft.class:?] at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:326) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:538) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:364) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_144] 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_144] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_144] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model slimeplus:blockstates/block_congelateur.json at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?] … 23 more Caused by: java.io.FileNotFoundException: slimeplus:blockstates/block_congelateur.json at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:82) ~[SimpleReloadableResourceManager.class:?] at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?] … 23 more [16:21:32] [Client thread/ERROR] [FML]: Model definition for location slimeplus:block_congelateur#inventory not found [16:21:32] [Client thread/ERROR] [FML]: Model definition for location slimeplus:block_congelateur#normal not found [16:21:45] [Client thread/INFO]: Stopping! [16:21:45] [Client thread/INFO]: SoundSystem shutting down… [16:21:45] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
-
Étrange as tu changé la position des fichiers ou ils sont toujours comme sur le screen ? Si ils n’ont pas bougé, je ne vois pas où est le problème.
-
J’ai juste renommer les fichiers pour mieux m’y repéré mais sa ne veut toujours pas
-
Il y a un gros point d’exclamation sur ton projet, ce n’est pas normal.
Eclipse indique quoi ? -
Tu entends quoi par “il indique quoi” ?
-
En bas sur Eclipse il y a une fenêtres avec plusieurs onglet dont un nommé “problems”, il devrait y avoir un message d’erreur.
-
Il n’y a rien
il n’y a rien
-
Fais un clic droit sur slime plus puis sur cliques sur refresh.
-
Ha bha sayer
-
Il a des données qui n’ont pas été sauvegardé. Vas dans ton dossier de forge puis src puis main puis resources depuis l’explorateur de fichier de windows, et regardes si les fichiers sont bien présents.
-
Tout les fichiers sont bien dedans… j’ai restart eclipse.
par contre a chaque redémarrage il me rajoute le warning avec le message “Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: ‘C:\Users\Mickaël’. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.”Si je comprends bien c’est parcque mon JAVA_HOME n’est pas set ?
-
Non ce n’est pas en rapport avec la variable java home.
https://wiki.eclipse.org/EGit/User_Guide#Setting_up_the_Home_Directory_on_Windows -
ok je sais pas ce que j’ai fais sa a tout supprimer -_- on je vais recommencer et je vous redis sa merci quand même d’avoir pris du temps pour m’aider
Bon voila tout est remit il n’y a plus d’erreur mais toujours ce probleme de texture qui ne veut pas s’afficher
-
-
-
-