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

18 lines
464 B
Java
Raw Normal View History

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