Class DeployerApplicationManager

java.lang.Object
com.blamejared.createtweaker.recipe.manager.DeployerApplicationManager
All Implemented Interfaces:
com.blamejared.crafttweaker.api.bracket.CommandStringDisplayable, com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager<com.simibubi.create.content.kinetics.deployer.DeployerApplicationRecipe>, IProcessingRecipeManager<com.simibubi.create.content.kinetics.deployer.DeployerApplicationRecipe>, Iterable<com.simibubi.create.content.kinetics.deployer.DeployerApplicationRecipe>

@ZenRegister public class DeployerApplicationManager extends Object implements IProcessingRecipeManager<com.simibubi.create.content.kinetics.deployer.DeployerApplicationRecipe>
  • 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(String name, com.blamejared.crafttweaker.api.ingredient.IIngredient processedItem, com.blamejared.crafttweaker.api.ingredient.IIngredient heldItem, com.blamejared.crafttweaker.api.util.random.Percentaged<com.blamejared.crafttweaker.api.item.IItemStack>[] outputs, boolean keepHeldItem)
    Adds a new deployer application recipe.
    com.simibubi.create.AllRecipeTypes
     
    void
    registerRecipe(String name, Consumer<com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.kinetics.deployer.DeployerApplicationRecipe>> recipeBuilder, DeployerRecipeFunction function)
    Registers a recipe using a builder approach.

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.blamejared.createtweaker.recipe.manager.base.IProcessingRecipeManager

    getRecipeType, getSerializer, registerRecipe

    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

    • DeployerApplicationManager

      public DeployerApplicationManager()
  • Method Details

    • addRecipe

      public void addRecipe(String name, com.blamejared.crafttweaker.api.ingredient.IIngredient processedItem, com.blamejared.crafttweaker.api.ingredient.IIngredient heldItem, com.blamejared.crafttweaker.api.util.random.Percentaged<com.blamejared.crafttweaker.api.item.IItemStack>[] outputs, boolean keepHeldItem)
      Adds a new deployer application recipe.
      Parameters:
      name - The name of the recipe
      processedItem - The item to be deployed onto
      heldItem - The item to deploy with
      outputs - The output of the recipe
      keepHeldItem - Should the held item be consumed
    • registerRecipe

      public void registerRecipe(String name, Consumer<com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.kinetics.deployer.DeployerApplicationRecipe>> recipeBuilder, DeployerRecipeFunction function)
      Registers a recipe using a builder approach.
      Parameters:
      name - The name of the recipe.
      recipeBuilder - The recipe builder.
    • getCreateRecipeType

      public com.simibubi.create.AllRecipeTypes getCreateRecipeType()
      Specified by:
      getCreateRecipeType in interface IProcessingRecipeManager<com.simibubi.create.content.kinetics.deployer.DeployerApplicationRecipe>