MFF

    Minecraft Forge France
    • Récent
    • Mots-clés
    • Populaire
    • Utilisateurs
    • Groupes
    • Forge Events
      • Automatique
      • Foncé
      • Clair
    • S'inscrire
    • Se connecter

    Créer la base de votre mod

    Planifier Épinglé Verrouillé Déplacé Les bases
    1.7.x
    163 Messages 40 Publieurs 101.2k Vues 7 Watching
    Charger plus de messages
    • Du plus ancien au plus récent
    • Du plus récent au plus ancien
    • Les plus votés
    Répondre
    • Répondre à l'aide d'un nouveau sujet
    Se connecter pour répondre
    Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
    • _ Hors-ligne
      ___Freezer___
      dernière édition par

      ça ne fait pas cela a chaque fois mais ça n’affiche pas le message “méthode côté serveur/client”

      1 réponse Dernière réponse Répondre Citer 0
      • P Hors-ligne
        PhoenixDRebirth
        dernière édition par robin4002

        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
        
        1 réponse Dernière réponse Répondre Citer 0
        • P Hors-ligne
          PhoenixDRebirth
          dernière édition par

          ca m’ouvre une fenêtre et me la ferme 3 secondes après, est-ce normal ?

          a8abdfa8-8048-4704-b652-a8c03118023a-image.png

          1 réponse Dernière réponse Répondre Citer 0
          • robin4002R Hors-ligne
            robin4002 Moddeurs confirmés Rédacteurs Administrateurs
            dernière édition par

            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 false par true.

            1 réponse Dernière réponse Répondre Citer 0
            • P Hors-ligne
              PhoenixDRebirth
              dernière édition par

              Nickel merci beaucoup ! ^^

              1 réponse Dernière réponse Répondre Citer 0
              • G Hors-ligne
                Gonarix
                dernière édition par

                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 release
                
                

                Ma 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 !

                Superloup10S 1 réponse Dernière réponse Répondre Citer 0
                • Superloup10S Hors-ligne
                  Superloup10 Modérateurs @Gonarix
                  dernière édition par

                  @Gonarix Je t’invite à relire la réponse de Robin.

                  Si vous souhaitez me faire un don, il vous suffit de cliquer sur le bouton situé en dessous.

                  Je suis un membre apprécié et joueur, j'ai déjà obtenu 17 points de réputation.

                  G 1 réponse Dernière réponse Répondre Citer 1
                  • G Hors-ligne
                    Gonarix @Superloup10
                    dernière édition par

                    @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… 🤐

                    1 réponse Dernière réponse Répondre Citer 0
                    • ZelFightZ Hors-ligne
                      ZelFight
                      dernière édition par

                      Ce message a été supprimé !
                      1 réponse Dernière réponse Répondre Citer 0
                      • K Hors-ligne
                        klyfat
                        dernière édition par

                        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

                        M 1 réponse Dernière réponse Répondre Citer -2
                        • M Hors-ligne
                          max93v @klyfat
                          dernière édition par

                          @klyfat MFF ne fais plus d’aide sur la 1.7.10

                          1 réponse Dernière réponse Répondre Citer 1
                          • I Hors-ligne
                            ImperoMaximo
                            dernière édition par

                            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

                            Mysterious_DevM 1 réponse Dernière réponse Répondre Citer 0
                            • Mysterious_DevM Hors-ligne
                              Mysterious_Dev @ImperoMaximo
                              dernière édition par

                              @ImperoMaximo Qu’est ce qui ne va pas de ton coté ?

                              Adore taper sur les moddeurs 1.7.10.

                              1 réponse Dernière réponse Répondre Citer 0
                              • robin4002R Hors-ligne
                                robin4002 Moddeurs confirmés Rédacteurs Administrateurs
                                dernière édition par robin4002

                                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.

                                1 réponse Dernière réponse Répondre Citer 1
                                • I Hors-ligne
                                  ImperoMaximo
                                  dernière édition par

                                  Merci @robin4002 je vais voir cela tout de suite

                                  1 réponse Dernière réponse Répondre Citer 0
                                  • Phenix246P Phenix246 a fait référence à ce sujet sur
                                  • Phenix246P Phenix246 a fait référence à ce sujet sur
                                  • Phenix246P Phenix246 a fait référence à ce sujet sur
                                  • robin4002R robin4002 a fait référence à ce sujet sur
                                  • ÜberfapÜ Überfap a fait référence à ce sujet sur
                                  • AmaA Ama a fait référence à ce sujet sur
                                  • ShincoS Shinco a fait référence à ce sujet sur
                                  • robin4002R robin4002 a fait référence à ce sujet sur
                                  • SCAREXS SCAREX a fait référence à ce sujet sur
                                  • robin4002R robin4002 a fait référence à ce sujet sur
                                  • SCAREXS SCAREX a fait référence à ce sujet sur
                                  • robin4002R robin4002 a fait référence à ce sujet sur
                                  • 1
                                  • 2
                                  • 3
                                  • 4
                                  • 5
                                  • 6
                                  • 7
                                  • 8
                                  • 9
                                  • 4 / 9
                                  • Premier message
                                    Dernier message
                                  Design by Woryk
                                  ContactMentions Légales

                                  MINECRAFT FORGE FRANCE © 2024

                                  Powered by NodeBB