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 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: IRecipeManager
      Gets the recipe type for the registry to remove from.
      Specified by:
      getRecipeType in interface IRecipeManager<net.minecraft.world.item.crafting.Recipe<?>>
      Returns:
      IRecipeType of this registry.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object