Class SequencedAssemblyManager

java.lang.Object
com.blamejared.createtweaker.recipe.manager.SequencedAssemblyManager
All Implemented Interfaces:
com.blamejared.crafttweaker.api.bracket.CommandStringDisplayable, com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager<com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipe>, Iterable<com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipe>

@ZenRegister public class SequencedAssemblyManager extends Object implements com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager<com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipe>
  • Field Summary

    Fields inherited from interface com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager

    JSON_RECIPE_GSON
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addRecipe(com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder builder)
    Adds the recipe that the builder built.
    com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder
    Gets a sequenced assembly recipe builder.
    net.minecraft.world.item.crafting.RecipeType<com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipe>
     
    com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeSerializer
     
    void
    registerRecipe(String name, Consumer<com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder> recipeBuilder)
    Registers a recipe with the given name and is built by the consumer.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager

    addJsonRecipe, fixRecipeName, getAllRecipes, getBracketResourceLocation, getCommandString, getRecipeByName, getRecipeList, getRecipeMap, getRecipes, getRecipesByOutput, iterator, remove, removeAll, removeByInput, removeByModid, removeByName, removeByName, removeByRegex

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Constructor Details

    • SequencedAssemblyManager

      public SequencedAssemblyManager()
  • Method Details

    • builder

      public com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder builder(String name)
      Gets a sequenced assembly recipe builder.
      Parameters:
      name - The name of the recipe.
      Returns:
      A builder used to make sequenced assembly recipes.
    • registerRecipe

      public void registerRecipe(String name, Consumer<com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder> recipeBuilder)
      Registers a recipe with the given name and is built by the consumer.
      Parameters:
      name - The name of the recipe.
      recipeBuilder - A consumer that builds the recipe.
    • addRecipe

      public void addRecipe(com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder builder)
      Adds the recipe that the builder built.
      Parameters:
      builder - The builder that defines the recipe.
    • getRecipeType

      public net.minecraft.world.item.crafting.RecipeType<com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipe> getRecipeType()
      Specified by:
      getRecipeType in interface com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager<com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipe>
    • getSerializer

      public com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeSerializer getSerializer()