1. Le forum de Minecraft-France va définitivement fermer ses portes. Celui-ci restera en lecture seule mais vous ne pourrez plus y apporter de nouveaux topics. Nous vous invitons à nous rejoindre sur le Discord de Minecraft-France qui permet de présenter vos projets, discuter avec la communauté etc.. Merci à tous d'avoir fait vivre ce forum de nombreuses années. Pour nous rejoindre sur Discord, Cliquez ici

Need help sur ShinyFood

Discussion dans 'Problème avec les mods' créé par QC712, 14 Juin 2014.

  1. QC712

    QC712 Mineur d'Or

    Inscrit:
    2 Juin 2013
    Messages:
    857
    Points:
    151
    Sexe:
    Homme
    Heyheyhey o/
    Je teste un mod pour un futur article. Problème :
    Code (cpp):
    ---- Minecraft Crash Report ----
    // Ooh. Shiny.

    Time: 14/06/14 14:23
    Description: Updating screen events

    java.lang.ArrayIndexOutOfBoundsException: -1
        at net.minecraft.item.ItemStack.func_77980_a(ItemStack.java:411)
        at net.minecraft.inventory.SlotCrafting.func_75208_c(SlotCrafting.java:60)
        at net.minecraft.inventory.SlotCrafting.func_82870_a(SlotCrafting.java:117)
        at net.minecraft.inventory.Container.func_75144_a(SourceFile:238)
        at net.minecraft.client.multiplayer.PlayerControllerMP.func_78753_a(PlayerControllerMP.java:445)
        at net.minecraft.client.gui.inventory.GuiContainer.func_146984_a(GuiContainer.java:655)
        at net.minecraft.client.gui.inventory.GuiContainer.func_73864_a(GuiContainer.java:406)
        at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:309)
        at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:275)
        at net.minecraft.client.Minecraft.func_71407_l(MinecraftOverlay.java:1625)
        at net.minecraft.client.Minecraft.func_71411_J(MinecraftOverlay.java:953)
        at net.minecraft.client.Minecraft.func_99999_d(MinecraftOverlay.java:870)
        at net.minecraft.client.main.Main.main(SourceFile:103)
        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:134)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------

    -- Head --
    Stacktrace:
        at net.minecraft.item.ItemStack.func_77980_a(ItemStack.java:411)
        at net.minecraft.inventory.SlotCrafting.func_75208_c(SlotCrafting.java:60)
        at net.minecraft.inventory.SlotCrafting.func_82870_a(SlotCrafting.java:117)
        at net.minecraft.inventory.Container.func_75144_a(SourceFile:238)
        at net.minecraft.client.multiplayer.PlayerControllerMP.func_78753_a(PlayerControllerMP.java:445)
        at net.minecraft.client.gui.inventory.GuiContainer.func_146984_a(GuiContainer.java:655)
        at net.minecraft.client.gui.inventory.GuiContainer.func_73864_a(GuiContainer.java:406)
        at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:309)
        at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:275)

    -- Affected screen --
    Details:
        Screen name: net.minecraft.client.gui.inventory.GuiCrafting

    -- Affected level --
    Details:
        Level name: MpServer
        All players: 1 total; [EntityClientPlayerMP['QC712'/278, l='MpServer', x=213,07, y=66,62, z=290,14]]
        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: (208,64,256), Chunk: (at 0,4,0 in 13,16; contains blocks 208,0,256 to 223,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
        Level time: 152987 game time, 5425 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: 83 total; [EntityChicken['Chicken'/137, l='MpServer', x=195,50, y=63,00, z=347,50], EntityChicken['Chicken'/136, l='MpServer', x=192,41, y=62,25, z=315,88], EntityChicken['Chicken'/139, l='MpServer', x=201,47, y=65,00, z=339,56], EntityChicken['Chicken'/138, l='MpServer', x=192,50, y=63,00, z=347,50], EntityClientPlayerMP['QC712'/278, l='MpServer', x=213,07, y=66,62, z=290,14], EntityChicken['Chicken'/135, l='MpServer', x=200,47, y=66,00, z=252,53], EntityChicken['Chicken'/134, l='MpServer', x=195,59, y=68,00, z=251,44], EntityItem['item.tile.dirt.default'/152, l='MpServer', x=223,06, y=62,13, z=299,09], EntityItem['item.tile.dirt.default'/153, l='MpServer', x=222,13, y=63,13, z=300,75], EntityItem['item.tile.clayHardenedStained.black'/154, l='MpServer', x=223,81, y=61,13, z=298,88], EntityItem['item.tile.quartzBlock.default'/155, l='MpServer', x=223,88, y=61,13, z=299,34], EntityItem['item.tile.clayHardenedStained.black'/156, l='MpServer', x=223,56, y=61,13, z=299,81], EntityItem['item.tile.rail'/157, l='MpServer', x=218,25, y=64,13, z=292,84], EntityItem['item.item.painting'/158, l='MpServer', x=223,59, y=67,13, z=302,88], EntityItem['item.tile.clayHardenedStained.black'/159, l='MpServer', x=220,94, y=64,13, z=299,81], EntityItem['item.tile.dirt.default'/145, l='MpServer', x=218,84, y=62,13, z=294,53], EntityItem['item.tile.dirt.default'/146, l='MpServer', x=216,41, y=62,13, z=297,03], EntityItem['item.tile.dirt.default'/147, l='MpServer', x=217,94, y=62,13, z=294,13], EntityItem['item.tile.woolCarpet.yellow'/148, l='MpServer', x=216,19, y=62,13, z=295,94], EntityItem['item.tile.woolCarpet.lightBlue'/149, l='MpServer', x=216,41, y=62,13, z=296,66], EntityItem['item.tile.dirt.default'/150, l='MpServer', x=222,56, y=61,13, z=298,56], EntityItem['item.tile.dirt.default'/151, l='MpServer', x=223,34, y=61,13, z=298,97], EntitySquid['Squid'/169, l='MpServer', x=247,69, y=55,34, z=288,50], EntityItem['item.item.yellowDust'/167, l='MpServer', x=225,19, y=62,13, z=298,66], EntityItem['item.tile.sand.default'/166, l='MpServer', x=225,88, y=62,13, z=298,69], EntityItem['item.tile.dirt.default'/165, l='MpServer', x=224,06, y=62,13, z=296,56], EntityZombie['Zombie'/186, l='MpServer', x=287,47, y=13,00, z=217,03], EntityCreeper['Creeper'/187, l='MpServer', x=287,50, y=20,00, z=213,50], EntityChicken['Chicken'/190, l='MpServer', x=277,44, y=64,00, z=246,44], EntityChicken['Chicken'/191, l='MpServer', x=284,91, y=66,00, z=242,63], EntityChicken['Chicken'/188, l='MpServer', x=278,50, y=63,00, z=246,50], EntityChicken['Chicken'/189, l='MpServer', x=275,50, y=63,00, z=244,50], EntityBat['Bat'/180, l='MpServer', x=248,80, y=35,00, z=232,48], EntityChicken['Chicken'/181, l='MpServer', x=258,56, y=62,42, z=274,56], EntityCreeper['Creeper'/70, l='MpServer', x=139,41, y=18,00, z=233,00], EntityZombie['Zombie'/76, l='MpServer', x=136,31, y=38,88, z=263,59], EntityCreeper['Creeper'/197, l='MpServer', x=284,03, y=23,00, z=278,53], EntityChicken['Chicken'/77, l='MpServer', x=135,66, y=71,00, z=257,56], EntityZombie['Zombie'/196, l='MpServer', x=274,66, y=22,00, z=289,13], EntityChicken['Chicken'/78, l='MpServer', x=143,47, y=69,00, z=263,56], EntityChicken['Chicken'/72, l='MpServer', x=142,50, y=69,00, z=225,50], EntityChicken['Chicken'/193, l='MpServer', x=287,56, y=64,00, z=271,59], EntityBat['Bat'/73, l='MpServer', x=138,50, y=32,10, z=243,28], EntityChicken['Chicken'/192, l='MpServer', x=279,06, y=65,00, z=265,47], EntityBat['Bat'/74, l='MpServer', x=141,75, y=27,10, z=263,50], EntityZombie['Zombie'/195, l='MpServer', x=272,50, y=21,00, z=287,84], EntityCreeper['Creeper'/194, l='MpServer', x=280,13, y=22,00, z=279,31], EntityChicken['Chicken'/85, l='MpServer', x=150,66, y=72,00, z=223,63], EntityBat['Bat'/84, l='MpServer', x=146,44, y=37,02, z=219,97], EntityZombie['Zombie'/87, l='MpServer', x=145,50, y=60,00, z=226,50], EntityZombie['Zombie'/86, l='MpServer', x=146,50, y=60,00, z=226,50], EntitySkeleton['Skeleton'/81, l='MpServer', x=136,13, y=45,00, z=327,50], EntityBat['Bat'/80, l='MpServer', x=145,88, y=44,82, z=269,08], EntitySkeleton['Skeleton'/83, l='MpServer', x=154,31, y=39,00, z=210,69], EntityWaypointContainer['unknown'/333, l='MpServer', x=0,00, y=0,00, z=0,00], EntityZombie['Zombie'/89, l='MpServer', x=145,50, y=44,00, z=315,50], EntityBat['Bat'/88, l='MpServer', x=148,25, y=33,00, z=272,50], EntityChicken['Chicken'/91, l='MpServer', x=158,56, y=68,00, z=302,44], EntityZombie['Zombie'/90, l='MpServer', x=144,50, y=44,00, z=314,50], EntitySkeleton['Skeleton'/102, l='MpServer', x=166,06, y=12,00, z=240,47], EntityChicken['Chicken'/103, l='MpServer', x=160,50, y=64,00, z=319,50], EntitySkeleton['Skeleton'/100, l='MpServer', x=164,31, y=12,00, z=240,59], EntityZombie['Zombie'/101, l='MpServer', x=166,50, y=12,00, z=246,50], EntityZombie['Zombie'/98, l='MpServer', x=165,41, y=41,00, z=221,31], EntityZombie['Zombie'/99, l='MpServer', x=175,50, y=43,00, z=228,50], EntityCreeper['Creeper'/97, l='MpServer', x=168,50, y=32,00, z=211,50], EntityCreeper['Creeper'/108, l='MpServer', x=171,66, y=25,00, z=367,94], EntityCreeper['Creeper'/109, l='MpServer', x=167,41, y=25,00, z=368,00], EntityChicken['Chicken'/106, l='MpServer', x=162,50, y=64,00, z=320,50], EntityChicken['Chicken'/107, l='MpServer', x=162,53, y=62,45, z=351,84], EntityChicken['Chicken'/104, l='MpServer', x=160,50, y=64,00, z=318,50], EntityChicken['Chicken'/105, l='MpServer', x=164,56, y=67,00, z=310,63], EntityChicken['Chicken'/119, l='MpServer', x=189,66, y=68,00, z=251,91], EntitySkeleton['Skeleton'/118, l='MpServer', x=180,50, y=13,00, z=253,50], EntitySkeleton['Skeleton'/117, l='MpServer', x=185,50, y=43,00, z=215,72], EntityBat['Bat'/491, l='MpServer', x=154,25, y=40,00, z=214,25], EntityChicken['Chicken'/126, l='MpServer', x=176,44, y=62,53, z=342,44], EntityChicken['Chicken'/125, l='MpServer', x=186,56, y=62,53, z=320,44], EntityChicken['Chicken'/124, l='MpServer', x=196,44, y=67,00, z=262,56], EntityBat['Bat'/123, l='MpServer', x=184,75, y=17,10, z=267,75], EntityBat['Bat'/122, l='MpServer', x=199,66, y=11,75, z=260,17], EntityBat['Bat'/121, l='MpServer', x=185,64, y=14,92, z=267,10], EntitySkeleton['Skeleton'/120, l='MpServer', x=180,56, y=13,00, z=258,13]]
        Retry entities: 0 total; []
        Server brand: fml,forge
        Server type: Integrated singleplayer server
    Stacktrace:
        at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:384)
        at net.minecraft.client.Minecraft.func_71396_d(MinecraftOverlay.java:2433)
        at net.minecraft.client.Minecraft.func_99999_d(MinecraftOverlay.java:891)
        at net.minecraft.client.main.Main.main(SourceFile:103)
        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:134)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

    -- System Details --
    Details:
        Minecraft Version: 1.7.2
        Operating System: Windows 8 (amd64) version 6.2
        Java Version: 1.7.0_51, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 255420032 bytes (243 MB) / 491782144 bytes (469 MB) up to 954728448 bytes (910 MB)
        JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G
        AABB Pool Size: 3910 (218960 bytes; 0 MB) allocated, 2 (112 bytes; 0 MB) used
        IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
        FML: MCP v9.01-pre FML v7.2.116.1024 Minecraft Forge 10.12.0.1024 7 mods loaded, 7 mods active
        mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
        FML{7.2.116.1024} [Forge Mod Loader] (forge-1.7.2-10.12.0.1024.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
        Forge{10.12.0.1024} [Minecraft Forge] (forge-1.7.2-10.12.0.1024.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
        inventorytweaks{1.57-dev-110} [Inventory Tweaks] (InvTweaks.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
        mccapesextra{1.7.2a} [MCCapes Extra] (MCCapes.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
        shinyfood{1.4} [ShinyFood] (shinyfood-[1.7.2][v1.4].jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
        zoommod{1.2} [ZoomMod] (ZoomMod.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
        Launched Version: 1.7.2
        LWJGL: 2.9.0
        OpenGL: Intel(R) HD Graphics 4000 GL version 4.0.0 - Build 10.18.10.3308, Intel
        Is Modded: Definitely; Client brand changed to 'fml,forge'
        Type: Client (map_client.txt)
        Resource Packs: [Quentin's Pack]
        Current Language: English (US)
        Profiler Position: N/A (disabled)
        Vec3 Pool Size: 1793 (100408 bytes; 0 MB) allocated, 20 (1120 bytes; 0 MB) used
        Anisotropic Filtering: Off (1)
    Quelqu'un peut-il m'aider ? Quelles sont les raisons de ce crash sur ShinyFood ?
    Merci d'avance.
     
  2. robin4002

    robin4002 Support Technique
    Staff

    Inscrit:
    17 Août 2012
    Messages:
    5 478
    Points:
    229
    Sexe:
    Homme
    Salut,
    Il faudrait envoyer le rapport de crash a l'auteur car ça à l'air d'être un problème dans le code du mod.
    En java il existe des tableaux :
    String[] tableauDeString = new String[]{"première chaine de caractère", "deuxième chaine de caractère"};
    par exemple.
    tableauDeString[0] donnera première chaine de caractère et tableauDeString[1] donnera deuxième chaine de caractère, en revanche tableauDeString[2] ou un nombre plus grand provoquera une exception java.lang.ArrayIndexOutOfBoundsException. Même chose pour tableauDeString[-1], ce qui est le cas dans ce rapport de crash.
     
    • Informatif Informatif x 1
  3. QC712

    QC712 Mineur d'Or

    Inscrit:
    2 Juin 2013
    Messages:
    857
    Points:
    151
    Sexe:
    Homme
    Je vais voir ça avec lui alors. o:
    Merci beaucoup.
     

Partager cette page