Files
kubejs-thaumcraft/src/main/java/tckubejsbridge/kubejs/CrucibleRecipeKJS.java
T
2026-08-08 02:52:39 +08:00

24 lines
706 B
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package tckubejsbridge.kubejs;
import net.minecraft.world.item.ItemStack;
import thaumcraft.api.aspects.AspectList;
/**
* 坩埚炼金配方 KubeRecipe:event.recipes.thaumcraft.crucible(research, result, catalyst, aspects)
*/
public class CrucibleRecipeKJS extends TCRecipeKJS {
public CrucibleRecipeKJS() {
}
@Override
protected void bridgeToTC() {
String research = getValue(TCKubeJSPlugin.RESEARCH);
ItemStack result = getValue(TCKubeJSPlugin.RESULT);
Object catalyst = getValue(TCKubeJSPlugin.CATALYST);
AspectList aspects = getValue(TCKubeJSPlugin.ASPECTS);
TCRecipeBridge.registerCrucible(research, result, catalyst, aspects);
}
}