Class BarrelTapRecipe

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/interfaces inherited from class net.minecraft.world.item.crafting.SingleItemRecipe

    net.minecraft.world.item.crafting.SingleItemRecipe.Factory<T>

    Nested classes/interfaces inherited from interface net.minecraft.world.item.crafting.Recipe

    net.minecraft.world.item.crafting.Recipe.BookInfo<CategoryType>, net.minecraft.world.item.crafting.Recipe.CommonInfo
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.MapCodec<BarrelTapRecipe>
     
    static final net.minecraft.world.item.crafting.RecipeSerializer<BarrelTapRecipe>
     
    static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, BarrelTapRecipe>
     

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

    commonInfo

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

    CODEC, CONDITIONAL_CODEC, KEY_CODEC
  • Constructor Summary

    Constructors
    Constructor
    Description
    BarrelTapRecipe(net.minecraft.world.item.crafting.Ingredient material, int materialCount, net.minecraft.world.item.ItemStackTemplate 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, input, placementInfo, result, showNotification, simpleMapCodec, simpleStreamCodec

    Methods inherited from class Object

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

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

    display
  • Field Details

    • MAP_CODEC

      public static final com.mojang.serialization.MapCodec<BarrelTapRecipe> MAP_CODEC
    • STREAM_CODEC

      public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, BarrelTapRecipe> STREAM_CODEC
    • SERIALIZER

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

    • BarrelTapRecipe

      public BarrelTapRecipe(net.minecraft.world.item.crafting.Ingredient material, int materialCount, net.minecraft.world.item.ItemStackTemplate 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()
    • group

      public String group()