MFF

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

    [1.8+/1.9+/1.10+][NEI] Créer un plugin NotEnoughItems pour sa table de craft/son four

    Planifier Épinglé Verrouillé Déplacé Tutoriels des membres
    53 Messages 8 Publieurs 14.9k Vues 2 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 robin4002

      Remplaces

      public Map getSmeltingList()
      {
          return this.smeltingList;
      }
      

      par

      public Map <ItemStack[], ItemStack>getSmeltingList()
      {
          return this.smeltingList;
      }
      

      et eclipse devrait t’afficher les erreurs, si tu ne trouves pas on voit sur le discord sera plus simple ^^

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

        Je trouve pas

        
        public Map getSmeltingList()
            {
                 return this.smeltingList;
            }
        
        

        Je peux pas venir sur le discord ce soir , je pourrai venir demain vers 17h par contre  😄

        Mes Sites(Mes Sites)
        |
        |    Site général : Game & play
        |   Site de projets (en dev !) :Infinite's Ressources
        J'ai et je suis content d'avoir 16,75 points d'ICRating

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

          C’est dans ta classe de CompressorRecipes.

          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
          • InfiniteI Hors-ligne
            Infinite
            dernière édition par robin4002

            Crash :

            –-- Minecraft Crash Report ----
            // Everything's going to plan. No, really, that was supposed to happen.
            
            Time: 16/06/17 20:14
            Description: Updating screen events
            
            java.lang.Error: Unresolved compilation problem: 
            Type mismatch: cannot convert from Map <itemstack[],itemstack>to Map <itemstack,itemstack>at com.iutils.infinite.nei.CompressorRecipeHandler.loadCraftingRecipes(CompressorRecipeHandler.java:72)
            at codechicken.nei.recipe.TemplateRecipeHandler.getRecipeHandler(TemplateRecipeHandler.java:466)
            at codechicken.nei.recipe.GuiCraftingRecipe.openRecipeGui(GuiCraftingRecipe.java:20)
            at codechicken.nei.recipe.TemplateRecipeHandler.transferRect(TemplateRecipeHandler.java:574)
            at codechicken.nei.recipe.TemplateRecipeHandler.access$000(TemplateRecipeHandler.java:34)
            at codechicken.nei.recipe.TemplateRecipeHandler$RecipeTransferRectHandler.transferRect(TemplateRecipeHandler.java:234)
            at codechicken.nei.recipe.TemplateRecipeHandler$RecipeTransferRectHandler.mouseClicked(TemplateRecipeHandler.java:225)
            at codechicken.nei.guihook.GuiContainerManager.mouseClicked(GuiContainerManager.java:329)
            at net.minecraft.client.gui.inventory.GuiContainer.mouseClicked(GuiContainer.java)
            at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:344)
            at net.minecraft.client.gui.inventory.GuiContainer.handleMouseInput(GuiContainer.java)
            at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:313)
            at net.minecraft.client.Minecraft.runTick(Minecraft.java:1731)
            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)
            
            A detailed walkthrough of the error, its code path and all known details is as follows:
            ---------------------------------------------------------------------------------------
            
            -- Head --
            Stacktrace:
            at com.iutils.infinite.nei.CompressorRecipeHandler.loadCraftingRecipes(CompressorRecipeHandler.java:72)
            at codechicken.nei.recipe.TemplateRecipeHandler.getRecipeHandler(TemplateRecipeHandler.java:466)
            at codechicken.nei.recipe.GuiCraftingRecipe.openRecipeGui(GuiCraftingRecipe.java:20)
            at codechicken.nei.recipe.TemplateRecipeHandler.transferRect(TemplateRecipeHandler.java:574)
            at codechicken.nei.recipe.TemplateRecipeHandler.access$000(TemplateRecipeHandler.java:34)
            at codechicken.nei.recipe.TemplateRecipeHandler$RecipeTransferRectHandler.transferRect(TemplateRecipeHandler.java:234)
            at codechicken.nei.recipe.TemplateRecipeHandler$RecipeTransferRectHandler.mouseClicked(TemplateRecipeHandler.java:225)
            at codechicken.nei.guihook.GuiContainerManager.mouseClicked(GuiContainerManager.java:329)
            at net.minecraft.client.gui.inventory.GuiContainer.mouseClicked(GuiContainer.java)
            at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:344)
            at net.minecraft.client.gui.inventory.GuiContainer.handleMouseInput(GuiContainer.java)
            at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:313)
            
            -- Affected screen --
            Details:
            Screen name: com.iutils.infinite.gui.GuiCompressor
            
            -- Affected level --
            Details:
            Level name: MpServer
            All players: 1 total; [EntityClientPlayerMP['Player511'/343, l='MpServer', x=-38,81, y=65,62, z=-39,70]]
            Chunk stats: MultiplayerChunkCache: 225, 225
            Level seed: 0
            Level generator: ID 00 - default, ver 1\. Features enabled: false
            Level generator options: 
            Level spawn location: World: (-46,64,-22), Chunk: (at 2,4,10 in -3,-2; contains blocks -48,0,-32 to -33,255,-17), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
            Level time: 782666 game time, 782666 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: 121 total; [EntityCow['Cow'/36, l='MpServer', x=-114,25, y=68,00, z=-7,75], EntityCreeper['Creeper'/40, l='MpServer', x=-119,03, y=47,00, z=36,44], EntityCow['Cow'/48, l='MpServer', x=-104,06, y=63,00, z=-114,94], EntityCow['Cow'/49, l='MpServer', x=-96,13, y=65,00, z=-105,94], EntityCow['Cow'/50, l='MpServer', x=-98,81, y=64,00, z=-109,78], EntityCow['Cow'/52, l='MpServer', x=-103,56, y=63,00, z=-88,25], EntitySquid['Squid'/53, l='MpServer', x=-99,50, y=58,00, z=-71,50], EntitySquid['Squid'/54, l='MpServer', x=-93,38, y=59,38, z=-63,81], EntityZombie['Zombie'/56, l='MpServer', x=-107,09, y=37,00, z=-19,50], EntityBat['Bat'/57, l='MpServer', x=-99,38, y=39,10, z=-10,75], EntitySkeleton['Skeleton'/58, l='MpServer', x=-109,94, y=58,00, z=-12,50], EntityCreeper['Creeper'/59, l='MpServer', x=-108,00, y=33,00, z=2,50], EntityCreeper['Creeper'/60, l='MpServer', x=-104,97, y=33,00, z=4,56], EntityCow['Cow'/61, l='MpServer', x=-105,72, y=65,00, z=18,44], EntityCow['Cow'/62, l='MpServer', x=-103,31, y=66,00, z=20,53], EntityZombie['Zombie'/63, l='MpServer', x=-98,50, y=27,00, z=37,97], EntityCow['Cow'/70, l='MpServer', x=-86,03, y=66,00, z=-119,94], EntityCow['Cow'/71, l='MpServer', x=-84,38, y=68,00, z=-83,59], EntityCow['Cow'/72, l='MpServer', x=-94,69, y=61,00, z=-74,75], EntityCow['Cow'/73, l='MpServer', x=-91,31, y=64,00, z=-72,28], EntityCow['Cow'/74, l='MpServer', x=-85,50, y=63,00, z=-60,25], EntitySquid['Squid'/75, l='MpServer', x=-96,13, y=55,31, z=-33,66], EntityZombie['Zombie'/76, l='MpServer', x=-95,50, y=43,00, z=-22,03], EntityCow['Cow'/77, l='MpServer', x=-95,75, y=67,00, z=-14,78], EntityCow['Cow'/78, l='MpServer', x=-83,25, y=64,00, z=-20,19], EntityZombie['Zombie'/79, l='MpServer', x=-94,50, y=17,00, z=29,69], EntityClientPlayerMP['Player511'/343, l='MpServer', x=-38,81, y=65,62, z=-39,70], EntityCow['Cow'/97, l='MpServer', x=-70,88, y=67,00, z=-108,06], EntityCow['Cow'/98, l='MpServer', x=-77,94, y=67,00, z=-85,06], EntityCow['Cow'/99, l='MpServer', x=-76,59, y=67,00, z=-92,44], EntitySkeleton['Skeleton'/100, l='MpServer', x=-73,50, y=49,00, z=-40,28], EntitySkeleton['Skeleton'/101, l='MpServer', x=-68,50, y=49,00, z=-40,31], EntityCreeper['Creeper'/102, l='MpServer', x=-72,47, y=50,00, z=-41,03], EntityCow['Cow'/103, l='MpServer', x=-74,16, y=63,00, z=-31,88], EntityZombie['Zombie'/104, l='MpServer', x=-69,06, y=15,00, z=-10,41], EntityZombie['Zombie'/105, l='MpServer', x=-67,47, y=15,00, z=-4,97], EntityZombie['Zombie'/106, l='MpServer', x=-68,03, y=37,00, z=40,53], EntityCow['Cow'/114, l='MpServer', x=-50,72, y=68,00, z=-113,31], EntityCow['Cow'/115, l='MpServer', x=-54,16, y=67,00, z=-108,03], EntityCow['Cow'/116, l='MpServer', x=-58,06, y=64,00, z=-80,16], EntityCow['Cow'/117, l='MpServer', x=-63,34, y=64,00, z=-67,53], EntitySkeleton['Skeleton'/118, l='MpServer', x=-53,28, y=51,00, z=-48,78], EntityZombie['Zombie'/119, l='MpServer', x=-53,44, y=16,00, z=-44,47], EntityBat['Bat'/120, l='MpServer', x=-53,25, y=53,10, z=-45,25], EntityBat['Bat'/121, l='MpServer', x=-59,28, y=54,10, z=-36,38], EntityBat['Bat'/122, l='MpServer', x=-50,25, y=50,10, z=-34,47], EntityBat['Bat'/123, l='MpServer', x=-52,00, y=55,10, z=-42,25], EntityBat['Bat'/124, l='MpServer', x=-52,25, y=59,10, z=-34,25], EntitySkeleton['Skeleton'/125, l='MpServer', x=-50,69, y=51,00, z=-45,38], EntityEnderman['Enderman'/126, l='MpServer', x=-51,63, y=51,00, z=-48,16], EntitySkeleton['Skeleton'/127, l='MpServer', x=-51,69, y=51,00, z=-44,31], EntityZombie['Zombie'/128, l='MpServer', x=-48,09, y=25,00, z=-17,53], EntityBat['Bat'/129, l='MpServer', x=-52,63, y=50,10, z=-29,09], EntityBat['Bat'/130, l='MpServer', x=-53,47, y=49,10, z=-30,69], EntityBat['Bat'/131, l='MpServer', x=-51,22, y=50,10, z=-30,75], EntityBat['Bat'/132, l='MpServer', x=-49,50, y=49,10, z=-28,59], EntityBat['Bat'/133, l='MpServer', x=-54,72, y=51,10, z=-24,16], EntityBat['Bat'/134, l='MpServer', x=-55,63, y=62,10, z=-25,75], EntityBat['Bat'/135, l='MpServer', x=-53,50, y=49,10, z=-31,66], EntityCreeper['Creeper'/136, l='MpServer', x=-60,56, y=66,00, z=-7,03], EntityCow['Cow'/146, l='MpServer', x=-44,72, y=67,00, z=-104,53], EntityCow['Cow'/147, l='MpServer', x=-43,75, y=68,00, z=-117,75], EntityZombie['Zombie'/148, l='MpServer', x=-41,59, y=14,00, z=-54,25], EntitySkeleton['Skeleton'/149, l='MpServer', x=-36,47, y=45,00, z=-56,00], EntityZombie['Zombie'/150, l='MpServer', x=-46,38, y=49,00, z=-50,99], EntityCreeper['Creeper'/151, l='MpServer', x=-43,56, y=30,00, z=-46,41], EntityCreeper['Creeper'/152, l='MpServer', x=-35,75, y=27,00, z=-39,06], EntitySkeleton['Skeleton'/153, l='MpServer', x=-42,84, y=31,00, z=-47,50], EntityBat['Bat'/154, l='MpServer', x=-40,09, y=54,10, z=-32,41], EntityBat['Bat'/155, l='MpServer', x=-37,72, y=54,10, z=-33,53], EntityBat['Bat'/156, l='MpServer', x=-40,75, y=54,10, z=-32,25], EntitySkeleton['Skeleton'/157, l='MpServer', x=-36,50, y=48,00, z=-35,09], EntitySkeleton['Skeleton'/158, l='MpServer', x=-34,41, y=48,00, z=-36,25], EntityCow['Cow'/159, l='MpServer', x=-39,28, y=64,00, z=-30,34], EntitySpider['Spider'/160, l='MpServer', x=-36,13, y=48,00, z=31,94], EntitySkeleton['Skeleton'/172, l='MpServer', x=-20,50, y=30,00, z=-61,50], EntityCreeper['Creeper'/173, l='MpServer', x=-29,50, y=28,00, z=-33,50], EntityCreeper['Creeper'/174, l='MpServer', x=-31,56, y=42,00, z=-34,03], EntityCreeper['Creeper'/175, l='MpServer', x=-21,88, y=61,00, z=-33,69], EntityCow['Cow'/176, l='MpServer', x=-32,44, y=64,00, z=-39,94], EntityZombie['Zombie'/177, l='MpServer', x=-29,97, y=30,00, z=-28,53], EntityCow['Cow'/178, l='MpServer', x=-22,63, y=67,00, z=-8,47], EntityEnderman['Enderman'/180, l='MpServer', x=-25,31, y=50,00, z=38,50], EntityEnderman['Enderman'/193, l='MpServer', x=-13,88, y=39,00, z=-48,34], EntityItem['item.tile.mushroom'/194, l='MpServer', x=-14,19, y=39,13, z=-48,13], EntityCow['Cow'/195, l='MpServer', x=-5,09, y=64,00, z=-15,84], EntitySlime['Slime'/196, l='MpServer', x=-3,46, y=20,00, z=8,31], EntityChicken['Chicken'/197, l='MpServer', x=-7,31, y=67,00, z=19,63], EntityCow['Cow'/198, l='MpServer', x=-12,41, y=70,00, z=30,38], EntityZombie['Zombie'/199, l='MpServer', x=-12,50, y=35,00, z=39,13], EntityZombie['Zombie'/208, l='MpServer', x=17,47, y=20,00, z=-51,28], EntityCreeper['Creeper'/209, l='MpServer', x=15,31, y=20,00, z=-50,63], EntityCreeper['Creeper'/210, l='MpServer', x=1,44, y=20,00, z=-60,69], EntityCreeper['Creeper'/211, l='MpServer', x=2,06, y=19,33, z=-59,70], EntityCreeper['Creeper'/212, l='MpServer', x=2,66, y=22,00, z=-62,41], EntityCreeper['Creeper'/213, l='MpServer', x=10,66, y=21,00, z=-57,97], EntityCow['Cow'/214, l='MpServer', x=1,63, y=85,00, z=-60,47], EntityZombie['Zombie'/215, l='MpServer', x=3,03, y=36,00, z=-20,59], EntityZombie['Zombie'/216, l='MpServer', x=10,09, y=34,00, z=-16,50], EntityZombie['Zombie'/217, l='MpServer', x=7,69, y=34,00, z=-15,31], EntitySquid['Squid'/218, l='MpServer', x=0,22, y=58,00, z=9,06], EntityZombie['Zombie'/219, l='MpServer', x=4,50, y=19,00, z=35,97], EntityCreeper['Creeper'/224, l='MpServer', x=22,09, y=76,00, z=-92,44], EntityCow['Cow'/225, l='MpServer', x=31,97, y=89,00, z=-76,13], EntityCow['Cow'/226, l='MpServer', x=16,31, y=88,00, z=-90,28], EntityCreeper['Creeper'/227, l='MpServer', x=22,53, y=17,00, z=-70,66], EntityZombie['Zombie'/228, l='MpServer', x=22,50, y=77,00, z=-79,50], EntityCow['Cow'/229, l='MpServer', x=33,88, y=89,00, z=-63,88], EntityCreeper['Creeper'/230, l='MpServer', x=22,75, y=20,00, z=-49,00], EntityCow['Cow'/231, l='MpServer', x=19,47, y=87,00, z=-52,19], EntityChicken['Chicken'/232, l='MpServer', x=22,44, y=64,00, z=-17,63], EntityCow['Cow'/233, l='MpServer', x=25,63, y=65,00, z=-18,41], EntitySlime['Slime'/234, l='MpServer', x=30,63, y=36,19, z=14,63], EntitySkeleton['Skeleton'/235, l='MpServer', x=19,69, y=31,00, z=20,50], EntityBat['Bat'/236, l='MpServer', x=31,44, y=25,00, z=20,94], EntitySlime['Slime'/237, l='MpServer', x=22,31, y=44,00, z=22,31], EntityCreeper['Creeper'/238, l='MpServer', x=22,75, y=42,00, z=25,94], EntitySkeleton['Skeleton'/239, l='MpServer', x=27,88, y=42,00, z=16,44], EntityCow['Cow'/240, l='MpServer', x=29,22, y=78,00, z=20,50], EntityCow['Cow'/254, l='MpServer', x=25,63, y=68,00, z=4,56], EntitySlime['Slime'/255, l='MpServer', x=32,38, y=36,39, z=14,63]]
            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:984)
            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 10 (amd64) version 10.0
            Java Version: 1.8.0_121, Oracle Corporation
            Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
            Memory: 598982952 bytes (571 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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: 13, tcache: 0, allocated: 13, tallocated: 95
            FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 6 mods loaded, 6 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.1614-1.7.10.jar) 
            UCHIJAAAA Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) 
            UCHIJAAAA NotEnoughItems{1.0.5.120} [Not Enough Items] (NotEnoughItems-1.7.10-1.0.5.120-dev.jar) 
            UCHIJAAAA CodeChickenCore{1.0.7.47} [CodeChicken Core] (minecraft.jar) 
            UCHIJAAAA iutils{0.0.0} [IUtils Mod] (bin) 
            GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 382.53' Renderer: 'GeForce 840M/PCIe/SSE2'
            Launched Version: 1.7.10
            LWJGL: 2.9.1
            OpenGL: GeForce 840M/PCIe/SSE2 GL version 4.5.0 NVIDIA 382.53, 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: [F32-1.7.10.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)
            

            Si je remplace Map <ItemStack[], ItemStack>par Map <ItemStack, ItemStack>

            –-- Minecraft Crash Report ----
            // Don't do that.
            
            Time: 16/06/17 20:24
            Description: Updating screen events
            
            java.lang.ClassCastException: [Lnet.minecraft.item.ItemStack; cannot be cast to net.minecraft.item.ItemStack
            at com.iutils.infinite.nei.CompressorRecipeHandler.loadCraftingRecipes(CompressorRecipeHandler.java:74)
            at codechicken.nei.recipe.TemplateRecipeHandler.getRecipeHandler(TemplateRecipeHandler.java:466)
            at codechicken.nei.recipe.GuiCraftingRecipe.openRecipeGui(GuiCraftingRecipe.java:20)
            at codechicken.nei.recipe.TemplateRecipeHandler.transferRect(TemplateRecipeHandler.java:574)
            at codechicken.nei.recipe.TemplateRecipeHandler.access$000(TemplateRecipeHandler.java:34)
            at codechicken.nei.recipe.TemplateRecipeHandler$RecipeTransferRectHandler.transferRect(TemplateRecipeHandler.java:234)
            at codechicken.nei.recipe.TemplateRecipeHandler$RecipeTransferRectHandler.mouseClicked(TemplateRecipeHandler.java:225)
            at codechicken.nei.guihook.GuiContainerManager.mouseClicked(GuiContainerManager.java:329)
            at net.minecraft.client.gui.inventory.GuiContainer.mouseClicked(GuiContainer.java)
            at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:344)
            at net.minecraft.client.gui.inventory.GuiContainer.handleMouseInput(GuiContainer.java)
            at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:313)
            at net.minecraft.client.Minecraft.runTick(Minecraft.java:1731)
            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)
            
            A detailed walkthrough of the error, its code path and all known details is as follows:
            ---------------------------------------------------------------------------------------
            
            -- Head --
            Stacktrace:
            at com.iutils.infinite.nei.CompressorRecipeHandler.loadCraftingRecipes(CompressorRecipeHandler.java:74)
            at codechicken.nei.recipe.TemplateRecipeHandler.getRecipeHandler(TemplateRecipeHandler.java:466)
            at codechicken.nei.recipe.GuiCraftingRecipe.openRecipeGui(GuiCraftingRecipe.java:20)
            at codechicken.nei.recipe.TemplateRecipeHandler.transferRect(TemplateRecipeHandler.java:574)
            at codechicken.nei.recipe.TemplateRecipeHandler.access$000(TemplateRecipeHandler.java:34)
            at codechicken.nei.recipe.TemplateRecipeHandler$RecipeTransferRectHandler.transferRect(TemplateRecipeHandler.java:234)
            at codechicken.nei.recipe.TemplateRecipeHandler$RecipeTransferRectHandler.mouseClicked(TemplateRecipeHandler.java:225)
            at codechicken.nei.guihook.GuiContainerManager.mouseClicked(GuiContainerManager.java:329)
            at net.minecraft.client.gui.inventory.GuiContainer.mouseClicked(GuiContainer.java)
            at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:344)
            at net.minecraft.client.gui.inventory.GuiContainer.handleMouseInput(GuiContainer.java)
            at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:313)
            
            -- Affected screen --
            Details:
            Screen name: com.iutils.infinite.gui.GuiCompressor
            
            -- Affected level --
            Details:
            Level name: MpServer
            All players: 1 total; [EntityClientPlayerMP['Player432'/343, l='MpServer', x=-38,81, y=65,62, z=-39,70]]
            Chunk stats: MultiplayerChunkCache: 225, 225
            Level seed: 0
            Level generator: ID 00 - default, ver 1\. Features enabled: false
            Level generator options: 
            Level spawn location: World: (-46,64,-22), Chunk: (at 2,4,10 in -3,-2; contains blocks -48,0,-32 to -33,255,-17), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
            Level time: 782913 game time, 782913 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: 121 total; [EntitySkeleton['Skeleton'/256, l='MpServer', x=40,56, y=38,00, z=31,06], EntityCow['Cow'/36, l='MpServer', x=-114,25, y=68,00, z=-7,75], EntityCow['Cow'/48, l='MpServer', x=-104,06, y=63,00, z=-114,94], EntityCow['Cow'/49, l='MpServer', x=-96,13, y=65,00, z=-105,94], EntityCow['Cow'/50, l='MpServer', x=-105,69, y=64,00, z=-109,59], EntityCow['Cow'/52, l='MpServer', x=-103,56, y=63,00, z=-88,25], EntitySquid['Squid'/53, l='MpServer', x=-100,19, y=58,00, z=-70,09], EntitySquid['Squid'/55, l='MpServer', x=-98,25, y=55,00, z=-34,94], EntityZombie['Zombie'/56, l='MpServer', x=-107,09, y=37,00, z=-19,50], EntityBat['Bat'/57, l='MpServer', x=-99,38, y=39,10, z=-10,75], EntitySkeleton['Skeleton'/58, l='MpServer', x=-105,50, y=60,00, z=-3,97], EntityCreeper['Creeper'/59, l='MpServer', x=-108,00, y=33,00, z=2,50], EntityCreeper['Creeper'/60, l='MpServer', x=-104,97, y=33,00, z=4,56], EntityCow['Cow'/61, l='MpServer', x=-106,50, y=68,00, z=10,75], EntityCow['Cow'/62, l='MpServer', x=-103,31, y=66,00, z=20,53], EntityZombie['Zombie'/63, l='MpServer', x=-98,50, y=27,00, z=37,97], EntityCow['Cow'/70, l='MpServer', x=-86,03, y=66,00, z=-119,94], EntityCow['Cow'/71, l='MpServer', x=-84,38, y=68,00, z=-83,59], EntityCow['Cow'/72, l='MpServer', x=-91,31, y=60,00, z=-78,47], EntityCow['Cow'/73, l='MpServer', x=-95,63, y=64,00, z=-78,50], EntityCow['Cow'/74, l='MpServer', x=-85,50, y=63,00, z=-60,25], EntitySquid['Squid'/75, l='MpServer', x=-90,84, y=59,38, z=-58,94], EntityZombie['Zombie'/76, l='MpServer', x=-95,50, y=43,00, z=-22,03], EntityCow['Cow'/77, l='MpServer', x=-83,25, y=64,00, z=-20,19], EntityCow['Cow'/78, l='MpServer', x=-94,03, y=65,00, z=-7,03], EntityZombie['Zombie'/79, l='MpServer', x=-94,50, y=17,00, z=29,69], EntityClientPlayerMP['Player432'/343, l='MpServer', x=-38,81, y=65,62, z=-39,70], EntityCow['Cow'/96, l='MpServer', x=-70,88, y=67,00, z=-108,06], EntityCow['Cow'/97, l='MpServer', x=-77,94, y=67,00, z=-85,06], EntityCow['Cow'/98, l='MpServer', x=-70,97, y=67,00, z=-98,91], EntitySkeleton['Skeleton'/99, l='MpServer', x=-73,50, y=49,00, z=-40,28], EntitySkeleton['Skeleton'/100, l='MpServer', x=-66,94, y=49,00, z=-42,47], EntityCreeper['Creeper'/101, l='MpServer', x=-72,47, y=50,00, z=-41,03], EntityCow['Cow'/102, l='MpServer', x=-72,59, y=64,00, z=-23,38], EntityZombie['Zombie'/103, l='MpServer', x=-75,71, y=15,00, z=-7,68], EntityZombie['Zombie'/104, l='MpServer', x=-67,47, y=15,00, z=-4,97], EntityZombie['Zombie'/105, l='MpServer', x=-68,03, y=37,00, z=40,53], EntityCow['Cow'/113, l='MpServer', x=-50,72, y=68,00, z=-113,31], EntityCow['Cow'/115, l='MpServer', x=-54,16, y=67,00, z=-108,03], EntityCow['Cow'/116, l='MpServer', x=-61,97, y=64,00, z=-76,06], EntityCow['Cow'/117, l='MpServer', x=-63,34, y=64,00, z=-67,53], EntitySkeleton['Skeleton'/118, l='MpServer', x=-53,56, y=51,00, z=-49,30], EntityEnderman['Enderman'/119, l='MpServer', x=-53,89, y=51,00, z=-48,49], EntityZombie['Zombie'/120, l='MpServer', x=-53,44, y=16,00, z=-44,47], EntityBat['Bat'/121, l='MpServer', x=-53,25, y=53,10, z=-45,25], EntityBat['Bat'/122, l='MpServer', x=-59,28, y=54,10, z=-36,38], EntityBat['Bat'/123, l='MpServer', x=-50,25, y=50,10, z=-34,47], EntityBat['Bat'/124, l='MpServer', x=-52,00, y=55,10, z=-42,25], EntityBat['Bat'/125, l='MpServer', x=-52,25, y=59,10, z=-34,25], EntitySkeleton['Skeleton'/126, l='MpServer', x=-50,69, y=51,00, z=-45,38], EntitySkeleton['Skeleton'/127, l='MpServer', x=-54,45, y=54,00, z=-38,45], EntityZombie['Zombie'/128, l='MpServer', x=-48,09, y=25,00, z=-17,53], EntityBat['Bat'/129, l='MpServer', x=-52,63, y=50,10, z=-29,09], EntityBat['Bat'/130, l='MpServer', x=-53,47, y=49,10, z=-30,69], EntityBat['Bat'/131, l='MpServer', x=-51,22, y=50,10, z=-30,75], EntityBat['Bat'/132, l='MpServer', x=-49,50, y=49,10, z=-28,59], EntityBat['Bat'/133, l='MpServer', x=-54,72, y=51,10, z=-24,16], EntityBat['Bat'/134, l='MpServer', x=-55,63, y=62,10, z=-25,75], EntityBat['Bat'/135, l='MpServer', x=-53,50, y=49,10, z=-31,66], EntityCreeper['Creeper'/136, l='MpServer', x=-60,56, y=66,00, z=-7,03], EntityCow['Cow'/145, l='MpServer', x=-43,75, y=68,00, z=-117,75], EntityCow['Cow'/146, l='MpServer', x=-44,72, y=67,00, z=-104,53], EntityZombie['Zombie'/147, l='MpServer', x=-45,56, y=13,00, z=-63,47], EntitySkeleton['Skeleton'/148, l='MpServer', x=-36,47, y=45,00, z=-56,00], EntityZombie['Zombie'/149, l='MpServer', x=-46,38, y=49,00, z=-50,97], EntityCreeper['Creeper'/150, l='MpServer', x=-43,56, y=30,00, z=-46,41], EntityCreeper['Creeper'/151, l='MpServer', x=-32,00, y=26,00, z=-35,59], EntitySkeleton['Skeleton'/152, l='MpServer', x=-35,98, y=29,00, z=-41,50], EntityBat['Bat'/153, l='MpServer', x=-40,09, y=54,10, z=-32,41], EntityBat['Bat'/154, l='MpServer', x=-37,72, y=54,10, z=-33,53], EntityBat['Bat'/155, l='MpServer', x=-40,75, y=54,10, z=-32,25], EntitySkeleton['Skeleton'/156, l='MpServer', x=-34,50, y=26,00, z=-34,53], EntitySkeleton['Skeleton'/157, l='MpServer', x=-35,69, y=45,00, z=-35,50], EntityCow['Cow'/158, l='MpServer', x=-33,50, y=65,00, z=-46,35], EntityCow['Cow'/159, l='MpServer', x=-39,28, y=64,00, z=-30,34], EntitySpider['Spider'/160, l='MpServer', x=-35,72, y=48,99, z=31,53], EntitySkeleton['Skeleton'/173, l='MpServer', x=-20,50, y=30,00, z=-61,50], EntityCreeper['Creeper'/174, l='MpServer', x=-29,50, y=28,00, z=-33,50], EntityCreeper['Creeper'/175, l='MpServer', x=-31,56, y=42,00, z=-34,03], EntityCreeper['Creeper'/176, l='MpServer', x=-21,88, y=61,00, z=-33,69], EntityZombie['Zombie'/177, l='MpServer', x=-29,97, y=30,00, z=-28,53], EntityCow['Cow'/178, l='MpServer', x=-25,63, y=66,00, z=-9,78], EntityEnderman['Enderman'/180, l='MpServer', x=-27,94, y=50,00, z=36,34], EntityEnderman['Enderman'/193, l='MpServer', x=-13,84, y=40,00, z=-48,16], EntityItem['item.tile.mushroom'/194, l='MpServer', x=-14,19, y=39,13, z=-48,13], EntityCow['Cow'/195, l='MpServer', x=-5,09, y=64,00, z=-15,84], EntitySlime['Slime'/196, l='MpServer', x=-3,31, y=20,00, z=8,31], EntityChicken['Chicken'/197, l='MpServer', x=-7,31, y=67,00, z=19,63], EntityCow['Cow'/198, l='MpServer', x=-12,41, y=70,00, z=30,38], EntityZombie['Zombie'/199, l='MpServer', x=-12,50, y=35,00, z=39,13], EntityCreeper['Creeper'/208, l='MpServer', x=15,31, y=20,00, z=-50,63], EntityCreeper['Creeper'/209, l='MpServer', x=1,44, y=20,23, z=-60,69], EntityCreeper['Creeper'/210, l='MpServer', x=2,06, y=19,04, z=-59,70], EntityCreeper['Creeper'/211, l='MpServer', x=2,66, y=22,00, z=-62,41], EntityCreeper['Creeper'/212, l='MpServer', x=10,66, y=21,00, z=-57,97], EntityCow['Cow'/213, l='MpServer', x=1,63, y=85,00, z=-60,47], EntityZombie['Zombie'/214, l='MpServer', x=3,03, y=36,00, z=-20,59], EntityZombie['Zombie'/215, l='MpServer', x=10,09, y=34,00, z=-16,50], EntityZombie['Zombie'/216, l='MpServer', x=7,69, y=34,00, z=-15,31], EntitySquid['Squid'/217, l='MpServer', x=-0,50, y=58,00, z=8,50], EntityZombie['Zombie'/218, l='MpServer', x=4,50, y=19,00, z=35,97], EntityCreeper['Creeper'/223, l='MpServer', x=22,09, y=76,00, z=-92,44], EntityCow['Cow'/224, l='MpServer', x=16,31, y=88,00, z=-90,28], EntityCreeper['Creeper'/225, l='MpServer', x=19,94, y=16,00, z=-65,72], EntityZombie['Zombie'/226, l='MpServer', x=22,50, y=77,00, z=-79,50], EntityCow['Cow'/227, l='MpServer', x=31,97, y=89,00, z=-76,13], EntityCreeper['Creeper'/228, l='MpServer', x=22,75, y=20,00, z=-49,00], EntityZombie['Zombie'/229, l='MpServer', x=17,50, y=20,00, z=-50,31], EntityCow['Cow'/230, l='MpServer', x=19,47, y=87,00, z=-52,19], EntityChicken['Chicken'/231, l='MpServer', x=22,44, y=64,00, z=-17,63], EntityCow['Cow'/232, l='MpServer', x=25,63, y=65,00, z=-18,41], EntitySlime['Slime'/233, l='MpServer', x=30,63, y=36,00, z=14,63], EntityCow['Cow'/234, l='MpServer', x=25,59, y=68,00, z=4,63], EntitySkeleton['Skeleton'/235, l='MpServer', x=23,47, y=32,00, z=17,94], EntityBat['Bat'/236, l='MpServer', x=24,64, y=20,78, z=19,55], EntitySlime['Slime'/237, l='MpServer', x=22,31, y=44,47, z=22,31], EntityCreeper['Creeper'/238, l='MpServer', x=19,97, y=42,00, z=32,38], EntitySkeleton['Skeleton'/239, l='MpServer', x=33,88, y=41,00, z=24,53], EntityCow['Cow'/240, l='MpServer', x=29,22, y=78,00, z=20,50], EntityCow['Cow'/253, l='MpServer', x=33,88, y=89,00, z=-63,88], EntitySlime['Slime'/254, l='MpServer', x=32,15, y=36,47, z=14,63]]
            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:984)
            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 10 (amd64) version 10.0
            Java Version: 1.8.0_121, Oracle Corporation
            Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
            Memory: 741609472 bytes (707 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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: 13, tcache: 0, allocated: 13, tallocated: 95
            FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 6 mods loaded, 6 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.1614-1.7.10.jar) 
            UCHIJAAAA Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) 
            UCHIJAAAA NotEnoughItems{1.0.5.120} [Not Enough Items] (NotEnoughItems-1.7.10-1.0.5.120-dev.jar) 
            UCHIJAAAA CodeChickenCore{1.0.7.47} [CodeChicken Core] (minecraft.jar) 
            UCHIJAAAA iutils{0.0.0} [IUtils Mod] (bin) 
            GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 382.53' Renderer: 'GeForce 840M/PCIe/SSE2'
            Launched Version: 1.7.10
            LWJGL: 2.9.1
            OpenGL: GeForce 840M/PCIe/SSE2 GL version 4.5.0 NVIDIA 382.53, 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: [F32-1.7.10.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)
            

            Mes Sites(Mes Sites)
            |
            |    Site général : Game & play
            |   Site de projets (en dev !) :Infinite's Ressources
            J'ai et je suis content d'avoir 16,75 points d'ICRating

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

              @AymericRed:

              […]
              et eclipse devrait t’afficher les erreurs […]

              Faudrait peut-être les corriger avant de lancer x)

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

                J’ai aucune erreur de la part d’eclipse XD

                Mes Sites(Mes Sites)
                |
                |    Site général : Game & play
                |   Site de projets (en dev !) :Infinite's Ressources
                J'ai et je suis content d'avoir 16,75 points d'ICRating

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

                  Sur u_u ? Car ces erreurs : “java.lang.Error: Unresolved compilation problem:
                  Type mismatch: cannot convert from Map <itemstack[],itemstack>to Map<itemstack,itemstack>” sont toujours indiquées par eclipse (je parle du code du crash 1).</itemstack,itemstack></itemstack[],itemstack>

                  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
                  • InfiniteI Hors-ligne
                    Infinite
                    dernière édition par robin4002

                    Je suis sur!, ah ben non en fait après avoir relancé eclipse il a enfin décidé de m’afficher les erreurs !

                    Si je change les

                    Map<ItemStack, ItemStack> recipes = CompressorRecipes.smelting().getSmeltingList();
                    

                    par

                    Map<ItemStack[], ItemStack> recipes = CompressorRecipes.smelting().getSmeltingList();
                    

                    il me met une erreur sur

                    for (Entry<ItemStack, ItemStack> recipe : recipes.entrySet())
                    

                    et si je le change afin d’obtenir ceci

                    for (Entry<ItemStack[], ItemStack> recipe : recipes.entrySet())
                    

                    il me met une erreur sur

                     arecipes.add(new SmeltingPair(recipe.getKey(), recipe.getValue()));
                    

                    et si je modifie le constructeur de SmeltingPair afin d’obtenir ceci :

                    public SmeltingPair(ItemStack[] itemStacks, ItemStack result) 
                    

                    il me met les deux erreurs suivantes : 
                    0_1535669785577_erreur.PNG

                    sur areStacksSameTypeCrafting il me dit : The method areStacksSameTypeCrafting(ItemStack, ItemStack) in the type NEIServerUtils is not applicable for the arguments (ItemStack[], ItemStack) et je peux remplacer areStacksSameTypeCrafting par areStackSameType , ce qui ne fait rien du tout parce qu’il m’affiche la même erreur !

                    et sur stacksize de itemStacks.stackSize = 1; il me dit stackSize cannot be resolved or is not a field et il me propose de changer stackSize par lenght et m’affiche The final field array.length cannot be assigned comme erreur  😞

                    Je suis sur le discord !

                    Mes Sites(Mes Sites)
                    |
                    |    Site général : Game & play
                    |   Site de projets (en dev !) :Infinite's Ressources
                    J'ai et je suis content d'avoir 16,75 points d'ICRating

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

                      je me suis remis a cet enfer mais j’ai toujours les mêmes erreurs et je ne sais vraiment pas comment les corriger …

                      Help Please !

                      Mes Sites(Mes Sites)
                      |
                      |    Site général : Game & play
                      |   Site de projets (en dev !) :Infinite's Ressources
                      J'ai et je suis content d'avoir 16,75 points d'ICRating

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

                        J’ai annulé mon projet avec ma machine “compressor” pour laisser place a un autre projet avec des marteaux.

                        Du coup j’ai utilisé les shapelessRecipes de ma table de craft sauf que mon plugin NEI est pas content si je met plus de 16 items (4x4, ce qui est le nombre de case dans la table de craft du tuto) dans la recette 😕

                        Voici le crash:

                        –-- Minecraft Crash Report ----
                        // Uh... Did I do that?
                        
                        Time: 28/07/17 21:25
                        Description: Updating screen events
                        
                        java.lang.ArrayIndexOutOfBoundsException: 16
                        at com.iutils.infinite.nei.AdvancedCraftingSharplessRecipeHandler$CachedShapelessRecipe.setIngredients(AdvancedCraftingSharplessRecipeHandler.java:41)
                        at com.iutils.infinite.nei.AdvancedCraftingSharplessRecipeHandler$CachedShapelessRecipe.<init>(AdvancedCraftingSharplessRecipeHandler.java:29)
                        at com.iutils.infinite.nei.AdvancedCraftingSharplessRecipeHandler$CachedShapelessRecipe.<init>(AdvancedCraftingSharplessRecipeHandler.java:34)
                        at com.iutils.infinite.nei.AdvancedCraftingSharplessRecipeHandler.loadCraftingRecipes(AdvancedCraftingSharplessRecipeHandler.java:74)
                        at codechicken.nei.recipe.TemplateRecipeHandler.getRecipeHandler(TemplateRecipeHandler.java:466)
                        at codechicken.nei.recipe.GuiCraftingRecipe.openRecipeGui(GuiCraftingRecipe.java:20)
                        at codechicken.nei.recipe.TemplateRecipeHandler.transferRect(TemplateRecipeHandler.java:574)
                        at codechicken.nei.recipe.TemplateRecipeHandler.access$000(TemplateRecipeHandler.java:34)
                        at codechicken.nei.recipe.TemplateRecipeHandler$RecipeTransferRectHandler.transferRect(TemplateRecipeHandler.java:234)
                        at codechicken.nei.recipe.TemplateRecipeHandler$RecipeTransferRectHandler.mouseClicked(TemplateRecipeHandler.java:225)
                        at codechicken.nei.guihook.GuiContainerManager.mouseClicked(GuiContainerManager.java:329)
                        at net.minecraft.client.gui.inventory.GuiContainer.mouseClicked(GuiContainer.java)
                        at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:344)
                        at net.minecraft.client.gui.inventory.GuiContainer.handleMouseInput(GuiContainer.java)
                        at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:313)
                        at net.minecraft.client.Minecraft.runTick(Minecraft.java:1731)
                        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)
                        

                        Voici la classe AdvancedCraftingSharplessRecipeHandler:

                        package com.iutils.infinite.nei;
                        
                        import java.util.ArrayList;
                        import java.util.Arrays;
                        import java.util.List;
                        
                        import com.iutils.infinite.recipes.AdvancedCraftingManager;
                        import com.iutils.infinite.recipes.AdvancedShapelessRecipe;
                        
                        import codechicken.nei.NEIServerUtils;
                        import codechicken.nei.PositionedStack;
                        import net.minecraft.client.resources.I18n;
                        import net.minecraft.item.ItemStack;
                        import net.minecraft.item.crafting.IRecipe;
                        
                        public class AdvancedCraftingSharplessRecipeHandler extends AdvancedCraftingShapedRecipeHandler
                        {
                            public int[][] stackorder = new int[][] { { 0, 0 }, { 1, 0 }, { 0, 1 }, { 1, 1 }, { 0, 2 }, { 1, 2 }, { 2, 0 }, { 2, 1 }, { 2, 2 }, {0,3}, {3,0}, {1,3}, {3,1}, {2, 3}, {3,2}, {3,3}};
                        
                            public class CachedShapelessRecipe extends CachedRecipe 
                            {
                               public CachedShapelessRecipe(Object[] input, ItemStack output)
                               {
                                   this(Arrays.asList(input), output);
                               }
                               public CachedShapelessRecipe(List input, ItemStack output)
                               {
                                   ingredients = new ArrayList<positionedstack>();
                                   setIngredients(input);
                                   result = new PositionedStack(output, 138, 49); //135 : position x du slot sur le gui, 40 : position y
                               }
                               public CachedShapelessRecipe(AdvancedShapelessRecipe irecipe) 
                               {
                                this(irecipe.recipeItems, irecipe.getRecipeOutput());
                            }
                            public void setIngredients(List items) 
                               {
                                   ingredients.clear();
                                   for (int ingred = 0; ingred < items.size(); ingred++)
                                   {
                                       PositionedStack stack = new PositionedStack(items.get(ingred), stackorder[ingred][0] * 18 + 1, stackorder[ingred][1] * 18 + 4);
                                       stack.setMaxSize(1);
                                       ingredients.add(stack);
                                   }
                               }
                               @Override
                               public List <positionedstack>getIngredients()
                               {
                                   return getCycledIngredients(cycleticks / 20, ingredients);
                               }
                               @Override
                               public PositionedStack getResult()
                               {
                                   return result;
                               }
                               public ArrayList <positionedstack>ingredients;
                               public PositionedStack result;
                            }
                            @Override
                            public String getRecipeName() 
                            {
                               return I18n.format("recipename.advcraftingshapeless");
                            }
                            @Override
                            public void loadCraftingRecipes(String outputId, Object… results) 
                            {
                               if (outputId.equals(AdvancedCraftingShapedRecipeHandler.INDENTIFIER)) 
                               {
                                   List <irecipe>allrecipes = AdvancedCraftingManager.getInstance().getRecipeList();
                                   for (IRecipe irecipe : allrecipes) 
                                   {
                                       CachedShapelessRecipe recipe = null;
                                       if (irecipe instanceof AdvancedShapelessRecipe)
                                           recipe = new CachedShapelessRecipe((AdvancedShapelessRecipe) irecipe);
                                       if (recipe == null)
                                           continue;
                                       arecipes.add(recipe);
                                   }
                               }
                               else
                                   super.loadCraftingRecipes(outputId, results);
                            }
                            @Override
                            public void loadCraftingRecipes(ItemStack result)
                            {
                               List <irecipe>allrecipes = AdvancedCraftingManager.getInstance().getRecipeList();
                               for (IRecipe irecipe : allrecipes) 
                               {
                                   if (NEIServerUtils.areStacksSameTypeCrafting(irecipe.getRecipeOutput(), result)) 
                                   {
                                       CachedShapelessRecipe recipe = null;
                                       if (irecipe instanceof AdvancedShapelessRecipe)
                                           recipe = new CachedShapelessRecipe((AdvancedShapelessRecipe) irecipe);
                                       if (recipe == null)
                                           continue;
                                       arecipes.add(recipe);
                                   }
                               }
                            }
                            @Override
                            public void loadUsageRecipes(ItemStack ingredient) 
                            {
                               List <irecipe>allrecipes = AdvancedCraftingManager.getInstance().getRecipeList();
                               for (IRecipe irecipe : allrecipes) 
                               {
                                   CachedShapelessRecipe recipe = null;
                                   if (irecipe instanceof AdvancedShapelessRecipe)
                                       recipe = new CachedShapelessRecipe((AdvancedShapelessRecipe) irecipe);
                                   if (recipe == null)
                                       continue;
                                   if (recipe.contains(recipe.ingredients, ingredient))
                                   {
                                       recipe.setIngredientPermutation(recipe.ingredients, ingredient);
                                       arecipes.add(recipe);
                                   }
                               }
                            }
                        }
                        

                        Je précise que ma table de craft fait 6x6 et que je suis encore en 1.7.10</irecipe></irecipe></irecipe></positionedstack></positionedstack></positionedstack></init></init>

                        Mes Sites(Mes Sites)
                        |
                        |    Site général : Game & play
                        |   Site de projets (en dev !) :Infinite's Ressources
                        J'ai et je suis content d'avoir 16,75 points d'ICRating

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

                          1.7.10 [FEARFUL FACE]

                          Il faut que tu modifies l’array stackorder en fonction de la taille de ta table de craft.

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

                            Ce message a été supprimé !
                            1 réponse Dernière réponse Répondre Citer 0
                            • AymericRedA AymericRed a fait référence à ce sujet sur
                            • 1
                            • 2
                            • 3
                            • 2 / 3
                            • Premier message
                              Dernier message
                            Design by Woryk
                            ContactMentions Légales

                            MINECRAFT FORGE FRANCE © 2024

                            Powered by NodeBB