Class WaterBottleMatchingRecipe
java.lang.Object
net.minecraft.world.item.crafting.ShapedRecipe
vazkii.botania.common.crafting.recipe.WaterBottleMatchingRecipe
- All Implemented Interfaces:
net.minecraft.world.item.crafting.CraftingRecipe,net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>
public class WaterBottleMatchingRecipe
extends net.minecraft.world.item.crafting.ShapedRecipe
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WrappingRecipeSerializer<WaterBottleMatchingRecipe> Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, STREAM_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionWaterBottleMatchingRecipe(String group, net.minecraft.world.item.crafting.CraftingBookCategory category, net.minecraft.world.item.crafting.ShapedRecipePattern pattern, net.minecraft.world.item.ItemStack result) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.crafting.RecipeSerializer<?> booleanmatches(@NotNull net.minecraft.world.item.crafting.CraftingInput craftingContainer, @NotNull net.minecraft.world.level.Level level) Methods inherited from class net.minecraft.world.item.crafting.ShapedRecipe
assemble, canCraftInDimensions, category, getGroup, getHeight, getIngredients, getResultItem, getWidth, isIncomplete, showNotificationMethods 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.CraftingRecipe
getTypeMethods inherited from interface net.minecraft.world.item.crafting.Recipe
getRemainingItems, getToastSymbol, isSpecial
-
Field Details
-
SERIALIZER
-
-
Constructor Details
-
WaterBottleMatchingRecipe
public WaterBottleMatchingRecipe(String group, net.minecraft.world.item.crafting.CraftingBookCategory category, net.minecraft.world.item.crafting.ShapedRecipePattern pattern, net.minecraft.world.item.ItemStack result)
-
-
Method Details
-
matches
public boolean matches(@NotNull @NotNull net.minecraft.world.item.crafting.CraftingInput craftingContainer, @NotNull @NotNull net.minecraft.world.level.Level level) - Specified by:
matchesin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>- Overrides:
matchesin classnet.minecraft.world.item.crafting.ShapedRecipe
-
getSerializer
public net.minecraft.world.item.crafting.RecipeSerializer<?> getSerializer()- Specified by:
getSerializerin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>- Overrides:
getSerializerin classnet.minecraft.world.item.crafting.ShapedRecipe
-