Class PotionBundleRecipe

java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
com.github.minecraftschurlimods.potionbundles.PotionBundleRecipe
All Implemented Interfaces:
net.minecraft.world.item.crafting.CraftingRecipe, net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>

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

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

    CONDITIONAL_CODEC
  • Constructor Summary

    Constructors
    Constructor
    Description
    PotionBundleRecipe(net.minecraft.world.item.crafting.Ingredient string, net.minecraft.world.item.Item potion, AbstractPotionBundle bundle)
     
  • Method Summary

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

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

    category, getResultItem, isSpecial

    Methods inherited from class java.lang.Object

    equals, 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

    • PotionBundleRecipe

      public PotionBundleRecipe(net.minecraft.world.item.crafting.Ingredient string, net.minecraft.world.item.Item potion, AbstractPotionBundle bundle)
  • Method Details

    • matches

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

      public net.minecraft.world.item.ItemStack assemble(net.minecraft.world.item.crafting.CraftingInput inv, net.minecraft.core.HolderLookup.Provider provider)
    • canCraftInDimensions

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

      public net.minecraft.world.item.crafting.RecipeSerializer<?> getSerializer()
    • getBundleItem

      public AbstractPotionBundle getBundleItem()
    • getPotionItem

      public net.minecraft.world.item.Item getPotionItem()
    • getString

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