Class RecipeHandlerSqueezer<T extends RecipeSqueezer>

java.lang.Object
org.cyclops.cyclopscore.ingredient.recipe.RecipeHandlerRecipeType<net.minecraft.world.Container,T>
org.cyclops.integrateddynamics.core.recipe.handler.RecipeHandlerSqueezer<T>
All Implemented Interfaces:
org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeHandler

public class RecipeHandlerSqueezer<T extends RecipeSqueezer> extends org.cyclops.cyclopscore.ingredient.recipe.RecipeHandlerRecipeType<net.minecraft.world.Container,T>
  • Constructor Summary

    Constructors
    Constructor
    Description
    RecipeHandlerSqueezer(Supplier<net.minecraft.world.level.Level> worldSupplier, net.minecraft.world.item.crafting.RecipeType<T> recipeType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected net.minecraft.world.Container
    getRecipeInputContainer(org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients input)
     
    protected Map<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?,?>,List<org.cyclops.commoncapabilities.api.capability.recipehandler.IPrototypedIngredientAlternatives<?,?>>>
     
    protected org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients
     
    boolean
    isValidSizeInput(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?,?> ingredientComponent, int size)
     

    Methods inherited from class org.cyclops.cyclopscore.ingredient.recipe.RecipeHandlerRecipeType

    getRecipeDefinition, getRecipeInputComponents, getRecipeOutputComponents, getRecipes, simulate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RecipeHandlerSqueezer

      public RecipeHandlerSqueezer(Supplier<net.minecraft.world.level.Level> worldSupplier, net.minecraft.world.item.crafting.RecipeType<T> recipeType)
  • Method Details

    • getRecipeInputContainer

      @Nullable protected net.minecraft.world.Container getRecipeInputContainer(org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients input)
      Specified by:
      getRecipeInputContainer in class org.cyclops.cyclopscore.ingredient.recipe.RecipeHandlerRecipeType<net.minecraft.world.Container,T extends RecipeSqueezer>
    • getRecipeInputIngredients

      @Nullable protected Map<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?,?>,List<org.cyclops.commoncapabilities.api.capability.recipehandler.IPrototypedIngredientAlternatives<?,?>>> getRecipeInputIngredients(RecipeSqueezer recipe)
      Specified by:
      getRecipeInputIngredients in class org.cyclops.cyclopscore.ingredient.recipe.RecipeHandlerRecipeType<net.minecraft.world.Container,T extends RecipeSqueezer>
    • getRecipeOutputIngredients

      @Nullable protected org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients getRecipeOutputIngredients(RecipeSqueezer recipe)
      Specified by:
      getRecipeOutputIngredients in class org.cyclops.cyclopscore.ingredient.recipe.RecipeHandlerRecipeType<net.minecraft.world.Container,T extends RecipeSqueezer>
    • isValidSizeInput

      public boolean isValidSizeInput(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?,?> ingredientComponent, int size)