2019-01-13 21:05:40 +01:00
|
|
|
package com.minelittlepony.unicopia.item;
|
|
|
|
|
2020-01-17 14:27:26 +01:00
|
|
|
import net.fabricmc.fabric.api.registry.FuelRegistry;
|
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
|
|
|
|
2020-01-17 14:27:26 +01:00
|
|
|
public class RottenAppleItem extends AppleItem {
|
2019-01-13 21:05:40 +01:00
|
|
|
|
2020-01-17 14:27:26 +01:00
|
|
|
public RottenAppleItem(FoodComponent components) {
|
2020-01-16 16:46:24 +01:00
|
|
|
super(components);
|
2020-01-17 14:27:26 +01:00
|
|
|
FuelRegistry.INSTANCE.add(this, 150);
|
2019-01-13 21:05:40 +01:00
|
|
|
}
|
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
|
|
|
}
|