java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
me.alexdevs.classicPeripherals.peripherals.nfc.item.NfcCardRecipe
All Implemented Interfaces:
net.minecraft.world.item.crafting.CraftingRecipe, net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>

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

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

    CODEC, CONDITIONAL_CODEC, STREAM_CODEC
  • Constructor Summary

    Constructors
    Constructor
    Description
    NfcCardRecipe(net.minecraft.world.item.crafting.CraftingBookCategory category)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull net.minecraft.world.item.ItemStack
    assemble(net.minecraft.world.item.crafting.CraftingInput container, @NonNull net.minecraft.core.HolderLookup.Provider registries)
     
    boolean
    canCraftInDimensions(int width, int height)
     
    @NotNull net.minecraft.world.item.crafting.RecipeSerializer<?>
     
    boolean
    matches(net.minecraft.world.item.crafting.CraftingInput container, @NonNull 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, getRemainingItems, getToastSymbol, isIncomplete, showNotification
  • Constructor Details

    • NfcCardRecipe

      public NfcCardRecipe(net.minecraft.world.item.crafting.CraftingBookCategory category)
  • Method Details

    • matches

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

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

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

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