Unicopia/src/main/java/com/minelittlepony/unicopia/item/ItemRottenApple.java

22 lines
492 B
Java
Raw Normal View History

2019-01-13 21:05:40 +01:00
package com.minelittlepony.unicopia.item;
2020-01-16 16:46:24 +01:00
import net.minecraft.entity.ItemEntity;
import net.minecraft.item.FoodComponent;
2019-01-13 21:05:40 +01:00
import net.minecraft.item.ItemStack;
2020-01-16 16:46:24 +01:00
public class ItemRottenApple extends AppleItem {
2019-01-13 21:05:40 +01:00
2020-01-16 16:46:24 +01:00
public ItemRottenApple(FoodComponent components) {
super(components);
2019-01-13 21:05:40 +01:00
}
@Override
public int getItemBurnTime(ItemStack stack) {
return 150;
}
2019-02-07 11:14:41 +01:00
@Override
2020-01-16 16:46:24 +01:00
public boolean onEntityItemUpdate(ItemEntity item) {
return false;
}
2019-01-13 21:05:40 +01:00
}