Jump to content

Nitsua_Revaew

Members
  • Posts

    23
  • Joined

  • Last visited

Posts posted by Nitsua_Revaew

  1. Hello, Folks! I installed minecraft forge fully, and it starts up and shows the mods button, but when I drag my mod (terrafirmacraft) into the mod folder (which I've checked, it is the correct folder, it is the right profile) and start the game, nothing happens. It acts just the same as before with the three base mods. It is the correct forge version for the version of the mod. Any help?

  2. I am trying to give a person an item if they right click on a block. I have this:

     

    @Override

    public boolean onBlockActivated(World par1World, int x, int y, int z, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9) {

    ItemStack heldItem = par5EntityPlayer.inventory.getCurrentItem();

    ItemStack CDOrb = new ItemStack(MagicksMod.CDiamondOrb, 1);

    if (heldItem == new ItemStack(MagicksMod.CDiamondOrb, 1)){

    par5EntityPlayer.inventory.addItemStackToInventory(new ItemStack(Items.diamond));

    }

     

     

     

    return false;

    }

     

    But it doesn't work. What am I doing wrong?

     

    PS It doesn't have any error, it just doesn't do anything.

  3. Hello everybody! I'm new to modding, and I have some questions. First of all, how does one create a block that can interact with a bucket? I'm trying to creat a block that when right clicked on with a bucket, it fills the bucket like a water source block. However, i don't want this block to dissapear. Does anybody know how to go about doing this? Help would be much appreciated. Thanks!

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.