@@ -0,0 +1,904 @@
+package net.shadowfacts.enfusion.block;%0A%0Aimport net.minecraft.entity.item.EntityXPOrb;%0Aimport net.minecraft.item.Item;%0Aimport net.minecraft.world.World;%0Aimport net.shadowfacts.enfusion.item.EFItems;%0A%0Aimport java.util.Random;%0A%0Apublic class BlockOre extends EFBlock %7B%0A%0A%09public BlockOre() %7B%0A%09%09super();%0A%09%7D%0A%09%0A%09@Override%0A%09public Item getItemDropped(int par1, Random par2Random, int par3) %7B%0A%09%09if (this == EFBlocks.oreZinchorium) %7B%0A%09%09%09return EFItems.zinchoriumDust;%0A%09%09%7D else %7B%0A%09%09%09return Item.getItemFromBlock(this);%0A%09%09%7D%0A%09%7D%0A%09%0A%09@Override%0A%09public int quantityDropped(Random par1Random) %7B%0A%09%09return 1;%0A%09%7D%0A%09%0A%09@Override%0A%09public void dropXpOnBlockBreak(World world, int par2, int par3, int par4, int par5) %7B%0A%09%09if (!world.isRemote) %7B%0A%09%09%09int i1 = EntityXPOrb.getXPSplit(par5);%0A%09%09%09par5 -= i1;%0A%09%09%09world.spawnEntityInWorld(new EntityXPOrb(world, (double)par2 + 0.5d, (double)par3 + 0.5d, (double)par4 + 0.5d, 20));%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Refactor EFOre to BlockOre