mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-02 03:46:43 +01:00
20 lines
No EOL
531 B
Java
20 lines
No EOL
531 B
Java
package com.minelittlepony.unicopia.item;
|
|
|
|
import com.minelittlepony.unicopia.ducks.IItemEntity;
|
|
|
|
import net.fabricmc.fabric.api.registry.FuelRegistry;
|
|
import net.minecraft.item.FoodComponent;
|
|
import net.minecraft.util.ActionResult;
|
|
|
|
public class RottenAppleItem extends AppleItem {
|
|
|
|
public RottenAppleItem(FoodComponent components) {
|
|
super(components);
|
|
FuelRegistry.INSTANCE.add(this, 150);
|
|
}
|
|
|
|
@Override
|
|
public ActionResult onGroundTick(IItemEntity item) {
|
|
return ActionResult.PASS;
|
|
}
|
|
} |