Class RecipeTypeBracketHandler

java.lang.Object
com.blamejared.crafttweaker.api.bracket.custom.RecipeTypeBracketHandler
All Implemented Interfaces:
BracketExpressionParser

@ZenRegister public class RecipeTypeBracketHandler extends Object implements BracketExpressionParser
  • Constructor Details

    • RecipeTypeBracketHandler

      public RecipeTypeBracketHandler()
  • Method Details

    • getManagerInstances

      public static Collection<IRecipeManager<net.minecraft.world.item.crafting.Recipe<?>>> getManagerInstances()
    • getOrDefault

      public static IRecipeManager<net.minecraft.world.item.crafting.Recipe<?>> getOrDefault(net.minecraft.resources.ResourceLocation location)
    • getOrDefault

      public static IRecipeManager<net.minecraft.world.item.crafting.Recipe<?>> getOrDefault(net.minecraft.world.item.crafting.RecipeType type)
    • getRecipeManager

      public static <T extends IRecipeManager<?>> T getRecipeManager(String location)
    • parse

      public ParsedExpression parse(CodePosition position, ZSTokenParser tokens) throws ParseException
      Description copied from interface: BracketExpressionParser
      Parses the given bracket expression. Note that the "<" token is already processed.
      Specified by:
      parse in interface BracketExpressionParser
      Parameters:
      position - start of the expression (which is the location of the > token)
      tokens - tokens to be parsed
      Returns:
      parsed expression
      Throws:
      ParseException
    • getDumperData

      public static Supplier<Stream<String>> getDumperData()