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

Method ic2_orewasher

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

Source from the content-addressed store, hash-verified

1047 return T;
1048 }
1049 public static boolean ic2_orewasher(ItemStack aInput, long aWaterAmount, Object... aOutput) {
1050 if (!ENABLE_ADDING_IC2_OREWASHER_RECIPES || ST.invalid(aInput) || aOutput == null || aOutput.length <= 0 || aOutput[0] == null) return F;
1051 if (!ConfigsGT.RECIPES.get(ConfigCategories.Machines.orewashing, aInput, T)) {
1052 UT.removeSimpleIC2MachineRecipe(aInput, ic2.api.recipe.Recipes.oreWashing.getRecipes(), null);
1053 return F;
1054 }
1055 UT.addSimpleIC2MachineRecipe(ic2.api.recipe.Recipes.oreWashing, aInput, UT.NBT.makeLong("amount", aWaterAmount), aOutput);
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)) {

Callers 1

runMethod · 0.95

Calls 5

invalidMethod · 0.95
makeLongMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected