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:
parent
a577c3bcd0
commit
ff0ea9f5cb
5 changed files with 24 additions and 6 deletions
18
common/MysticOres/Items/IridiumFuelHandler.java
Normal file
18
common/MysticOres/Items/IridiumFuelHandler.java
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue