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
|
|
|
|
2019-03-13 21:54:59 +01:00
|
|
|
@Override
|
2020-01-16 16:46:24 +01:00
|
|
|
public boolean onEntityItemUpdate(ItemEntity item) {
|
2019-03-13 21:54:59 +01:00
|
|
|
return false;
|
|
|
|
}
|
2019-01-13 21:05:40 +01:00
|
|
|
}
|