blob: bcf49b0d9cc2f9f340fa58987ea436833f679094 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
package lv.enes.mc.eris_alchemy.mixin;
import lv.enes.mc.eris_alchemy.utils.RecipeUtils;
import net.minecraft.world.item.crafting.Ingredient;
import net.minecraft.world.item.crafting.SmithingTransformRecipe;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import java.util.List;
@Mixin(SmithingTransformRecipe.class)
public abstract class SmithingTransformRecipeMixin implements RecipeUtils.RecipeSuper {
@Final
@Shadow
Ingredient template;
@Final
@Shadow
Ingredient base;
@Final
@Shadow
Ingredient addition;
@Override
public List<Ingredient> lv_enes_mc$getIngredients() {
return List.of(template, base, addition);
}
}
|