Problème d'escalier 1.7.10



  • Bonjour voici mon problème je voudrais créer un escalier en diorite mais le problème c'est que le jeu crach.

    Par contre quand je créais un escalier en stone le jeu se lance et pareille avec le granite il se lance

    je suis en forge-1.7.10-10.13.4.1614-1.7.10

    [font=Montserrat, Arial,les logs:]

    –-- Minecraft Crash Report ----
    // There are four lights!
    
    Time: 03/10/17 23:28
    Description: Initializing game
    
    java.lang.NullPointerException: Initializing game
    at net.minecraft.block.BlockStairs.<init>(BlockStairs.java:35)
    at fr.nexsus_mod.mod.BlockMod.BlockStairsMod.<init>(BlockStairsMod.java:11)
    at fr.nexsus_mod.mod.BlockMod.BlockMod.block(BlockMod.java:149)
    at fr.nexsus_mod.mod.Nexsus_mod.preInit(Nexsus_mod.java:86)
    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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
    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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
    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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
    at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
    at net.minecraft.client.Minecraft.run(Minecraft.java:942)
    at net.minecraft.client.main.Main.main(Main.java:164)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
    at GradleStart.main(Unknown Source)
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- Head --
    Stacktrace:
    at net.minecraft.block.BlockStairs.<init>(BlockStairs.java:35)
    at fr.nexsus_mod.mod.BlockMod.BlockStairsMod.<init>(BlockStairsMod.java:11)
    at fr.nexsus_mod.mod.BlockMod.BlockMod.block(BlockMod.java:149)
    at fr.nexsus_mod.mod.Nexsus_mod.preInit(Nexsus_mod.java:86)
    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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
    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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
    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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
    at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
    
    -- Initialization --
    Details:
    Stacktrace:
    at net.minecraft.client.Minecraft.run(Minecraft.java:942)
    at net.minecraft.client.main.Main.main(Main.java:164)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
    at GradleStart.main(Unknown Source)
    
    -- System Details --
    Details:
    Minecraft Version: 1.7.10
    Operating System: Windows 10 (x86) version 10.0
    Java Version: 1.8.0_141, Oracle Corporation
    Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    Memory: 876597672 bytes (835 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 4 mods loaded, 4 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCH mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
    UCH FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar)
    UCH Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar)
    UCE nexsusmod{1.0.5 Alpha} [§4NexsusMod] (bin)
    GL info: ' Vendor: 'ATI Technologies Inc.' Version: '3.3.11672 Compatibility Profile Context' Renderer: 'ATI Radeon HD 4600 Series'
    Launched Version: 1.7.10
    LWJGL: 2.9.1
    OpenGL: ATI Radeon HD 4600 Series GL version 3.3.11672 Compatibility Profile Context, ATI Technologies Inc.
    GL Caps: Using GL 1.3 multitexturing.
    Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
    Anisotropic filtering is supported and maximum anisotropy is 16.
    Shaders are available because OpenGL 2.1 is supported.
    
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: []
    Current Language: Français (France)
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Anisotropic Filtering: Off (1)
    

    [font=Montserrat, Arial,merci pour votre aide.]</init></init></init></init>



  • Coucou, pourrions-nous avoir ton code stp 🙂 afin de mieux cerner le problème.

    tu a un nullpointerexecption a la ligne 11 de la class BlockStairsMod

    java.lang.NullPointerException: Initializing game
       at net.minecraft.block.BlockStairs.<init>(BlockStairs.java:35)
       at fr.nexsus_mod.mod.BlockMod.BlockStairsMod.<init>(BlockStairsMod.java:11)
    ```</init></init>


  • @'SpyMan':

    Coucou, pourrions-nous avoir ton code stp 🙂 afin de mieux cerner le problème.

    tu a un nullpointerexecption a la ligne 11 de la class BlockStairsMod

    java.lang.NullPointerException: Initializing game
       at net.minecraft.block.BlockStairs.<init>(BlockStairs.java:35)
       at fr.nexsus_mod.mod.BlockMod.BlockStairsMod.<init>(BlockStairsMod.java:11)
    ```</init></init>
    

    Ok je te le donne se soir je suis au lycée


    Classe de l'escalier

    
    package fr.nexsus_mod.mod.BlockMod;
    
    import net.minecraft.block.Block;
    import net.minecraft.block.BlockStairs;
    
    public class BlockStairsMod extends BlockStairs
    {
    
        protected BlockStairsMod(Block p_i45428_1_, int p_i45428_2_)
        {
            super(p_i45428_1_, p_i45428_2_);
        }
    
    }
    
    


  • envoi ta class BlockMod



  • @'SpyMan':

    envoi ta class BlockMod

    première partie

    package fr.nexsus_mod.mod.BlockMod;
    
    import cpw.mods.fml.common.IWorldGenerator;
    import cpw.mods.fml.common.registry.GameRegistry;
    import cpw.mods.fml.relauncher.Side;
    import cpw.mods.fml.relauncher.SideOnly;
    import fr.nexsus_mod.mod.Nexsus_mod;
    import fr.nexsus_mod.mod.Reference;
    import fr.nexsus_mod.mod.ItemBlockSlab.ItemBlockGraniteSlabMod;
    import fr.nexsus_mod.mod.ItemBlockSlab.ItemBlockModSlab;
    import fr.nexsus_mod.mod.ItemBlockSlab.ItemBlockModSlabBrick;
    import fr.nexsus_mod.mod.ItemMod.ItemMod;
    import fr.nexsus_mod.mod.SlabMod.BlockGraniteSlabMod;
    import fr.nexsus_mod.mod.SlabMod.BlockSlabMod;
    import fr.nexsus_mod.mod.SlabMod.BlockSlabModBrick;
    import net.minecraft.block.Block;
    import net.minecraft.block.BlockStoneSlab;
    import net.minecraft.block.Block.SoundType;
    import net.minecraft.block.material.Material;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.init.Blocks;
    import net.minecraft.init.Items;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemStack;
    
    public class BlockMod
    {
        public static Block ruby_block;
        public static Block ruby_brick;
        public static Block ruby_ore;
        public static Block ruby_stairs;
        public static Block ruby_stairs_brick;
        public static Block ruby_fence;    
        public static Block copper_block;
        public static Block copper_brick;
        public static Block copper_ore;
        public static Block copper_stairs;
        public static Block copper_stairs_brick;
        public static Block copper_fence;    
        public static Block peridote_block;
        public static Block peridote_brick;
        public static Block peridote_ore;
        public static Block peridote_stairs_brick;
        public static Block peridote_stairs;
        public static Block peridote_fence;    
        public static Block sapphire_block;
        public static Block sapphire_brick;
        public static Block sapphire_ore;
        public static Block sapphire_stairs_brick;
        public static Block sapphire_stairs;
        public static Block sapphire_fence;   
        public static Block amber_block;
        public static Block amber_brick;
        public static Block amber_ore;
        public static Block amber_stairs_brick;
        public static Block amber_stairs;
        public static Block amber_fence;    
        public static Block star_ore;
        public static Block star_ore2;
        public static Block gold_brick;
        public static Block gold_stairs_brick;
        public static Block gold_stairs;
        public static Block gold_fence;
        public static Block emerald_brick;
        public static Block emerald_stairs_brick;
        public static Block emerald_stairs;
        public static Block emerald_fence;
        public static Block iron_brick;
        public static Block iron_stairs_brick;
        public static Block iron_stairs;
        public static Block iron_fence;
        public static Block quartz_fence;
        public static Block diamond_brick;
        public static Block diamond_stairs_brick;
        public static Block diamond_stairs;
        public static Block diamond_fence;
        public static Block sulphur_ore;
        public static Block random_block;
        public static Block purple_portal_block;
        public static Block red_portal_block;
        public static Block yellow_portal_block;
        public static Block pink_portal_block;
        public static Block brown_portal_block;
        public static Block lime_portal_block;
        public static Block light_gray_portal_block;
        public static Block green_portal_block;
        public static Block gray_portal_block;
        public static Block magenta_portal_block;
        public static Block cyan_portal_block;
        public static Block blue_portal_block;
        public static Block black_portal_block;
        public static Block orange_portal_block;
        public static Block white_portal_block;
        public static Block light_blue_portal_block;
        public static Block end_portal_block;
        public static Block log_oak_block;
        public static Block log_acacia_block;
        public static Block log_birch_block;
        public static Block log_jungle_block;
        public static Block log_spruce_block;
        public static Block log_big_oak_block;
        public static Block concrete_white;
        public static Block concrete_orange;
        public static Block concrete_magenta;
        public static Block concrete_light_blue;
        public static Block concrete_yellow;
        public static Block concrete_lime;
        public static Block concrete_pink;
        public static Block concrete_gray;
        public static Block concrete_light_gray;
        public static Block concrete_cyan;
        public static Block concrete_purple;
        public static Block concrete_blue;
        public static Block concrete_brown;
        public static Block concrete_green;
        public static Block concrete_red;
        public static Block concrete_black;
        public static Block concrete_powder_white;
        public static Block concrete_powder_orange;
        public static Block concrete_powder_magenta;
        public static Block concrete_powder_light_blue;
        public static Block concrete_powder_yellow;
        public static Block concrete_powder_lime;
        public static Block concrete_powder_pink;
        public static Block concrete_powder_gray;
        public static Block concrete_powder_light_gray;
        public static Block concrete_powder_cyan;
        public static Block concrete_powder_purple;
        public static Block concrete_powder_blue;
        public static Block concrete_powder_brown;
        public static Block concrete_powder_green;
        public static Block concrete_powder_red;
        public static Block concrete_powder_black;
        public static Block granite;
        public static Block granite_stairs;
        public static Block granite_slab;
        public static Block granite_slab_double;
        public static Block polished_granite;
        public static Block diorite;
        public static Block polished_diorite;
        public static Block andesite;
        public static Block polished_andesite;
        public static Block barrier;
        public static Block DoubleSlabMod;
        public static Block SingleSlabMod;
        public static Block DoubleSlabModBrick;
        public static Block SingleSlabModBrick;
        public static Block test;
    
        public static void block()
        {
            test = new BlockStairsMod(BlockMod.granite, 0).setCreativeTab(Nexsus_mod.NexsusDeco).setBlockName("granite_stairs").setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone);
            granite_slab = new BlockGraniteSlabMod(false, Material.rock).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypePiston).setBlockName("BlockGraniteSlabMod");
            granite_slab_double = new BlockGraniteSlabMod(true, Material.rock).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypePiston).setBlockName("BlockGraniteSlabMod");
            DoubleSlabModBrick = new BlockSlabModBrick(true, Material.iron).setHardness(2.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal).setBlockName("BlockSlabModBrick.");
            SingleSlabModBrick = new BlockSlabModBrick(false, Material.iron).setHardness(2.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal).setBlockName("BlockSlabModBrick");
            DoubleSlabMod = new BlockSlabMod(true, Material.iron).setHardness(2.0F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("BlockSlabMod.");
            SingleSlabMod = new BlockSlabMod(false, Material.iron).setHardness(2.0F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("BlockSlabMod");
            barrier = new BlockBasic(Material.glass, 0).setStepSound(Block.soundTypeGlass).setBlockName("barrier").setBlockTextureName(Reference.MOD_ID + ":barrier").setCreativeTab(Nexsus_mod.NexsusBLock).setBlockUnbreakable();
            granite = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("granite").setBlockTextureName(Reference.MOD_ID + ":granite").setCreativeTab(Nexsus_mod.NexsusDeco);
            polished_granite = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("polished_granite").setBlockTextureName(Reference.MOD_ID + ":polished_granite").setCreativeTab(Nexsus_mod.NexsusDeco);
            granite_stairs = new BlockStairsMod(BlockMod.granite, 0).setCreativeTab(Nexsus_mod.NexsusDeco).setBlockName("granite_stairs").setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone);
            diorite = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("diorite").setBlockTextureName(Reference.MOD_ID + ":diorite").setCreativeTab(Nexsus_mod.NexsusDeco);
            polished_diorite = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("polished_diorite").setBlockTextureName(Reference.MOD_ID + ":polished_diorite").setCreativeTab(Nexsus_mod.NexsusDeco);
            andesite = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("andesite").setBlockTextureName(Reference.MOD_ID + ":andesite").setCreativeTab(Nexsus_mod.NexsusDeco);
            polished_andesite = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("polished_andesite").setBlockTextureName(Reference.MOD_ID + ":polished_andesite").setCreativeTab(Nexsus_mod.NexsusDeco);      
            concrete_white = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("concrete_white").setBlockTextureName(Reference.MOD_ID + ":concrete_white").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_orange = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("concrete_orange").setBlockTextureName(Reference.MOD_ID + ":concrete_orange").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_magenta = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("concrete_magenta").setBlockTextureName(Reference.MOD_ID + ":concrete_magenta").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_light_blue = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("concrete_light_blue").setBlockTextureName(Reference.MOD_ID + ":concrete_light_blue").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_yellow = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("concrete_yellow").setBlockTextureName(Reference.MOD_ID + ":concrete_yellow").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_lime = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("concrete_lime").setBlockTextureName(Reference.MOD_ID + ":concrete_lime").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_pink = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("concrete_pink").setBlockTextureName(Reference.MOD_ID + ":concrete_pink").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_gray = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("concrete_gray").setBlockTextureName(Reference.MOD_ID + ":concrete_gray").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_light_gray = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("concrete_light_gray").setBlockTextureName(Reference.MOD_ID + ":concrete_light_gray").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_cyan = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("concrete_cyan").setBlockTextureName(Reference.MOD_ID + ":concrete_cyan").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_purple = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("concrete_purple").setBlockTextureName(Reference.MOD_ID + ":concrete_purple").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_blue = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("concrete_blue").setBlockTextureName(Reference.MOD_ID + ":concrete_blue").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_brown = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("concrete_brown").setBlockTextureName(Reference.MOD_ID + ":concrete_brown").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_green = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("concrete_green").setBlockTextureName(Reference.MOD_ID + ":concrete_green").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_red = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("concrete_red").setBlockTextureName(Reference.MOD_ID + ":concrete_red").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_black = new BlockBasic(Material.rock, 0).setHardness(1.5F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("concrete_black").setBlockTextureName(Reference.MOD_ID + ":concrete_black").setCreativeTab(Nexsus_mod.NexsusDeco);                      
            concrete_powder_white = new BlockSandMod().setHardness(0.5F).setStepSound(Block.soundTypeSand).setBlockName("concrete_powder_white").setBlockTextureName(Reference.MOD_ID + ":concrete_powder_white").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_powder_orange = new BlockSandMod().setHardness(0.5F).setStepSound(Block.soundTypeSand).setBlockName("concrete_powder_orange").setBlockTextureName(Reference.MOD_ID + ":concrete_powder_orange").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_powder_magenta = new BlockSandMod().setHardness(0.5F).setStepSound(Block.soundTypeSand).setBlockName("concrete_powder_magenta").setBlockTextureName(Reference.MOD_ID + ":concrete_powder_magenta").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_powder_light_blue = new BlockSandMod().setHardness(0.5F).setStepSound(Block.soundTypeSand).setBlockName("concrete_powder_light_blue").setBlockTextureName(Reference.MOD_ID + ":concrete_powder_light_blue").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_powder_yellow = new BlockSandMod().setHardness(0.5F).setStepSound(Block.soundTypeSand).setBlockName("concrete_powder_yellow").setBlockTextureName(Reference.MOD_ID + ":concrete_powder_yellow").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_powder_lime = new BlockSandMod().setHardness(0.5F).setStepSound(Block.soundTypeSand).setBlockName("concrete_powder_lime").setBlockTextureName(Reference.MOD_ID + ":concrete_powder_lime").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_powder_pink = new BlockSandMod().setHardness(0.5F).setStepSound(Block.soundTypeSand).setBlockName("concrete_powder_pink").setBlockTextureName(Reference.MOD_ID + ":concrete_powder_pink").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_powder_gray = new BlockSandMod().setHardness(0.5F).setStepSound(Block.soundTypeSand).setBlockName("concrete_powder_gray").setBlockTextureName(Reference.MOD_ID + ":concrete_powder_gray").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_powder_light_gray = new BlockSandMod().setHardness(0.5F).setStepSound(Block.soundTypeSand).setBlockName("concrete_powder_light_gray").setBlockTextureName(Reference.MOD_ID + ":concrete_powder_light_gray").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_powder_cyan = new BlockSandMod().setHardness(0.5F).setStepSound(Block.soundTypeSand).setBlockName("concrete_powder_cyan").setBlockTextureName(Reference.MOD_ID + ":concrete_powder_cyan").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_powder_purple = new BlockSandMod().setHardness(0.5F).setStepSound(Block.soundTypeSand).setBlockName("concrete_powder_purple").setBlockTextureName(Reference.MOD_ID + ":concrete_powder_purple").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_powder_blue = new BlockSandMod().setHardness(0.5F).setStepSound(Block.soundTypeSand).setBlockName("concrete_powder_blue").setBlockTextureName(Reference.MOD_ID + ":concrete_powder_blue").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_powder_brown = new BlockSandMod().setHardness(0.5F).setStepSound(Block.soundTypeSand).setBlockName("concrete_powder_brown").setBlockTextureName(Reference.MOD_ID + ":concrete_powder_brown").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_powder_green = new BlockSandMod().setHardness(0.5F).setStepSound(Block.soundTypeSand).setBlockName("concrete_powder_green").setBlockTextureName(Reference.MOD_ID + ":concrete_powder_green").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_powder_red = new BlockSandMod().setHardness(0.5F).setStepSound(Block.soundTypeSand).setBlockName("concrete_powder_red").setBlockTextureName(Reference.MOD_ID + ":concrete_powder_red").setCreativeTab(Nexsus_mod.NexsusDeco);
            concrete_powder_black = new BlockSandMod().setHardness(0.5F).setStepSound(Block.soundTypeSand).setBlockName("concrete_powder_black").setBlockTextureName(Reference.MOD_ID + ":concrete_powder_black").setCreativeTab(Nexsus_mod.NexsusDeco);               
            log_oak_block = new BlockBasic(Material.wood, 0).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundTypeWood).setBlockName("log_oak_block").setBlockTextureName(Reference.MOD_ID + ":log_oak_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            log_spruce_block = new BlockBasic(Material.wood, 0).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundTypeWood).setBlockName("log_spruce_block").setBlockTextureName(Reference.MOD_ID + ":log_spruce_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            log_big_oak_block = new BlockBasic(Material.wood, 0).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundTypeWood).setBlockName("log_big_oak_block").setBlockTextureName(Reference.MOD_ID + ":log_big_oak_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            log_acacia_block = new BlockBasic(Material.wood, 0).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundTypeWood).setBlockName("log_acacia_block").setBlockTextureName(Reference.MOD_ID + ":log_acacia_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            log_birch_block = new BlockBasic(Material.wood, 0).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundTypeWood).setBlockName("log_birch_block").setBlockTextureName(Reference.MOD_ID + ":log_birch_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            log_jungle_block = new BlockBasic(Material.wood, 0).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundTypeWood).setBlockName("log_jungle_block").setBlockTextureName(Reference.MOD_ID + ":log_jungle_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            end_portal_block = new BlockBasic(Material.glass, 0).setHardness(0.3F).setStepSound(Block.soundTypeGlass).setLightLevel(1.0F).setBlockName("end_portal_block").setBlockTextureName(Reference.MOD_ID + ":end_portal_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            purple_portal_block = new BlockBasic(Material.glass, 0).setHardness(0.3F).setStepSound(Block.soundTypeGlass).setLightLevel(1.0F).setBlockName("purple_portal_block").setBlockTextureName(Reference.MOD_ID + ":purple_portal_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            red_portal_block = new BlockBasic(Material.glass, 0).setHardness(0.3F).setStepSound(Block.soundTypeGlass).setLightLevel(1.0F).setBlockName("red_portal_block").setBlockTextureName(Reference.MOD_ID + ":red_portal_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            yellow_portal_block = new BlockBasic(Material.glass, 0).setHardness(0.3F).setStepSound(Block.soundTypeGlass).setLightLevel(1.0F).setBlockName("yellow_portal_block").setBlockTextureName(Reference.MOD_ID + ":yellow_portal_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            pink_portal_block = new BlockBasic(Material.glass, 0).setHardness(0.3F).setStepSound(Block.soundTypeGlass).setLightLevel(1.0F).setBlockName("pink_portal_block").setBlockTextureName(Reference.MOD_ID + ":pink_portal_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            brown_portal_block = new BlockBasic(Material.glass, 0).setHardness(0.3F).setStepSound(Block.soundTypeGlass).setLightLevel(1.0F).setBlockName("brown_portal_block").setBlockTextureName(Reference.MOD_ID + ":brown_portal_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            lime_portal_block = new BlockBasic(Material.glass, 0).setHardness(0.3F).setStepSound(Block.soundTypeGlass).setLightLevel(1.0F).setBlockName("lime_portal_block").setBlockTextureName(Reference.MOD_ID + ":lime_portal_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            light_gray_portal_block = new BlockBasic(Material.glass, 0).setHardness(0.3F).setStepSound(Block.soundTypeGlass).setLightLevel(1.0F).setBlockName("light_gray_portal_block").setBlockTextureName(Reference.MOD_ID + ":light_gray_portal_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            green_portal_block = new BlockBasic(Material.glass, 0).setHardness(0.3F).setStepSound(Block.soundTypeGlass).setLightLevel(1.0F).setBlockName("green_portal_block").setBlockTextureName(Reference.MOD_ID + ":green_portal_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            gray_portal_block = new BlockBasic(Material.glass, 0).setHardness(0.3F).setStepSound(Block.soundTypeGlass).setLightLevel(1.0F).setBlockName("gray_portal_block").setBlockTextureName(Reference.MOD_ID + ":gray_portal_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            magenta_portal_block = new BlockBasic(Material.glass, 0).setHardness(0.3F).setStepSound(Block.soundTypeGlass).setLightLevel(1.0F).setBlockName("magenta_portal_block").setBlockTextureName(Reference.MOD_ID + ":magenta_portal_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            cyan_portal_block = new BlockBasic(Material.glass, 0).setHardness(0.3F).setStepSound(Block.soundTypeGlass).setLightLevel(1.0F).setBlockName("cyan_portal_block").setBlockTextureName(Reference.MOD_ID + ":cyan_portal_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            blue_portal_block = new BlockBasic(Material.glass, 0).setHardness(0.3F).setStepSound(Block.soundTypeGlass).setLightLevel(1.0F).setBlockName("blue_portal_block").setBlockTextureName(Reference.MOD_ID + ":blue_portal_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            black_portal_block = new BlockBasic(Material.glass, 0).setHardness(0.3F).setStepSound(Block.soundTypeGlass).setLightLevel(1.0F).setBlockName("black_portal_block").setBlockTextureName(Reference.MOD_ID + ":black_portal_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            orange_portal_block = new BlockBasic(Material.glass, 0).setHardness(0.3F).setStepSound(Block.soundTypeGlass).setLightLevel(1.0F).setBlockName("orange_portal_block").setBlockTextureName(Reference.MOD_ID + ":orange_portal_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            white_portal_block = new BlockBasic(Material.glass, 0).setHardness(0.3F).setStepSound(Block.soundTypeGlass).setLightLevel(1.0F).setBlockName("white_portal_block").setBlockTextureName(Reference.MOD_ID + ":white_portal_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            light_blue_portal_block = new BlockBasic(Material.glass, 0).setHardness(0.3F).setStepSound(Block.soundTypeGlass).setLightLevel(1.0F).setBlockName("light_blue_portal_block").setBlockTextureName(Reference.MOD_ID + ":light_blue_portal_block").setCreativeTab(Nexsus_mod.NexsusDeco);
            random_block = new BlockBasic(Material.wood, 0).setBlockName("random_block").setBlockTextureName(Reference.MOD_ID + ":random_block");
            sulphur_ore = new BlockBasic(Material.rock, 2).setHardness(3.0F).setResistance(5.0F).setBlockName("sulphur_ore").setBlockTextureName(Reference.MOD_ID + ":sulphur_ore").setCreativeTab(Nexsus_mod.NexsusBLock).setStepSound(Block.soundTypeStone);
            quartz_fence = new BlockFenceMod(Reference.MOD_ID + ":quartz_block", Material.iron).setStepSound(Block.soundTypeStone).setHardness(5.0F).setResistance(10.0F).setBlockName("quartz_fence").setCreativeTab(Nexsus_mod.NexsusBLock);
            iron_stairs = new BlockStairsMod(Blocks.iron_block, 0).setCreativeTab(Nexsus_mod.NexsusBLock).setHardness(5.0F).setResistance(10.0F).setBlockName("iron_stairs").setStepSound(Block.soundTypeMetal);
            iron_brick = new BlockBasic(Material.iron, 2).setBlockName("iron_brick").setBlockTextureName(Reference.MOD_ID + ":iron_brick").setHardness(5.0F).setResistance(10.0F).setCreativeTab(Nexsus_mod.NexsusBLock).setStepSound(Block.soundTypeMetal);
            iron_stairs_brick = new BlockStairsMod(BlockMod.iron_brick, 0).setCreativeTab(Nexsus_mod.NexsusBLock).setBlockName("iron_stairs_brick").setHardness(5.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal);
            iron_fence = new BlockFenceMod(Reference.MOD_ID + ":iron_brick", Material.iron).setBlockName("iron_fence").setCreativeTab(Nexsus_mod.NexsusBLock).setHardness(5.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal);
            emerald_stairs = new BlockStairsMod(Blocks.emerald_block, 0).setCreativeTab(Nexsus_mod.NexsusBLock).setBlockName("emerald_stairs").setHardness(5.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal);
            emerald_brick = new BlockBasic(Material.iron, 2).setBlockName("emerald_brick").setBlockTextureName(Reference.MOD_ID + ":emerald_brick").setCreativeTab(Nexsus_mod.NexsusBLock).setHardness(5.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal);
            emerald_stairs_brick = new BlockStairsMod(BlockMod.emerald_brick, 0).setCreativeTab(Nexsus_mod.NexsusBLock).setBlockName("emerald_stairs_brick").setHardness(5.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal);
            emerald_fence = new BlockFenceMod(Reference.MOD_ID + ":emerald_brick", Material.iron).setBlockName("emerald_fence").setCreativeTab(Nexsus_mod.NexsusBLock).setHardness(5.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal);
            gold_stairs = new BlockStairsMod(Blocks.gold_block, 0).setCreativeTab(Nexsus_mod.NexsusBLock).setBlockName("gold_stairs").setHardness(5.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal);
            gold_brick = new BlockBasic(Material.iron, 2).setBlockName("gold_brick").setBlockTextureName(Reference.MOD_ID + ":gold_brick").setCreativeTab(Nexsus_mod.NexsusBLock).setHardness(5.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal);
            gold_stairs_brick = new BlockStairsMod(BlockMod.gold_brick, 0).setCreativeTab(Nexsus_mod.NexsusBLock).setBlockName("gold_stairs_brick").setHardness(5.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal);
            gold_fence = new BlockFenceMod(Reference.MOD_ID + ":gold_brick", Material.iron).setBlockName("gold_fence").setCreativeTab(Nexsus_mod.NexsusBLock).setHardness(5.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal);
            diamond_stairs = new BlockStairsMod(Blocks.diamond_block, 0).setCreativeTab(Nexsus_mod.NexsusBLock).setBlockName("diamond_stairs").setHardness(5.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal);
            diamond_brick = new BlockBasic(Material.iron, 2).setBlockName("diamond_brick").setBlockTextureName(Reference.MOD_ID + ":diamond_brick").setCreativeTab(Nexsus_mod.NexsusBLock).setHardness(5.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal);
            diamond_stairs_brick = new BlockStairsMod(BlockMod.diamond_brick, 0).setCreativeTab(Nexsus_mod.NexsusBLock).setBlockName("diamond_stairs_brick").setHardness(5.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal);
            diamond_fence = new BlockFenceMod(Reference.MOD_ID + ":diamond_brick", Material.iron).setBlockName("diamond_fence").setCreativeTab(Nexsus_mod.NexsusBLock).setHardness(5.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal);              
            ruby_block = new BlockBasic(Material.iron, 2).setHardness(5.0F).setResistance(10.0F).setBlockName("ruby_block").setBlockTextureName(Reference.MOD_ID + ":ruby_block").setCreativeTab(Nexsus_mod.NexsusBLock).setStepSound(Block.soundTypeMetal);
            ruby_brick = new BlockBasic(Material.iron, 2).setHardness(5.0F).setResistance(10.0F).setBlockName("ruby_brick").setBlockTextureName(Reference.MOD_ID + ":ruby_brick").setCreativeTab(Nexsus_mod.NexsusBLock).setStepSound(Block.soundTypeMetal);
            ruby_ore = new BlockBasic(Material.rock, 2).setHardness(3.0F).setResistance(5.0F).setBlockName("ruby_ore").setBlockTextureName(Reference.MOD_ID + ":ruby_ore").setCreativeTab(Nexsus_mod.NexsusBLock).setStepSound(Block.soundTypeStone);
            ruby_stairs = new BlockStairsMod(BlockMod.ruby_block, 0).setHardness(5.0F).setResistance(10.0F).setCreativeTab(Nexsus_mod.NexsusBLock).setBlockName("ruby_stairs").setStepSound(Block.soundTypeMetal);
            ruby_fence = new BlockFenceMod(Reference.MOD_ID + ":ruby_brick", Material.iron).setHardness(5.0F).setResistance(10.0F).setBlockName("ruby_fence").setCreativeTab(Nexsus_mod.NexsusBLock).setStepSound(Block.soundTypeMetal);
            ruby_stairs_brick = new BlockStairsMod(BlockMod.ruby_brick, 0).setHardness(5.0F).setResistance(10.0F).setCreativeTab(Nexsus_mod.NexsusBLock).setBlockName("ruby_stairs_brick").setStepSound(Block.soundTypeMetal);              
            copper_block = new BlockBasic(Material.iron, 2).setHardness(5.0F).setResistance(10.0F).setBlockName("copper_block").setBlockTextureName(Reference.MOD_ID + ":copper_block").setCreativeTab(Nexsus_mod.NexsusBLock).setStepSound(Block.soundTypeMetal);
            copper_brick = new BlockBasic(Material.iron, 2).setHardness(5.0F).setResistance(10.0F).setBlockName("copper_brick").setBlockTextureName(Reference.MOD_ID + ":copper_brick").setCreativeTab(Nexsus_mod.NexsusBLock).setStepSound(Block.soundTypeMetal);
            copper_ore = new BlockBasic(Material.rock, 1).setHardness(3.0F).setResistance(5.0F).setBlockName("copper_ore").setBlockTextureName(Reference.MOD_ID + ":copper_ore").setCreativeTab(Nexsus_mod.NexsusBLock).setStepSound(Block.soundTypeStone);
            copper_stairs = new BlockStairsMod(BlockMod.copper_block, 0).setHardness(5.0F).setResistance(10.0F).setCreativeTab(Nexsus_mod.NexsusBLock).setBlockName("copper_stairs").setStepSound(Block.soundTypeMetal);
            copper_stairs_brick = new BlockStairsMod(BlockMod.copper_brick, 0).setHardness(5.0F).setResistance(10.0F).setCreativeTab(Nexsus_mod.NexsusBLock).setBlockName("copper_stairs_brick").setStepSound(Block.soundTypeMetal);
            copper_fence = new BlockFenceMod(Reference.MOD_ID + ":copper_brick", Material.iron).setHardness(5.0F).setResistance(10.0F).setBlockName("copper_fence").setCreativeTab(Nexsus_mod.NexsusBLock).setStepSound(Block.soundTypeMetal);      
            peridote_block = new BlockBasic(Material.iron, 2).setHardness(5.0F).setResistance(10.0F).setBlockName("peridote_block").setBlockTextureName(Reference.MOD_ID + ":peridote_block").setCreativeTab(Nexsus_mod.NexsusBLock).setStepSound(Block.soundTypeMetal);
            peridote_brick = new BlockBasic(Material.iron, 2).setHardness(5.0F).setResistance(10.0F).setBlockName("peridote_brick").setBlockTextureName(Reference.MOD_ID + ":peridote_brick").setCreativeTab(Nexsus_mod.NexsusBLock).setStepSound(Block.soundTypeMetal);
            peridote_ore = new BlockBasic(Material.rock, 2).setHardness(3.0F).setResistance(5.0F).setBlockName("peridote_ore").setBlockTextureName(Reference.MOD_ID + ":peridote_ore").setCreativeTab(Nexsus_mod.NexsusBLock).setStepSound(Block.soundTypeStone);
            peridote_stairs_brick = new BlockStairsMod(BlockMod.peridote_brick, 0).setHardness(5.0F).setResistance(10.0F).setCreativeTab(Nexsus_mod.NexsusBLock).setBlockName("peridote_stairs_brick").setStepSound(Block.soundTypeMetal);
            peridote_stairs = new BlockStairsMod(BlockMod.peridote_block, 0).setCreativeTab(Nexsus_mod.NexsusBLock).setHardness(5.0F).setResistance(10.0F).setBlockName("peridote_stairs").setStepSound(Block.soundTypeMetal);
            peridote_fence = new BlockFenceMod(Reference.MOD_ID + ":peridote_brick", Material.iron).setBlockName("peridote_fence").setCreativeTab(Nexsus_mod.NexsusBLock).setHardness(5.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal);        
            sapphire_block = new BlockBasic(Material.iron, 2).setHardness(5.0F).setResistance(10.0F).setBlockName("sapphire_block").setBlockTextureName(Reference.MOD_ID + ":sapphire_block").setCreativeTab(Nexsus_mod.NexsusBLock).setStepSound(Block.soundTypeMetal);
            sapphire_brick = new BlockBasic(Material.iron, 2).setBlockName("sapphire_brick").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(Reference.MOD_ID + ":sapphire_brick").setCreativeTab(Nexsus_mod.NexsusBLock).setStepSound(Block.soundTypeMetal);
            sapphire_ore = new BlockBasic(Material.rock, 2).setHardness(3.0F).setResistance(5.0F).setBlockName("sapphire_ore").setBlockTextureName(Reference.MOD_ID + ":sapphire_ore").setCreativeTab(Nexsus_mod.NexsusBLock).setStepSound(Block.soundTypeStone);
            sapphire_stairs_brick = new BlockStairsMod(BlockMod.sapphire_brick, 0).setHardness(5.0F).setResistance(10.0F).setCreativeTab(Nexsus_mod.NexsusBLock).setBlockName("sapphire_stairs_brick").setStepSound(Block.soundTypeMetal);
            sapphire_stairs = new BlockStairsMod(BlockMod.sapphire_block, 0).setHardness(5.0F).setResistance(10.0F).setCreativeTab(Nexsus_mod.NexsusBLock).setBlockName("sapphire_stairs").setStepSound(Block.soundTypeMetal);
            sapphire_fence = new BlockFenceMod(Reference.MOD_ID + ":sapphire_brick", Material.iron).setHardness(5.0F).setResistance(10.0F).setBlockName("sapphire_fence").setCreativeTab(Nexsus_mod.NexsusBLock).setStepSound(Block.soundTypeMetal);        
            amber_block = new BlockBasic(Material.iron, 2).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(10.0F).setBlockName("amber_block").setBlockTextureName(Reference.MOD_ID + ":amber_block").setCreativeTab(Nexsus_mod.NexsusBLock);
            amber_brick = new BlockBasic(Material.iron, 2).setHardness(5.0F).setResistance(10.0F).setBlockName("amber_brick").setBlockTextureName(Reference.MOD_ID + ":amber_brick").setCreativeTab(Nexsus_mod.NexsusBLock).setStepSound(Block.soundTypeMetal);
            amber_ore = new BlockBasic(Material.rock, 2).setHardness(3.0F).setResistance(5.0F).setBlockName("amber_ore").setBlockTextureName(Reference.MOD_ID + ":amber_ore").setCreativeTab(Nexsus_mod.NexsusBLock).setStepSound(Block.soundTypeStone);
            amber_stairs_brick = new BlockStairsMod(BlockMod.amber_brick, 0).setCreativeTab(Nexsus_mod.NexsusBLock).setBlockName("amber_stairs_brick").setHardness(5.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal);
            amber_stairs = new BlockStairsMod(BlockMod.amber_block, 0).setCreativeTab(Nexsus_mod.NexsusBLock).setHardness(5.0F).setResistance(10.0F).setBlockName("amber_stairs").setStepSound(Block.soundTypeMetal);
            amber_fence = new BlockFenceMod(Reference.MOD_ID + ":amber_brick", Material.iron).setHardness(5.0F).setResistance(10.0F).setBlockName("amber_fence").setCreativeTab(Nexsus_mod.NexsusBLock).setStepSound(Block.soundTypeMetal);
            star_ore = new BlockBasic(Material.rock, 2).setStepSound(Block.soundTypeStone).setHardness(5.0F).setResistance(10.0F).setBlockName("star_ore").setBlockTextureName(Reference.MOD_ID + ":star_ore").setCreativeTab(Nexsus_mod.NexsusBLock);
            star_ore2 = new BlockBasic(Material.rock, 2).setStepSound(Block.soundTypeStone).setHardness(5.0F).setResistance(10.0F).setBlockName("star_ore2").setBlockTextureName(Reference.MOD_ID + ":star_ore2").setCreativeTab(Nexsus_mod.NexsusBLock);
    
        }
    

    deuxième partie j'ai enlevais le scraft

     public static void register()
        {  
    
            GameRegistry.registerBlock(DoubleSlabModBrick, ItemBlockModSlabBrick.class, "DoubleSlabModBrick");
            GameRegistry.registerBlock(SingleSlabModBrick, ItemBlockModSlabBrick.class, "SingleSlabModBrick");
            GameRegistry.registerBlock(DoubleSlabMod, ItemBlockModSlab.class, "DoubleSlabMod");
            GameRegistry.registerBlock(SingleSlabMod, ItemBlockModSlab.class, "SingleSlabMod");
            GameRegistry.registerBlock(barrier, "barrier");
            GameRegistry.registerBlock(granite, "granite");
            GameRegistry.registerBlock(polished_granite, "polished_granite");
            GameRegistry.registerBlock(granite_stairs, "granite_stairs");
            GameRegistry.registerBlock(test, "test");
            GameRegistry.registerBlock(granite_slab, ItemBlockGraniteSlabMod.class, "granite_slab");
            GameRegistry.registerBlock(granite_slab_double, ItemBlockGraniteSlabMod.class, "granite_slab_double");
            GameRegistry.registerBlock(diorite, "diorite");
            GameRegistry.registerBlock(polished_diorite, "polished_diorite");
            GameRegistry.registerBlock(andesite, "andesite");
            GameRegistry.registerBlock(polished_andesite, "polished_andesite");       
            GameRegistry.registerBlock(concrete_white, "concrete_white");
            GameRegistry.registerBlock(concrete_orange, "concrete_orange");
            GameRegistry.registerBlock(concrete_magenta, "concrete_magenta");
            GameRegistry.registerBlock(concrete_light_blue, "concrete_light_blue");
            GameRegistry.registerBlock(concrete_yellow, "concrete_yellow");
            GameRegistry.registerBlock(concrete_lime, "concrete_lime");
            GameRegistry.registerBlock(concrete_pink, "concrete_pink");
            GameRegistry.registerBlock(concrete_gray, "concrete_gray");
            GameRegistry.registerBlock(concrete_light_gray, "concrete_light_gray");
            GameRegistry.registerBlock(concrete_cyan, "concrete_cyan");
            GameRegistry.registerBlock(concrete_purple, "concrete_purple");
            GameRegistry.registerBlock(concrete_blue, "concrete_blue");
            GameRegistry.registerBlock(concrete_brown, "concrete_brown");
            GameRegistry.registerBlock(concrete_green, "concrete_green");
            GameRegistry.registerBlock(concrete_red, "concrete_red");
            GameRegistry.registerBlock(concrete_black, "concrete_black");
            GameRegistry.registerBlock(concrete_powder_white, "concrete_powder_white");
            GameRegistry.registerBlock(concrete_powder_orange, "concrete_powder_orange");
            GameRegistry.registerBlock(concrete_powder_magenta, "concrete_powder_magenta");
            GameRegistry.registerBlock(concrete_powder_light_blue, "concrete_powder_light_blue");
            GameRegistry.registerBlock(concrete_powder_yellow, "concrete_powder_yellow");
            GameRegistry.registerBlock(concrete_powder_lime, "concrete_powder_lime");
            GameRegistry.registerBlock(concrete_powder_pink, "concrete_powder_pink");
            GameRegistry.registerBlock(concrete_powder_gray, "concrete_powder_gray");
            GameRegistry.registerBlock(concrete_powder_light_gray, "concrete_powder_light_gray");
            GameRegistry.registerBlock(concrete_powder_cyan, "concrete_powder_cyan");
            GameRegistry.registerBlock(concrete_powder_purple, "concrete_powder_purple");
            GameRegistry.registerBlock(concrete_powder_blue, "concrete_powder_blue");
            GameRegistry.registerBlock(concrete_powder_brown, "concrete_powder_brown");
            GameRegistry.registerBlock(concrete_powder_green, "concrete_powder_green");
            GameRegistry.registerBlock(concrete_powder_red, "concrete_powder_red");
            GameRegistry.registerBlock(concrete_powder_black, "concrete_powder_black");
            GameRegistry.registerBlock(log_oak_block, "log_oak_block");
            GameRegistry.registerBlock(log_big_oak_block, "log_big_oak_block");
            GameRegistry.registerBlock(log_spruce_block, "log_spruce_block");
            GameRegistry.registerBlock(log_acacia_block, "log_acacia_block");
            GameRegistry.registerBlock(log_jungle_block, "log_jungle_block");
            GameRegistry.registerBlock(log_birch_block, "log_birch_block");
            GameRegistry.registerBlock(end_portal_block, "end_portal_block");
            GameRegistry.registerBlock(black_portal_block, "black_portal_block");
            GameRegistry.registerBlock(red_portal_block, "red_portal_block");
            GameRegistry.registerBlock(green_portal_block, "green_portal_block");
            GameRegistry.registerBlock(brown_portal_block, "brown_portal_block");
            GameRegistry.registerBlock(blue_portal_block, "blue_portal_block");
            GameRegistry.registerBlock(purple_portal_block, "purple_portal_block");
            GameRegistry.registerBlock(cyan_portal_block, "cyan_portal_block");
            GameRegistry.registerBlock(light_gray_portal_block, "light_gray_portal_block");
            GameRegistry.registerBlock(gray_portal_block, "gray_portal_block");
            GameRegistry.registerBlock(pink_portal_block, "pink_portal_block");
            GameRegistry.registerBlock(lime_portal_block, "lime_portal_block");
            GameRegistry.registerBlock(yellow_portal_block, "yellow_portal_block");
            GameRegistry.registerBlock(light_blue_portal_block, "light_blue_portal_block");
            GameRegistry.registerBlock(magenta_portal_block, "magenta_portal_block");
            GameRegistry.registerBlock(orange_portal_block, "orange_portal_block");
            GameRegistry.registerBlock(white_portal_block, "white_portal_block");
            GameRegistry.registerBlock(random_block, "random_block");
            GameRegistry.registerBlock(sulphur_ore, "sulphur_ore");
            GameRegistry.registerBlock(quartz_fence, "quartz_fence");
            GameRegistry.registerBlock(gold_brick, "gold_brick");
            GameRegistry.registerBlock(gold_stairs_brick, "gold_stairs_brick");
            GameRegistry.registerBlock(gold_fence, "gold_fence");
            GameRegistry.registerBlock(gold_stairs, "gold_stairs");
            GameRegistry.registerBlock(iron_brick, "iron_brick");
            GameRegistry.registerBlock(iron_stairs_brick, "iron_stairs_brick");
            GameRegistry.registerBlock(iron_fence, "iron_fence");
            GameRegistry.registerBlock(iron_stairs, "iron_stairs");
            GameRegistry.registerBlock(emerald_brick, "emerald_brick");
            GameRegistry.registerBlock(emerald_stairs_brick, "emerald_stairs_brick");
            GameRegistry.registerBlock(emerald_fence, "emerald_fence");
            GameRegistry.registerBlock(emerald_stairs, "emerald_stairs");
            GameRegistry.registerBlock(diamond_brick, "diamond_brick");
            GameRegistry.registerBlock(diamond_stairs_brick, "diamond_stairs_brick");
            GameRegistry.registerBlock(diamond_fence, "diamond_fence");
            GameRegistry.registerBlock(diamond_stairs, "diamond_stairs");
            GameRegistry.registerBlock(ruby_block, "ruby_block");
            GameRegistry.registerBlock(ruby_brick, "ruby_brick");
            GameRegistry.registerBlock(ruby_ore, "ruby_ore");
            GameRegistry.registerBlock(ruby_stairs, "ruby_stairs");
            GameRegistry.registerBlock(ruby_fence, "ruby_fence");
            GameRegistry.registerBlock(ruby_stairs_brick, "ruby_stairs_brick");      
            GameRegistry.registerBlock(copper_block, "copper_block");
            GameRegistry.registerBlock(copper_brick, "copper_brick");
            GameRegistry.registerBlock(copper_ore, "copper_ore");
            GameRegistry.registerBlock(copper_stairs, "copper_stairs");
            GameRegistry.registerBlock(copper_stairs_brick, "copper_stairs_brick");
            GameRegistry.registerBlock(copper_fence, "copper_fence");      
            GameRegistry.registerBlock(peridote_block, "peridote_block");
            GameRegistry.registerBlock(peridote_brick, "peridote_brick");
            GameRegistry.registerBlock(peridote_ore, "peridote_ore");
            GameRegistry.registerBlock(peridote_stairs, "peridote_stairs");
            GameRegistry.registerBlock(peridote_fence, "peridote_fence");
            GameRegistry.registerBlock(peridote_stairs_brick, "peridote_stairs_brick");      
            GameRegistry.registerBlock(sapphire_block, "sapphire_block");
            GameRegistry.registerBlock(sapphire_brick, "sapphire_brick");
            GameRegistry.registerBlock(sapphire_ore, "sapphire_ore");
            GameRegistry.registerBlock(sapphire_stairs, "sapphire_stairs");
            GameRegistry.registerBlock(sapphire_fence, "sapphire_fence");
            GameRegistry.registerBlock(sapphire_stairs_brick, "sapphire_stairs_brick");
            GameRegistry.registerBlock(amber_block, "amber_block");
            GameRegistry.registerBlock(amber_brick, "amber_brick");
            GameRegistry.registerBlock(amber_ore, "amber_ore");
            GameRegistry.registerBlock(amber_stairs, "amber_stairs");
            GameRegistry.registerBlock(amber_fence, "amber_fence");
            GameRegistry.registerBlock(amber_stairs_brick, "amber_stairs_brick");
            GameRegistry.registerBlock(star_ore, "star_ore");
            GameRegistry.registerBlock(star_ore2, "star_ore2");
    
    

  • Administrateurs

    Bonjour,
    Je ne suis pas sensé répondre, mais là, tu as fait une erreur lors de la lecture du tutoriel sur les escaliers. L'erreur est très simple, tu as déclaré un escalier avant le bloc qui le compose.



  • @'Superloup10':

    Bonjour,
    Je ne suis pas sensé répondre, mais là, tu as fait une erreur lors de la lecture du tutoriel sur les escaliers. L'erreur est très simple, tu as déclaré un escalier avant le bloc qui le compose.

    comment je fais alors?



  • Bah tu declare ton block avec le quel l'escalier est constitué avant de declarer ton escalier en lui même dans ta function register



  • @'SpyMan':

    Bah tu declare ton block avec le quel l'escalier est constitué avant de declarer ton escalier en lui même dans ta function register

    bizarre ça ne marche pas


  • Administrateurs

    Bizarre, on n'est pas devin.



  • renvoi ton code actuel avec les modif ou donne ton dossier src en pièce jointe je te le ferai



  • @'SpyMan':

    renvoi ton code actuel avec les modif ou donne ton dossier src en pièce jointe je te le ferai

    https://www.dropbox.com/sh/6y1hn2p4vo73gr6/AABDowUIBoUJnlvAdFwk1rEPa?dl=1