MFF

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

    Créer un mob basique

    Planifier Épinglé Verrouillé Déplacé Les entités
    1.7.x
    187 Messages 47 Publieurs 80.6k Vues 6 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.
    • conquerorguepardC Hors-ligne
      conquerorguepard
      dernière édition par

      Comment fait-on pour ajouter des sons à notre mob?

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

        Regarde dans la classe Entity (ou EntityLivingBase, je sais plus), il y a plein de fonctions telles que getDeathSound(), Tu as juste à changer le return par ton son.

        Si je vous ai aidé, n'oubliez pas d’être heureux, j'aiderai encore +

        AymericRed, moddeur expérimenté qui aide sur ce forum et qui peut accepter de faire un mod Forge rémunéré de temps en temps.

        Mes tutos : Table de craft, plugin NEI, plugin JEI, modifier l'overlay
        Je suis un membre apprécié et joueur, j'ai déjà obtenu 6 points de réputation.

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

          Tu peux être un tout petit peu plus explicite stp ^^?
          Ma classe entity ressemble un peu à ça, et y’a aucun getDeathSound() dedans…

          package Entity;
          
          import net.minecraft.entity.SharedMonsterAttributes;
          import net.minecraft.entity.ai.EntityAIAttackOnCollide;
          import net.minecraft.entity.ai.EntityAIHurtByTarget;
          import net.minecraft.entity.ai.EntityAILookIdle;
          import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
          import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
          import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
          import net.minecraft.entity.ai.EntityAISwimming;
          import net.minecraft.entity.ai.EntityAIWander;
          import net.minecraft.entity.ai.EntityAIWatchClosest;
          import net.minecraft.entity.monster.EntityIronGolem;
          import net.minecraft.entity.monster.EntityMob;
          import net.minecraft.entity.monster.EntityPigZombie;
          import net.minecraft.entity.passive.EntityChicken;
          import net.minecraft.entity.passive.EntityCow;
          import net.minecraft.entity.passive.EntityHorse;
          import net.minecraft.entity.passive.EntityOcelot;
          import net.minecraft.entity.passive.EntityPig;
          import net.minecraft.entity.passive.EntityRabbit;
          import net.minecraft.entity.passive.EntityVillager;
          import net.minecraft.entity.player.EntityPlayer;
          import net.minecraft.world.World;
          
          public class Entityclass extends EntityMob
          {
             public Entityclass(World world)
             {
                 super(world);
             }
          
             public void applyEntityAttributes()
             {
                 super.applyEntityAttributes();
                 this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
                 this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(9D);
                 this.getEntityAttribute(SharedMonsterAttributes.knockbackResistance).setBaseValue(2D);
                 this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(2D);
                 this.getEntityAttribute(SharedMonsterAttributes.followRange).setBaseValue(120D);
             }
          
             protected void applyEntityAI()
             {
                 this.tasks.addTask(4, new EntityAIAttackOnCollide(this, EntityIronGolem.class, 1.0D, true));
                 this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, true));
                 this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityVillager.class, true));
                 this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityIronGolem.class, true));
                 this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityChicken.class, true));
                 this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPig.class, true));
                 this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityRabbit.class, true));
                 this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityCow.class, true));
                 this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityHorse.class, true));
                 this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityOcelot.class, true));
             }
          }
          
          

          D’ailleurs, aillant un model très spécial, quelqu’un sait ce que je dois mettre en dessous de super(world); pour que la taille soit correctement définie?
          Au passage si vous voyez des erreurs dans le codage dîtes le moi 🙂

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

            Si tu fais Shift + click sur le “EntityMob”, tu arriveras dans la classe entity mob, si tu fais encore shift click sur “EntityCreature”, tu arriveras dans la classe entity creature, etc. Tu peux aussi voir les classes de Minecraft en allant dans la Package explorer d’eclipse, en allant dans “Referenced libraies” == > “Forge-la_version_que_tu_as” et tu as tous les packages de Minecraft, pour voir la classe Entity, tu vas dans le package “net.minecraft.entity” ==> classe “Entity”.

            Pour la taille, “this.setSize(la_largueur, la_hauteur);” après le 'super(world);"

            Si je vous ai aidé, n'oubliez pas d’être heureux, j'aiderai encore +

            AymericRed, moddeur expérimenté qui aide sur ce forum et qui peut accepter de faire un mod Forge rémunéré de temps en temps.

            Mes tutos : Table de craft, plugin NEI, plugin JEI, modifier l'overlay
            Je suis un membre apprécié et joueur, j'ai déjà obtenu 6 points de réputation.

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

              Et comment s’occupe t-on de la longueur? 😕

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

                C’est la même chose que la largeur (c’est un carré qui fait juste la hitbox).

                Si je vous ai aidé, n'oubliez pas d’être heureux, j'aiderai encore +

                AymericRed, moddeur expérimenté qui aide sur ce forum et qui peut accepter de faire un mod Forge rémunéré de temps en temps.

                Mes tutos : Table de craft, plugin NEI, plugin JEI, modifier l'overlay
                Je suis un membre apprécié et joueur, j'ai déjà obtenu 6 points de réputation.

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

                  Mais si mon mob fait 6 mètres de long pour 1 de large?

                  1 réponse Dernière réponse Répondre Citer 0
                  • FolganskyF Hors-ligne
                    Folgansky Correcteurs
                    dernière édition par

                    Avec le setSize tu ne peux pas, c’est forcément un carré autour de lui de la hauteur voulue

                    edit: Essaie de voir avec la boundingBox, à demander si ça peut te servir

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

                      boundingBox –> What is it ? ^^

                      1 réponse Dernière réponse Répondre Citer 0
                      • elias54E Hors-ligne
                        elias54 Administrateurs
                        dernière édition par

                        @‘conquerorguepard’:

                        boundingBox –> What is it ? ^^

                        Boîte de collision….

                        Mon site | GitHub

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

                          Quelqu’un peut me rappeler la fonction pour agrandir ou diminuer la taille d’un mob svp :)?

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

                            Si c’est au niveau rendu c’est GL11.glScalef(x, y, z)

                            Site web contenant mes scripts : http://SCAREXgaming.github.io

                            Pas de demandes de support par MP ni par skype SVP.
                            Je n'accepte sur skype que l…

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

                              Merci beaucoup! C’est bon 🙂

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

                                le mob ne spawn pas

                                [07:35:59] [Server thread/INFO]: Yeyvo a rejoint la partie
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.reflect.InvocationTargetException
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.reflect.Constructor.newInstance(Unknown Source)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.entity.EntityList.createEntityByID(EntityList.java:222)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.item.ItemMonsterPlacer.spawnCreature(ItemMonsterPlacer.java:173)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.item.ItemMonsterPlacer.onItemUse(ItemMonsterPlacer.java:79)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:507)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:142)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:422)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:593)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused by: java.lang.NullPointerException
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at ma.Yeyvo.Paladium.common.mobs.Fuzemob.applyEntityAttributes(Fuzemob.java:19)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:156)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.entity.EntityLiving.<init>(EntityLiving.java:78)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.entity.EntityCreature.<init>(EntityCreature.java:36)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.entity.monster.EntityMob.<init>(EntityMob.java:21)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at ma.Yeyvo.Paladium.common.mobs.Fuzemob.<init>(Fuzemob.java:13)
                                [07:36:01] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: … 20 more
                                [07:36:01] [Server thread/WARN]: Skipping Entity with id 3
                                [07:36:03] [Server thread/INFO]: Saving and pausing game…
                                ```</init></init></init></init></init>

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

                                  NPE a cette ligne : at ma.Yeyvo.Paladium.common.mobs.Fuzemob.applyEntityAttributes(Fuzemob.java:19)

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

                                    je trouve pas le problémme dans le code je trouve qu’il est Ok a moin d’avoir raté une maj

                                    import ma.Yeyvo.Paladium.common.ModPaladium;
                                    import net.minecraft.entity.SharedMonsterAttributes;
                                    import net.minecraft.entity.boss.IBossDisplayData;
                                    import net.minecraft.entity.monster.EntityMob;
                                    import net.minecraft.item.Item;
                                    import net.minecraft.world.World;
                                    
                                    public class Fuzemob extends EntityMob{
                                    
                                    public Fuzemob(World world) {
                                    super(world);
                                    }
                                    @Override
                                    public void applyEntityAttributes()
                                    {
                                    
                                    this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(20D);
                                       this.getEntityAttribute(SharedMonsterAttributes.knockbackResistance).setBaseValue(999999D);
                                       this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(3D);
                                    this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(2000D);
                                    
                                    }
                                    public Item getDropItem()
                                    {
                                    return ModPaladium.casquemobs;
                                    }
                                    public void dropFewItems(boolean b, int looting)
                                       {
                                           this.dropItem(ModPaladium.PaladiumOre, 20);
                                           this.dropItem(ModPaladium.findium, 5);
                                       }
                                    }
                                    
                                    ```___j'ai fix le problémme j'avait oublier 
                                    ```java
                                    super.applyEntityAttributes();
                                    

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

                                      J’ai un crash après avoir crée le mob

                                      [15:40:39] [main/INFO] [GradleStart]: username: Fraiden
                                      [15:40:39] [main/INFO] [GradleStart]: Extra: []
                                      [15:40:39] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --username, Fraiden, --accessToken, {REDACTED}, --assetIndex, 1.7.10, --assetsDir, C:/Users/Utilisateur/.gradle/caches/minecraft/assets, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
                                      [15:40:39] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                                      [15:40:39] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                                      [15:40:39] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
                                      [15:40:39] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
                                      [15:40:39] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading
                                      [15:40:39] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_79, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jdk1.7.0_79\jre
                                      [15:40:39] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
                                      [15:40:39] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
                                      [15:40:39] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
                                      [15:40:39] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
                                      [15:40:39] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                                      [15:40:39] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
                                      [15:40:39] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
                                      [15:40:39] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                                      [15:40:39] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                                      [15:40:39] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                                      [15:40:39] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
                                      [15:40:41] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
                                      [15:40:41] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                                      [15:40:41] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
                                      [15:40:42] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
                                      [15:40:42] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
                                      [15:40:42] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
                                      [15:40:42] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
                                      [15:40:43] [main/INFO]: Setting user: Fraiden
                                      [15:40:45] [Client thread/INFO]: LWJGL Version: 2.9.1
                                      [15:40:45] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: –-- Minecraft Crash Report ----
                                      // Why did you do that?
                                      
                                      Time: 12/06/16 15:40
                                      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.7.10
                                      Operating System: Windows 8.1 (amd64) version 6.3
                                      Java Version: 1.7.0_79, Oracle Corporation
                                      Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                                      Memory: 103790712 bytes (98 MB) / 171966464 bytes (164 MB) up to 1897922560 bytes (1810 MB)
                                      JVM Flags: 0 total;
                                      AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
                                      IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
                                      FML:
                                      GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 364.72' Renderer: 'GeForce GTX 970/PCIe/SSE2'
                                      [15:40:46] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
                                      [15:40:46] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized
                                      [15:40:46] [Client thread/INFO] [FML]: Replaced 183 ore recipies
                                      [15:40:46] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
                                      [15:40:46] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
                                      [15:40:46] [Client thread/INFO] [FML]: Searching C:\Users\Utilisateur\Desktop\Modding\Forge 1.7.10\eclipse\mods for mods
                                      [15:40:52] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
                                      [15:40:52] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, CookieJar] at CLIENT
                                      [15:40:52] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, CookieJar] at SERVER
                                      [15:40:52] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Cookie Jar
                                      [15:40:52] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
                                      [15:40:52] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
                                      [15:40:52] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
                                      [15:40:52] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
                                      [15:40:52] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
                                      [15:40:52] [Client thread/INFO] [FML]: Applying holder lookups
                                      [15:40:52] [Client thread/INFO] [FML]: Holder lookups applied
                                      [15:40:52] [Client thread/INFO] [FML]: Injecting itemstacks
                                      [15:40:52] [Client thread/INFO] [FML]: Itemstack injection complete
                                      [15:40:52] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
                                      [15:40:52] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
                                      [15:40:53] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
                                      [15:40:53] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
                                      AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
                                      [15:40:53] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
                                      [15:40:53] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
                                      [15:40:53] [Sound Library Loader/INFO]: Sound engine started
                                      [15:40:54] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas
                                      [15:40:54] [Client thread/INFO]: Created: 16x16 textures/items-atlas
                                      [15:40:54] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue
                                      [15:40:54] [Client thread/ERROR] [FML]:
                                      States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
                                      UCHI mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
                                      UCHI FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar)
                                      UCHI Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar)
                                      UCHE CookieJar{1.0.0} [Cookie Jar] (bin)
                                      [15:40:54] [Client thread/ERROR] [FML]: The following problems were captured during this phase
                                      [15:40:54] [Client thread/ERROR] [FML]: Caught exception from CookieJar
                                      java.lang.NullPointerException
                                      at cpw.mods.fml.common.registry.EntityRegistry.doModEntityRegistration(EntityRegistry.java:171) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
                                      at cpw.mods.fml.common.registry.EntityRegistry.registerModEntity(EntityRegistry.java:150) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
                                      at Fraiden.Mod.Cookie_Jar.common.Cookie_Jar.init(Cookie_Jar.java:316) ~[bin/:?]
                                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
                                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_79]
                                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_79]
                                      at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]
                                      at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
                                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
                                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_79]
                                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_79]
                                      at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]
                                      at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
                                      at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
                                      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
                                      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
                                      at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
                                      at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
                                      at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
                                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
                                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_79]
                                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_79]
                                      at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]
                                      at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
                                      at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
                                      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
                                      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
                                      at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
                                      at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]
                                      at cpw.mods.fml.common.Loader.initializeMods(Loader.java:737) [Loader.class:?]
                                      at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:311) [FMLClientHandler.class:?]
                                      at net.minecraft.client.Minecraft.startGame(Minecraft.java:597) [Minecraft.class:?]
                                      at net.minecraft.client.Minecraft.run(Minecraft.java:942) [Minecraft.class:?]
                                      at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
                                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
                                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_79]
                                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_79]
                                      at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]
                                      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 net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
                                      at GradleStart.main(Unknown Source) [start/:?]
                                      [15:40:54] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ----
                                      // Daisy, daisy...
                                      
                                      Time: 12/06/16 15:40
                                      Description: Initializing game
                                      
                                      java.lang.NullPointerException: Initializing game
                                      at cpw.mods.fml.common.registry.EntityRegistry.doModEntityRegistration(EntityRegistry.java:171)
                                      at cpw.mods.fml.common.registry.EntityRegistry.registerModEntity(EntityRegistry.java:150)
                                      at Fraiden.Mod.Cookie_Jar.common.Cookie_Jar.init(Cookie_Jar.java:316)
                                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                      at java.lang.reflect.Method.invoke(Method.java:606)
                                      at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
                                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                      at java.lang.reflect.Method.invoke(Method.java:606)
                                      at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
                                      at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
                                      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
                                      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
                                      at com.google.common.eventbus.EventBus.post(EventBus.java:275)
                                      at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
                                      at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
                                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                      at java.lang.reflect.Method.invoke(Method.java:606)
                                      at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
                                      at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
                                      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
                                      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
                                      at com.google.common.eventbus.EventBus.post(EventBus.java:275)
                                      at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
                                      at cpw.mods.fml.common.Loader.initializeMods(Loader.java:737)
                                      at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:311)
                                      at net.minecraft.client.Minecraft.startGame(Minecraft.java:597)
                                      at net.minecraft.client.Minecraft.run(Minecraft.java:942)
                                      at net.minecraft.client.main.Main.main(Main.java:164)
                                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                      at java.lang.reflect.Method.invoke(Method.java:606)
                                      at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
                                      at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
                                      at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
                                      at GradleStart.main(Unknown Source)
                                      
                                      A detailed walkthrough of the error, its code path and all known details is as follows:
                                      ---------------------------------------------------------------------------------------
                                      
                                      -- Head --
                                      Stacktrace:
                                      at cpw.mods.fml.common.registry.EntityRegistry.doModEntityRegistration(EntityRegistry.java:171)
                                      at cpw.mods.fml.common.registry.EntityRegistry.registerModEntity(EntityRegistry.java:150)
                                      at Fraiden.Mod.Cookie_Jar.common.Cookie_Jar.init(Cookie_Jar.java:316)
                                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                      at java.lang.reflect.Method.invoke(Method.java:606)
                                      at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
                                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                      at java.lang.reflect.Method.invoke(Method.java:606)
                                      at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
                                      at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
                                      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
                                      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
                                      at com.google.common.eventbus.EventBus.post(EventBus.java:275)
                                      at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
                                      at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
                                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                      at java.lang.reflect.Method.invoke(Method.java:606)
                                      at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
                                      at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
                                      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
                                      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
                                      at com.google.common.eventbus.EventBus.post(EventBus.java:275)
                                      at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
                                      at cpw.mods.fml.common.Loader.initializeMods(Loader.java:737)
                                      at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:311)
                                      at net.minecraft.client.Minecraft.startGame(Minecraft.java:597)
                                      
                                      -- Initialization --
                                      Details:
                                      Stacktrace:
                                      at net.minecraft.client.Minecraft.run(Minecraft.java:942)
                                      at net.minecraft.client.main.Main.main(Main.java:164)
                                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                      at java.lang.reflect.Method.invoke(Method.java:606)
                                      at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
                                      at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
                                      at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
                                      at GradleStart.main(Unknown Source)
                                      
                                      -- System Details --
                                      Details:
                                      Minecraft Version: 1.7.10
                                      Operating System: Windows 8.1 (amd64) version 6.3
                                      Java Version: 1.7.0_79, Oracle Corporation
                                      Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                                      Memory: 108506488 bytes (103 MB) / 475529216 bytes (453 MB) up to 1897922560 bytes (1810 MB)
                                      JVM Flags: 0 total;
                                      AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
                                      IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
                                      FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 4 mods loaded, 4 mods active
                                      States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
                                      UCHI mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
                                      UCHI FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar)
                                      UCHI Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar)
                                      UCHE CookieJar{1.0.0} [Cookie Jar] (bin)
                                      GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 364.72' Renderer: 'GeForce GTX 970/PCIe/SSE2'
                                      Launched Version: 1.7.10
                                      LWJGL: 2.9.1
                                      OpenGL: GeForce GTX 970/PCIe/SSE2 GL version 4.5.0 NVIDIA 364.72, NVIDIA Corporation
                                      GL Caps: Using GL 1.3 multitexturing.
                                      Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
                                      Anisotropic filtering is supported and maximum anisotropy is 16.
                                      Shaders are available because OpenGL 2.1 is supported.
                                      
                                      Is Modded: Definitely; Client brand changed to 'fml,forge'
                                      Type: Client (map_client.txt)
                                      Resource Packs: []
                                      Current Language: English (UK)
                                      Profiler Position: N/A (disabled)
                                      Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
                                      Anisotropic Filtering: Off (1)
                                      [15:40:54] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Utilisateur\Desktop\Modding\Forge 1.7.10\eclipse\.\crash-reports\crash-2016-06-12_15.40.54-client.txt
                                      AL lib: (EE) alc_cleanup: 1 device not closed
                                      
                                      
                                      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,
                                        Ton instance est surement null.

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

                                          Bonjour,

                                          ce tutoriel a-t-il une chance de fonctionner en 1.11? Difficile de trouver des tutos 1.11 et je débute alors…

                                          Merci d’avance

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

                                            Etant donné que les entités n’ont pas tellement changé depuis la 1.7.10, oui ça devrait aller, il y aura forcément quelques changements mais globalement ça restera la même chose.

                                            Si je vous ai aidé, n'oubliez pas d’être heureux, j'aiderai encore +

                                            AymericRed, moddeur expérimenté qui aide sur ce forum et qui peut accepter de faire un mod Forge rémunéré de temps en temps.

                                            Mes tutos : Table de craft, plugin NEI, plugin JEI, modifier l'overlay
                                            Je suis un membre apprécié et joueur, j'ai déjà obtenu 6 points de réputation.

                                            1 réponse Dernière réponse Répondre Citer 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 9
                                            • 10
                                            • 4 / 10
                                            • Premier message
                                              Dernier message
                                            Design by Woryk
                                            ContactMentions Légales

                                            MINECRAFT FORGE FRANCE © 2024

                                            Powered by NodeBB