1.7.2 Crash a cause des creative tabs



  • Bonjours me revoila entrain d'implorer de nouveau votre aide, j'ai un problème assez gênant quand je clique sur la flèche pour changer de page de creativetabs mon jeu crach, mais ce qui est bizarre c'est qu'il crach en solo et multi sur eclipse et juste en multi sur minecraft normal O_o
    Enfin bref je vous envois le crach report :
    merci d'avance ^^

    –-- Minecraft Crash Report ----
    // Who set us up the TNT?
    
    Time: 19/06/14 20:52
    Description: Rendering item
    
    java.lang.NullPointerException: Rendering item
    at net.minecraft.item.ItemStack.getItemDamage(ItemStack.java:266)
    at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:421)
    at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:565)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_147051_a(GuiContainerCreative.java:972)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:800)
    at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:111)
    at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:678)
    at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1209)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1066)
    at net.minecraft.client.Minecraft.run(Minecraft.java:954)
    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.item.ItemStack.getItemDamage(ItemStack.java:266)
    at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:421)
    
    -- Item being rendered --
    Details:
    Item Type: null
    Item Aux: ~~ERROR~~ NullPointerException: null
    Item NBT: null
    Item Foil: ~~ERROR~~ NullPointerException: null
    Stacktrace:
    at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:565)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_147051_a(GuiContainerCreative.java:972)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:800)
    at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:111)
    at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:678)
    
    -- Screen render details --
    Details:
    Screen name: net.minecraft.client.gui.inventory.GuiContainerCreative
    Mouse location: Scaled: (303, 15). Absolute: (607, 449)
    Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2
    
    -- Affected level --
    Details:
    Level name: MpServer
    All players: 1 total; [EntityClientPlayerMP['azatom'/54, l='MpServer', x=-261,70, y=74,62, z=205,16]]
    Chunk stats: MultiplayerChunkCache: 175, 175
    Level seed: 0
    Level generator: ID 00 - default, ver 1\. Features enabled: false
    Level generator options:
    Level spawn location: World: (96,64,-128), Chunk: (at 0,4,0 in 6,-8; contains blocks 96,0,-128 to 111,255,-113), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
    Level time: 375875 game time, 20643 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: 68 total; [EntityBat['Bat'/137, l='MpServer', x=-242,81, y=19,52, z=268,15], PoClass['entity.PO.name'/136, l='MpServer', x=-254,16, y=72,00, z=227,66], EntityEnderman['Enderman'/138, l='MpServer', x=-243,16, y=76,00, z=260,47], EntityBat['Bat'/141, l='MpServer', x=-223,99, y=16,47, z=271,65], PoClass['entity.PO.name'/140, l='MpServer', x=-235,88, y=74,00, z=228,97], EntityZombie['Zombie'/129, l='MpServer', x=-268,44, y=60,00, z=255,88], PoClass['entity.PO.name'/128, l='MpServer', x=-256,53, y=72,00, z=228,22], EntitySkeleton['Skeleton'/130, l='MpServer', x=-259,50, y=68,00, z=271,50], EntityWitch['Witch'/133, l='MpServer', x=-253,53, y=72,00, z=198,88], EntityCreeper['Creeper'/132, l='MpServer', x=-252,38, y=72,00, z=199,00], EntitySkeleton['Skeleton'/135, l='MpServer', x=-246,66, y=59,00, z=230,91], EntityBat['Bat'/134, l='MpServer', x=-243,72, y=15,05, z=233,73], EntitySquid['Squid'/153, l='MpServer', x=-208,47, y=58,19, z=151,46], EntityBat['Bat'/154, l='MpServer', x=-192,56, y=56,69, z=204,45], EntityBat['Bat'/155, l='MpServer', x=-200,50, y=59,10, z=209,59], EntityBat['Bat'/156, l='MpServer', x=-200,69, y=59,10, z=209,50], EntitySpider['Spider'/157, l='MpServer', x=-205,88, y=73,00, z=223,03], EntitySkeleton['Skeleton'/158, l='MpServer', x=-192,50, y=52,00, z=236,50], EntityCreeper['Creeper'/159, l='MpServer', x=-197,50, y=73,00, z=230,50], EntitySquid['Squid'/146, l='MpServer', x=-209,29, y=55,91, z=159,65], EntitySkeleton['Skeleton'/147, l='MpServer', x=-216,50, y=70,00, z=179,50], EntityZombie['Zombie'/171, l='MpServer', x=-190,53, y=51,00, z=228,97], EntityCreeper['Creeper'/170, l='MpServer', x=-188,50, y=55,00, z=198,97], EntitySpider['Spider'/163, l='MpServer', x=-207,22, y=75,00, z=243,49], EntityCreeper['Creeper'/162, l='MpServer', x=-197,13, y=74,00, z=249,75], EntityZombie['Zombie'/161, l='MpServer', x=-201,16, y=50,00, z=241,84], EntityCreeper['Creeper'/160, l='MpServer', x=-196,50, y=73,00, z=233,50], EntitySpider['Spider'/166, l='MpServer', x=-200,91, y=75,00, z=273,34], EntityZombie['Zombie'/165, l='MpServer', x=-199,50, y=74,00, z=249,50], EntityZombie['Zombie'/164, l='MpServer', x=-203,50, y=74,00, z=249,50], EntityZombie['Zombie'/76, l='MpServer', x=-336,50, y=63,00, z=167,50], EntityEnderman['Enderman'/78, l='MpServer', x=-338,50, y=72,00, z=258,50], EntitySkeleton['Skeleton'/85, l='MpServer', x=-320,50, y=72,00, z=197,50], EntityEnderman['Enderman'/84, l='MpServer', x=-332,50, y=63,00, z=170,50], EntityBat['Bat'/87, l='MpServer', x=-310,87, y=27,43, z=144,17], EntityCreeper['Creeper'/81, l='MpServer', x=-325,50, y=24,00, z=148,50], EntityBat['Bat'/80, l='MpServer', x=-328,35, y=19,17, z=134,97], EntitySkeleton['Skeleton'/83, l='MpServer', x=-332,50, y=63,00, z=168,50], EntitySquid['Squid'/82, l='MpServer', x=-325,19, y=58,79, z=149,13], EntityCreeper['Creeper'/93, l='MpServer', x=-307,50, y=17,00, z=164,50], EntityZombie['Zombie'/92, l='MpServer', x=-310,50, y=32,00, z=145,50], EntityZombie['Zombie'/95, l='MpServer', x=-312,50, y=75,00, z=192,50], EntityBat['Bat'/94, l='MpServer', x=-319,77, y=39,42, z=206,42], EntitySpider['Spider'/89, l='MpServer', x=-310,30, y=32,00, z=137,46], EntitySpider['Spider'/88, l='MpServer', x=-308,55, y=31,41, z=137,27], EntityZombie['Zombie'/91, l='MpServer', x=-310,50, y=32,00, z=144,50], EntitySquid['Squid'/90, l='MpServer', x=-315,43, y=61,78, z=140,65], EntitySpider['Spider'/98, l='MpServer', x=-304,44, y=71,00, z=256,00], EntityBat['Bat'/97, l='MpServer', x=-303,92, y=39,63, z=217,34], EntityZombie['Zombie'/110, l='MpServer', x=-300,50, y=70,00, z=255,50], EntityClientPlayerMP['azatom'/54, l='MpServer', x=-261,70, y=74,62, z=205,16], EntitySkeleton['Skeleton'/109, l='MpServer', x=-301,92, y=38,00, z=210,57], EntityBat['Bat'/106, l='MpServer', x=-289,50, y=37,10, z=184,53], EntityEnderman['Enderman'/107, l='MpServer', x=-289,41, y=70,00, z=183,03], EntitySkeleton['Skeleton'/104, l='MpServer', x=-294,50, y=66,00, z=173,50], EntityEnderman['Enderman'/105, l='MpServer', x=-296,53, y=66,00, z=171,56], EntitySkeleton['Skeleton'/119, l='MpServer', x=-275,50, y=67,00, z=256,50], EntityZombie['Zombie'/118, l='MpServer', x=-284,44, y=68,00, z=229,09], PoClass['entity.PO.name'/117, l='MpServer', x=-275,31, y=69,00, z=221,34], EntityBat['Bat'/116, l='MpServer', x=-277,79, y=34,73, z=209,80], EntitySpider['Spider'/115, l='MpServer', x=-275,72, y=68,00, z=164,63], EntityZombie['Zombie'/114, l='MpServer', x=-285,50, y=42,00, z=168,50], EntityBat['Bat'/113, l='MpServer', x=-279,34, y=36,87, z=165,22], EntitySpider['Spider'/127, l='MpServer', x=-268,78, y=70,00, z=215,47], EntityBat['Bat'/126, l='MpServer', x=-258,74, y=26,00, z=217,59], EntityCreeper['Creeper'/125, l='MpServer', x=-269,97, y=69,00, z=172,44], EntitySpider['Spider'/121, l='MpServer', x=-284,94, y=69,00, z=278,63], EntityCreeper['Creeper'/120, l='MpServer', x=-287,50, y=68,00, z=259,69]]
    Retry entities: 0 total; []
    Server brand: fml,forge
    Server type: Integrated singleplayer server
    Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:418)
    at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2559)
    at net.minecraft.client.Minecraft.run(Minecraft.java:976)
    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.7.0_45, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 643062720 bytes (613 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    AABB Pool Size: 30227 (1692712 bytes; 1 MB) allocated, 888 (49728 bytes; 0 MB) used
    IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
    FML: MCP v9.01-pre FML v7.2.125.1034 Minecraft Forge 10.12.0.1034 4 mods loaded, 4 mods active
    mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    FML{7.2.125.1034} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.0.1034.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Forge{10.12.0.1034} [Minecraft Forge] (forgeSrc-1.7.2-10.12.0.1034.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    emergia{1.1} [Emergia Mod principal] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Launched Version: 1.6
    LWJGL: 2.9.0
    OpenGL: GeForce GTX 580/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: 1239 (69384 bytes; 0 MB) allocated, 573 (32088 bytes; 0 MB) used
    Anisotropic Filtering: Off (1)
    

  • Moddeurs confirmés Rédacteurs Administrateurs

    Salut,
    L'item est null, envoie les logs du serveur.



  • NullPointerException
    Hum à mon avis tu enregistre d'abord la créative tab puis l'item ce qui provoque le bug
    Si ce n'es pas ça envoie ta classe principale ^^

    Edit : Dépasser par robin 😛



  • @'robin4002':

    Salut,
    L'item est null, envoie les logs du serveur.

    Je n'ai pas mis d'item encore dans la creative tab
    et ça ne fait pas crach mon serveur mais mon client.

    
    –-- Minecraft Crash Report ----
    // Ooh. Shiny.
    
    Time: 19/06/14 14:52
    Description: Rendering item
    
    java.lang.NullPointerException: Rendering item
    at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:231)
    at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:406)
    at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:548)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_147051_a(GuiContainerCreative.java:940)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_146976_a(GuiContainerCreative.java:771)
    at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:89)
    at net.minecraft.client.renderer.InventoryEffectRenderer.func_73863_a(SourceFile:30)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73863_a(GuiContainerCreative.java:649)
    at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1343)
    at sushen.ieioa.func_78480_b(Unknown Source)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:981)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.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_77960_j(ItemStack.java:231)
    at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:406)
    
    -- Item being rendered --
    Details:
    Item Type: null
    Item Aux: ~~ERROR~~ NullPointerException: null
    Item NBT: null
    Item Foil: ~~ERROR~~ NullPointerException: null
    Stacktrace:
    at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:548)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_147051_a(GuiContainerCreative.java:940)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_146976_a(GuiContainerCreative.java:771)
    at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:89)
    at net.minecraft.client.renderer.InventoryEffectRenderer.func_73863_a(SourceFile:30)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73863_a(GuiContainerCreative.java:649)
    
    -- Screen render details --
    Details:
    Screen name: net.minecraft.client.gui.inventory.GuiContainerCreative
    Mouse location: Scaled: (297, 19). Absolute: (594, 441)
    Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2
    Stacktrace:
    at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1343)
    
    -- Affected level --
    Details:
    Level name: MpServer
    All players: 1 total; [EntityClientPlayerMP['azatom'/1582, l='MpServer', x=-1228,96, y=74,62, z=-291,21]]
    Chunk stats: MultiplayerChunkCache: 292, 292
    Level seed: 0
    Level generator: ID 00 - default, ver 1\. Features enabled: false
    Level generator options:
    Level spawn location: World: (897,105,1210), Chunk: (at 1,6,10 in 56,75; contains blocks 896,0,1200 to 911,255,1215), Region: (1,2; contains chunks 32,64 to 63,95, blocks 512,0,1024 to 1023,255,1535)
    Level time: 148463478 game time, 160248139 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: survival (ID 0). Hardcore: false. Cheats: false
    Forced entities: 42 total; [EntityBat['Bat'/5498, l='MpServer', x=-1245,78, y=36,82, z=-298,72], EntityBat['Bat'/5494, l='MpServer', x=-1247,41, y=42,65, z=-302,00], EntityBat['Bat'/5495, l='MpServer', x=-1264,25, y=45,96, z=-297,69], EntityZombie['Zombie'/5486, l='MpServer', x=-1248,50, y=28,00, z=-308,50], EntityCreeper['Creeper'/5375, l='MpServer', x=-1273,50, y=42,50, z=-305,06], EntityCreeper['Creeper'/5609, l='MpServer', x=-1206,50, y=34,00, z=-339,50], EntityCreeper['Creeper'/5055, l='MpServer', x=-1243,50, y=72,00, z=-247,50], EntityCreeper['Creeper'/5455, l='MpServer', x=-1276,50, y=44,00, z=-335,50], EntityCreeper['Creeper'/5454, l='MpServer', x=-1274,50, y=44,00, z=-333,50], EntityCreeper['Creeper'/5571, l='MpServer', x=-1256,50, y=51,00, z=-312,50], EntityClientPlayerMP['azatom'/1582, l='MpServer', x=-1228,96, y=74,62, z=-291,21], EntitySkeleton['Skeleton'/5181, l='MpServer', x=-1273,50, y=72,00, z=-266,50], EntityWitherSkull['entity.WitherSkull.name'/4577, l='MpServer', x=-1259,25, y=133,28, z=-239,56], EntityZombie['Zombie'/5550, l='MpServer', x=-1196,50, y=15,00, z=-332,50], EntityWitherSkull['entity.WitherSkull.name'/4575, l='MpServer', x=-1222,72, y=124,66, z=-247,81], EntityHorse['§9Passe cette §4Porte §9pour commencer ton §aAventure §9!'/4574, l='MpServer', x=-1222,72, y=124,89, z=-247,81], EntityWitherSkull['entity.WitherSkull.name'/4573, l='MpServer', x=-1222,72, y=124,91, z=-247,81], EntitySkeleton['Skeleton'/5401, l='MpServer', x=-1275,50, y=42,00, z=-312,50], EntityHorse['§9Et bienvenue sur §4Emergia §9!'/4572, l='MpServer', x=-1222,72, y=125,14, z=-247,81], EntityWitherSkull['entity.WitherSkull.name'/4571, l='MpServer', x=-1222,72, y=125,16, z=-247,81], EntityHorse['§9Salut a toi jeune voyageur !'/4570, l='MpServer', x=-1222,72, y=125,39, z=-247,81], EntityWitherSkull['entity.WitherSkull.name'/4569, l='MpServer', x=-1224,94, y=125,50, z=-263,69], EntityHorse['§9Des §alivres §9: a la §4Bibliothèque'/4568, l='MpServer', x=-1224,94, y=125,73, z=-263,69], EntitySkeleton['Skeleton'/5394, l='MpServer', x=-1272,50, y=42,00, z=-308,50], EntityWitherSkull['entity.WitherSkull.name'/4567, l='MpServer', x=-1224,94, y=125,75, z=-263,69], EntitySkeleton['Skeleton'/5395, l='MpServer', x=-1269,50, y=42,00, z=-313,50], EntityHorse['§9Des §aminerais §9: chez le §4Mineur'/4566, l='MpServer', x=-1224,94, y=125,98, z=-263,69], EntityWitherSkull['entity.WitherSkull.name'/4565, l='MpServer', x=-1224,94, y=126,00, z=-263,69], EntityHorse['§9De §al'équipement §9: chez le §4Forgeron'/4564, l='MpServer', x=-1224,94, y=126,23, z=-263,69], EntityWitherSkull['entity.WitherSkull.name'/4563, l='MpServer', x=-1224,94, y=126,25, z=-263,69], EntityHorse['§9De la §anourriture §9: chez le §4Boucher'/4562, l='MpServer', x=-1224,94, y=126,48, z=-263,69], EntityWitherSkull['entity.WitherSkull.name'/4561, l='MpServer', x=-1224,94, y=126,50, z=-263,69], EntityHorse['§9Tu peux acheter :'/4560, l='MpServer', x=-1224,94, y=126,73, z=-263,69], EntityHorse['§9Ce village est un village de tutoriel !'/4558, l='MpServer', x=-1223,19, y=125,42, z=-258,69], EntityWitherSkull['entity.WitherSkull.name'/4559, l='MpServer', x=-1223,19, y=125,19, z=-258,69], EntityHorse['§9Aller déposer tes §aitems §9a la §4banque'/4556, l='MpServer', x=-1233,66, y=128,27, z=-273,59], EntityWitherSkull['entity.WitherSkull.name'/4557, l='MpServer', x=-1233,66, y=128,03, z=-273,59], EntityHorse['§9Aller seller ton §acheval §9a §4l'écurie'/4554, l='MpServer', x=-1233,66, y=128,52, z=-273,59], EntityWitherSkull['entity.WitherSkull.name'/4555, l='MpServer', x=-1233,66, y=128,28, z=-273,59], EntityHorse['§9Tu peux aussi :'/4552, l='MpServer', x=-1233,66, y=128,77, z=-273,59], EntityWitherSkull['entity.WitherSkull.name'/4553, l='MpServer', x=-1233,66, y=128,53, z=-273,59], EntityCreeper['Creeper'/5514, l='MpServer', x=-1275,50, y=15,00, z=-303,50]]
    Retry entities: 0 total; []
    Server brand: mcpc,craftbukkit,fml,forge
    Server type: Non-integrated multiplayer server
    Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:384)
    at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2433)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.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 7 (amd64) version 6.1
    Java Version: 1.7.0_45, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 167832976 bytes (160 MB) / 580386816 bytes (553 MB) up to 954728448 bytes (910 MB)
    JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G
    AABB Pool Size: 1361 (76216 bytes; 0 MB) allocated, 1272 (71232 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 Optifine OptiFine_1.7.2_HD_U_C2 13 mods loaded, 13 mods active
    mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->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
    Forge{10.12.0.1024} [Minecraft Forge] (forge-1.7.2-10.12.0.1024.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    arrowcam{1.1} [Arrow Camera] (1.7.2_arrowcam_v1.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    ss3dMinimap{0} [ss3dMinimap] (3DMinimapMod1.7.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    DamageIndicatorsMod{3.0.7} [Damage Indicators] ([1.7.2]DamageIndicatorsMod-3.0.7.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    Blocks3D{1.7.2.1} [3D Blocks Mod] (Blocks3DMod-1.7.2.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    CameraStudio{2.172} [Camera Studio] (CameraStudioV2.172(mc1.7.2).zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    MoCreatures{6.2.0.dev.R1} [DrZhark's Mo'Creatures Mod] (DrZharks MoCreatures Mod v6.2.0-DEV-R2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    examplemod{1.0} [examplemod] (Emergia.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    emergia{1.1} [Emergia Mod principal] (Emergia.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    TwilightForest{2.0.3} [The Twilight Forest] (twilightforest-1.7.2-2.0.3.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    weaponmod{1.7.2 v1.14.2} [Balkon's WeaponMod] (weaponmod-1.14.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    Launched Version: 1.7.2-Forge10.12.0.1024
    
    

  • Moddeurs confirmés Rédacteurs Administrateurs

    Je peux avoir tout les codes liés à ta table créatif ?
    Et oui j'avais pas compris, je veux quand même les logs du serveurs.



  • Ok bien entendu :

    
    package fr.emergia.EmergiaMod.common;
    
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.Item;
    
    public class EmergiaTab extends CreativeTabs
    {
    
    public EmergiaTab(String Crea)
    {
    super(Crea);
    // TODO Auto-generated constructor stub
    }
    
    @Override
    public Item getTabIconItem()
    {
    // TODO Auto-generated method stub
    return null;
    }
    
    }
    
    

    Et j'ai refais un test pour le serveur voila les logs :

    
    22:21:19] [Netty IO #0/INFO]: Client protocol version 1
    [22:21:19] [Netty IO #0/INFO]: Client attempting to join with 13 mods : Blocks3D@1.7.2.1,arrowcam@1.1,Forge@10.12.0.1024,weaponmod@1.7.2 v1.14.2,TwilightForest@2.0.3,emergia@1.1,mcp@8.09,FML@7.2.116.1024,examplemod@1.0,MoCreatures@6.2.0.dev.R1,ss3dMinimap@0,DamageIndicatorsMod@3.0.7,CameraStudio@2.172
    [22:21:19] [Netty IO #0/INFO]: Attempting connection with missing mods [] at CLIENT
    [22:21:19] [Server thread/INFO]: [Server thread] Server side modded connection established
    [22:21:19] [Server thread/INFO]: azatom[/88.136.115.18:57959] logged in with entity id 61 at ([emergia] -1369.8880960476595, 78.0, -564.8295252242273)
    [22:21:19] [Server thread/INFO]: There's no player by that name online.
    [22:21:22] [Server thread/INFO]: CONSOLE issued server command: /kick [22:21:19 INFO]: azatom
    [22:21:22] [Server thread/INFO]: Error: Player not found.
    [22:21:26] [Server thread/INFO]: [ChatEx] A new update is available! (1.0.11) current: 1.0.10
    [22:21:26] [Server thread/INFO]: [ChatEx] You can get it at: http://dev.bukkit.org/bukkit-plugins/chatex/
    [22:21:26] [Server thread/INFO]: azatom issued server command: /gm 1
    [22:21:30] [Server thread/INFO]: azatom issued server command: /ci
    [22:22:07] [Server thread/INFO]: [WorldEdit] Using inbuilt NmsBlock for this version.
    [22:30:43] [Server thread/INFO]: CONSOLE: Enabled level saving..
    [22:30:43] [Server thread/INFO]: CONSOLE: Forcing save..
    [22:30:43] [Server thread/INFO]: CONSOLE: Save complete.
    [22:40:43] [Server thread/INFO]: CONSOLE: Enabled level saving..
    [22:40:43] [Server thread/INFO]: CONSOLE: Forcing save..
    [22:40:44] [Server thread/INFO]: CONSOLE: Save complete.
    [22:45:23] [Server thread/INFO]: azatom lost connection: Internal Exception: java.io.IOException: Connexion ré-initialisée par le correspondant
    
    

  • Moddeurs confirmés Modérateurs

    fait plutot un:

    
    return new ItemStack(ModMain.tonItem);
    
    


  • Ne fonctionne pas 😕



  • Essaye :

    @Override
    public Item getTabIconItem()
    {
    // TODO Auto-generated method stub
    return Blocks.stone;
    }
    

    Par exemple



  • merci beaucoup ça marche :3 !


  • Modérateurs

    @'mindany2':

    Essaye :

    @Override
    public Item getTabIconItem()
    {
    // TODO Auto-generated method stub
    return Blocks.stone;
    }
    

    Par exemple

    En 1.7, c'est :

    @Override
    public Item getTabIconItem()
    {
    // TODO Auto-generated method stub
    return Item.getItemFromBlock(Blocks.stone); //Pour un Bloc
    }
    


  • Ceci est dans le cas de block :

    @Override
    public Item getTabIconItem()
    {
    // TODO Auto-generated method stub
    return Blocks.stone;
    }
    

    Mais tu peux utiliser ceci dans le cas d'items :

    @Override
    public Item getTabIconItem()
    {
    // TODO Auto-generated method stub
    return Items.redstone;
    }
    

  • Modérateurs

    Pour un item, c'est correct, mais pour le bloc, tu as tord. (cf : https://github.com/FFMT/ModTutoriel/blob/master/tutoriel/common/TutorialCreativeTabs.java#L13-L17 )



  • En faite j'ai juste fait un copier/coller de ce qui avait été dit et dont la réponse est "merci beaucoup ça marche" :
    @'mindany2':

    Essaye :

    @Override
    public Item getTabIconItem()
    {
    // TODO Auto-generated method stub
    return Blocks.stone;
    }
    

    Par exemple

    @'azatom':

    merci beaucoup ça marche :3 !

    Sinon oui je savais que pour le bloc le code correct serai, j'avais pas vu ta réponse sur ce sujet :
    @'Superloup10':

    En 1.7, c'est :

    @Override
    public Item getTabIconItem()
    {
    // TODO Auto-generated method stub
    return Item.getItemFromBlock(Blocks.stone); //Pour un Bloc
    }
    

    Mais visiblement le code de "mindany2" fonctionnerai, après je ne l'est pas essayé car je suis au boulot.


  • Moddeurs confirmés

    Je confirme, tout est dans le type de la méthode:
    public Item getTabIconItem()

    Donc ça doit return un Item



  • @'BlackDrag00n':

    Mais visiblement le code de "mindany2" fonctionnerai, après je ne l'est pas essayé car je suis au boulot.

    J'avais dis ça de tête je pense qu'après azatom à tout simplement vu que ça clochais et a rajouté "Item.getItemFromBlock()" (surtout que le bloc de stone était qu'un exemple il a très pu choisir une pomme en or :p)



  • @'mindany2':

    @'BlackDrag00n':

    Mais visiblement le code de "mindany2" fonctionnerai, après je ne l'est pas essayé car je suis au boulot.

    J'avais dis ça de tête je pense qu'après azatom à tout simplement vu que ça clochais et a rajouté "Item.getItemFromBlock()" (surtout que le bloc de stone était qu'un exemple il a très pu choisir une pomme en or :p)

    Bah en faite dans le cas d'un item tu as juste ça a faire :

    @Override
    public Item getTabIconItem()
    {
    // TODO Auto-generated method stub
    return Items.redstone;
    }
    

    Mais dans le cas d'un bloc faut faire ça, pour le "convertir" en 1 seul item :

    @Override
    public Item getTabIconItem()
    {
    // TODO Auto-generated method stub
    return Item.getItemFromBlock(Blocks.stone); //Pour un Bloc
    }
    


  • Oui je sais ._. c'est pour ça qu'il a pu trouvé que mon code marchait sans pour autant mettre Item.getItemFromBlock() puisqu'il utilisait un item


Log in to reply