Class ImbuementAltarRecipe

java.lang.Object
com.binaris.wizardry.content.recipe.ImbuementAltarRecipe
All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>

public class ImbuementAltarRecipe extends Object implements net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ImbuementAltarRecipe(net.minecraft.resources.ResourceLocation id, net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient> receptacleIngredients, net.minecraft.world.item.crafting.Ingredient centerIngredient, net.minecraft.world.item.ItemStack output)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull net.minecraft.world.item.ItemStack
    assemble(@NotNull net.minecraft.world.Container container, @NotNull net.minecraft.core.RegistryAccess access)
     
    boolean
    canCraftInDimensions(int width, int height)
     
    net.minecraft.world.item.crafting.Ingredient
     
    @NotNull net.minecraft.resources.ResourceLocation
     
    net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient>
     
    @NotNull net.minecraft.world.item.ItemStack
    getResultItem(@NotNull net.minecraft.core.RegistryAccess access)
     
    @NotNull net.minecraft.world.item.crafting.RecipeSerializer<?>
     
    @NotNull net.minecraft.world.item.crafting.RecipeType<?>
     
    boolean
     
    boolean
    matches(@NotNull net.minecraft.world.Container container, @NotNull net.minecraft.world.level.Level level)
     
    boolean
    matches(net.minecraft.world.item.ItemStack centerStack, net.minecraft.world.item.ItemStack[] receptacleStacks)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.world.item.crafting.Recipe

    getGroup, getIngredients, getRemainingItems, getToastSymbol, isIncomplete, showNotification
  • Constructor Details

    • ImbuementAltarRecipe

      public ImbuementAltarRecipe(net.minecraft.resources.ResourceLocation id, net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient> receptacleIngredients, net.minecraft.world.item.crafting.Ingredient centerIngredient, net.minecraft.world.item.ItemStack output)
  • Method Details

    • matches

      public boolean matches(net.minecraft.world.item.ItemStack centerStack, net.minecraft.world.item.ItemStack[] receptacleStacks)
    • matches

      public boolean matches(@NotNull @NotNull net.minecraft.world.Container container, @NotNull @NotNull net.minecraft.world.level.Level level)
      Specified by:
      matches in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • assemble

      @NotNull public @NotNull net.minecraft.world.item.ItemStack assemble(@NotNull @NotNull net.minecraft.world.Container container, @NotNull @NotNull net.minecraft.core.RegistryAccess access)
      Specified by:
      assemble in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • canCraftInDimensions

      public boolean canCraftInDimensions(int width, int height)
      Specified by:
      canCraftInDimensions in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • getResultItem

      @NotNull public @NotNull net.minecraft.world.item.ItemStack getResultItem(@NotNull @NotNull net.minecraft.core.RegistryAccess access)
      Specified by:
      getResultItem in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • getId

      @NotNull public @NotNull net.minecraft.resources.ResourceLocation getId()
      Specified by:
      getId in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • getSerializer

      @NotNull public @NotNull net.minecraft.world.item.crafting.RecipeSerializer<?> getSerializer()
      Specified by:
      getSerializer in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • getType

      @NotNull public @NotNull net.minecraft.world.item.crafting.RecipeType<?> getType()
      Specified by:
      getType in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • isSpecial

      public boolean isSpecial()
      Specified by:
      isSpecial in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • getReceptacleIngredients

      public net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient> getReceptacleIngredients()
    • getCenterIngredient

      public net.minecraft.world.item.crafting.Ingredient getCenterIngredient()