java.lang.Object
net.minecraft.world.item.crafting.SingleItemRecipe
tech.anonymoushacker1279.immersiveweapons.item.crafting.BarrelTapRecipe
All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.SingleRecipeInput>

public class BarrelTapRecipe extends net.minecraft.world.item.crafting.SingleItemRecipe
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
     
    static class 
     
  • Field Summary

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

    CODEC, CONDITIONAL_CODEC, KEY_CODEC, STREAM_CODEC
  • Constructor Summary

    Constructors
    Constructor
    Description
    BarrelTapRecipe(String group, net.minecraft.world.item.crafting.Ingredient material, int materialCount, net.minecraft.world.item.ItemStack result)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    net.minecraft.world.item.crafting.RecipeSerializer<? extends net.minecraft.world.item.crafting.SingleItemRecipe>
     
    net.minecraft.world.item.crafting.RecipeType<? extends net.minecraft.world.item.crafting.SingleItemRecipe>
     
    boolean
     
    boolean
    matches(net.minecraft.world.item.crafting.SingleRecipeInput input, net.minecraft.world.level.Level level)
     
    net.minecraft.world.item.crafting.RecipeBookCategory
     

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

    assemble, group, input, placementInfo, result

    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

    display, showNotification
  • Constructor Details

    • BarrelTapRecipe

      public BarrelTapRecipe(String group, net.minecraft.world.item.crafting.Ingredient material, int materialCount, net.minecraft.world.item.ItemStack result)
  • Method Details

    • getMaterialCount

      public int getMaterialCount()
    • matches

      public boolean matches(net.minecraft.world.item.crafting.SingleRecipeInput input, net.minecraft.world.level.Level level)
      Specified by:
      matches in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.SingleRecipeInput>
      Overrides:
      matches in class net.minecraft.world.item.crafting.SingleItemRecipe
    • getSerializer

      public net.minecraft.world.item.crafting.RecipeSerializer<? extends net.minecraft.world.item.crafting.SingleItemRecipe> getSerializer()
      Specified by:
      getSerializer in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.SingleRecipeInput>
      Specified by:
      getSerializer in class net.minecraft.world.item.crafting.SingleItemRecipe
    • getType

      public net.minecraft.world.item.crafting.RecipeType<? extends net.minecraft.world.item.crafting.SingleItemRecipe> getType()
      Specified by:
      getType in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.SingleRecipeInput>
      Specified by:
      getType in class net.minecraft.world.item.crafting.SingleItemRecipe
    • recipeBookCategory

      public net.minecraft.world.item.crafting.RecipeBookCategory recipeBookCategory()
    • isSpecial

      public boolean isSpecial()