Class SplitLensRecipe

java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
vazkii.botania.common.crafting.recipe.SplitLensRecipe
All Implemented Interfaces:
net.minecraft.world.item.crafting.CraftingRecipe, net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>

public class SplitLensRecipe extends net.minecraft.world.item.crafting.CustomRecipe
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.world.item.crafting.RecipeSerializer<SplitLensRecipe>
     

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

    CODEC, STREAM_CODEC
  • Constructor Summary

    Constructors
    Constructor
    Description
    SplitLensRecipe(net.minecraft.world.item.crafting.CraftingBookCategory craftingBookCategory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull net.minecraft.world.item.ItemStack
    assemble(net.minecraft.world.item.crafting.CraftingInput inv, net.minecraft.core.HolderLookup.Provider registries)
     
    boolean
    canCraftInDimensions(int width, int height)
     
    @NotNull net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack>
    getRemainingItems(net.minecraft.world.item.crafting.CraftingInput inv)
     
    @NotNull net.minecraft.world.item.crafting.RecipeSerializer<?>
     
    boolean
    matches(@NotNull net.minecraft.world.item.crafting.CraftingInput inv, @NotNull net.minecraft.world.level.Level level)
     

    Methods inherited from class net.minecraft.world.item.crafting.CustomRecipe

    category, getResultItem, isSpecial

    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.CraftingRecipe

    getType

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

    getGroup, getIngredients, getToastSymbol, isIncomplete, showNotification
  • Field Details

    • SERIALIZER

      public static final net.minecraft.world.item.crafting.RecipeSerializer<SplitLensRecipe> SERIALIZER
  • Constructor Details

    • SplitLensRecipe

      public SplitLensRecipe(net.minecraft.world.item.crafting.CraftingBookCategory craftingBookCategory)
  • Method Details

    • matches

      public boolean matches(@NotNull @NotNull net.minecraft.world.item.crafting.CraftingInput inv, @NotNull @NotNull net.minecraft.world.level.Level level)
    • assemble

      @NotNull public @NotNull net.minecraft.world.item.ItemStack assemble(net.minecraft.world.item.crafting.CraftingInput inv, @NotNull net.minecraft.core.HolderLookup.Provider registries)
    • getRemainingItems

      @NotNull public @NotNull net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getRemainingItems(net.minecraft.world.item.crafting.CraftingInput inv)
    • canCraftInDimensions

      public boolean canCraftInDimensions(int width, int height)
    • getSerializer

      @NotNull public @NotNull net.minecraft.world.item.crafting.RecipeSerializer<?> getSerializer()