Unicopia/src/main/java/com/minelittlepony/unicopia/mixin/MixinItem.java

17 lines
435 B
Java
Raw Normal View History

package com.minelittlepony.unicopia.mixin;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Accessor;
import com.minelittlepony.unicopia.toxin.ToxicHolder;
import net.minecraft.item.FoodComponent;
import net.minecraft.item.Item;
@Mixin(Item.class)
abstract class MixinItem implements ToxicHolder {
@Override
@Accessor("foodComponent")
public abstract void setFood(FoodComponent food);
}