1.7.2 Crash grâce à un ISBRH



  • Le jeu crash à cause de ce bout de code :

    renderer.setOverrideBlockTexture(renderer.getBlockIcon(Blocks.iron_block));
    renderer.setRenderBounds(0.40F, 0.4F, 0.40F, 0.60F, 0.6F, 0.60F);
    renderer.renderStandardBlock(block, x, y, z);
    renderer.clearOverrideBlockTexture();
    

    Voici le crash report :

    –-- Minecraft Crash Report ----
    // Surprise! Haha. Well, this is awkward.
    
    Time: 22/06/14 00:38
    Description: Unexpected error
    
    java.lang.ArrayIndexOutOfBoundsException: 7
    at net.minecraft.world.ChunkCache.getSkyBlockTypeBrightness(ChunkCache.java:233)
    at net.minecraft.world.ChunkCache.getLightBrightnessForSkyBlocks(ChunkCache.java:112)
    at net.minecraft.block.Block.getMixedBrightnessForBlock(Block.java:613)
    at net.minecraft.client.renderer.RenderBlocks.renderStandardBlockWithAmbientOcclusionPartial(RenderBlocks.java:5322)
    at net.minecraft.client.renderer.RenderBlocks.renderStandardBlock(RenderBlocks.java:4462)
    at energy.transformer.client.renders.Models.renderCable(Models.java:17)
    at energy.transformer.client.renders.RenderInputCable.renderWorldBlock(RenderInputCable.java:21)
    at cpw.mods.fml.client.registry.RenderingRegistry.renderWorldBlock(RenderingRegistry.java:118)
    at net.minecraft.src.FMLRenderAccessLibrary.renderWorldBlock(FMLRenderAccessLibrary.java:53)
    at net.minecraft.client.renderer.RenderBlocks.renderBlockByRenderType(RenderBlocks.java:432)
    at net.minecraft.client.renderer.WorldRenderer.updateRenderer(WorldRenderer.java:207)
    at net.minecraft.client.renderer.RenderGlobal.updateRenderers(RenderGlobal.java:1616)
    at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1262)
    at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1095)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1025)
    at net.minecraft.client.Minecraft.run(Minecraft.java:912)
    at net.minecraft.client.main.Main.main(Main.java:112)
    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.world.ChunkCache.getSkyBlockTypeBrightness(ChunkCache.java:233)
    at net.minecraft.world.ChunkCache.getLightBrightnessForSkyBlocks(ChunkCache.java:112)
    at net.minecraft.block.Block.getMixedBrightnessForBlock(Block.java:613)
    at net.minecraft.client.renderer.RenderBlocks.renderStandardBlockWithAmbientOcclusionPartial(RenderBlocks.java:5322)
    at net.minecraft.client.renderer.RenderBlocks.renderStandardBlock(RenderBlocks.java:4462)
    at energy.transformer.client.renders.Models.renderCable(Models.java:17)
    at energy.transformer.client.renders.RenderInputCable.renderWorldBlock(RenderInputCable.java:21)
    at cpw.mods.fml.client.registry.RenderingRegistry.renderWorldBlock(RenderingRegistry.java:118)
    at net.minecraft.src.FMLRenderAccessLibrary.renderWorldBlock(FMLRenderAccessLibrary.java:53)
    at net.minecraft.client.renderer.RenderBlocks.renderBlockByRenderType(RenderBlocks.java:432)
    at net.minecraft.client.renderer.WorldRenderer.updateRenderer(WorldRenderer.java:207)
    at net.minecraft.client.renderer.RenderGlobal.updateRenderers(RenderGlobal.java:1616)
    at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1262)
    
    -- Affected level --
    Details:
    Level name: MpServer
    All players: 1 total; [EntityClientPlayerMP['Player326'/159, l='MpServer', x=-44,52, y=5,62, z=606,60]]
    Chunk stats: MultiplayerChunkCache: 40, 40
    Level seed: 0
    Level generator: ID 01 - flat, ver 0\. Features enabled: false
    Level generator options:
    Level spawn location: World: (-54,4,622), Chunk: (at 10,0,14 in -4,38; contains blocks -64,0,608 to -49,255,623), Region: (-1,1; contains chunks -32,32 to -1,63, blocks -512,0,512 to -1,255,1023)
    Level time: 3289 game time, 3289 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: 26 total; [EntitySheep['Sheep'/68, l='MpServer', x=-37,88, y=4,00, z=572,13], EntityPig['Pig'/69, l='MpServer', x=-32,91, y=4,00, z=576,03], EntityHorse['Horse'/70, l='MpServer', x=-35,78, y=4,00, z=585,16], EntityHorse['Horse'/71, l='MpServer', x=-45,71, y=4,00, z=582,29], EntityPig['Pig'/72, l='MpServer', x=-30,88, y=4,00, z=575,16], EntityChicken['Chicken'/80, l='MpServer', x=-8,59, y=4,00, z=622,59], EntitySheep['Sheep'/81, l='MpServer', x=-10,41, y=4,00, z=638,41], EntitySheep['Sheep'/82, l='MpServer', x=-3,34, y=4,00, z=633,25], EntitySheep['Sheep'/83, l='MpServer', x=-0,63, y=4,00, z=635,50], EntitySheep['Sheep'/84, l='MpServer', x=-11,81, y=4,00, z=637,34], EntitySheep['Sheep'/85, l='MpServer', x=-7,08, y=4,00, z=632,73], EntitySheep['Sheep'/86, l='MpServer', x=-4,50, y=4,00, z=633,22], EntitySheep['Sheep'/87, l='MpServer', x=-3,44, y=4,00, z=637,47], EntityChicken['Chicken'/88, l='MpServer', x=-10,19, y=4,00, z=639,31], EntityChicken['Chicken'/89, l='MpServer', x=-14,50, y=4,00, z=635,50], EntityChicken['Chicken'/90, l='MpServer', x=-15,91, y=4,00, z=634,68], EntitySheep['Sheep'/91, l='MpServer', x=-7,16, y=4,00, z=642,19], EntityChicken['Chicken'/43, l='MpServer', x=-77,50, y=4,00, z=653,50], EntityChicken['Chicken'/44, l='MpServer', x=-72,53, y=4,00, z=655,34], EntityChicken['Chicken'/45, l='MpServer', x=-75,53, y=4,00, z=649,59], EntitySheep['Sheep'/46, l='MpServer', x=-73,91, y=4,00, z=655,66], EntityClientPlayerMP['Player326'/159, l='MpServer', x=-44,52, y=5,62, z=606,60], EntityPig['Pig'/56, l='MpServer', x=-49,75, y=4,00, z=569,13], EntitySheep['Sheep'/57, l='MpServer', x=-52,81, y=4,00, z=579,66], EntityHorse['Horse'/58, l='MpServer', x=-54,91, y=4,00, z=600,34], EntityPig['Pig'/59, l='MpServer', x=-51,13, y=4,00, z=604,97]]
    Retry entities: 0 total; []
    Server brand: fml,forge
    Server type: Integrated singleplayer server
    Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:412)
    at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2524)
    at net.minecraft.client.Minecraft.run(Minecraft.java:941)
    at net.minecraft.client.main.Main.main(Main.java:112)
    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 7 (amd64) version 6.1
    Java Version: 1.8.0_05, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 816697568 bytes (778 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    AABB Pool Size: 20006 (1120336 bytes; 1 MB) allocated, 3300 (184800 bytes; 0 MB) used
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v9.03 FML v7.2.211.1121 Minecraft Forge 10.12.2.1121 7 mods loaded, 7 mods active
    mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    FML{7.2.211.1121} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.2.1121.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Forge{10.12.2.1121} [Minecraft Forge] (forgeSrc-1.7.2-10.12.2.1121.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    examplemod{1.0} [Example Mod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Energy_Transformer{@VERSION@} [Energy-Transformer] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    epc2eu{@VERSION@} [epc2eu] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    IC2{2.1.478-experimental} [IndustrialCraft 2] (industrialcraft-2-2.1.478-experimental-dev.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Launched Version: 1.6
    LWJGL: 2.9.0
    OpenGL: GeForce GT 630/PCIe/SSE2 GL version 4.4.0, NVIDIA Corporation
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: []
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 622 (34832 bytes; 0 MB) allocated, 622 (34832 bytes; 0 MB) used
    Anisotropic Filtering: Off (1)
    

    EDIT ninja : Ajouter des // pour ne garder que

    renderer.setRenderBounds(0.40F, 0.4F, 0.40F, 0.60F, 0.6F, 0.60F);
    renderer.renderStandardBlock(block, x, y, z);
    

    ne fonctionne pas


  • Moddeurs confirmés Rédacteurs Administrateurs

    Salut,
    at energy.transformer.client.renders.Models.renderCable(Models.java:17)
    at energy.transformer.client.renders.RenderInputCable.renderWorldBlock(RenderInputC?able.java:21)
    Ces deux lignes correspondent à quoi ?



  • renderCable contient le code cité ci dessus
    renderWorldBlock va juste enclencher la méthode renderCable
    J'ai cherché et d'après ce que j'ai compris, il s'agit d'un bug très étrange de Forge


  • Moddeurs confirmés Rédacteurs Administrateurs

    Tu as donné 4 lignes, j'ai besoin de savoir quelle ligne exactement cause problème.



  • Excuse moi je suis fatigué x(
    La ligne désignée est renderer.renderStandardBlock



  • RESOLU!
    En fait je suis juste un étourdi. L'auto-remplissage d'Eclipse m'a trollé…


Log in to reply