package com.juanwan11_magicnation.blocks;

import java.util.Random;

import com.juanwan11_magicnation.BaseClass;
import com.juanwan11_magicnation.ModInformation;
import com.juanwan11_magicnation.Items.MAItems;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.item.Item;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;

public class oreGemStoneBlood extends Block {

	public oreGemStoneBlood() {
		super(Material.rock);

	}
	public int getExpDrop(IBlockAccess world, int metadata, int fortune) {
		return (int) 5;
	}

	   public Item getItemDropped(int damage, Random random, int fortune)
	    {
	        return MAItems.itemShardGemBlood;
	    }

	    public int quantityDropped(Random random)
	    {
	        return 1;
	    }

	    public int quantityDroppedWithBonus(int fortune, Random random)
	    {
	        if (fortune > 0)
	        {
	            int j = random.nextInt(fortune + 2) - 1;

	            if (j < 0)
	            {
	                j = 0;
	            }

	            return quantityDropped(random) * (j + 1);
	        }
	        else
	        {
	            return quantityDropped(random);
	        }
	    }
}
@@ -496,16 +496,350 @@
 k);%0A%0A%09%7D%0A
+%09%0A%09    @Override%0A%09@SideOnly(Side.CLIENT)%0A%09public void registerBlockIcons(IIconRegister iconRegister)%0A%09%7B%0A%09%09Overworld = iconRegister.registerIcon(%22magicnation:oreGemStoneBlood_ore%22);%0A%09%09End = iconRegister.registerIcon(%22magicnation:oreGemStoneBlood_end%22);%0A%09%09Nether = iconRegister.registerIcon(%22magicnation:oreGemStoneBlood_nether%22);%0A%09%7D%0A%09%0A
 %09public 
@@ -1124,32 +1124,289 @@
 return 1;%0A%09    %7D
+%0A%09    %0A%09@Override%0A%09@SideOnly(Side.CLIENT)%0A%09public IIcon getIcon(int side, int meta)%0A%09%7B%0A%09%09int dim = Minecraft.getMinecraft().theWorld.provider.dimensionId;%0A%0A%09%09if (dim == -1)%0A%09%09%09return Nether;%0A%09%09else if (dim == 1)%0A%09%09%09return End;%0A%09%09else%0A%09%09%09return Overworld;%0A%09%7D
 %0A%0A%09    public in
@@ -1793,8 +1793,9 @@
 %09    %7D%0A%7D
+%0A

Update oreGemStoneBlood.java