Class RecipeRegistryJeiRecipeWrapper<C extends net.minecraft.world.Container,R extends net.minecraft.world.item.crafting.Recipe<C>,J extends RecipeRegistryJeiRecipeWrapper<C,R,J>>
java.lang.Object
org.cyclops.cyclopscore.modcompat.jei.RecipeRegistryJeiRecipeWrapper<C,R,J>
- Type Parameters:
C
- The type of the recipe container.R
- The type of the recipe instance.
public abstract class RecipeRegistryJeiRecipeWrapper<C extends net.minecraft.world.Container,R extends net.minecraft.world.item.crafting.Recipe<C>,J extends RecipeRegistryJeiRecipeWrapper<C,R,J>>
extends Object
A base implementation of a recipe-based JEI recipe wrapper.
This caches all created recipe wrappers so they can be reused (or removed).
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
RecipeRegistryJeiRecipeWrapper
(net.minecraft.world.item.crafting.RecipeType<R> recipeType, R recipe) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends net.minecraft.world.item.crafting.RecipeType<R>,
C extends net.minecraft.world.Container, R extends net.minecraft.world.item.crafting.Recipe<C>, J extends RecipeRegistryJeiRecipeWrapper<C, R, J>>
TgetJeiRecipeWrapper
(R input) protected abstract net.minecraft.world.item.crafting.RecipeType<R>
protected abstract J
newInstance
(R input)
-
Field Details
-
recipe
-
-
Constructor Details
-
RecipeRegistryJeiRecipeWrapper
-
-
Method Details
-
getRecipe
-
getRecipeType
-
newInstance
-
getJeiRecipeWrapper
public static <T extends net.minecraft.world.item.crafting.RecipeType<R>,C extends net.minecraft.world.Container, T getJeiRecipeWrapperR extends net.minecraft.world.item.crafting.Recipe<C>, J extends RecipeRegistryJeiRecipeWrapper<C, R, J>> (R input) -
createAllRecipes
-