Class RecipeHelper.Shaped

java.lang.Object
net.ixdarklord.coolcatcore.api.utils.RecipeHelper.Shaped
Enclosing class:
RecipeHelper

public static class RecipeHelper.Shaped extends Object
Helper class to perform a shaped recipe match when ingredients that require testing are involved.
  • Constructor Details

    • Shaped

      public Shaped()
  • Method Details

    • isMatch

      public static <T extends net.minecraft.world.item.ItemStack> boolean isMatch(List<T> inputs, List<? extends Predicate<T>> tests)
    • findMatches

      public static <T extends net.minecraft.world.item.ItemStack> int[] findMatches(List<T> inputs, List<? extends Predicate<T>> tests)