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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addModSpoiling(String modName, com.blamejared.crafttweaker.api.item.IItemStack spoilStack, int spoilTime)
     
    void
    addSpoiling(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, wait

    Methods 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, removeMatching

    Methods 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

      public net.minecraft.world.item.crafting.RecipeType<SpoilRecipe> getRecipeType()
      Specified by:
      getRecipeType in interface com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager<SpoilRecipe>