Package com.mrbysco.spoiled.compat.ct
Class SpoilManager
java.lang.Object
com.mrbysco.spoiled.compat.ct.SpoilManager
- All Implemented Interfaces:
com.blamejared.crafttweaker.api.bracket.CommandStringDisplayable,com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager<SpoilRecipe>,Iterable<net.minecraft.world.item.crafting.RecipeHolder<SpoilRecipe>>
@ZenRegister
public class SpoilManager
extends Object
implements com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager<SpoilRecipe>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddModSpoiling(String modName, com.blamejared.crafttweaker.api.item.IItemStack spoilStack, int spoilTime) voidaddSpoiling(String name, com.blamejared.crafttweaker.api.ingredient.IIngredient food, com.blamejared.crafttweaker.api.item.IItemStack spoilStack, int spoilTime) net.minecraft.world.item.crafting.RecipeType<SpoilRecipe> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, 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, getRecipeAsJson, getRecipeByName, getRecipeList, getRecipeMap, getRecipes, getRecipesByOutput, getRecipesMatching, iterator, remove, removeAll, removeByInput, removeByModid, removeByName, removeByRegex, removeMatchingMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
SpoilManager
public SpoilManager()
-
-
Method Details
-
addSpoiling
public void addSpoiling(String name, com.blamejared.crafttweaker.api.ingredient.IIngredient food, com.blamejared.crafttweaker.api.item.IItemStack spoilStack, int spoilTime) -
addModSpoiling
public void addModSpoiling(String modName, com.blamejared.crafttweaker.api.item.IItemStack spoilStack, int spoilTime) -
getRecipeType
- Specified by:
getRecipeTypein interfacecom.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager<SpoilRecipe>
-