Mod help

Discussion in 'Off-Topic' started by halo_boy_1997, Sep 27, 2011.

  1. kukelekuuk

    kukelekuuk C͕̹̲̽ͪ͐ͩ̔L̜̦̝͈ͦ̿̾̿ḘA̻̗̤̳̐ͭ̆̿̃̑ͭN̊̓͑̇ͯ
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 25, 2011
    Messages:
    10,061
    Trophy Points:
    80,160
    Ratings:
    +6,925
    i only have new blocks as i dont like new items so much
    but here are the blocks:

    mod_mossysandstone.java
    Code:
    // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
    // Jad home page: http://www.kpdus.com/jad.html
    // Decompiler options: packimports(3) braces deadcode 
    
    package net.minecraft.src;
    
    
    // Referenced classes of package net.minecraft.src:
    //            BaseMod, ModLoader, Block, EntityRenderer, 
    //            EntityLargeExplodeFX, Blockmossysandstone
    
    public class mod_mossysandstone extends BaseMod
    {
    
        public mod_mossysandstone()
        {
            ModLoader.RegisterBlock(mossysandstone);
            mossysandstone.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/kukelekuuk00/mossysandstone.png");
            ModLoader.AddName(mossysandstone, "mossy sandstone");
            ModLoader.AddRecipe(new ItemStack(mossysandstone, 6), new Object[] {
                "SXS", "SXS", "SXS", Character.valueOf('X'), Block.sapling, Character.valueOf('S'), Block.sandStone
            });
            ModLoader.AddRecipe(new ItemStack(mossysandstone, 6), new Object[] {
                "SXS", "SXS", "SXS", Character.valueOf('X'), Item.reed, Character.valueOf('S'), Block.sandStone
            });
        }
    
        public String Version()
        {
            return "1.8.1";
        }
    
        public static final Block mossysandstone = (new Blockmossysandstone(190, 0)).setHardness(0.8F).setBlockName("mossysandStone");
    
    }
    
    Blockmossysandstone.java
    Code:
    // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
    // Jad home page: http://www.kpdus.com/jad.html
    // Decompiler options: packimports(3) braces deadcode 
    
    package net.minecraft.src;
    
    
    // Referenced classes of package net.minecraft.src:
    //            EnumAction, BlockSign
    
    public class Blockmossysandstone extends Block
    {
    
        protected Blockmossysandstone(int i, int j)
        {
            super(i, j, Material.rock);
        }
    }
    
     
  2. halo_boy_1997

    halo_boy_1997 Builder
    Builder ⛰️ Ex-Resident ⚒️

    Joined:
    Apr 6, 2011
    Messages:
    73
    Trophy Points:
    25,270
    Ratings:
    +0
    Ok, do I create a new class?
     
  3. kukelekuuk

    kukelekuuk C͕̹̲̽ͪ͐ͩ̔L̜̦̝͈ͦ̿̾̿ḘA̻̗̤̳̐ͭ̆̿̃̑ͭN̊̓͑̇ͯ
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 25, 2011
    Messages:
    10,061
    Trophy Points:
    80,160
    Ratings:
    +6,925
    get on IRC i will help you