MCPcopy Create free account
hub / github.com/GregTech6/gregtech6 / ic2_centrifuge

Method ic2_centrifuge

src/main/java/gregapi/data/RM.java:1058–1066  ·  view source on GitHub ↗
(ItemStack aInput, long aHeat, Object... aOutput)

Source from the content-addressed store, hash-verified

1056 return T;
1057 }
1058 public static boolean ic2_centrifuge(ItemStack aInput, long aHeat, Object... aOutput) {
1059 if (!ENABLE_ADDING_IC2_CENTRIFUGE_RECIPES || ST.invalid(aInput) || aOutput == null || aOutput.length <= 0 || aOutput[0] == null) return F;
1060 if (!ConfigsGT.RECIPES.get(ConfigCategories.Machines.thermalcentrifuge, aInput, T)) {
1061 UT.removeSimpleIC2MachineRecipe(aInput, ic2.api.recipe.Recipes.centrifuge.getRecipes(), null);
1062 return F;
1063 }
1064 UT.addSimpleIC2MachineRecipe(ic2.api.recipe.Recipes.centrifuge, aInput, UT.NBT.makeLong("minHeat", aHeat), aOutput);
1065 return T;
1066 }
1067
1068 public static void te_furnace(int energy, ItemStack input, ItemStack output) {
1069 NBTTagCompound toSend = UT.NBT.make();

Callers 1

runMethod · 0.95

Calls 5

invalidMethod · 0.95
makeLongMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected