Class RecipeManagerWrapper
java.lang.Object
com.blamejared.crafttweaker.api.recipe.manager.RecipeManagerWrapper
- All Implemented Interfaces:
CommandStringDisplayable,IRecipeManager<net.minecraft.world.item.crafting.Recipe<?>>,Iterable<net.minecraft.world.item.crafting.RecipeHolder<net.minecraft.world.item.crafting.Recipe<?>>>
@ZenRegister
public class RecipeManagerWrapper
extends Object
implements IRecipeManager<net.minecraft.world.item.crafting.Recipe<?>>
-
Constructor Summary
ConstructorsConstructorDescriptionRecipeManagerWrapper(net.minecraft.world.item.crafting.RecipeType<net.minecraft.world.item.crafting.Recipe<?>> recipeType) -
Method Summary
Modifier and TypeMethodDescriptionbooleannet.minecraft.world.item.crafting.RecipeType<net.minecraft.world.item.crafting.Recipe<?>> Gets the recipe type for the registry to remove from.inthashCode()static RecipeManagerWrappermakeOrNull(net.minecraft.world.item.crafting.RecipeType<net.minecraft.world.item.crafting.Recipe<?>> recipeType) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager
addJsonRecipe, createHolder, fixRecipeId, fixRecipeId, fixRecipeName, getAllRecipes, getBracketResourceLocation, getCommandString, getRecipeByName, getRecipeList, getRecipeMap, getRecipes, getRecipesByOutput, getRecipesMatching, iterator, remove, removeAll, removeByInput, removeByModid, removeByName, removeByRegex, removeMatchingMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
RecipeManagerWrapper
public RecipeManagerWrapper(net.minecraft.world.item.crafting.RecipeType<net.minecraft.world.item.crafting.Recipe<?>> recipeType)
-
-
Method Details
-
makeOrNull
public static RecipeManagerWrapper makeOrNull(net.minecraft.world.item.crafting.RecipeType<net.minecraft.world.item.crafting.Recipe<?>> recipeType) -
getRecipeType
public net.minecraft.world.item.crafting.RecipeType<net.minecraft.world.item.crafting.Recipe<?>> getRecipeType()Description copied from interface:IRecipeManagerGets the recipe type for the registry to remove from.- Specified by:
getRecipeTypein interfaceIRecipeManager<net.minecraft.world.item.crafting.Recipe<?>>- Returns:
- IRecipeType of this registry.
-
equals
-
hashCode
public int hashCode()
-