diff options
Diffstat (limited to 'src/main/java/gregtech/api/recipe/check/CheckRecipeResultRegistry.java')
-rw-r--r-- | src/main/java/gregtech/api/recipe/check/CheckRecipeResultRegistry.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/recipe/check/CheckRecipeResultRegistry.java b/src/main/java/gregtech/api/recipe/check/CheckRecipeResultRegistry.java index 7112b47886..41ea858fec 100644 --- a/src/main/java/gregtech/api/recipe/check/CheckRecipeResultRegistry.java +++ b/src/main/java/gregtech/api/recipe/check/CheckRecipeResultRegistry.java @@ -1,5 +1,6 @@ package gregtech.api.recipe.check; +import java.math.BigInteger; import java.util.HashMap; import java.util.Map; @@ -142,11 +143,17 @@ public final class CheckRecipeResultRegistry { return new ResultInsufficientStartupPower(required); } + @Nonnull + public static CheckRecipeResult insufficientStartupPower(BigInteger required) { + return new ResultInsufficientStartupPowerBigInt(required); + } + static { register(new SimpleCheckRecipeResult(false, "", false)); register(new ResultInsufficientPower(0)); register(new ResultInsufficientHeat(0)); register(new ResultInsufficientMachineTier(0)); register(new ResultInsufficientStartupPower(0)); + register(new ResultInsufficientStartupPowerBigInt(BigInteger.ZERO)); } } |