建立gitignore
This commit is contained in:
@@ -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]));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user