• 0

    posted a message on Void Break (Demo): Greatness awaits! [1.7.10] [Forge]

    Hello everybody to my very first mod called

    Void Break

    It's a simple mod that add some excellent new ores, blocks, items, tools, & armor.


    But since this is the first demo of it, it only has four of each new thing.


    Everybody
    knows about rubies and sapphires from other mods, but have they ever
    added the Pink Panther before? Everything about them is equivalent to
    diamond.


    Other than that, there's a new metal in town, called Ultimanium, and it's here to stay. A higher harvester than diamond.


    So...
    this sounds interesting doesn't it? It's up to you to stand up for
    yourself and defeat your enemies. What could possibly go wrong?


    Q&A__________________________


    Do I need to PM you to use it in my modpack?

    You don't have to. A link where you got it from and giving credit matters most really.


    Would you mind if I made a resourcepack for it?

    Go right ahead. Who's stopping you? Not me.


    My Minecraft crashed! Can you help me?

    It's most likely to be duplicate ID's. Just change id's around in the config file.


    What else will you be adding to the mod?

    The demos will NOT be updated, but the full thing... well, lets just say it's going to take hours on adding things.


    You said demos. How many more will there be?

    I plan on making only two different demos. The second one will be more popular than the first. For reasons.

    ______________________________


    Download: Dropbox

    Notice: This is the first demo. The second demo will come soon with oh so more.

    Posted in: WIP Mods
  • 0

    posted a message on [1.6.4] Minecraft Forge Modding Tutorial ~Synasonic~ SRC video tutorials
    I forgot to add the name in. LOL! :steve_lol: :steve_lol:
    If anyone can fix my problems I'd thank them.

    HyperZone.java
    package ZeFirstXperian.ModHyperZone; //Package directory
    /*
    * Basic importing
    */
    import net.minecraft.block.Block;
    import net.minecraft.item.EnumToolMaterial;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemFood;
    import net.minecraft.item.ItemStack;
    import net.minecraftforge.common.EnumHelper;
    import cpw.mods.fml.common.Mod;
    import cpw.mods.fml.common.Mod.Init;
    import cpw.mods.fml.common.event.FMLInitializationEvent;
    import cpw.mods.fml.common.network.NetworkMod;
    import cpw.mods.fml.common.registry.GameRegistry;
    import cpw.mods.fml.common.registry.LanguageRegistry;
    /*
    * Basic needed forge stuff
    */
    @Mod(modid="HyperZone",name="Hyper Zone",version="v0.0.1")
    @NetworkMod(clientSideRequired=true,serverSideRequired=false)
    public class HyperZone {
    /*
    * ToolMaterial
    */
    //Telling forge that we are creating these
    //items

    public static Item hyperized_diamond;
    public static Item anti_sugar;

    //blocks

    public static Block hyperized_diamond_block;

    //tools



    //Declaring Init

    @Init
    public void load(FMLInitializationEvent event){

    // define items

    hyperized_diamond = new ZFXitems(422).setUnlocalizedName("hyperized_diamond");
    anti_sugar = new ZFXitems(423).setUnlocalizedName("anti_sugar");

    // define blocks
    hyperized_diamond_block = new HyperizedDiamondBlock(174, "hyperized_diamond_block").setUnlocalizedName("blockHyperizedDiamond").setHardness(10.0F).setStepSound(Block.soundMetalFootstep).setResistance(20.0F);
    GameRegistry.registerBlock(hyperized_diamond_block, "hyperized_diamond_block");

    //adding names



    //adding names



    //items

    LanguageRegistry.addName(hyperized_diamond, "Hyperized Diamond");

    //blocks

    LanguageRegistry.addName(hyperized_diamond_block, "Hyperized Diamond Block");

    //crafting

    GameRegistry.addRecipe(new ItemStack(hyperized_diamond,1), new Object[]{
    "XXX","XNX","XXX",'N',Item.diamond,'X',Item.sugar
    });
    GameRegistry.addRecipe(new ItemStack(hyperized_diamond_block,1), new Object[]{
    "TTT","TTT","TTT",'T',hyperized_diamond,
    });
    GameRegistry.addShapelessRecipe(new ItemStack(hyperized_diamond,9), new Object[]{
    hyperized_diamond_block
    });

    //smelting

    GameRegistry.addSmelting(Item.sugar.itemID, new ItemStack(anti_sugar, 1), 5F);

    }

    }


    ZFXitems.java

    package ZeFirstXperian.ModHyperZone;

    import net.minecraft.item.Item;
    import cpw.mods.fml.common.registry.GameRegistry;
    import cpw.mods.fml.relauncher.*;
    import net.minecraft.client.renderer.texture.IconRegister;
    import net.minecraft.creativetab.CreativeTabs;

    public class ZFXitems extends Item {

    public ZFXitems(int par1) {
    super(par1); //Returns super constructor: par1 is ID
    setCreativeTab(CreativeTabs.tabMaterials); }//Tells the game what creative mode tab it goes in


    public void registerIcons(IconRegister reg) { // Make sure to import IconRegister!
    if (itemID == HyperZone.hyperized_diamond.itemID) {
    this.itemIcon = reg.registerIcon("hyperized_diamond"); // You can also replace blockID and blockIcon with itemID and itemIcon
    }
    if (itemID == HyperZone.anti_sugar.itemID) {
    this.itemIcon = reg.registerIcon("anti_sugar"); // You can also replace blockID and blockIcon with itemID and itemIcon
    }

    }

    }


    The problem is that it says: item.anti_sugar.name
    Posted in: Mapping and Modding Tutorials
  • To post a comment, please .