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 ClassesModifier and TypeClassDescriptionstatic interfaceBarrelTapRecipe.Factory<T extends BarrelTapRecipe>static classBarrelTapRecipe.Serializer<T extends BarrelTapRecipe> -
Field Summary
Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, KEY_CODEC, STREAM_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionBarrelTapRecipe(String group, net.minecraft.world.item.crafting.Ingredient material, int materialCount, net.minecraft.world.item.ItemStack result) -
Method Summary
Modifier and TypeMethodDescriptionintnet.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> getType()booleanbooleanmatches(net.minecraft.world.item.crafting.SingleRecipeInput input, net.minecraft.world.level.Level level) net.minecraft.world.item.crafting.RecipeBookCategoryMethods inherited from class net.minecraft.world.item.crafting.SingleItemRecipe
assemble, group, input, placementInfo, resultMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
matchesin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.SingleRecipeInput>- Overrides:
matchesin classnet.minecraft.world.item.crafting.SingleItemRecipe
-
getSerializer
public net.minecraft.world.item.crafting.RecipeSerializer<? extends net.minecraft.world.item.crafting.SingleItemRecipe> getSerializer()- Specified by:
getSerializerin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.SingleRecipeInput>- Specified by:
getSerializerin classnet.minecraft.world.item.crafting.SingleItemRecipe
-
getType
public net.minecraft.world.item.crafting.RecipeType<? extends net.minecraft.world.item.crafting.SingleItemRecipe> getType()- Specified by:
getTypein interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.SingleRecipeInput>- Specified by:
getTypein classnet.minecraft.world.item.crafting.SingleItemRecipe
-
recipeBookCategory
public net.minecraft.world.item.crafting.RecipeBookCategory recipeBookCategory() -
isSpecial
public boolean isSpecial()
-