mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-24 22:07:59 +01:00
17 lines
435 B
Java
17 lines
435 B
Java
|
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);
|
||
|
}
|