MFF

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

    Créer une table de craft compatible avec JEI et NEI

    Planifier Épinglé Verrouillé Déplacé Les interfaces (GUI) et les container
    1.8.91.9.x
    90 Messages 11 Publieurs 23.4k Vues 3 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.
    • AymericRedA Hors-ligne
      AymericRed
      dernière édition par

      Tu as modifié la classe TutorielShapedRecipes (à part retirer getRemainingItems) ? Il y a un problème ligne 61, montre la classe si tu trouves pas.

      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
      • leo01418L Hors-ligne
        leo01418
        dernière édition par

        ma classe x)

        http://pastebin.com/gPjpfXaZ

        mais au faite j’ai modifié pas mal de chose car elles sont pas disponible en 1.7.10 😉

        Merci de ton aide 🙂

        Voila ma signature

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

          for (int i = 0; i <= this.recipeWidth - this.recipeWidth; ++i)
          {
          for (int j = 0; j <= ((IBlockAccess) inv).getHeight() - this.recipeHeight; ++j)//Ligne 61
          {
          

          Première ligne : remplace le premier this.recipeWidth par inv.width (ou getWidth()) sinon ça ne marchera pas.
          Troisième ligne : whhaaatttt ?? Et eclipse est d’accord ? IBlockAccess et InventoryCrafting sont totalement différent, je ne comprends pas ce qui t’a fait mettre ça… remplace par la même chose que la première ligne, mais cette fois ci avec height et pas width.

          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
          • leo01418L Hors-ligne
            leo01418
            dernière édition par

            Re 🙂

            Excuse j’avais pas vu ton commentaire x).

            Donc j’ai essaye de [font=Ubuntu, sans-serif inv.width (ou getWidth()) mais pourquoi cela n’existe pas (peut être ma version de forge )]

            [font=Ubuntu, sans-serifJe voudrais te remercié de m’avoir suivis pour passé le code de 1.8 ou 1.9 à 1.7.10][size=small ][size=small:)]

            Voila ma signature

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

              Alors c’est que les variables ne sont pas visibles, tu dois remplacer par les variables de largeur (width) et hauteur (height) de craft que tu as dans ton Container, le seul truc est que si tu as une autre table avec une taille de craft différente, tu devras refaire les classes de recette.

              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
              • leo01418L Hors-ligne
                leo01418
                dernière édition par

                Comme cela?

                package ed.enderdeath.mod.AnvilDragon;
                
                import java.util.ArrayList;
                import java.util.List;
                
                import com.google.common.collect.Lists;
                
                import net.minecraft.inventory.InventoryCrafting;
                import net.minecraft.item.ItemStack;
                import net.minecraft.item.crafting.IRecipe;
                import net.minecraft.nbt.NBTTagCompound;
                import net.minecraft.world.IBlockAccess;
                import net.minecraft.world.World;
                import net.minecraftforge.common.ForgeHooks;
                import net.minecraftforge.oredict.OreDictionary;
                
                public class TutorielShapedRecipes implements IRecipe
                
                {  /** How many horizontal slots this recipe is wide. */
                  public final int recipeWidth;
                  /** How many vertical slots this recipe uses. */
                  public final int recipeHeight;
                  /** Is a array of ItemStack that composes the recipe. */
                  public final Object[] recipeItems;
                  /** Is the ItemStack that you get when craft the recipe. */
                  private final ItemStack recipeOutput;
                  private boolean copyIngredientNBT;
                private ContainerDragonAnvil con;
                
                  public TutorielShapedRecipes(int width, int height, Object[] items, ItemStack output)
                  {
                      this.recipeWidth = width;
                      this.recipeHeight = height;
                      this.recipeItems = items;
                      this.recipeOutput = output;
                  }
                
                  public ItemStack getRecipeOutput()
                  {
                      return this.recipeOutput;
                  }
                
                  public ItemStack[] getRemainingItems(InventoryCrafting inv)
                  {
                      ItemStack[] aitemstack = new ItemStack[inv.getSizeInventory()];
                      for (int i = 0; i < aitemstack.length; ++i)
                      {
                          ItemStack itemstack = inv.getStackInSlot(i);
                          aitemstack* = recipeOutput.getItem().getContainerItem(recipeOutput);
                      }
                      return aitemstack;
                  }
                
                  /**
                   * Used to check if a recipe matches current crafting inventory
                   * Retourne true si la recette correspond à la matrice donnée (le craft que le joueur a fait)
                   */
                  public boolean matches(InventoryCrafting inv, World worldIn)
                  {
                      for (int i = 0; i <= con.craftWidth - this.recipeWidth; ++i)
                      {
                          for (int j = 0; j <= con.craftHeigth - this.recipeHeight; ++j)
                          {
                              if (this.checkMatch(inv, i, j, true))
                              {
                                  return true;
                              }
                              if (this.checkMatch(inv, i, j, false))
                              {
                                  return true;
                              }
                          }
                      }
                      return false;
                  }
                
                  /**
                   * Checks if the region of a crafting inventory is match for the recipe.
                   * Compare deux parties du craft
                   */
                  private boolean checkMatch(InventoryCrafting inv, int regionX, int regionY, boolean mirror)
                  {
                    for (int x = 0 ; x < con.craftWidth ; ++x)
                      {
                          for (int y = 0 ; y < con.craftHeigth ; ++y)
                          {
                              int x1 = x - regionX;
                              int y1 = y - regionY;
                              Object patternStack = null;
                              if (x1 >= 0 && y1 >= 0 && x1 < this.recipeWidth && y1 < this.recipeHeight)
                              {
                               if (mirror) 
                               patternStack = this.recipeItems[this.recipeWidth - x1 - 1 + y1 * this.recipeWidth];
                               else
                               patternStack = this.recipeItems[x1 + y1 * this.recipeWidth];
                               if(patternStack instanceof String)
                               {
                               List <itemstack>stacks = OreDictionary.getOres((String) patternStack);
                               boolean matches = false;
                               for(ItemStack stack : stacks)
                               {
                               if(areItemStacksEquals(stack, inv.getStackInRowAndColumn(x, y))) //If the pattern's stack doesn't match with the stack in the inv crafting
                               {
                               matches = true;
                               }
                               }
                               if(!matches)
                               return false;
                               }
                               else if(!areItemStacksEquals((ItemStack) patternStack, inv.getStackInRowAndColumn(x, y)))
                               {
                               return false;
                               }
                              }
                          }
                      }
                      return true;
                  }
                
                  /**
                   * Compare les deux stacks
                   */
                  public static boolean areItemStacksEquals(ItemStack stack1, ItemStack stack2)
                  {
                   if(stack1 == null || stack2 == null) return stack1 == stack2;
                   return stack1.getItem() == stack2.getItem() && (stack1.getItemDamage() == OreDictionary.WILDCARD_VALUE || stack1.getItemDamage() == stack2.getItemDamage());
                  }
                
                  /**
                   * Returns an Item that is the result of this recipe
                   */
                  public ItemStack getCraftingResult(InventoryCrafting inv)
                  {
                      ItemStack itemstack = this.getRecipeOutput().copy();
                      if (this.copyIngredientNBT)
                      {
                          for (int i = 0; i < inv.getSizeInventory(); ++i)
                          {
                              ItemStack itemstack1 = inv.getStackInSlot(i);
                              if (itemstack1 != null && itemstack1.hasTagCompound())
                              {
                                  itemstack.setTagCompound((NBTTagCompound)itemstack1.getTagCompound().copy());
                              }
                          }
                      }
                      return itemstack;
                  }
                
                  /**
                   * Returns the size of the recipe area
                   */
                  public int getRecipeSize()
                  {
                      return this.recipeWidth * this.recipeHeight;
                  }
                
                  /**
                   * Set this crafting recipe to copy the NBT tag compound of the last ItemStack that has one in the crafting table.
                   */
                  public TutorielShapedRecipes setCopyIngredientNBT()
                  {
                      this.copyIngredientNBT = true;
                      return this;
                  }
                
                }
                
                ```</itemstack>

                Voila ma signature

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

                  “con” des insultes même dans le code ^^
                  Oui c’est ça mais tétais pas obligé de créer une variable, d’ailleurs il faut que tu l’initialises.

                  Envoyé de mon RAINBOW LITE 4G en utilisant Tapatalk

                  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
                  • leo01418L Hors-ligne
                    leo01418
                    dernière édition par

                    @‘AymericRed’:

                    “con” des insultes même dans le code ^^
                    Oui c’est ça mais tétais pas obligé de créer une variable, d’ailleurs il faut que tu l’initialises.

                    Envoyé de mon RAINBOW LITE 4G en utilisant Tapatalk

                    xD je te jure j’ai pas fait exprès 
                    Je vais l’initialises la variable tout de suite :)___et pour la variable je peux directement la mettre dans la classe TutorielShapedRecipes???

                    Voila ma signature

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

                      Tu peux la mettre partout mais de toute façon du n’en n’a pas besoin, tu peux directement mettre ContainerCrafingTable.craftWidth et ContainerCrafingTable.craftHeight dans ton for.

                      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
                      • leo01418L Hors-ligne
                        leo01418
                        dernière édition par

                        j’ai un crash quand j’essaie de l’ouvrir

                        [15:58:46] [main/INFO] [GradleStart]: Extra: []
                        [15:58:46] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/Eric/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
                        [15:58:46] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                        [15:58:46] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                        [15:58:46] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
                        [15:58:46] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
                        [15:58:46] [main/INFO] [FML]: Forge Mod Loader version 7.99.36.1558 for Minecraft 1.7.10 loading
                        [15:58:46] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.8.0_91, running on Windows 8.1:x86:6.3, installed at C:\Program Files (x86)\Java\jre1.8.0_91
                        [15:58:46] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
                        [15:58:46] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
                        [15:58:46] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
                        [15:58:46] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
                        [15:58:46] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                        [15:58:46] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
                        [15:58:46] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
                        [15:58:46] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                        [15:58:46] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                        [15:58:46] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                        [15:58:47] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
                        [15:58:49] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
                        [15:58:49] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                        [15:58:49] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
                        [15:58:50] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
                        [15:58:50] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
                        [15:58:50] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
                        [15:58:51] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
                        [15:59:02] [main/INFO]: Setting user: Player230
                        [15:59:11] [Client thread/INFO]: LWJGL Version: 2.9.1
                        [15:59:23] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: –-- Minecraft Crash Report ----
                        // On the bright side, I bought you a teddy bear!
                        
                        Time: 06/07/16 15:59
                        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 (x86) version 6.3
                        Java Version: 1.8.0_91, Oracle Corporation
                        Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
                        Memory: 970133536 bytes (925 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB)
                        JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
                        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 350.12' Renderer: 'GeForce GTX 745/PCIe/SSE2'
                        [15:59:23] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
                        [15:59:23] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1558 Initialized
                        [15:59:23] [Client thread/INFO] [FML]: Replaced 183 ore recipies
                        [15:59:25] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
                        [15:59:32] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
                        [15:59:32] [Client thread/INFO] [FML]: Searching C:\Users\Eric\Desktop\EnderMod\eclipse\mods for mods
                        [16:01:28] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
                        [16:01:44] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, enderdeath] at CLIENT
                        [16:01:44] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, enderdeath] at SERVER
                        [16:01:48] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:leo01418
                        [16:01:48] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
                        [16:01:48] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
                        [16:01:48] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
                        [16:01:48] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
                        [16:01:49] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
                        [16:01:49] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.common.enderdeath:preInit:497]: preInit
                        [16:01:50] [Client thread/INFO] [FML]: Applying holder lookups
                        [16:01:50] [Client thread/INFO] [FML]: Holder lookups applied
                        [16:01:50] [Client thread/INFO] [FML]: Injecting itemstacks
                        [16:01:50] [Client thread/INFO] [FML]: Itemstack injection complete
                        [16:01:50] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                        [16:01:50] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
                        [16:01:50] [Thread-7/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
                        [16:01:50] [Thread-7/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
                        [16:01:56] [Thread-7/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
                        [16:01:56] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                        [16:01:56] [Sound Library Loader/INFO]: Sound engine started
                        [16:04:03] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas
                        [16:04:03] [Client thread/INFO]: Created: 16x16 textures/items-atlas
                        [16:04:03] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.proxy.ClientProxy:registerRender:56]: client
                        [16:04:06] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.common.enderdeath:init:1846]: init
                        [16:04:07] [Client thread/INFO] [FML]: Injecting itemstacks
                        [16:04:07] [Client thread/INFO] [FML]: Itemstack injection complete
                        [16:04:08] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
                        [16:04:08] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:leo01418
                        [16:04:16] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
                        [16:04:20] [Client thread/INFO]: Created: 512x512 textures/items-atlas
                        [16:04:20] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                        [16:04:20] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
                        [16:04:21] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
                        [16:04:21] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                        [16:04:21] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                        [16:04:21] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
                        [16:04:22] [Thread-9/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
                        [16:04:22] [Thread-9/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
                        [16:04:23] [Thread-9/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
                        [16:04:23] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                        [16:04:23] [Sound Library Loader/INFO]: Sound engine started
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:   DOMAIN minecraft
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]: –------------------------------------------------
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:   domain minecraft is missing 2 textures
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:     domain minecraft has 3 locations:
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:       unknown resourcepack type net.minecraft.client.resources.DefaultResourcePack : Default
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:       mod FML resources at C:\Users\Eric\.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.4.1558-1.7.10\forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:       mod Forge resources at C:\Users\Eric\.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.4.1558-1.7.10\forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:     The missing resources for domain minecraft are:
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/MISSING_ICON_BLOCK_212_MachineBaie.png
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/MISSING_ICON_BLOCK_183_null.png
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:     No other errors exist for domain minecraft
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:   DOMAIN enderdeath
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]: –------------------------------------------------
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:   domain enderdeath is missing 6 textures
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:     domain enderdeath has 1 location:
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:       mod enderdeath resources at C:\Users\Eric\Desktop\EnderMod\bin
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:     The missing resources for domain enderdeath are:
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/SlowBlock.png
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/Dragoneyes.png
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/BoatTnt.png
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/InvisibleBlock.png
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/bow_pull0.png
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/StickJump.png
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]:     No other errors exist for domain enderdeath
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
                        [16:04:25] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
                        [16:04:48] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10
                        [16:04:48] [Server thread/INFO]: Generating keypair
                        [16:04:49] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
                        [16:04:49] [Server thread/INFO] [FML]: Applying holder lookups
                        [16:04:49] [Server thread/INFO] [FML]: Holder lookups applied
                        [16:04:49] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@135d08a)
                        [16:04:49] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@135d08a)
                        [16:04:49] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@135d08a)
                        [16:04:49] [Server thread/INFO]: Preparing start region for level 0
                        [16:04:50] [Server thread/INFO]: Preparing spawn area: 21%
                        [16:04:51] [Server thread/INFO]: Changing view distance to 8, from 10
                        [16:04:55] [Netty Client IO #0/INFO] [FML]: Server protocol version 2
                        [16:04:56] [Netty IO #1/INFO] [FML]: Client protocol version 2
                        [16:04:56] [Netty Client IO #0/INFO] [FML]: Unexpected packet during modded negotiation - assuming vanilla or keepalives : net.minecraft.network.play.server.S00PacketKeepAlive
                        [16:04:56] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : FML@7.10.99.99,Forge@10.13.4.1558,enderdeath@1.0,mcp@9.05
                        [16:04:56] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT
                        [16:04:56] [Netty IO #1/INFO] [FML]: Unexpected packet during modded negotiation - assuming vanilla or keepalives : net.minecraft.network.play.client.C00PacketKeepAlive
                        [16:04:56] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER
                        [16:04:56] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established
                        [16:04:56] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
                        [16:04:56] [Server thread/INFO]: Player230[local:E:63ca7129] logged in with entity id 228 at (541.2380364402376, 4.0, 133.20192248695642)
                        [16:04:56] [Server thread/INFO]: Player230 joined the game
                        [16:05:04] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 7360ms behind, skipping 147 tick(s)
                        [16:05:06] [Server thread/INFO]: Saving and pausing game…
                        [16:05:07] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
                        [16:05:07] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
                        [16:05:07] [Server thread/INFO]: Saving chunks for level 'New World'/The End
                        [16:05:33] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.AnvilDragon.BlockAnvilDragon:onBlockActivated:21]: je suis dans le onblockactivated
                        [16:05:33] [Server thread/INFO] [STDOUT]: [ed.enderdeath.mod.AnvilDragon.BlockAnvilDragon:onBlockActivated:21]: je suis dans le onblockactivated
                        [16:05:33] [Server thread/INFO] [STDOUT]: [ed.enderdeath.mod.AnvilDragon.BlockAnvilDragon:onBlockActivated:24]: je suis dans la condition world.IsRemote
                        [16:05:33] [Server thread/INFO]: Stopping server
                        [16:05:33] [Server thread/INFO]: Saving players
                        [16:05:34] [Server thread/INFO]: Saving worlds
                        [16:05:34] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
                        [16:05:34] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
                        [16:05:34] [Server thread/INFO]: Saving chunks for level 'New World'/The End
                        [16:05:34] [Server thread/INFO] [FML]: Unloading dimension 0
                        [16:05:34] [Server thread/INFO] [FML]: Unloading dimension -1
                        [16:05:34] [Server thread/INFO] [FML]: Unloading dimension 1
                        [16:05:35] [Server thread/INFO] [FML]: Applying holder lookups
                        [16:05:35] [Server thread/INFO] [FML]: Holder lookups applied
                        [16:05:35] [Client thread/FATAL]: Unreported exception thrown!
                        java.lang.ExceptionInInitializerError
                        at ed.enderdeath.mod.AnvilDragon.ContainerDragonAnvil.onCraftMatrixChanged(ContainerDragonAnvil.java:79) ~[ContainerDragonAnvil.class:?]
                        at net.minecraft.inventory.InventoryCrafting.setInventorySlotContents(InventoryCrafting.java:132) ~[InventoryCrafting.class:?]
                        at net.minecraft.inventory.Slot.putStack(Slot.java:104) ~[Slot.class:?]
                        at net.minecraft.inventory.Container.putStacksInSlots(Container.java:558) ~[Container.class:?]
                        at net.minecraft.client.network.NetHandlerPlayClient.handleWindowItems(NetHandlerPlayClient.java:1202) ~[NetHandlerPlayClient.class:?]
                        at net.minecraft.network.play.server.S30PacketWindowItems.processPacket(S30PacketWindowItems.java:70) ~[S30PacketWindowItems.class:?]
                        at net.minecraft.network.play.server.S30PacketWindowItems.processPacket(S30PacketWindowItems.java:78) ~[S30PacketWindowItems.class:?]
                        at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241) ~[NetworkManager.class:?]
                        at net.minecraft.client.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:317) ~[PlayerControllerMP.class:?]
                        at net.minecraft.client.Minecraft.runTick(Minecraft.java:1693) ~[Minecraft.class:?]
                        at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1039) ~[Minecraft.class:?]
                        at net.minecraft.client.Minecraft.run(Minecraft.java:962) [Minecraft.class:?]
                        at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
                        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                        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/:?]
                        Caused by: java.lang.NullPointerException
                        at ed.enderdeath.mod.AnvilDragon.TutorielCraftingManager.<init>(TutorielCraftingManager.java:32) ~[TutorielCraftingManager.class:?]
                        at ed.enderdeath.mod.AnvilDragon.TutorielCraftingManager.<clinit>(TutorielCraftingManager.java:20) ~[TutorielCraftingManager.class:?]
                        … 21 more
                        [16:05:35] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ----
                        // I just don't know what went wrong :(
                        
                        Time: 06/07/16 16:05
                        Description: Unexpected error
                        
                        java.lang.ExceptionInInitializerError
                        at ed.enderdeath.mod.AnvilDragon.ContainerDragonAnvil.onCraftMatrixChanged(ContainerDragonAnvil.java:79)
                        at net.minecraft.inventory.InventoryCrafting.setInventorySlotContents(InventoryCrafting.java:132)
                        at net.minecraft.inventory.Slot.putStack(Slot.java:104)
                        at net.minecraft.inventory.Container.putStacksInSlots(Container.java:558)
                        at net.minecraft.client.network.NetHandlerPlayClient.handleWindowItems(NetHandlerPlayClient.java:1202)
                        at net.minecraft.network.play.server.S30PacketWindowItems.processPacket(S30PacketWindowItems.java:70)
                        at net.minecraft.network.play.server.S30PacketWindowItems.processPacket(S30PacketWindowItems.java:78)
                        at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241)
                        at net.minecraft.client.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:317)
                        at net.minecraft.client.Minecraft.runTick(Minecraft.java:1693)
                        at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1039)
                        at net.minecraft.client.Minecraft.run(Minecraft.java:962)
                        at net.minecraft.client.main.Main.main(Main.java:164)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                        at java.lang.reflect.Method.invoke(Unknown Source)
                        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)
                        Caused by: java.lang.NullPointerException
                        at ed.enderdeath.mod.AnvilDragon.TutorielCraftingManager.<init>(TutorielCraftingManager.java:32)
                        at ed.enderdeath.mod.AnvilDragon.TutorielCraftingManager.<clinit>(TutorielCraftingManager.java:20)
                        ... 21 more
                        
                        A detailed walkthrough of the error, its code path and all known details is as follows:
                        ---------------------------------------------------------------------------------------
                        
                        -- Head --
                        Stacktrace:
                        at ed.enderdeath.mod.AnvilDragon.ContainerDragonAnvil.onCraftMatrixChanged(ContainerDragonAnvil.java:79)
                        at net.minecraft.inventory.InventoryCrafting.setInventorySlotContents(InventoryCrafting.java:132)
                        at net.minecraft.inventory.Slot.putStack(Slot.java:104)
                        at net.minecraft.inventory.Container.putStacksInSlots(Container.java:558)
                        at net.minecraft.client.network.NetHandlerPlayClient.handleWindowItems(NetHandlerPlayClient.java:1202)
                        at net.minecraft.network.play.server.S30PacketWindowItems.processPacket(S30PacketWindowItems.java:70)
                        at net.minecraft.network.play.server.S30PacketWindowItems.processPacket(S30PacketWindowItems.java:78)
                        at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241)
                        at net.minecraft.client.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:317)
                        
                        -- Affected level --
                        Details:
                        Level name: MpServer
                        All players: 1 total; [EntityClientPlayerMP['Player230'/228, l='MpServer', x=541,24, y=5,62, z=133,20]]
                        Chunk stats: MultiplayerChunkCache: 289, 289
                        Level seed: 0
                        Level generator: ID 01 - flat, ver 0\. Features enabled: false
                        Level generator options: 
                        Level spawn location: World: (543,4,135), Chunk: (at 15,0,7 in 33,8; contains blocks 528,0,128 to 543,255,143), Region: (1,0; contains chunks 32,0 to 63,31, blocks 512,0,0 to 1023,255,511)
                        Level time: 7874 game time, 7874 day time
                        Level dimension: 0
                        Level storage version: 0x00000 - Unknown?
                        Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
                        Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
                        Forced entities: 103 total; [EntitySheep['Sheep'/38, l='MpServer', x=462,44, y=4,00, z=66,84], EntityChicken['Chicken'/43, l='MpServer', x=462,56, y=4,00, z=149,88], EntityChicken['Chicken'/44, l='MpServer', x=464,47, y=4,00, z=155,47], EntityHorse['Horse'/53, l='MpServer', x=463,06, y=4,00, z=177,78], EntityHorse['Donkey'/55, l='MpServer', x=471,13, y=4,00, z=61,03], EntitySheep['Sheep'/56, l='MpServer', x=476,75, y=4,00, z=75,19], EntitySheep['Sheep'/57, l='MpServer', x=468,66, y=4,00, z=72,94], EntityHorse['Donkey'/58, l='MpServer', x=471,16, y=4,00, z=64,84], EntityHorse['Donkey'/59, l='MpServer', x=465,44, y=4,00, z=69,25], EntityPig['Pig'/60, l='MpServer', x=466,84, y=4,00, z=68,13], EntityPig['Pig'/61, l='MpServer', x=467,72, y=4,00, z=74,47], EntitySheep['Sheep'/62, l='MpServer', x=465,84, y=4,00, z=83,81], EntitySheep['Sheep'/63, l='MpServer', x=466,94, y=4,00, z=143,19], EntityHorse['Horse'/64, l='MpServer', x=466,50, y=4,00, z=146,50], EntityHorse['Horse'/65, l='MpServer', x=464,13, y=4,00, z=150,75], EntityHorse['Horse'/66, l='MpServer', x=466,00, y=4,00, z=156,25], EntityChicken['Chicken'/67, l='MpServer', x=464,47, y=4,00, z=144,47], EntityHorse['Horse'/68, l='MpServer', x=468,91, y=4,00, z=161,25], EntityCow['Cow'/69, l='MpServer', x=472,50, y=4,00, z=191,50], EntityCow['Cow'/70, l='MpServer', x=472,91, y=4,00, z=184,50], EntityCow['Cow'/71, l='MpServer', x=485,97, y=4,00, z=186,94], EntityHorse['Horse'/72, l='MpServer', x=474,06, y=4,00, z=189,06], EntityHorse['Horse'/73, l='MpServer', x=468,50, y=4,00, z=176,50], EntityPig['Pig'/74, l='MpServer', x=477,59, y=4,00, z=188,09], EntityPig['Pig'/75, l='MpServer', x=472,47, y=4,00, z=192,63], EntityPig['Pig'/76, l='MpServer', x=472,13, y=4,00, z=194,41], EntityVillager['Villager'/77, l='MpServer', x=474,13, y=4,00, z=211,88], EntityChicken['Chicken'/84, l='MpServer', x=493,44, y=4,00, z=66,88], EntityVillager['Villager'/85, l='MpServer', x=492,09, y=4,00, z=202,28], EntityVillager['Villager'/86, l='MpServer', x=483,97, y=5,00, z=208,22], EntityVillager['Villager'/87, l='MpServer', x=482,50, y=5,00, z=211,47], EntityChicken['Chicken'/91, l='MpServer', x=506,41, y=4,00, z=60,44], EntitySheep['Sheep'/92, l='MpServer', x=508,91, y=4,00, z=59,81], EntityHorse['Horse'/93, l='MpServer', x=507,88, y=4,00, z=61,91], EntitySheep['Sheep'/95, l='MpServer', x=506,22, y=4,00, z=72,81], EntitySheep['Sheep'/96, l='MpServer', x=498,78, y=4,00, z=61,19], EntityChicken['Chicken'/97, l='MpServer', x=501,38, y=4,00, z=63,88], EntityPig['Pig'/98, l='MpServer', x=501,09, y=4,00, z=99,94], EntityPig['Pig'/99, l='MpServer', x=511,09, y=4,00, z=114,88], EntityVillager['Villager'/100, l='MpServer', x=504,91, y=4,00, z=202,66], EntityVillager['Villager'/101, l='MpServer', x=506,56, y=4,00, z=201,97], EntityVillager['Villager'/102, l='MpServer', x=493,59, y=4,00, z=207,69], EntityVillager['Villager'/104, l='MpServer', x=504,66, y=5,00, z=210,66], EntityVillager['Villager'/106, l='MpServer', x=509,16, y=4,00, z=211,28], EntityHorse['Horse'/108, l='MpServer', x=513,13, y=4,00, z=56,13], EntityHorse['Donkey'/109, l='MpServer', x=527,47, y=4,00, z=52,22], EntityHorse['Horse'/110, l='MpServer', x=517,88, y=4,00, z=56,50], EntityChicken['Chicken'/111, l='MpServer', x=513,56, y=4,00, z=110,44], EntityChicken['Chicken'/112, l='MpServer', x=517,44, y=4,00, z=105,31], EntityChicken['Chicken'/113, l='MpServer', x=518,47, y=4,00, z=108,44], EntityPig['Pig'/114, l='MpServer', x=520,09, y=4,00, z=109,03], EntitySheep['Sheep'/115, l='MpServer', x=523,81, y=4,00, z=108,81], EntityChicken['Chicken'/116, l='MpServer', x=515,59, y=4,00, z=109,81], EntitySheep['Sheep'/117, l='MpServer', x=523,31, y=4,00, z=103,09], EntityPig['Pig'/118, l='MpServer', x=516,38, y=4,00, z=113,81], EntityCow['Cow'/119, l='MpServer', x=521,06, y=4,00, z=154,94], EntitySheep['Sheep'/120, l='MpServer', x=519,06, y=4,00, z=169,50], EntityCow['Cow'/121, l='MpServer', x=522,38, y=4,00, z=155,66], EntitySheep['Sheep'/122, l='MpServer', x=529,69, y=4,00, z=164,34], EntityVillager['Villager'/124, l='MpServer', x=513,50, y=4,00, z=212,22], EntityChicken['Chicken'/129, l='MpServer', x=543,44, y=4,00, z=63,38], EntityHorse['Horse'/130, l='MpServer', x=539,85, y=4,00, z=59,20], EntityHorse['Horse'/131, l='MpServer', x=538,65, y=4,00, z=60,82], EntityHorse['Horse'/132, l='MpServer', x=536,03, y=4,00, z=60,53], EntityHorse['Horse'/133, l='MpServer', x=532,38, y=4,00, z=61,09], EntityChicken['Chicken'/135, l='MpServer', x=540,81, y=4,00, z=61,94], EntityChicken['Chicken'/137, l='MpServer', x=530,44, y=4,00, z=54,59], EntitySheep['Sheep'/138, l='MpServer', x=537,16, y=4,00, z=103,50], EntitySheep['Sheep'/139, l='MpServer', x=539,72, y=4,00, z=104,59], EntitySheep['Sheep'/140, l='MpServer', x=535,38, y=4,00, z=165,13], EntitySheep['Sheep'/141, l='MpServer', x=530,81, y=5,00, z=170,19], EntityCow['Cow'/142, l='MpServer', x=529,97, y=4,00, z=162,09], EntitySheep['Sheep'/168, l='MpServer', x=565,53, y=4,00, z=189,59], EntitySheep['Sheep'/169, l='MpServer', x=564,06, y=4,00, z=191,94], EntitySheep['Sheep'/170, l='MpServer', x=566,66, y=4,00, z=188,50], EntityPig['Pig'/171, l='MpServer', x=565,19, y=4,00, z=187,06], EntityCow['Cow'/172, l='MpServer', x=568,56, y=4,00, z=197,06], EntityPig['Pig'/173, l='MpServer', x=571,91, y=4,00, z=198,03], EntitySheep['Sheep'/179, l='MpServer', x=577,94, y=4,00, z=55,91], EntitySheep['Sheep'/180, l='MpServer', x=583,19, y=4,00, z=55,72], EntitySheep['Sheep'/181, l='MpServer', x=588,72, y=4,00, z=56,06], EntityChicken['Chicken'/183, l='MpServer', x=580,56, y=4,00, z=69,81], EntityChicken['Chicken'/184, l='MpServer', x=578,81, y=4,00, z=66,91], EntitySheep['Sheep'/185, l='MpServer', x=590,22, y=4,00, z=177,63], EntityPig['Pig'/186, l='MpServer', x=585,97, y=4,00, z=184,94], EntityCow['Cow'/187, l='MpServer', x=578,88, y=4,00, z=187,94], EntityPig['Pig'/188, l='MpServer', x=577,19, y=4,00, z=193,91], EntityPig['Pig'/190, l='MpServer', x=593,25, y=4,00, z=63,19], EntityPig['Pig'/191, l='MpServer', x=595,06, y=4,00, z=55,94], EntityChicken['Chicken'/192, l='MpServer', x=593,31, y=4,00, z=65,25], EntityPig['Pig'/193, l='MpServer', x=598,28, y=4,00, z=74,84], EntitySheep['Sheep'/194, l='MpServer', x=602,16, y=4,00, z=67,81], EntitySheep['Sheep'/195, l='MpServer', x=594,25, y=4,00, z=173,94], EntitySheep['Sheep'/196, l='MpServer', x=597,78, y=4,00, z=171,84], EntityCow['Cow'/197, l='MpServer', x=597,28, y=4,00, z=168,28], EntitySheep['Sheep'/198, l='MpServer', x=604,31, y=4,00, z=167,22], EntitySheep['Sheep'/199, l='MpServer', x=598,41, y=4,00, z=174,47], EntitySheep['Sheep'/200, l='MpServer', x=599,50, y=4,00, z=188,59], EntitySheep['Sheep'/201, l='MpServer', x=601,28, y=4,00, z=177,75], EntitySheep['Sheep'/202, l='MpServer', x=599,09, y=4,00, z=180,88], EntityCow['Cow'/203, l='MpServer', x=594,22, y=4,00, z=178,09], EntityCow['Cow'/204, l='MpServer', x=593,06, y=4,00, z=184,09], EntityClientPlayerMP['Player230'/228, l='MpServer', x=541,24, y=5,62, z=133,20]]
                        Retry entities: 0 total; []
                        Server brand: fml,forge
                        Server type: Integrated singleplayer server
                        Stacktrace:
                        at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415)
                        at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2566)
                        at net.minecraft.client.Minecraft.run(Minecraft.java:991)
                        at net.minecraft.client.main.Main.main(Main.java:164)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                        at java.lang.reflect.Method.invoke(Unknown Source)
                        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 (x86) version 6.3
                        Java Version: 1.8.0_91, Oracle Corporation
                        Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
                        Memory: 748668632 bytes (713 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB)
                        JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
                        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.1558 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
                        UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
                        UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar) 
                        UCHIJAAAA Forge{10.13.4.1558} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar) 
                        UCHIJAAAA enderdeath{1.0} [leo01418] (bin) 
                        GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 350.12' Renderer: 'GeForce GTX 745/PCIe/SSE2'
                        Launched Version: 1.7.10
                        LWJGL: 2.9.1
                        OpenGL: GeForce GTX 745/PCIe/SSE2 GL version 4.5.0 NVIDIA 350.12, 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: [Myz_Pack_20150121.zip]
                        Current Language: English (US)
                        Profiler Position: N/A (disabled)
                        Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
                        Anisotropic Filtering: Off (1)
                        [16:05:36] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Eric\Desktop\EnderMod\eclipse\.\crash-reports\crash-2016-07-06_16.05.35-client.txt
                        AL lib: (EE) alc_cleanup: 1 device not closed
                        Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
                        ```</clinit></init></clinit></init>

                        Voila ma signature

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

                          Montre la fonction onCraftMatrixChanged de ton Container (j’ai regardé sur le pastebin que tu as fait hier mais les lignes ne correspondent pas).

                          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
                          • leo01418L Hors-ligne
                            leo01418
                            dernière édition par

                            tient 🙂

                            @Override
                            public void onCraftMatrixChanged(IInventory iiventory)
                            {
                            //On met le résultat du craft dans le slot de résultat
                            craftResult.setInventorySlotContents(0, TutorielCraftingManager.getInstance().findMatchingRecipe(craftMatrix, worldObj));
                            }
                            

                            Voila ma signature

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

                              Ah j’avais mal lu le rapport, l’erreur est dans ton constructeur, le problème est que ceci : TutorielCraftingManager.getInstance() appelle le constructeur qui lui-même appele ceci : TutorielCraftingManager.getInstance(), il faut que tu retires les trois “TutorielCraftingManager.getInstance()” du constructeur.

                              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
                              • leo01418L Hors-ligne
                                leo01418
                                dernière édition par

                                J’ai donc fait 
                                sa 🙂

                                private TutorielCraftingManager()
                                  {
                                   addShapelessRecipe(new ItemStack(Blocks.anvil), Items.carrot, Items.golden_apple);
                                addRecipe(new ItemStack(cratingTable), " C ", "X X", " C ", 'C', "slabWood", 'X', Blocks.planks); //"slabWood" est le nom des dalles de bois dans l'ore dictionnary, ceci est ajouté par Forge
                                addRecipe(new ItemStack(Items.golden_apple), "A  A", "X  X", "X  X", "A  A", 'A', Items.carrot, 'X', Blocks.planks);
                                
                                  }
                                

                                Le crash est plus la mais maintenant quand je fais clique droit sur le block cela me fait rien x)
                                logs
                                [19:39:54] [Server thread/INFO] [STDOUT]: [ed.enderdeath.mod.AnvilDragon.BlockAnvilDragon:onBlockActivated:21]: je suis dans le onblockactivated

                                [19:39:54] [Server thread/INFO] [STDOUT]: [ed.enderdeath.mod.AnvilDragon.BlockAnvilDragon:onBlockActivated:24]: je suis dans la condition world.IsRemote

                                Voila ma signature

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

                                  ça ne devrait pas, vu qu’il s’ouvrait avant, mets des print un peu partout, dans le GuiHandler, les constructeurs du gui et du container, et si ils sont appelés, dans la fonction de draw.

                                  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
                                  • leo01418L Hors-ligne
                                    leo01418
                                    dernière édition par

                                    Merci de ta réponse 🙂
                                    donc j’ai mis des system.out
                                    et donc sa me affiche sa
                                    [17:48:36] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.AnvilDragon.BlockAnvilDragon:onBlockActivated:21]: je suis dans le onblockactivated
                                    [17:48:36] [Server thread/INFO] [STDOUT]: [ed.enderdeath.mod.AnvilDragon.BlockAnvilDragon:onBlockActivated:21]: je suis dans le onblockactivated
                                    [17:48:36] [Server thread/INFO] [STDOUT]: [ed.enderdeath.mod.AnvilDragon.BlockAnvilDragon:onBlockActivated:24]: je suis dans la condition world.IsRemote
                                    [17:48:36] [Server thread/INFO] [STDOUT]: [ed.enderdeath.mod.common.GuiHandler:getServerGuiElement:33]: Je suis dans le getServGuiElement
                                    [17:48:36] [Server thread/INFO] [STDOUT]: [ed.enderdeath.mod.common.GuiHandler:getServerGuiElement:36]: Je suis dans la condition container
                                    [17:48:36] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.common.GuiHandler:getClientGuiElement:45]: Je suis dans le getCLientGuiElement
                                    [17:48:36] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.common.GuiHandler:getClientGuiElement:57]: Je suis dans la condition gui

                                    et la je ne comprend plus rien car tout est bien appelé

                                    Merci de ton aide 😄

                                    Voila ma signature

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

                                      Oui c’est bizarre, il y a d’ailleurs un post semblable dans le support… As-tu essayé des print dans les constructeurs du gui et du container, et dans la fonction draw ?

                                      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
                                      • leo01418L Hors-ligne
                                        leo01418
                                        dernière édition par

                                        je l’ai fait 🙂
                                        [20:13:07] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.AnvilDragon.BlockAnvilDragon:onBlockActivated:21]: je suis dans le onblockactivated
                                        [20:13:07] [Server thread/INFO] [STDOUT]: [ed.enderdeath.mod.AnvilDragon.BlockAnvilDragon:onBlockActivated:21]: je suis dans le onblockactivated
                                        [20:13:07] [Server thread/INFO] [STDOUT]: [ed.enderdeath.mod.AnvilDragon.BlockAnvilDragon:onBlockActivated:24]: je suis dans la condition world.IsRemote
                                        [20:13:07] [Server thread/INFO] [STDOUT]: [ed.enderdeath.mod.common.GuiHandler:getServerGuiElement:33]: Je suis dans le getServGuiElement
                                        [20:13:07] [Server thread/INFO] [STDOUT]: [ed.enderdeath.mod.common.GuiHandler:getServerGuiElement:36]: Je suis dans la condition container
                                        [20:13:07] [Server thread/INFO] [STDOUT]: [ed.enderdeath.mod.AnvilDragon.ContainerDragonAnvil:<init>:39]: Test Container
                                        [20:13:07] [Server thread/INFO] [STDOUT]: [ed.enderdeath.mod.AnvilDragon.DragonSlotCrafting:<init>:35]: Test Slot
                                        [20:13:07] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.common.GuiHandler:getClientGuiElement:45]: Je suis dans le getCLientGuiElement
                                        [20:13:07] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.common.GuiHandler:getClientGuiElement:57]: Je suis dans la condition gui
                                        [20:13:07] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.AnvilDragon.ContainerDragonAnvil:<init>:39]: Test Container
                                        [20:13:07] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.AnvilDragon.DragonSlotCrafting:<init>:35]: Test Slot
                                        [20:13:07] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.AnvilDragon.GuiAnvilDragon:<init>:25]: Test Gui
                                        [20:13:07] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.AnvilDragon.TutorielCraftingManager:<init>:32]: Test CraftManager
                                        [20:13:07] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.AnvilDragon.TutorielShapelessRecipe:<init>:27]: Test ShapelessRecipe
                                        [20:13:07] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.AnvilDragon.TutorielShapedRecipes:<init>:45]: Test ShapedR
                                        [20:13:07] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.AnvilDragon.TutorielShapedRecipes:<init>:45]: Test ShapedR

                                        et sa affiche bien bizarree</init></init></init></init></init></init></init></init></init>

                                        Voila ma signature

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

                                          Tout est là, maintenant, enlève ces prints (on a vu que ça marchait) et mets-en 1 dans la fonction draw, si il n’est pas appelé, mais en un dans la fonction initGui() (créées la si tu ne l’as pas).

                                          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
                                          • leo01418L Hors-ligne
                                            leo01418
                                            dernière édition par

                                            la fonctions draw ou initgui de quel classe ?

                                            Voila ma signature

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

                                            MINECRAFT FORGE FRANCE © 2024

                                            Powered by NodeBB