Créer la base de votre mod
-
Bonsoir, j’ai une erreur lorsque je run le serveur alors que tout marche correctement lorsque c’est en client, voici la console :
[01:27:27] [main/INFO] [GradleStart]: Extra: [] [01:27:27] [main/INFO] [GradleStart]: Running with arguments: [--tweakClass, cpw.mods.fml.common.launcher.FMLServerTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [01:27:27] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker [01:27:27] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker [01:27:27] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [01:27:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker [01:27:27] [main/INFO] [FML]: Forge Mod Loader version 7.99.36.1558 for Minecraft 1.7.10 loading [01:27:27] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_201, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_201 [01:27:27] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [01:27:27] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [01:27:27] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin [01:27:27] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [01:27:27] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [01:27:27] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [01:27:27] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [01:27:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [01:27:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [01:27:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [01:27:27] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [01:27:28] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [01:27:28] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [01:27:28] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [01:27:28] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [01:27:28] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker [01:27:28] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker [01:27:29] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer} [01:27:30] [main/WARN] [FML]: ============================================================= [01:27:30] [main/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML! [01:27:30] [main/WARN] [FML]: Offendor: net/minecraft/server/gui/MinecraftServerGui$1.windowClosing(Ljava/awt/event/WindowEvent;)V [01:27:30] [main/WARN] [FML]: Use FMLCommonHandler.exitJava instead [01:27:30] [main/WARN] [FML]: ============================================================= [01:27:30] [Server thread/INFO]: Starting minecraft server version 1.7.10 [01:27:30] [Server thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [01:27:30] [Server thread/INFO] [FML]: MinecraftForge v10.13.4.1558 Initialized [01:27:30] [Server thread/INFO] [FML]: Replaced 183 ore recipies [01:27:30] [Server thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [01:27:31] [Server thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [01:27:31] [Server thread/INFO] [FML]: Searching C:\Users\Ana\Desktop\forge-1.7.10-10.13.4.1558-1.7.10-src\eclipse\mods for mods [01:27:31] [Server thread/INFO] [examplemod]: Mod examplemod is missing the required element 'name'. Substituting examplemod [01:27:35] [Server thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load [01:27:35] [Server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, examplemod, bamboomod] at CLIENT [01:27:35] [Server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, examplemod, bamboomod] at SERVER [01:27:35] [Server thread/INFO] [FML]: Processing ObjectHolder annotations [01:27:35] [Server thread/INFO] [FML]: Found 341 ObjectHolder annotations [01:27:35] [Server thread/INFO] [FML]: Identifying ItemStackHolder annotations [01:27:35] [Server thread/INFO] [FML]: Found 0 ItemStackHolder annotations [01:27:35] [Server thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [01:27:35] [Server thread/INFO] [FML]: Applying holder lookups [01:27:35] [Server thread/INFO] [FML]: Holder lookups applied [01:27:35] [Server thread/INFO] [FML]: Injecting itemstacks [01:27:35] [Server thread/INFO] [FML]: Itemstack injection complete [01:27:35] [Server thread/INFO]: Loading properties [01:27:35] [Server thread/INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info. [01:27:35] [Server thread/WARN] [FML]: Can't revert to frozen GameData state without freezing first. [01:27:35] [Server thread/INFO] [FML]: Applying holder lookups [01:27:35] [Server thread/INFO] [FML]: Holder lookups applied [01:27:35] [Server thread/INFO] [FML]: The state engine was in incorrect state POSTINITIALIZATION and forced into state SERVER_STOPPED. Errors may have been discarded. Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release -
ca m’ouvre une fenêtre et me la ferme 3 secondes après, est-ce normal ?

-
Salut,
Oui c’est normal, tu n’as pas accepté l’eula de Minecraft :
@PhoenixDRebirth a dit dans Créer la base de votre mod :
[01:27:35] [Server thread/INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info.
Il faut ouvrir le fichier eula.txt qui se trouve dans le dossier run et remplacer
falsepartrue. -
Nickel merci beaucoup ! ^^
-
Bonsoir et déjà merci pour ce tutoriel très bien expliquer ^^,
J’ai un petit problème à la toute fin :Les logs :
2019-05-11 21:44:26,849 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2019-05-11 21:44:26,851 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [21:44:26] [main/INFO] [GradleStart]: Extra: [] [21:44:26] [main/INFO] [GradleStart]: Running with arguments: [--tweakClass, net.minecraftforge.fml.common.launcher.FMLServerTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [21:44:27] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker [21:44:27] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker [21:44:27] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [21:44:27] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker 2019-05-11 21:44:28,482 WARN Disabling terminal, you're running in an unsupported environment. [21:44:28] [main/INFO] [FML]: Forge Mod Loader version 12.17.0.1976 for Minecraft 1.9.4 loading [21:44:28] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_211, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_211 [21:44:28] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [21:44:28] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [21:44:28] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [21:44:28] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [21:44:28] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [21:44:28] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [21:44:28] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [21:44:28] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [21:44:28] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [21:44:28] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [21:44:28] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [21:44:30] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [21:44:30] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [21:44:30] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [21:44:31] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [21:44:31] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [21:44:31] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [21:44:31] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer} [21:44:37] [Server thread/INFO]: Starting minecraft server version 1.9.4 [21:44:37] [Server thread/INFO] [FML]: MinecraftForge v12.17.0.1976 Initialized [21:44:37] [Server thread/INFO] [FML]: Replaced 232 ore recipes [21:44:38] [Server thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [21:44:38] [Server thread/INFO] [FML]: Searching C:\Users\Megaport\Desktop\Mod Reazie\forge-1.9.4-mdk\run\mods for mods [21:44:40] [Server thread/INFO] [FML]: Forge Mod Loader has identified 3 mods to load [21:44:41] [Server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge] at CLIENT [21:44:41] [Server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge] at SERVER [21:44:41] [Server thread/INFO] [FML]: Processing ObjectHolder annotations [21:44:42] [Server thread/INFO] [FML]: Found 418 ObjectHolder annotations [21:44:42] [Server thread/INFO] [FML]: Identifying ItemStackHolder annotations [21:44:42] [Server thread/INFO] [FML]: Found 0 ItemStackHolder annotations [21:44:42] [Server thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [21:44:42] [Server thread/INFO] [FML]: Applying holder lookups [21:44:42] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [21:44:42] [Server thread/INFO] [FML]: Holder lookups applied [21:44:42] [Server thread/INFO] [FML]: Injecting itemstacks [21:44:42] [Server thread/INFO] [FML]: Itemstack injection complete [21:44:42] [Server thread/INFO]: Loading properties [21:44:42] [Server thread/WARN]: server.properties does not exist [21:44:42] [Server thread/INFO]: Generating new properties file [21:44:42] [Server thread/WARN]: Failed to load eula.txt [21:44:42] [Server thread/INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info. [21:44:42] [Server thread/INFO]: Stopping server [21:44:42] [Server thread/INFO]: Saving worlds [21:44:42] [Server thread/WARN] [FML]: Can't revert to frozen GameData state without freezing first. [21:44:42] [Server thread/INFO] [FML]: The state engine was in incorrect state POSTINITIALIZATION and forced into state SERVER_STOPPED. Errors may have been discarded. [21:44:42] [Server Shutdown Thread/INFO]: Stopping server Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future releaseMa class common :
package fr.reazie.mod.common; import cpw.mods.fml.common.Mod; @Mod(modid = "reazie", name = "Mod Reazie", version = "1.0.0") public class ModReazie { @Instance("reazie") public static ModTutoriel instance; @EventHandler public void preInit(FMLPreInitializationEvent event) { } @EventHandler public void init(FMLInitializationEvent event) { proxy.registerRender(); } @EventHandler public void postInit(FMLPostInitializationEvent event) { } }Client Proxy :
public class ClientProxy extends CommonProxy { @Override public void registerRender() { System.out.println("méthode côté client"); } }Et mon Common Proxy :
package fr.reazie.mod.proxy; public class CommonProxy { public void registerRender() { System.out.println("méthode côté serveur"); } }Merci d’avance si vous arrivez à me dépatoger de la ^^
Bonne soirée à vous ! -
@Gonarix Je t’invite à relire la réponse de Robin.
-
@Superloup10 Ah c’est bon merci ^^', Mais je n’ai pas compris par contre “Vous devrez voir méthode côté serveur dans les logs.”, car dans les logs je ne trouve pas cela…

-
Ce message a été supprimé ! -
bonjour je ne comprends pas pourquoi mais quand je suis sur eclipse, je double clique sur Minecraft ssa me mets sa:
The project description file (.project) for ‘Minecraft’ is missing. This file contains important information about the project. The project will not function properly until this file is restored.
The project description file (.project) for ‘Minecraft’ is missing. This file contains important information about the project. The project will not function properly until this file is restored.merci d’avance pour les reponses
-
@klyfat MFF ne fais plus d’aide sur la 1.7.10
-
Bonsoir, j’aimerais savoir comment créer la base de son mod en 1.16, car cela ne fonctionne pas pareil pour moi, ou savoir s’il y aura un tuto a cet effet merci d’avance
-
@ImperoMaximo Qu’est ce qui ne va pas de ton coté ?
-
Il faut suivre les tutoriels 1.13.2 et + : https://www.minecraftforgefrance.fr/topic/5359/créer-la-base-d-un-mod pour la 1.16.
-
Merci @robin4002 je vais voir cela tout de suite
-
P Phenix246 a fait référence à ce sujet sur
-
P Phenix246 a fait référence à ce sujet sur
-
P Phenix246 a fait référence à ce sujet sur
-
R robin4002 a fait référence à ce sujet sur
-
Ü Überfap a fait référence à ce sujet sur
-
A Ama a fait référence à ce sujet sur
-
S Shinco a fait référence à ce sujet sur
-
R robin4002 a fait référence à ce sujet sur
-
S SCAREX a fait référence à ce sujet sur
-
R robin4002 a fait référence à ce sujet sur
-
S SCAREX a fait référence à ce sujet sur
-
R robin4002 a fait référence à ce sujet sur
