Class RecipeHandlerSqueezer<T extends RecipeSqueezer>
java.lang.Object
org.cyclops.cyclopscore.ingredient.recipe.RecipeHandlerRecipeType<net.minecraft.world.item.crafting.CraftingInput,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.item.crafting.CraftingInput,T>
-
Constructor Summary
ConstructorDescriptionRecipeHandlerSqueezer
(Supplier<net.minecraft.world.level.Level> worldSupplier, net.minecraft.world.item.crafting.RecipeType<T> recipeType) -
Method Summary
Modifier and TypeMethodDescriptionprotected net.minecraft.world.item.crafting.CraftingInput
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
-
Constructor Details
-
RecipeHandlerSqueezer
-
-
Method Details
-
getRecipeInputContainer
@Nullable protected net.minecraft.world.item.crafting.CraftingInput getRecipeInputContainer(org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients input) - Specified by:
getRecipeInputContainer
in classorg.cyclops.cyclopscore.ingredient.recipe.RecipeHandlerRecipeType<net.minecraft.world.item.crafting.CraftingInput,
T extends RecipeSqueezer>
-
getRecipeInputIngredients
@Nullable protected Map<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?,?>, getRecipeInputIngredientsList<org.cyclops.commoncapabilities.api.capability.recipehandler.IPrototypedIngredientAlternatives<?, ?>>> (RecipeSqueezer recipe) - Specified by:
getRecipeInputIngredients
in classorg.cyclops.cyclopscore.ingredient.recipe.RecipeHandlerRecipeType<net.minecraft.world.item.crafting.CraftingInput,
T extends RecipeSqueezer>
-
getRecipeOutputIngredients
@Nullable protected org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients getRecipeOutputIngredients(RecipeSqueezer recipe) - Specified by:
getRecipeOutputIngredients
in classorg.cyclops.cyclopscore.ingredient.recipe.RecipeHandlerRecipeType<net.minecraft.world.item.crafting.CraftingInput,
T extends RecipeSqueezer>
-
isValidSizeInput
public boolean isValidSizeInput(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?, ?> ingredientComponent, int size)
-