Class ActionRecipeBase<T extends net.minecraft.world.item.crafting.Recipe<?>>

java.lang.Object
com.blamejared.crafttweaker.api.action.internal.CraftTweakerAction
com.blamejared.crafttweaker.api.action.recipe.ActionRecipeBase<T>
All Implemented Interfaces:
IAction, IRuntimeAction
Direct Known Subclasses:
ActionAddRecipe, ActionRemoveAll, ActionRemoveRecipe, ActionRemoveRecipeByModid, ActionRemoveRecipeByName, ActionRemoveRecipeByRegex

public abstract class ActionRecipeBase<T extends net.minecraft.world.item.crafting.Recipe<?>> extends CraftTweakerAction implements IRuntimeAction
  • Constructor Details

  • Method Details

    • getManager

      public IRecipeManager<T> getManager()
    • getRecipeMutator

      public RecipeList<T> getRecipeMutator()
      Gets a RecipeList for this manager, which helps ensure that changes are applied to all recipe maps that vanilla has.
      Returns:
      A RecipeList for the recipe manager type.
    • getRecipeType

      public net.minecraft.world.item.crafting.RecipeType<T> getRecipeType()
    • getRecipeTypeName

      public net.minecraft.resources.ResourceLocation getRecipeTypeName()