Air Orb no longer allows fall damage when in inventory. Trying to get it to only do so when held, couldn't :c

This commit is contained in:
oitsjustjose 2013-06-28 16:16:13 -05:00
commit ff0ea9f5cb
5 changed files with 24 additions and 6 deletions

View file

@ -0,0 +1,18 @@
package MysticOres.Items;
import net.minecraft.item.ItemStack;
import cpw.mods.fml.common.IFuelHandler;
public class IridiumFuelHandler implements IFuelHandler {
public int getBurnTime(ItemStack fuel)
{
if(fuel.getItemDamage() == 4)
{
return 12800;
}
else
{
return 0;
}
}
}