Crash d'un mod: rendering item



  • Salut tout le monde. Je rentre de vacances, et en voulant tester mon mod, j'ai une erreur à laquelle je ne comprend pas grand chose. Elle survient quand j'essaye de passer à la page suivante de mon inventaire. Mon pc n'est pas assez puissant pour lancer Minecraft dans Eclipse, donc je n'ai pu tester mon mod au fur et à mesure, et je ne sais pas d'où vient le problème. J'utilise également le mod Biome o' Plenty, mais je doute que ce soit celui-ci la cause du prblème

    :::

    
    –-- Minecraft Crash Report ----
    // You should try our sister game, Minceraft!
    
    Time: 18/08/14 19:56
    Description: Rendering item
    
    java.lang.NullPointerException: Rendering item
    at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:214)
    at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:398)
    at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:540)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_147051_a(GuiContainerCreative.java:925)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_146976_a(GuiContainerCreative.java:757)
    at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:78)
    at net.minecraft.client.renderer.InventoryEffectRenderer.func_73863_a(SourceFile:30)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73863_a(GuiContainerCreative.java:635)
    at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1061)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:945)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:835)
    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:214)
    at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:398)
    
    -- 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:540)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_147051_a(GuiContainerCreative.java:925)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_146976_a(GuiContainerCreative.java:757)
    at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:78)
    at net.minecraft.client.renderer.InventoryEffectRenderer.func_73863_a(SourceFile:30)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73863_a(GuiContainerCreative.java:635)
    
    -- Screen render details --
    Details:
    Screen name: net.minecraft.client.gui.inventory.GuiContainerCreative
    Mouse location: Scaled: (295, 12). Absolute: (590, 454)
    Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2
    
    -- Affected level --
    Details:
    Level name: MpServer
    All players: 1 total; [EntityClientPlayerMP['Skillb0w'/106405, l='MpServer', x=-362,76, y=79,12, z=130,45]]
    Chunk stats: MultiplayerChunkCache: 241, 241
    Level seed: 0
    Level generator: ID 01 - flat, ver 0\. Features enabled: false
    Level generator options:
    Level spawn location: World: (-459,4,237), Chunk: (at 5,0,13 in -29,14; contains blocks -464,0,224 to -449,255,239), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
    Level time: 32823271 game time, 32823271 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: 31 total; [EntityClientPlayerMP['Skillb0w'/106405, l='MpServer', x=-362,76, y=79,12, z=130,45], EntitySheep['Sheep'/1, l='MpServer', x=-402,72, y=71,00, z=160,38], EntitySheep['Sheep'/3, l='MpServer', x=-406,25, y=71,00, z=157,50], EntityCow['Cow'/4, l='MpServer', x=-404,59, y=71,00, z=156,31], EntityCow['Cow'/6, l='MpServer', x=-399,13, y=71,00, z=156,88], EntityCow['Cow'/7, l='MpServer', x=-397,31, y=71,00, z=159,84], EntitySheep['Sheep'/8, l='MpServer', x=-396,50, y=71,00, z=163,50], EntitySheep['Sheep'/9, l='MpServer', x=-396,41, y=71,00, z=167,59], EntitySpider['Spider'/106448, l='MpServer', x=-328,41, y=71,00, z=93,28], EntitySheep['Sheep'/10, l='MpServer', x=-391,66, y=71,00, z=171,81], EntitySheep['Sheep'/11, l='MpServer', x=-398,84, y=71,00, z=167,13], EntityCow['Cow'/12, l='MpServer', x=-398,31, y=71,00, z=161,44], EntityZombie['Zombie'/106452, l='MpServer', x=-401,50, y=72,00, z=105,50], EntitySkeleton['Skeleton'/106442, l='MpServer', x=-327,50, y=71,00, z=90,50], EntityZombie['Zombie'/106510, l='MpServer', x=-316,44, y=71,00, z=162,03], EntityZombie['Zombie'/106565, l='MpServer', x=-339,50, y=80,00, z=166,50], EntitySkeleton['Skeleton'/106561, l='MpServer', x=-335,50, y=80,00, z=170,50], EntitySkeleton['Skeleton'/106560, l='MpServer', x=-340,50, y=80,00, z=168,50], EntityItem['item.item.arrow'/106425, l='MpServer', x=-310,03, y=71,13, z=182,69], EntityItem['item.item.bone'/106426, l='MpServer', x=-312,34, y=71,13, z=185,88], EntityItem['item.item.arrow'/106427, l='MpServer', x=-315,09, y=71,13, z=185,56], EntitySpider['Spider'/106420, l='MpServer', x=-319,50, y=71,00, z=89,78], EntityCreeper['Creeper'/106423, l='MpServer', x=-317,50, y=71,00, z=88,50], EntityItem['item.item.rottenFlesh'/106418, l='MpServer', x=-312,81, y=71,13, z=83,09], EntitySkeleton['Skeleton'/106551, l='MpServer', x=-361,50, y=71,00, z=160,50], EntityZombie['Zombie'/106477, l='MpServer', x=-366,50, y=110,00, z=163,50], EntitySkeleton['Skeleton'/106411, l='MpServer', x=-323,16, y=71,00, z=86,69], EntityZombie['Zombie'/106410, l='MpServer', x=-343,13, y=80,00, z=90,25], EntitySkeleton['Skeleton'/106406, l='MpServer', x=-355,50, y=109,00, z=85,50], EntityZombie['Zombie'/106532, l='MpServer', x=-370,50, y=80,00, z=167,50], EntityCreeper['Creeper'/106534, l='MpServer', x=-372,50, y=80,00, z=164,50]]
    Retry entities: 0 total; []
    Server brand: cauldron,craftbukkit,mcpc,fml,forge
    Server type: Non-integrated multiplayer server
    Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:368)
    at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2383)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:856)
    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 (x86) version 6.1
    Java Version: 1.7.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) Client VM (mixed mode, sharing), Oracle Corporation
    Memory: 99089928 bytes (94 MB) / 199847936 bytes (190 MB) up to 518979584 bytes (494 MB)
    JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M
    AABB Pool Size: 2110 (118160 bytes; 0 MB) allocated, 407 (22792 bytes; 0 MB) used
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v9.03 FML v7.2.217.1147 Minecraft Forge 10.12.2.1147 5 mods loaded, 5 mods active
    mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    FML{7.2.217.1147} [Forge Mod Loader] (forge-1.7.2-10.12.2.1147.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    Forge{10.12.2.1147} [Minecraft Forge] (forge-1.7.2-10.12.2.1147.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    BiomesOPlenty{2.0.2} [Biomes O' Plenty] (BiomesOPlenty-1.7.2-2.0.2.932-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    auracraft{1.O.O} [AuraCraft Mod] (modid-1.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    Launched Version: 1.7.2
    LWJGL: 2.9.0
    OpenGL: AMD Radeon HD 6290 Graphics GL version 4.1.10834 Compatibility Profile Context, ATI Technologies Inc.
    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: 223 (12488 bytes; 0 MB) allocated, 99 (5544 bytes; 0 MB) used
    Anisotropic Filtering: Off (1)
    
    

    :::

    Cordialement.
    Skillb0w

    P.S. : Je rentre de vacances, et je n'ai pas encore eu le temps de répondre à mes précédents sujets. Je n'oublierais pas 😉



  • in problème d'item, envois t'es classe



  • La class principale:

    :::

    
    package fr.skillb0w.auratools.common;
    
    import net.minecraft.block.Block;
    import net.minecraft.block.BlockCake;
    import net.minecraft.block.material.Material;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.Item;
    import net.minecraft.item.Item.ToolMaterial;
    import net.minecraft.item.ItemSoup;
    import net.minecraft.item.ItemStack;
    import net.minecraftforge.common.util.EnumHelper;
    import cpw.mods.fml.common.Mod;
    import cpw.mods.fml.common.Mod.EventHandler;
    import cpw.mods.fml.common.Mod.Instance;
    import cpw.mods.fml.common.SidedProxy;
    import cpw.mods.fml.common.event.FMLInitializationEvent;
    import cpw.mods.fml.common.event.FMLPostInitializationEvent;
    import cpw.mods.fml.common.event.FMLPreInitializationEvent;
    import cpw.mods.fml.common.registry.GameRegistry;
    import fr.skillb0w.auratools.common.CreativeTabs.AuraBlocs;
    import fr.skillb0w.auratools.common.CreativeTabs.AuraCombat;
    import fr.skillb0w.auratools.common.CreativeTabs.AuraDecoration;
    import fr.skillb0w.auratools.common.CreativeTabs.AuraDivers;
    import fr.skillb0w.auratools.common.CreativeTabs.AuraFood;
    import fr.skillb0w.auratools.common.CreativeTabs.AuraMaterials;
    import fr.skillb0w.auratools.common.CreativeTabs.AuraPotions;
    import fr.skillb0w.auratools.common.CreativeTabs.AuraRedstone;
    import fr.skillb0w.auratools.common.CreativeTabs.AuraTools;
    import fr.skillb0w.auratools.common.CreativeTabs.AuraTransports;
    import fr.skillb0w.auratools.common.Items.Iceglow_dustClass;
    import fr.skillb0w.auratools.common.blocks.AbandonedClass;
    import fr.skillb0w.auratools.common.blocks.BrickChaoticClass;
    import fr.skillb0w.auratools.common.blocks.BrickDecorAllClass;
    import fr.skillb0w.auratools.common.blocks.BrickDecorClass;
    import fr.skillb0w.auratools.common.blocks.BrickFadedClass;
    import fr.skillb0w.auratools.common.blocks.BrickPillarClass;
    import fr.skillb0w.auratools.common.blocks.BrickPillarDecoratedClass;
    import fr.skillb0w.auratools.common.blocks.BrickPlateClass;
    import fr.skillb0w.auratools.common.blocks.BrickWearClass;
    import fr.skillb0w.auratools.common.blocks.ChocoblockClass;
    import fr.skillb0w.auratools.common.blocks.EmeraldBrickClass;
    import fr.skillb0w.auratools.common.blocks.EmeraldCellClass;
    import fr.skillb0w.auratools.common.blocks.EmeraldLayerClass;
    import fr.skillb0w.auratools.common.blocks.EmeraldOrnateClass;
    import fr.skillb0w.auratools.common.blocks.HistoricianClass;
    import fr.skillb0w.auratools.common.blocks.IceBrick_carvedClass;
    import fr.skillb0w.auratools.common.blocks.IcebrickClass;
    import fr.skillb0w.auratools.common.blocks.Icebrick_crackedClass;
    import fr.skillb0w.auratools.common.blocks.IceglowClass;
    import fr.skillb0w.auratools.common.blocks.IronChest;
    import fr.skillb0w.auratools.common.blocks.LapisLayerClass;
    import fr.skillb0w.auratools.common.blocks.LapisOrnateClass;
    import fr.skillb0w.auratools.common.blocks.NecromancerClass;
    import fr.skillb0w.auratools.common.blocks.NetherbrickBrickClass;
    import fr.skillb0w.auratools.common.blocks.NetherbrickObsidianClass;
    import fr.skillb0w.auratools.common.blocks.NetherbrickStoneClass;
    import fr.skillb0w.auratools.common.blocks.RainbowClass;
    import fr.skillb0w.auratools.common.blocks.VerreClass;
    import fr.skillb0w.auratools.common.food.BaconCruClass;
    import fr.skillb0w.auratools.common.food.BaconCuitClass;
    import fr.skillb0w.auratools.common.food.BolChocoClass;
    import fr.skillb0w.auratools.common.food.CaramelClass;
    import fr.skillb0w.auratools.common.food.ChocoChaudClass;
    import fr.skillb0w.auratools.common.food.ChocolatClass;
    import fr.skillb0w.auratools.common.food.CrepeCaramelClass;
    import fr.skillb0w.auratools.common.food.CrepeChocoClass;
    import fr.skillb0w.auratools.common.food.CrepeClass;
    import fr.skillb0w.auratools.common.food.CrepeFromageClass;
    import fr.skillb0w.auratools.common.food.CrepeSucreClass;
    import fr.skillb0w.auratools.common.food.FromageClass;
    import fr.skillb0w.auratools.common.food.GateauChocoClass;
    import fr.skillb0w.auratools.common.food.GlaceCaramelClass;
    import fr.skillb0w.auratools.common.food.GlaceChocoClass;
    import fr.skillb0w.auratools.common.food.GlaceMelonClass;
    import fr.skillb0w.auratools.common.food.JusCarotteClass;
    import fr.skillb0w.auratools.common.food.JusMelonClass;
    import fr.skillb0w.auratools.common.food.JusPommeClass;
    import fr.skillb0w.auratools.common.food.MilkShakeChocoClass;
    import fr.skillb0w.auratools.common.food.MoutonCruClass;
    import fr.skillb0w.auratools.common.food.MoutonCuitClass;
    import fr.skillb0w.auratools.common.food.PizzaClass;
    import fr.skillb0w.auratools.common.food.SandbaconClass;
    import fr.skillb0w.auratools.common.food.SandfromageClass;
    import fr.skillb0w.auratools.common.food.SandjambonClass;
    import fr.skillb0w.auratools.common.food.SandpoissonClass;
    import fr.skillb0w.auratools.common.food.SandpouletClass;
    import fr.skillb0w.auratools.common.food.SeauFromageClass;
    import fr.skillb0w.auratools.common.food.SoupePoissonClass;
    import fr.skillb0w.auratools.common.food.TrancheClass;
    import fr.skillb0w.auratools.common.lamps.BlackLampClass;
    import fr.skillb0w.auratools.common.lamps.BlueLampClass;
    import fr.skillb0w.auratools.common.lamps.BrownLampClass;
    import fr.skillb0w.auratools.common.lamps.CyanLampClass;
    import fr.skillb0w.auratools.common.lamps.GrayLampClass;
    import fr.skillb0w.auratools.common.lamps.GreenLampClass;
    import fr.skillb0w.auratools.common.lamps.LightBlueLampClass;
    import fr.skillb0w.auratools.common.lamps.LightGrayLampClass;
    import fr.skillb0w.auratools.common.lamps.LimeLampClass;
    import fr.skillb0w.auratools.common.lamps.MagentaLampClass;
    import fr.skillb0w.auratools.common.lamps.OrangeLampClass;
    import fr.skillb0w.auratools.common.lamps.PurpleLampClass;
    import fr.skillb0w.auratools.common.lamps.WhiteLampClass;
    import fr.skillb0w.auratools.common.lamps.YellowLampClass;
    import fr.skillb0w.auratools.common.swords.BattleAxeDiamondClass;
    import fr.skillb0w.auratools.common.swords.BattleAxeGoldClass;
    import fr.skillb0w.auratools.common.swords.BattleAxeIronClass;
    import fr.skillb0w.auratools.common.swords.BattleAxeStoneClass;
    import fr.skillb0w.auratools.common.swords.BattleAxeWoodClass;
    import fr.skillb0w.auratools.common.swords.BedrockSwordClass;
    import fr.skillb0w.auratools.common.swords.EnderSwordClass;
    import fr.skillb0w.auratools.common.swords.LapizSwordClass;
    import fr.skillb0w.auratools.common.swords.NightFallSwordClass;
    import fr.skillb0w.auratools.common.swords.ObsidianSwordClass;
    import fr.skillb0w.auratools.common.swords.WitherSwordClass;
    import fr.skillb0w.auratools.common.tools.BedrockHoeClass;
    import fr.skillb0w.auratools.common.tools.BedrockPickaxeClass;
    import fr.skillb0w.auratools.common.tools.BedrockSpadeClass;
    import fr.skillb0w.auratools.proxy.CommonProxy;
    import fr.skillb0w.auratools.tile_entity.MainTileEntity;
    
    @Mod(modid = "auracraft", name = "AuraCraft Mod", version = "1.O.O")
    
    public class MainAuratools
    {
    
    @Instance("auracraft")
    public static MainAuratools instance;
    public static final String MODID = "auracraft";
    
    @SidedProxy(clientSide = "fr.skillb0w.auratools.proxy.ClientProxy", serverSide = "fr.skillb0w.auratools.proxy.CommonProxy" )
    public static CommonProxy proxy;
    
    //Creative Tabs
    public static CreativeTabs AuraBlocs = new AuraBlocs(CreativeTabs.getNextID(), "AuraBlocs");
    public static CreativeTabs AuraDecoration = new AuraDecoration(CreativeTabs.getNextID(), "AuraDecoration");
    public static CreativeTabs AuraRedstone = new AuraRedstone(CreativeTabs.getNextID(), "AuraRedstone");
    public static CreativeTabs AuraTransports = new AuraTransports(CreativeTabs.getNextID(), "AuraTransports");
    public static CreativeTabs AuraDivers = new AuraDivers(CreativeTabs.getNextID(), "AuraDivers");
    public static CreativeTabs AuraFood = new AuraFood(CreativeTabs.getNextID(), "AuraFood");
    public static CreativeTabs AuraTools = new AuraTools(CreativeTabs.getNextID(), "AuraTools");
    public static CreativeTabs AuraCombat = new AuraCombat(CreativeTabs.getNextID(), "AuraCombat");
    public static CreativeTabs AuraPotions = new AuraPotions(CreativeTabs.getNextID(), "AuraPotions");
    public static CreativeTabs AuraMaterials = new AuraMaterials(CreativeTabs.getNextID(), "AuraMaterials");
    
    //Blocs
    public static Block Icebrick = new IcebrickClass(3000, Material.rock).setBlockName("Icebrick");
    public static Block Iceglow = new IceglowClass(3001, Material.glass).setBlockName("Iceglow");
    public static Block Icebrick_carved = new IceBrick_carvedClass(3002, Material.rock).setBlockName("Icebrick_carved");
    public static Block Icebrick_cracked = new Icebrick_crackedClass(3003, Material.rock).setBlockName("Icebrick_cracked");
    public static Block Chocoblock = new ChocoblockClass(3005, Material.rock).setBlockName("Chocoblock");
    public static Item Verre = new VerreClass().setUnlocalizedName("verre");
    
    //Chisel Blocks
    public static Block Abandoned = new AbandonedClass(10001, Material.wood).setBlockName("bookshelf_abandoned");
    public static Block Historician = new HistoricianClass(10002, Material.wood).setBlockName("bookshelf_historician");
    public static Block Necromancer = new NecromancerClass(10003, Material.wood).setBlockName("bookshelf_necromancer");
    public static Block Rainbow = new RainbowClass(10004, Material.wood).setBlockName("bookshelf_rainbow");
    public static Block EmeraldCell = new EmeraldCellClass(10005, Material.iron).setBlockName("Emerald_cell");
    public static Block EmeraldLayer = new EmeraldLayerClass(10006, Material.iron).setBlockName("EmeraldLayer");
    public static Block EmeraldOrnate = new EmeraldOrnateClass(10007, Material.iron).setBlockName("EmeraldOrnate");
    public static Block EmeraldBrick = new EmeraldBrickClass(10008, Material.iron).setBlockName("EmeraldBrick");
    public static Block BrickFaded = new BrickFadedClass(10009, Material.rock).setBlockName("BrickFaded");
    public static Block BrickChaotic = new BrickChaoticClass(10010, Material.rock).setBlockName("BrickChaotic");
    public static Block BrickWear = new BrickWearClass(10011, Material.rock).setBlockName("BrickWear");
    public static Block BrickDecor = new BrickDecorClass(10012, Material.rock).setBlockName("BrickDecor");
    public static Block BrickDecorAll = new BrickDecorAllClass(10013, Material.rock).setBlockName("BrickDecorAll");
    public static Block BrickPlate = new BrickPlateClass(10014, Material.rock).setBlockName("BrickPlate");
    public static Block BrickPillarDecorated = new BrickPillarDecoratedClass(10015, Material.rock).setBlockName("BrickPilarDecorated");
    public static Block BrickPillar = new BrickPillarClass(10016, Material.rock).setBlockName("BrickPillar");
    public static Block NetherbrickObsidian = new NetherbrickObsidianClass(10017, Material.rock).setBlockName("NetherbrickObsidian");
    public static Block NetherbrickStone = new NetherbrickStoneClass(10018, Material.rock).setBlockName("NetherbrickStone");
    public static Block NetherbrickBrick = new NetherbrickBrickClass(10019, Material.rock).setBlockName("NetherbrickBrick");
    public static Block LapisLayer = new LapisLayerClass(10020, Material.rock).setBlockName("LapisLayer");
    public static Block LapisOrnate = new LapisOrnateClass(10021, Material.rock).setBlockName("LapisOrnate");
    
    //Chest
    public static Block IronChest = new IronChest(0).setBlockName("IronChest").setCreativeTab(MainAuratools.AuraRedstone).setBlockTextureName(MainAuratools.MODID + ":iron_front");
    
    //Items
    public static Item Iceglow_dust = new Iceglow_dustClass().setUnlocalizedName("Iceglow_dust");
    
    //Lamps
    public static Block PurpleLampOn = new PurpleLampClass(true).setBlockName("PurpleLampOn");
    public static Block PurpleLampOff = new PurpleLampClass(false).setBlockName("PurpleLampOff");
    public static Block BlackLampOn = new BlackLampClass(true).setBlockName("BlackLampOn");
    public static Block BlackLampOff = new BlackLampClass(false).setBlockName("BlackLampOff");
    public static Block BlueLampOn = new BlueLampClass(true).setBlockName("BlackLampOn");
    public static Block BlueLampOff = new BlueLampClass(false).setBlockName("BlackLampOff");
    public static Block BrownLampOn = new BrownLampClass(true).setBlockName("BrownLampOn");
    public static Block BrownLampOff = new BrownLampClass(true).setBlockName("BrownLampOff");
    public static Block CyanLampOn = new CyanLampClass(true).setBlockName("CyanLampOn");
    public static Block CyanLampOff = new CyanLampClass(false).setBlockName("CyanLampOff");
    public static Block GrayLampOn = new GrayLampClass(true).setBlockName("GrayLampOn");
    public static Block GrayLampOff = new GrayLampClass(false).setBlockName("GrayLampOff");
    public static Block GreenLampOn = new GreenLampClass(true).setBlockName("GreenLampOn");
    public static Block GreenLampOff = new GreenLampClass(false).setBlockName("GreenLampOff");
    public static Block LightBlueLampOn = new LightBlueLampClass(true).setBlockName("LightBlueLampOn");
    public static Block LightBlueLampOff = new LightBlueLampClass(false).setBlockName("LightBlueLampOff");
    public static Block LightGrayLampOn = new LightGrayLampClass(true).setBlockName("LightGrayLampOn");
    public static Block LightGrayLampOff = new LightGrayLampClass(false).setBlockName("LightGrayLampOff");
    public static Block LimeLampOn = new LimeLampClass(true).setBlockName("LimeLampOn");
    public static Block LimeLampOff = new LimeLampClass(false).setBlockName("LimeLampOff");
    public static Block MagentaLampOn = new MagentaLampClass(true).setBlockName("MagentaLampOn");
    public static Block MagentaLampOff = new MagentaLampClass(false).setBlockName("MagentaLampOff");
    public static Block OrangeLampOn = new OrangeLampClass(true).setBlockName("OrangeLampOn");
    public static Block OrangeLampOff = new OrangeLampClass(false).setBlockName("OrangeLampOff");
    public static Block WhiteLampOn = new WhiteLampClass(true).setBlockName("WhiteLampOn");
    public static Block WhiteLampOff = new WhiteLampClass(false).setBlockName("WhiteLampOff");
    public static Block YellowLampOn = new YellowLampClass(true).setBlockName("YellowLampOn");
    public static Block YellowLampOff = new YellowLampClass(false).setBlockName("YellowLampOff");
    
    //Food
    public static Item Tranche = new TrancheClass(2, 0.3F, false).setUnlocalizedName("Tranche");
    public static Item Sandpoulet = new SandpouletClass(12, 0.8F, false).setUnlocalizedName("Sandpoulet");
    public static Item Sandpoisson = new SandpoissonClass(12, 0.8F, false).setUnlocalizedName("Sandpoisson");
    public static Item Sandfromage = new SandfromageClass(10, 0.8F, false).setUnlocalizedName("Sandfromage");
    public static Item Sandbacon = new SandbaconClass(10, 0.8F, false).setUnlocalizedName("Sandbacon");
    public static Item Sandjambon = new SandjambonClass(10, 0.8F, false).setUnlocalizedName("Sandjambon");
    public static Item SeauFromage = new SeauFromageClass().setUnlocalizedName("SeauFromage");
    public static Item Fromage = new FromageClass(4, 0.4F, false).setUnlocalizedName("Fromage");
    public static Item Pizza = new PizzaClass(3, 0.4F, false).setUnlocalizedName("Pizza");
    public static Item Crepe = new CrepeClass(1, 0.2F, false).setUnlocalizedName("Crepe");
    public static Item Chocolat = new ChocolatClass().setUnlocalizedName("Chocolat");
    public static Item CrepeChoco = new CrepeChocoClass(2, 0.2F, false).setUnlocalizedName("CrepeChoco");
    public static Item CrepeFromage = new CrepeFromageClass(2, 0.2F, false).setUnlocalizedName("CrepeFromage");
    public static Item CrepeSucre = new CrepeSucreClass(3, 0.3F, false).setUnlocalizedName("CrepeSucre");
    public static Item CrepeCaramel = new CrepeCaramelClass(3, 0.3F, false).setUnlocalizedName("CrepeCaramel");
    public static Item Caramel = new CaramelClass().setUnlocalizedName("Caramel");
    public static Item BaconCru = new BaconCruClass(1, 0.1F, true).setUnlocalizedName("BaconCru");
    public static Item BaconCuit = new BaconCuitClass(1, 0.3F, true).setUnlocalizedName("BaconCuit");
    public static ItemSoup SoupePoisson = new SoupePoissonClass(4, 0.8F, false);
    public static ItemSoup BolChoco = new BolChocoClass(2, 0.3F, false);
    public static ItemSoup ChocoChaud = new ChocoChaudClass(8, 0.5F, false);
    public static ItemSoup JusPomme = new JusPommeClass(5, 0.3F, false);
    public static ItemSoup JusMelon = new JusMelonClass(5,0.3F, false);
    public static ItemSoup JusCarotte = new JusCarotteClass(5, 0.3F, false);
    public static ItemSoup GlaceCaramel = new GlaceCaramelClass(8, 0.5F, false);
    public static ItemSoup GlaceChoco = new GlaceChocoClass(6, 0.5F, false);
    public static ItemSoup GlaceMelon = new GlaceMelonClass(6, 0.5F, false);
    public static ItemSoup MilkShakeChoco = new MilkShakeChocoClass(8, 0.5F, false);
    public static BlockCake GateauChoco = new GateauChocoClass();
    public static Item MoutonCru = new MoutonCruClass(2, 0.3F, false);
    public static Item MoutonCuit = new MoutonCuitClass(8, 0.5F, false);
    
    //Tools Material
    public static ToolMaterial ObsidianMaterial = EnumHelper.addToolMaterial("ObsidianMaterial", 2, 1400, 6.0F, 5.0F, 10);
    public static ToolMaterial BedrockMaterial = EnumHelper.addToolMaterial("BedrockMaterial", 2, 10000000, 5.0F, 2.0F, 10);
    public static ToolMaterial WitherMaterial = EnumHelper.addToolMaterial("WhiterMaterial", 2, 1700, 6.0F, 8.0F, 12);
    public static ToolMaterial EnderMaterial = EnumHelper.addToolMaterial("EnderMaterial", 2, 1500, 6.0F, 6.0F, 10);
    public static ToolMaterial LapizMaterial = EnumHelper.addToolMaterial("LapizMaterial", 2, 900, 5.0F, 5.0F, 16);
    public static ToolMaterial NightFallMaterial = EnumHelper.addToolMaterial("NightFallMaterial", 2, 1650, 6.0F, 7.0F, 15);
    public static ToolMaterial BattleAxeWoodMaterial = EnumHelper.addToolMaterial("BattleAxeWoodMaterial", 0, 100, 2.0F, 1.0F, 10);
    public static ToolMaterial BattleAxeStoneMaterial = EnumHelper.addToolMaterial("BattleAxeStoneMaterial", 1, 200, 4.0F, 2.0F, 5);
    public static ToolMaterial BattleAxeIronMaterial = EnumHelper.addToolMaterial("BattleAxeIronMaterial", 2, 300, 6.0F, 3.0F, 14);
    public static ToolMaterial BattleAxeDiamondMaterial = EnumHelper.addToolMaterial("BattleAxeDiamondMaterial", 3, 1700, 8.0F, 4.0F, 10);
    public static ToolMaterial BattleAxeGoldMaterial = EnumHelper.addToolMaterial("BattleAxeGoldMaterial", 0, 50, 12.0F, 1.0F, 22);
    
    //Tools
    public static Item BedrockSpade = new BedrockSpadeClass(BedrockMaterial).setUnlocalizedName("BedrockSpade");
    public static Item BedrockHoe = new BedrockHoeClass(BedrockMaterial).setUnlocalizedName("BedrockHoe");
    public static Item BedrockPickaxe = new BedrockPickaxeClass(BedrockMaterial).setUnlocalizedName("BedrockPickaxe");
    
    //Swords
    public static Item ObsidianSword = new ObsidianSwordClass(ObsidianMaterial).setUnlocalizedName("ObsidianSword");
    public static Item BedrockSword = new BedrockSwordClass(BedrockMaterial).setUnlocalizedName("BedrockSword");
    public static Item WhiterSword = new WitherSwordClass(WitherMaterial).setUnlocalizedName("WhiterSword");
    public static Item EnderSword = new EnderSwordClass(EnderMaterial).setUnlocalizedName("EnderSword");
    public static Item LapizSword = new LapizSwordClass(LapizMaterial).setUnlocalizedName("LapizSword");
    public static Item NightFallSword = new NightFallSwordClass(NightFallMaterial).setUnlocalizedName("NightFallSword");
    public static Item BattleAxeWood = new BattleAxeWoodClass(BattleAxeWoodMaterial).setUnlocalizedName("BattleAxeWood");
    public static Item BattleAxeStone = new BattleAxeStoneClass(BattleAxeStoneMaterial).setUnlocalizedName("BattleAxeStone");
    public static Item BattleAxeIron = new BattleAxeIronClass(BattleAxeIronMaterial).setUnlocalizedName("BattleAxeIron");
    public static Item BattleAxeDiamond = new BattleAxeDiamondClass(BattleAxeDiamondMaterial).setUnlocalizedName("BattleAxeDiamond");
    public static Item BattleAxeGold = new BattleAxeGoldClass(BattleAxeGoldMaterial).setUnlocalizedName("BattleAxeGold");
    
    @EventHandler
    public void preInit(FMLPreInitializationEvent event)
    {
    
    //Register Blocks
    GameRegistry.registerBlock(Icebrick, "Icebrick");
    GameRegistry.registerBlock(Iceglow, "Iceglow");
    GameRegistry.registerBlock(Icebrick_carved, "Icebrick_carved");
    GameRegistry.registerBlock(Icebrick_cracked, "Icebrock_cracked");
    GameRegistry.registerItem(Verre, "Verre");
    
    //Register AuraChisel
    GameRegistry.registerBlock(Abandoned, "Abandoned");
    GameRegistry.registerBlock(Historician, "Historician");
    GameRegistry.registerBlock(Necromancer, "Necromancer");
    GameRegistry.registerBlock(Rainbow, "Rainbow");
    GameRegistry.registerBlock(EmeraldCell, "EmeraldCell");
    GameRegistry.registerBlock(EmeraldOrnate, "EmeraldOrnate");
    GameRegistry.registerBlock(EmeraldBrick, "EmeraldBrick");
    GameRegistry.registerBlock(BrickFaded, "BrickFaded");
    GameRegistry.registerBlock(BrickChaotic, "BrickChaotic");
    GameRegistry.registerBlock(BrickWear, "BrickWear");
    GameRegistry.registerBlock(BrickDecor, "BrickDecor");
    GameRegistry.registerBlock(BrickDecorAll, "BrickDecorAll");
    GameRegistry.registerBlock(BrickPlate, "BrickPlate");
    GameRegistry.registerBlock(BrickPillarDecorated, "BrickPillarDecorated");
    GameRegistry.registerBlock(BrickPillar, "BrickPillar");
    GameRegistry.registerBlock(NetherbrickObsidian, "NetherbrickObsidian");
    GameRegistry.registerBlock(NetherbrickStone, "NetherBrickStone");
    GameRegistry.registerBlock(NetherbrickBrick, "NetherbrickBrick");
    GameRegistry.registerBlock(LapisLayer, "LapisLayer");
    GameRegistry.registerBlock(LapisOrnate, "LapisOrnate");
    
    //Register Items
    GameRegistry.registerItem(Iceglow_dust, "Iceglow_dust");
    
    //Register Lamps
    GameRegistry.registerBlock(PurpleLampOn, "PurpleLampOn");
    GameRegistry.registerBlock(PurpleLampOff, "PurpleLampOff");
    GameRegistry.registerBlock(BlackLampOn, "BlackLampOn");
    GameRegistry.registerBlock(BlackLampOff, "BlackLampOff");
    GameRegistry.registerBlock(BlueLampOn, "BlueLampOn");
    GameRegistry.registerBlock(BlueLampOff, "BlueLampOff");
    GameRegistry.registerBlock(BrownLampOn, "BrownLampOn");
    GameRegistry.registerBlock(BrownLampOff, "BrownLampOff");
    GameRegistry.registerBlock(CyanLampOn, "CyanLampOn");
    GameRegistry.registerBlock(CyanLampOff, "CyanLampOff");
    GameRegistry.registerBlock(GrayLampOn, "GrayLampOn");
    GameRegistry.registerBlock(GrayLampOff, "GrayLampOff");
    GameRegistry.registerBlock(GreenLampOn, "GreenLampOn");
    GameRegistry.registerBlock(GreenLampOff, "GreenLampOff");
    GameRegistry.registerBlock(LightBlueLampOn, "LightBlueLampOn");
    GameRegistry.registerBlock(LightBlueLampOff, "LightBlueLampOff");
    GameRegistry.registerBlock(LightGrayLampOn, "LightGrayLampOn");
    GameRegistry.registerBlock(LightGrayLampOff, "LightGrayLampOff");
    GameRegistry.registerBlock(LimeLampOn, "LimeLampOn");
    GameRegistry.registerBlock(LimeLampOff, "LimeLampOff");
    GameRegistry.registerBlock(MagentaLampOn, "MagentaLampOn");
    GameRegistry.registerBlock(MagentaLampOff, "MagentaLampOff");
    GameRegistry.registerBlock(OrangeLampOn, "OrangeLampOn");
    GameRegistry.registerBlock(OrangeLampOff, "OrangeLampOff");
    GameRegistry.registerBlock(WhiteLampOn, "WhiteLampOn");
    GameRegistry.registerBlock(WhiteLampOff, "WhiteLampOff");
    GameRegistry.registerBlock(YellowLampOn, "YellowLampOn");
    GameRegistry.registerBlock(YellowLampOff, "YellowLampOff");
    
    //Register Crafts Lamps
    
    //Register Food
    GameRegistry.registerItem(Tranche, "Tranche");
    GameRegistry.registerItem(Sandpoulet, "Sandpoulet");
    GameRegistry.registerItem(Sandpoisson, "Sandpoisson");
    GameRegistry.registerItem(Sandfromage, "Sandfromage");
    GameRegistry.registerItem(Sandbacon, "Sandbacon");
    GameRegistry.registerItem(Sandjambon, "Sandjambon");
    GameRegistry.registerItem(Fromage, "Fromage");
    GameRegistry.registerItem(Pizza, "Pizza");
    GameRegistry.registerItem(SoupePoisson, "SoupePoisson");
    GameRegistry.registerItem(BolChoco, "BolChoco");
    GameRegistry.registerItem(ChocoChaud, "ChocoChaud");
    GameRegistry.registerItem(Crepe, "Crepe");
    GameRegistry.registerItem(CrepeChoco, "CrepeChoco");
    GameRegistry.registerItem(CrepeFromage, "CrepeFromage");
    GameRegistry.registerItem(CrepeSucre, "CrepeSucre");
    GameRegistry.registerItem(CrepeCaramel, "CrepeCaramel");
    GameRegistry.registerItem(Caramel, "Caramel");
    GameRegistry.registerItem(JusPomme, "JusPomme");
    GameRegistry.registerItem(JusMelon, "JusMelon");
    GameRegistry.registerItem(JusCarotte, "JusCarotte");
    GameRegistry.registerItem(GlaceCaramel, "GlaceCaramel");
    GameRegistry.registerItem(GlaceChoco, "GlaceChoco");
    GameRegistry.registerItem(GlaceMelon, "GlaceMelon");
    GameRegistry.registerItem(MilkShakeChoco, "MilkShakeChoco");
    GameRegistry.registerItem(MoutonCru, "MoutonCru");
    GameRegistry.registerItem(MoutonCuit, "MoutonCuit");
    GameRegistry.registerItem(BaconCru, "BaconCru");
    GameRegistry.registerItem(BaconCuit, "BaconCuit");
    GameRegistry.registerItem(Verre, "Verre");
    
    //Register *
    MainTileEntity.mainRegistry();
    GameRegistry.registerBlock(IronChest, "IronChest");
    
    //Register Smelting
    GameRegistry.addSmelting(net.minecraft.init.Items.sugar, new ItemStack(Caramel), 0);
    GameRegistry.addSmelting(MainAuratools.MoutonCru, new ItemStack(MoutonCuit), 0);
    GameRegistry.addSmelting(MainAuratools.BolChoco, new ItemStack(ChocoChaud), 0);
    GameRegistry.addSmelting(MainAuratools.BaconCru, new ItemStack(BaconCuit), 0);
    GameRegistry.addSmelting(MainAuratools.SeauFromage, new ItemStack(Fromage), 0);
    
    //Register Crafting
    GameRegistry.addRecipe(new ItemStack(Sandpoulet), new Object[]{"T", "P", "T", Character.valueOf('T'), Tranche, Character.valueOf('P'), net.minecraft.init.Items.chicken});
    GameRegistry.addRecipe(new ItemStack(Sandpoisson), new Object[]{"T", "P", "T", Character.valueOf('T'), Tranche, Character.valueOf('P'), net.minecraft.init.Items.fish});
    GameRegistry.addRecipe(new ItemStack(Sandfromage), new Object[]{"T", "F", "T", Character.valueOf('T'), Tranche, Character.valueOf('F'), Fromage});
    GameRegistry.addRecipe(new ItemStack(Sandbacon), new Object[]{"T", "B", "T", Character.valueOf('T'), Tranche, Character.valueOf('B'), BaconCuit});
    GameRegistry.addRecipe(new ItemStack(Pizza, 8), new Object[]{" F ", "FPF", "BBB", Character.valueOf('F'), Fromage, Character.valueOf('P'), net.minecraft.init.Items.porkchop, Character.valueOf('B'), net.minecraft.init.Items.wheat});
    GameRegistry.addRecipe(new ItemStack(CrepeChoco), new Object[]{"C", "X", Character.valueOf('C'), Chocolat, Character.valueOf('X'), Crepe});
    GameRegistry.addRecipe(new ItemStack(CrepeFromage), new Object[]{"F", "C", Character.valueOf('F'), Fromage, Character.valueOf('C'), Crepe});
    GameRegistry.addRecipe(new ItemStack(CrepeSucre), new Object[]{"SSS", "C", Character.valueOf('S'), net.minecraft.init.Items.sugar, Character.valueOf('C'), Crepe});
    GameRegistry.addRecipe(new ItemStack(CrepeCaramel), new Object[]{"C", "X", Character.valueOf('C'), net.minecraft.init.Items.sugar, Character.valueOf('X'), Crepe});
    GameRegistry.addShapelessRecipe(new ItemStack(Tranche, 2), new Object[] {net.minecraft.init.Items.bread });
    GameRegistry.addRecipe(new ItemStack(SoupePoisson), new Object[] {"P", "B", Character.valueOf('P'), net.minecraft.init.Items.fish, Character.valueOf('B'), net.minecraft.init.Items.bowl});
    GameRegistry.addRecipe(new ItemStack(BolChoco), new Object[] {"C", "B", Character.valueOf('C'), Chocolat, Character.valueOf('B'), net.minecraft.init.Items.bowl});
    GameRegistry.addRecipe(new ItemStack(JusPomme), new Object[] {"P", "V", Character.valueOf('P'), net.minecraft.init.Items.apple, Character.valueOf('V'), Verre});
    GameRegistry.addRecipe(new ItemStack(JusMelon), new Object[] {"M", "V", Character.valueOf('M'), net.minecraft.init.Items.melon, Character.valueOf('V'), Verre});
    GameRegistry.addRecipe(new ItemStack(JusCarotte), new Object[] {"C", "V", Character.valueOf('C'), net.minecraft.init.Items.carrot, Character.valueOf('V'), Verre});
    GameRegistry.addRecipe(new ItemStack(GlaceCaramel), new Object[] {" N ", "NCN", " V ", Character.valueOf('N'), net.minecraft.init.Items.snowball, Character.valueOf('C'), Caramel, Character.valueOf('V'), Verre});
    GameRegistry.addRecipe(new ItemStack(GlaceChoco), new Object[] {" N ", "NCN", " V ", Character.valueOf('N'), net.minecraft.init.Items.snowball, Character.valueOf('C'), Chocolat, Character.valueOf('V'), Verre});
    GameRegistry.addRecipe(new ItemStack(GlaceMelon), new Object[] {" N ", "NMN", " V ", Character.valueOf('N'), net.minecraft.init.Items.snowball, Character.valueOf('M'), net.minecraft.init.Items.melon, Character.valueOf('V'), Verre});
    GameRegistry.addRecipe(new ItemStack(GlaceCaramel), new Object[] {"C", "L", "V", Character.valueOf('C'), Chocolat, Character.valueOf('L'), net.minecraft.init.Items.milk_bucket, Character.valueOf('V'), Verre});
    GameRegistry.addRecipe(new ItemStack(BattleAxeIron), new Object[] {"III", "ISI", " S ", Character.valueOf('I'), net.minecraft.init.Items.iron_ingot, Character.valueOf('S'), net.minecraft.init.Items.stick});
    GameRegistry.addRecipe(new ItemStack(BattleAxeGold), new Object[] {"GGG", "GSG", " S ", Character.valueOf('G'), net.minecraft.init.Items.gold_ingot, Character.valueOf('S'), net.minecraft.init.Items.stick});
    GameRegistry.addRecipe(new ItemStack(BattleAxeDiamond), new Object[] {"DDD", "DSD", " S ", Character.valueOf('D'), net.minecraft.init.Items.diamond, Character.valueOf('S'), net.minecraft.init.Items.stick});
    
    }
    
    @EventHandler
    public void init(FMLInitializationEvent event)
    {
    
    }
    
    @EventHandler
    public void postInit(FMLPostInitializationEvent event)
    {
    
    }
    
    }
    
    

    :::

    Je ne sais pas de quoi d'autre tu aurais besoin.

    Cordialement.
    Skillb0w


  • Administrateurs

    Soit Biome o' Plenty soit ton mod n'est pas installé sur ton serveur Cauldron.
    Explication ici : https://www.youtube.com/watch?v=uATNIosLAcY#t=1124



  • Aucun des deux ne l'est, mais l'erreur survient également en solo.

    –---------------------------
    EDIT:

    J'ai trouvé ça en cherchant un peu : http://www.minecraftforgefrance.fr/showthread.php?tid=1003
    et ca correspond à mon problème. Malheuresement, ça ne le résout pas.

    Je vous donne toutes les classes de mes Creatives Tabs

    :::

    
    package fr.skillb0w.auratools.common.CreativeTabs;
    
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.Item;
    import fr.skillb0w.auratools.common.MainAuratools;
    
    public class AuraBlocs extends CreativeTabs {
    
    public AuraBlocs(int par1, String par2Str) {
    super(par1, par2Str);
    }
    
    @Override
    public Item getTabIconItem() {
    return Item.getItemFromBlock(MainAuratools.Historician);
    }
    
    }
    
    

    :::

    :::

    
    package fr.skillb0w.auratools.common.CreativeTabs;
    
    import fr.skillb0w.auratools.common.MainAuratools;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.Item;
    
    public class AuraDecoration extends CreativeTabs {
    
    public AuraDecoration(int par1, String par2Str) {
    super(par1, par2Str);
    }
    
    @Override
    public Item getTabIconItem() {
    return Item.getItemFromBlock(MainAuratools.BrickDecor);
    }
    
    }
    
    

    :::

    :::

    
    package fr.skillb0w.auratools.common.CreativeTabs;
    
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.Item;
    import fr.skillb0w.auratools.common.MainAuratools;
    
    public class AuraRedstone extends CreativeTabs {
    
    public AuraRedstone(int par1, String par2Str) {
    super(par1, par2Str);
    }
    
    @Override
    public Item getTabIconItem() {
    return Item.getItemFromBlock(MainAuratools.YellowLampOn);
    }
    
    }
    
    

    :::

    :::

    
    package fr.skillb0w.auratools.common.CreativeTabs;
    
    import fr.skillb0w.auratools.common.MainAuratools;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.Item;
    
    public class AuraTransports extends CreativeTabs {
    
    public AuraTransports(int par1, String par2Str) {
    super(par1, par2Str);
    }
    
    @Override
    public Item getTabIconItem() {
    return Item.getItemFromBlock(MainAuratools.Abandoned);
    }
    
    }
    
    

    :::

    :::

    
    package fr.skillb0w.auratools.common.CreativeTabs;
    
    import fr.skillb0w.auratools.common.MainAuratools;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.Item;
    
    public class AuraDivers extends CreativeTabs {
    
    public AuraDivers(int par1, String par2Str) {
    super(par1, par2Str);
    }
    
    @Override
    public Item getTabIconItem() {
    return Item.getItemFromBlock(MainAuratools.Abandoned);
    }
    
    }
    
    

    :::

    :::

    
    package fr.skillb0w.auratools.common.CreativeTabs;
    
    import fr.skillb0w.auratools.common.MainAuratools;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.Item;
    
    public class AuraFood extends CreativeTabs {
    
    public AuraFood(int par1, String par2Str) {
    super(par1, par2Str);
    }
    
    @Override
    public Item getTabIconItem() {
    return MainAuratools.Pizza;
    }
    
    }
    
    

    :::

    :::

    
    package fr.skillb0w.auratools.common.CreativeTabs;
    
    import fr.skillb0w.auratools.common.MainAuratools;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.Item;
    
    public class AuraTools extends CreativeTabs {
    
    public AuraTools(int par1, String par2Str) {
    super(par1, par2Str);
    }
    
    @Override
    public Item getTabIconItem() {
    return MainAuratools.EnderSword;
    }
    
    }
    
    

    :::

    :::

    
    package fr.skillb0w.auratools.common.CreativeTabs;
    
    import fr.skillb0w.auratools.common.MainAuratools;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.Item;
    
    public class AuraCombat extends CreativeTabs {
    
    public AuraCombat(int par1, String par2Str) {
    super(par1, par2Str);
    }
    
    @Override
    public Item getTabIconItem() {
    return MainAuratools.NightFallSword;
    }
    
    }
    
    

    :::

    :::

    
    package fr.skillb0w.auratools.common.CreativeTabs;
    
    import fr.skillb0w.auratools.common.MainAuratools;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.Item;
    
    public class AuraPotions extends CreativeTabs {
    
    public AuraPotions(int par1, String par2Str) {
    super(par1, par2Str);
    }
    
    @Override
    public Item getTabIconItem() {
    return Item.getItemFromBlock(MainAuratools.Abandoned);
    }
    
    }
    
    

    :::

    :::

    
    package fr.skillb0w.auratools.common.CreativeTabs;
    
    import fr.skillb0w.auratools.common.MainAuratools;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.Item;
    
    public class AuraMaterials extends CreativeTabs {
    
    public AuraMaterials(int par1, String par2Str) {
    super(par1, par2Str);
    }
    
    @Override
    public Item getTabIconItem() {
    return Item.getItemFromBlock(MainAuratools.Abandoned);
    }
    
    }
    
    

    :::

    Je sais pas si c'est très utile, mais bon...

    Cordialement.
    Skillb0w



  • au hasard, tout simplement pck tu initialises des onglets créatifs qui utilisent des objets qui eux ne sont initialisé qu'après?


  • Administrateurs

    Envoie ta classe principale. Et pourquoi mettre un int dans le constructeur o_O ?



  • il a déja envoyé la principale ^^'



  • @'totos51':

    au hasard, tout simplement pck tu initialises des onglets créatifs qui utilisent des objets qui eux ne sont initialisé qu'après?

    Il faudrait que je mette les Creatives Tabs après les items/blocks ?

    @'robin4002':

    Envoie ta classe principale. Et pourquoi mettre un int dans le constructeur o_O ?

    Il me semble que c'est le constructeur de base.



  • Oui en effet je pense que ce serait mieux, bien sur je peux me tromper



  • Je testerai demain. Merci

    Cordialement.
    Skillb0w


  • Administrateurs

    Ah oui j'avais pas vu la classe principale.
    Tu peux utiliser le constructeur qui contient juste le nom de l'onglet créatif, ça sera mieux.

    Et dans le constructeur de tes items / blocs il y a du n'importe quoi, les ids ne servent plus à rien en 1.7



  • PS: je précise que si ma solution est la bonne, que c'était en effet écrit dans le lein vers le quel tu rediriges, penses à tout lire si c'est le cas 😉



  • Salut. J'ai mis les creatives tabs après, et j'ai toujours le même problème. Dans les logs j'ai une erreur de texture manquante et je ne sais pas pourquoi.

    :::

    
    –- LOGS DU LAUNCHER #41534 - 19/08/14 10:12 ---
    
    Page des news : http://mcupdate.tumblr.com/
    Chargement du logo : https://launchmycraft.fr/tools/logocreator/AuraCraft/38
    ### Chargement terminé ; affichage de l'interface
    ### Connexion au compte...
    Adresse du serveur d'authentification : https://authserver.mojang.com/
    ### Téléchargement de la liste des versions...
    ### Détermination de la version à télécharger...
    Version 1.7.2
    ### Calcul des différences...
    ### Vérification des ressources...
    Mode "legacy" utilisé.
    0 fichiers à mettre à jour.
    ### Mise à  jour des ressources...
    ### Mise à jour des ressources personnalisées...
    Téléchargement de http://www.launchmycraft.fr/getupload/1408435872161
    ### Installation des ressources personnalisées...
    Nettoyage...
    ### Vérification des bibliothèques...
    32 bibliothèques à  vérifier...
    ### Mise à jour des bibliothèques...
    1 bibliothèques à mettre à jour...
    ### Exécution du jeu...
    Chemin vers Java : C:\Program Files\Java\jre7\bin\javaw.exe
    Extraction de la librairie native : C:\Users\Baptiste\AppData\Roaming\.launchmycraft\launchers\launcher41534\libraries\org\lwjgl\lwjgl\lwjgl-platform\2.9.0\lwjgl-platform-2.9.0-natives-windows.jar dans C:\Users\Baptiste\AppData\Roaming\.launchmycraft\launchers\launcher41534\libraries\natives\windows
    Extraction de la librairie native : C:\Users\Baptiste\AppData\Roaming\.launchmycraft\launchers\launcher41534\libraries\net\java\jinput\jinput-platform\2.0.5\jinput-platform-2.0.5-natives-windows.jar dans C:\Users\Baptiste\AppData\Roaming\.launchmycraft\launchers\launcher41534\libraries\natives\windows
    Non authentifié ; ajout des informations par défaut...
    Connexion automatique activée
    
    --- LOGS DU JEU ---
    
    [10:15:05] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
    [10:15:05] [main/INFO]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
    [10:15:05] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
    [10:15:06] [main/INFO]: Forge Mod Loader version 7.2.217.1147 for Minecraft 1.7.2 loading
    [10:15:06] [main/INFO]: Java is Java HotSpot(TM) Client VM, version 1.7.0_51, running on Windows 7:x86:6.1, installed at C:\Program Files\Java\jre7
    [10:15:06] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
    [10:15:06] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
    [10:15:06] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
    [10:15:06] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
    [10:15:06] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
    [10:15:17] [main/INFO]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
    [10:15:18] [main/INFO]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
    [10:15:18] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
    [10:15:18] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
    [10:15:21] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    [10:15:34] [main/INFO]: Setting user: Skillb0w
    [10:15:39] [Client thread/INFO]: LWJGL Version: 2.9.0
    [10:15:51] [Client thread/INFO]: Attempting early MinecraftForge initialization
    [10:15:51] [Client thread/INFO]: MinecraftForge v10.12.2.1147 Initialized
    [10:15:51] [Client thread/INFO]: Replaced 182 ore recipies
    [10:15:52] [Client thread/INFO]: Completed early MinecraftForge initialization
    [10:15:55] [Client thread/INFO]: Searching C:\Users\Baptiste\AppData\Roaming\.launchmycraft\launchers\launcher41534\mods for mods
    [10:15:59] [Client thread/ERROR]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error. There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!
    [10:15:59] [Client thread/ERROR]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.Start. This is generally a severe programming error. There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!
    [10:16:28] [Client thread/INFO]: Forge Mod Loader has identified 5 mods to load
    [10:16:33] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Biomes O' Plenty, FMLFileResourcePack:AuraCraft Mod
    [10:16:33] [Client thread/INFO]: Processing ObjectHolder annotations
    [10:16:33] [Client thread/INFO]: Found 341 ObjectHolder annotations
    [10:16:33] [Client thread/INFO]: Configured a dormant chunk cache size of 0
    [10:16:34] [Client thread/INFO]: [BiomesOPlenty] Extending Potions Array.
    [10:16:46] [Client thread/INFO]: Applying holder lookups
    [10:16:46] [Client thread/INFO]: Holder lookups applied
    
    Starting up SoundSystem…
    Initializing LWJGL OpenAL
    (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
    OpenAL initialized.
    
    [10:17:11] [Sound Library Loader/INFO]: Sound engine started
    [10:17:15] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/MISSING_ICON_BLOCK_458_YellowLampOff.png
    java.io.FileNotFoundException: minecraft:textures/blocks/MISSING_ICON_BLOCK_458_YellowLampOff.png
    at net.minecraft.client.resources.FallbackResourceManager.func_110536_a(SourceFile:51) ~[bqh.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110536_a(SourceFile:55) ~[bqx.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:125) [bpr.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:90) [bpr.class:?]
    at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:72) [bpx.class:?]
    at net.minecraft.client.renderer.texture.TextureManager.func_110580_a(SourceFile:61) [bpx.class:?]
    at net.minecraft.client.renderer.texture.TextureManager.func_130088_a(SourceFile:52) [bpx.class:?]
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:523) [azd.class:?]
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815) [azd.class:?]
    at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
    [10:17:15] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/MISSING_ICON_BLOCK_456_WhiteLampOff.png
    java.io.FileNotFoundException: minecraft:textures/blocks/MISSING_ICON_BLOCK_456_WhiteLampOff.png
    at net.minecraft.client.resources.FallbackResourceManager.func_110536_a(SourceFile:51) ~[bqh.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110536_a(SourceFile:55) ~[bqx.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:125) [bpr.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:90) [bpr.class:?]
    at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:72) [bpx.class:?]
    at net.minecraft.client.renderer.texture.TextureManager.func_110580_a(SourceFile:61) [bpx.class:?]
    at net.minecraft.client.renderer.texture.TextureManager.func_130088_a(SourceFile:52) [bpx.class:?]
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:523) [azd.class:?]
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815) [azd.class:?]
    at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
    [10:17:16] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/MISSING_ICON_BLOCK_455_WhiteLampOn.png
    java.io.FileNotFoundException: minecraft:textures/blocks/MISSING_ICON_BLOCK_455_WhiteLampOn.png
    at net.minecraft.client.resources.FallbackResourceManager.func_110536_a(SourceFile:51) ~[bqh.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110536_a(SourceFile:55) ~[bqx.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:125) [bpr.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:90) [bpr.class:?]
    at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:72) [bpx.class:?]
    at net.minecraft.client.renderer.texture.TextureManager.func_110580_a(SourceFile:61) [bpx.class:?]
    at net.minecraft.client.renderer.texture.TextureManager.func_130088_a(SourceFile:52) [bpx.class:?]
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:523) [azd.class:?]
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815) [azd.class:?]
    at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
    [10:17:16] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/MISSING_ICON_BLOCK_457_YellowLampOn.png
    java.io.FileNotFoundException: minecraft:textures/blocks/MISSING_ICON_BLOCK_457_YellowLampOn.png
    at net.minecraft.client.resources.FallbackResourceManager.func_110536_a(SourceFile:51) ~[bqh.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110536_a(SourceFile:55) ~[bqx.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:125) [bpr.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:90) [bpr.class:?]
    at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:72) [bpx.class:?]
    at net.minecraft.client.renderer.texture.TextureManager.func_110580_a(SourceFile:61) [bpx.class:?]
    at net.minecraft.client.renderer.texture.TextureManager.func_130088_a(SourceFile:52) [bpx.class:?]
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:523) [azd.class:?]
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815) [azd.class:?]
    at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
    [10:17:17] [Client thread/INFO]: Created: 512x512 textures/blocks-atlas
    [10:17:19] [Client thread/INFO]: Created: 512x256 textures/items-atlas
    [10:17:20] [Client thread/INFO]: Unknown recipe class! biomesoplenty.common.recipes.BiomeEssenceRecipe Modder please refer to net.minecraftforge.oredict.RecipeSorter
    [10:17:20] [Client thread/INFO]: Forge Mod Loader has successfully loaded 5 mods
    [10:17:20] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Biomes O' Plenty, FMLFileResourcePack:AuraCraft Mod
    [10:17:21] [Client thread/INFO]: Created: 512x256 textures/items-atlas
    [10:17:22] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/MISSING_ICON_BLOCK_458_YellowLampOff.png
    java.io.FileNotFoundException: minecraft:textures/blocks/MISSING_ICON_BLOCK_458_YellowLampOff.png
    at net.minecraft.client.resources.FallbackResourceManager.func_110536_a(SourceFile:51) ~[bqh.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110536_a(SourceFile:55) ~[bqx.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:125) [bpr.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:90) [bpr.class:?]
    at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:72) [bpx.class:?]
    at net.minecraft.client.renderer.texture.TextureManager.func_110549_a(SourceFile:136) [bpx.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110544_b(SourceFile:104) [bqx.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110541_a(SourceFile:92) [bqx.class:?]
    at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:568) [azd.class:?]
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:527) [azd.class:?]
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815) [azd.class:?]
    at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
    [10:17:22] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/MISSING_ICON_BLOCK_456_WhiteLampOff.png
    java.io.FileNotFoundException: minecraft:textures/blocks/MISSING_ICON_BLOCK_456_WhiteLampOff.png
    at net.minecraft.client.resources.FallbackResourceManager.func_110536_a(SourceFile:51) ~[bqh.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110536_a(SourceFile:55) ~[bqx.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:125) [bpr.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:90) [bpr.class:?]
    at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:72) [bpx.class:?]
    at net.minecraft.client.renderer.texture.TextureManager.func_110549_a(SourceFile:136) [bpx.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110544_b(SourceFile:104) [bqx.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110541_a(SourceFile:92) [bqx.class:?]
    at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:568) [azd.class:?]
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:527) [azd.class:?]
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815) [azd.class:?]
    at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
    [10:17:22] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/MISSING_ICON_BLOCK_455_WhiteLampOn.png
    java.io.FileNotFoundException: minecraft:textures/blocks/MISSING_ICON_BLOCK_455_WhiteLampOn.png
    at net.minecraft.client.resources.FallbackResourceManager.func_110536_a(SourceFile:51) ~[bqh.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110536_a(SourceFile:55) ~[bqx.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:125) [bpr.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:90) [bpr.class:?]
    at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:72) [bpx.class:?]
    at net.minecraft.client.renderer.texture.TextureManager.func_110549_a(SourceFile:136) [bpx.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110544_b(SourceFile:104) [bqx.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110541_a(SourceFile:92) [bqx.class:?]
    at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:568) [azd.class:?]
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:527) [azd.class:?]
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815) [azd.class:?]
    at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
    [10:17:23] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/MISSING_ICON_BLOCK_457_YellowLampOn.png
    java.io.FileNotFoundException: minecraft:textures/blocks/MISSING_ICON_BLOCK_457_YellowLampOn.png
    at net.minecraft.client.resources.FallbackResourceManager.func_110536_a(SourceFile:51) ~[bqh.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110536_a(SourceFile:55) ~[bqx.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:125) [bpr.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:90) [bpr.class:?]
    at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:72) [bpx.class:?]
    at net.minecraft.client.renderer.texture.TextureManager.func_110549_a(SourceFile:136) [bpx.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110544_b(SourceFile:104) [bqx.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110541_a(SourceFile:92) [bqx.class:?]
    at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:568) [azd.class:?]
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:527) [azd.class:?]
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815) [azd.class:?]
    at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
    [10:17:23] [Client thread/INFO]: Created: 512x512 textures/blocks-atlas
    
    SoundSystem shutting down…
    Author: Paul Lamb, www.paulscode.com
    
    Starting up SoundSystem...
    Initializing LWJGL OpenAL
    (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
    OpenAL initialized.
    
    [10:17:26] [Sound Library Loader/INFO]: Sound engine started
    [10:17:32] [Netty Client IO #0/INFO]: Attempting connection with missing mods [BiomesOPlenty, auracraft] at SERVER
    [10:17:33] [Client thread/INFO]: Connecting to 92.222.137.143, 25000
    [10:17:34] [Netty Client IO #1/INFO]: Server protocol version 1
    [10:17:34] [Netty Client IO #1/INFO]: Attempting connection with missing mods [BiomesOPlenty, auracraft] at SERVER
    [10:17:35] [Netty Client IO #1/INFO]: Injecting existing block and item data into this client instance
    [10:17:35] [Netty Client IO #1/INFO]: Applying holder lookups
    [10:17:35] [Netty Client IO #1/INFO]: Holder lookups applied
    [10:17:35] [Client thread/INFO]: [Client thread] Client side modded connection established
    [10:17:36] [Client thread/INFO]: [CHAT] Skillb0w joined the game.
    [10:17:37] [Client thread/INFO]: [CHAT] Welcome, Skillb0w!
    [10:17:37] [Client thread/INFO]: [CHAT] Type /help for a list of commands.
    [10:17:37] [Client thread/INFO]: [CHAT] Type /list to see who else is online.
    [10:17:37] [Client thread/INFO]: [CHAT] Players online: 1 - World time: 9:50 PM
    [10:17:37] [Client thread/INFO]: [CHAT] Vous n'avez pas de courrier.
    [10:17:52] [Client thread/INFO]: Applying holder lookups
    [10:17:52] [Client thread/INFO]: Holder lookups applied
    [10:17:53] [Client thread/FATAL]: Reported exception thrown!
    net.minecraft.util.ReportedException: Rendering item
    at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1092) ~[bll.class:?]
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:945) ~[azd.class:?]
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:835) [azd.class:?]
    at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
    Caused by: java.lang.NullPointerException
    at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:214) ~[abp.class:?]
    at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:398) ~[bnq.class:?]
    at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:540) ~[bnq.class:?]
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_147051_a(GuiContainerCreative.java:925) ~[bdr.class:?]
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_146976_a(GuiContainerCreative.java:757) ~[bdr.class:?]
    at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:78) ~[bdd.class:?]
    at net.minecraft.client.renderer.InventoryEffectRenderer.func_73863_a(SourceFile:30) ~[bdu.class:?]
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73863_a(GuiContainerCreative.java:635) ~[bdr.class:?]
    at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1061) ~[bll.class:?]
    … 9 more
    ---- Minecraft Crash Report ----
    // This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~]
    
    Time: 19/08/14 10:17
    Description: Rendering item
    
    java.lang.NullPointerException: Rendering item
    at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:214)
    at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:398)
    at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:540)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_147051_a(GuiContainerCreative.java:925)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_146976_a(GuiContainerCreative.java:757)
    at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:78)
    at net.minecraft.client.renderer.InventoryEffectRenderer.func_73863_a(SourceFile:30)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73863_a(GuiContainerCreative.java:635)
    at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1061)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:945)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:835)
    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:214)
    at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:398)
    
    -- 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:540)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_147051_a(GuiContainerCreative.java:925)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_146976_a(GuiContainerCreative.java:757)
    at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:78)
    at net.minecraft.client.renderer.InventoryEffectRenderer.func_73863_a(SourceFile:30)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73863_a(GuiContainerCreative.java:635)
    
    -- Screen render details --
    Details:
    Screen name: net.minecraft.client.gui.inventory.GuiContainerCreative
    Mouse location: Scaled: (336, 35). Absolute: (672, 476)
    Screen size: Scaled: (512, 274). Absolute: (1024, 548). Scale factor of 2
    
    -- Affected level --
    Details:
    Level name: MpServer
    All players: 1 total; [EntityClientPlayerMP['Skillb0w'/108117, l='MpServer', x=-362,76, y=79,12, z=130,45]]
    Chunk stats: MultiplayerChunkCache: 241, 241
    Level seed: 0
    Level generator: ID 01 - flat, ver 0\. Features enabled: false
    Level generator options:
    Level spawn location: World: (-459,4,237), Chunk: (at 5,0,13 in -29,14; contains blocks -464,0,224 to -449,255,239), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
    Level time: 33856147 game time, 33856147 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: 34 total; [EntityClientPlayerMP['Skillb0w'/108117, l='MpServer', x=-362,76, y=79,12, z=130,45], EntitySheep['Sheep'/1, l='MpServer', x=-402,72, y=71,00, z=160,38], EntitySheep['Sheep'/3, l='MpServer', x=-406,25, y=71,00, z=157,50], EntityCow['Cow'/4, l='MpServer', x=-404,59, y=71,00, z=156,31], EntityCow['Cow'/6, l='MpServer', x=-399,13, y=71,00, z=156,88], EntityCow['Cow'/7, l='MpServer', x=-397,31, y=71,00, z=159,84], EntityZombie['Zombie'/108213, l='MpServer', x=-403,50, y=71,00, z=105,50], EntitySheep['Sheep'/8, l='MpServer', x=-396,50, y=71,00, z=163,50], EntityZombie['Zombie'/108212, l='MpServer', x=-400,50, y=71,00, z=108,50], EntitySheep['Sheep'/9, l='MpServer', x=-396,41, y=71,00, z=167,59], EntitySkeleton['Skeleton'/108215, l='MpServer', x=-359,50, y=104,00, z=171,50], EntitySheep['Sheep'/10, l='MpServer', x=-391,66, y=71,00, z=171,81], EntityZombie['Zombie'/108214, l='MpServer', x=-406,50, y=71,00, z=102,50], EntitySheep['Sheep'/11, l='MpServer', x=-398,84, y=71,00, z=167,13], EntityCow['Cow'/12, l='MpServer', x=-398,31, y=71,00, z=161,44], EntityZombie['Zombie'/108211, l='MpServer', x=-396,53, y=71,00, z=109,03], EntitySpider['Spider'/108206, l='MpServer', x=-399,66, y=71,00, z=100,66], EntityItem['item.item.rottenFlesh'/108131, l='MpServer', x=-312,81, y=71,13, z=83,09], EntityCreeper['Creeper'/108133, l='MpServer', x=-317,50, y=71,00, z=88,50], EntitySpider['Spider'/108132, l='MpServer', x=-317,59, y=71,00, z=95,84], EntityZombie['Zombie'/108202, l='MpServer', x=-393,50, y=102,00, z=114,50], EntityItem['item.item.bone'/108135, l='MpServer', x=-312,34, y=71,13, z=185,88], EntityItem['item.item.arrow'/108134, l='MpServer', x=-310,03, y=71,13, z=182,69], EntityItem['item.item.arrow'/108136, l='MpServer', x=-315,09, y=71,13, z=185,56], EntityCreeper['Creeper'/108192, l='MpServer', x=-348,06, y=119,00, z=148,28], EntitySkeleton['Skeleton'/108118, l='MpServer', x=-360,50, y=71,00, z=86,50], EntitySpider['Spider'/108119, l='MpServer', x=-353,69, y=71,00, z=85,31], EntityCreeper['Creeper'/108122, l='MpServer', x=-343,97, y=80,00, z=87,34], EntitySkeleton['Skeleton'/108123, l='MpServer', x=-350,44, y=80,00, z=86,44], EntityZombie['Zombie'/108181, l='MpServer', x=-400,50, y=77,00, z=143,50], EntitySpider['Spider'/108121, l='MpServer', x=-345,22, y=80,00, z=84,97], EntitySkeleton['Skeleton'/108126, l='MpServer', x=-318,94, y=71,00, z=96,28], EntityEnderman['Enderman'/108127, l='MpServer', x=-322,08, y=71,00, z=94,36], EntitySkeleton['Skeleton'/108125, l='MpServer', x=-327,13, y=71,00, z=87,44]]
    Retry entities: 0 total; []
    Server brand: cauldron,craftbukkit,mcpc,fml,forge
    Server type: Non-integrated multiplayer server
    Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:368)
    at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2383)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:856)
    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 (x86) version 6.1
    Java Version: 1.7.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) Client VM (mixed mode, sharing), Oracle Corporation
    Memory: 104671672 bytes (99 MB) / 198803456 bytes (189 MB) up to 518979584 bytes (494 MB)
    JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M
    AABB Pool Size: 4350 (243600 bytes; 0 MB) allocated, 2189 (122584 bytes; 0 MB) used
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v9.03 FML v7.2.217.1147 Minecraft Forge 10.12.2.1147 5 mods loaded, 5 mods active
    mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    FML{7.2.217.1147} [Forge Mod Loader] (forge-1.7.2-10.12.2.1147.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    Forge{10.12.2.1147} [Minecraft Forge] (forge-1.7.2-10.12.2.1147.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    BiomesOPlenty{2.0.2} [Biomes O' Plenty] (BiomesOPlenty-1.7.2-2.0.2.932-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    auracraft{1.O.O} [AuraCraft Mod] (modid-1.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    Launched Version: 1.7.2
    LWJGL: 2.9.0
    OpenGL: AMD Radeon HD 6290 Graphics GL version 4.1.10834 Compatibility Profile Context, ATI Technologies Inc.
    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: 969 (54264 bytes; 0 MB) allocated, 449 (25144 bytes; 0 MB) used
    Anisotropic Filtering: Off (1)
    #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Baptiste\AppData\Roaming\.launchmycraft\launchers\launcher41534\crash-reports\crash-2014-08-19_10.17.53-client.txt
    AL lib: (EE) alc_cleanup: 1 device not closed
    ### Le jeu a crashé ! ###
    
    

    :::

    Cordialement.
    Skillb0w



  • envoie une classe d'une des lampes pour laquelle il y a un message d'erreur



  • La yellow :

    :::

    
    package fr.skillb0w.auratools.common.lamps;
    
    import java.util.Random;
    
    import fr.skillb0w.auratools.common.MainAuratools;
    import net.minecraft.block.Block;
    import net.minecraft.block.material.Material;
    import net.minecraft.client.renderer.texture.IIconRegister;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemStack;
    import net.minecraft.world.World;
    
    public class YellowLampClass extends Block {
    
    private final boolean isOn;
    
    public YellowLampClass(boolean isOn) {
    super(Material.redstoneLight);
    this.setCreativeTab(MainAuratools.AuraBlocs);
    this.setHardness(0.3F);
    this.setStepSound(soundTypeGlass);
    
    this.isOn = isOn;
    
    if (this.isOn) {
    this.setLightLevel(1.0F);
    }
    }
    
    public void registerBlocksIcons(IIconRegister iconRegister) {
    this.blockIcon = iconRegister.registerIcon(MainAuratools.MODID + ":" + (this.isOn ? "YellowLampOn" : "YellowLampOff"));
    }
    
    public void onBlockAdded(World world, int x, int y, int z) {
    if (!world.isRemote) {
    if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
    world.scheduleBlockUpdate(x, y, z, this, 4);
    }
    else if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)){
    world.setBlock(x, y, z, MainAuratools.YellowLampOn, 0, 2);
    }
    }
    }
    
    public void onNeighborBlockChange(World world, int x, int y, int z, Block block) {
    
    if (!world.isRemote) {
    if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
    world.scheduleBlockUpdate(x, y, z, this, 4);
    }
    else if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
    world.setBlock(x, y, z, MainAuratools.YellowLampOn, 0, 2);
    }
    }
    }
    
    public void updateTick(World world, int x, int y, int z, Random random) {
    
    if (!world.isRemote && this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
    world.setBlock(x, y, z, MainAuratools.YellowLampOff, 0, 2);
    }
    }
    public Item getItemDropped(int i, Random random, int j) {
    return Item.getItemFromBlock(MainAuratools.YellowLampOff);
    }
    
    protected ItemStack createStackedBlock(int i) {
    return new ItemStack(MainAuratools.YellowLampOff);
    }
    }
    
    

    :::

    La White :

    :::

    
    package fr.skillb0w.auratools.common.lamps;
    
    import java.util.Random;
    
    import net.minecraft.block.Block;
    import net.minecraft.block.material.Material;
    import net.minecraft.client.renderer.texture.IIconRegister;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemStack;
    import net.minecraft.world.World;
    import fr.skillb0w.auratools.common.MainAuratools;
    
    public class WhiteLampClass extends Block {
    
    private final boolean isOn;
    
    public WhiteLampClass(boolean isOn) {
    super(Material.redstoneLight);
    this.setCreativeTab(MainAuratools.AuraBlocs);
    this.setHardness(0.3F);
    this.setStepSound(soundTypeGlass);
    
    this.isOn = isOn;
    
    if (this.isOn) {
    this.setLightLevel(1.0F);
    }
    }
    
    public void registerBlocksIcons(IIconRegister iconRegister) {
    this.blockIcon = iconRegister.registerIcon(MainAuratools.MODID + ":" + (this.isOn ? "WhiteLampOn" : "WhiteLampOff"));
    }
    
    public void onBlockAdded(World world, int x, int y, int z) {
    if (!world.isRemote) {
    if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
    world.scheduleBlockUpdate(x, y, z, this, 4);
    }
    else if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)){
    world.setBlock(x, y, z, MainAuratools.WhiteLampOn, 0, 2);
    }
    }
    }
    
    public void onNeighborBlockChange(World world, int x, int y, int z, Block block) {
    
    if (!world.isRemote) {
    if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
    world.scheduleBlockUpdate(x, y, z, this, 4);
    }
    else if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
    world.setBlock(x, y, z, MainAuratools.WhiteLampOn, 0, 2);
    }
    }
    }
    
    public void updateTick(World world, int x, int y, int z, Random random) {
    
    if (!world.isRemote && this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
    world.setBlock(x, y, z, MainAuratools.WhiteLampOff, 0, 2);
    }
    }
    public Item getItemDropped(int i, Random random, int j) {
    return Item.getItemFromBlock(MainAuratools.WhiteLampOff);
    }
    
    protected ItemStack createStackedBlock(int i) {
    return new ItemStack(MainAuratools.WhiteLampOff);
    }
    
    }
    
    

    :::

    Et la Orange où il n'y a pas d'erreur :

    :::

    
    package fr.skillb0w.auratools.common.lamps;
    
    import java.util.Random;
    
    import fr.skillb0w.auratools.common.MainAuratools;
    import net.minecraft.block.Block;
    import net.minecraft.block.material.Material;
    import net.minecraft.client.renderer.texture.IIconRegister;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemStack;
    import net.minecraft.world.World;
    
    public class OrangeLampClass extends Block {
    
    private final boolean isOn;
    
    public OrangeLampClass(boolean isOn) {
    super(Material.redstoneLight);
    this.setCreativeTab(MainAuratools.AuraBlocs);
    this.setHardness(0.3F);
    this.setStepSound(soundTypeGlass);
    
    this.isOn = isOn;
    
    if (isOn) {
    this.setLightLevel(1.0F);
    }
    }
    
    public void registerBlockIcons(IIconRegister iconRegister) {
    this.blockIcon = iconRegister.registerIcon(MainAuratools.MODID + ":" + (this.isOn ? "OrangeLampOn" : "OrangeLampOff"));
    }
    
    public void onBlockAdded(World world, int x, int y, int z) {
    if (!world.isRemote) {
    if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
    world.scheduleBlockUpdate(x, y, z, this, 4);
    }
    else if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)){
    world.setBlock(x, y, z, MainAuratools.OrangeLampOn, 0, 2);
    }
    
    }
    }
    
    public void onNeighborBlockChange(World world, int x, int y, int z, Block block) {
    
    if (!world.isRemote) {
    if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
    world.scheduleBlockUpdate(x, y, z, this, 4);
    }
    else if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
    world.setBlock(x, y, z, MainAuratools.OrangeLampOn, 0, 2);
    }
    }
    }
    
    public void updateTick(World world, int x, int y, int z, Random random) {
    
    if (!world.isRemote && this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
    world.setBlock(x, y, z, MainAuratools.OrangeLampOff, 0, 2);
    }
    }
    
    public Item getItemDropped(int i, Random random, int j) {
    return Item.getItemFromBlock(MainAuratools.OrangeLampOff);
    }
    
    protected ItemStack createStackedBlock(int i) {
    return new ItemStack(MainAuratools.OrangeLampOff);
    }
    }
    
    

    :::

    Cordialement.
    Skillb0w



  • les texture sont bien présente?



  • Oui avec tous les autres blocs

    –--------------------------

    EDIT: Nouveau problème --'

    Je peux accéder à la deuxieme page de l'inventaire (les creatives tabs que j'ai crée), mais il n'y a rien dedans, et quand je veux accéder à l'onglet de Biomes o' Penty, le jeu crash

    Cordialement.
    Skillb0w


  • Administrateurs

    Bon, je vois plusieurs problèmes:

    • Premièrement, pour les codes JAVA, il y a la balise [java][/java] sans les *.
    • Deuxièmement, pour le respect des conventions JAVA, je te mets un 5/20.
    • Troisièmement, pour les textures, il ne faut jamais mettre de majuscule dans le nom.

  • Administrateurs

    public void registerBlocksIcons(IIconRegister iconRegister) {
    Le problème est la, la fonction s'appelle registerBlockIcons et non registerBlocksIcons


Log in to reply