建立gitignore

This commit is contained in:
1820982382
2026-08-08 02:52:39 +08:00
parent d1ab855948
commit 0c72822f40
22 changed files with 2286 additions and 0 deletions
@@ -0,0 +1,28 @@
package tckubejsbridge.kubejs;
import net.minecraft.world.item.ItemStack;
import thaumcraft.api.aspects.AspectList;
import java.util.List;
/**
* 注魔配方 KubeRecipe:event.recipes.thaumcraft.infusion(research, result, instability, aspects, central, ...components)
*/
public class InfusionRecipeKJS extends TCRecipeKJS {
public InfusionRecipeKJS() {
}
@Override
protected void bridgeToTC() {
String research = getValue(TCKubeJSPlugin.RESEARCH);
ItemStack result = getValue(TCKubeJSPlugin.RESULT);
int instability = getValue(TCKubeJSPlugin.INSTABILITY);
AspectList aspects = getValue(TCKubeJSPlugin.ASPECTS);
ItemStack central = getValue(TCKubeJSPlugin.CENTRAL);
List<ItemStack> components = getValue(TCKubeJSPlugin.COMPONENTS);
TCRecipeBridge.registerInfusion(research, result, instability, aspects, central,
components == null ? new ItemStack[0] : components.toArray(new ItemStack[0]));
}
}