Package com.wdiscute.starcatcher.recipe
Class BottledLetterRecipe
java.lang.Object
com.wdiscute.starcatcher.recipe.BottledLetterRecipe
- All Implemented Interfaces:
net.minecraft.world.item.crafting.CraftingRecipe,net.minecraft.world.item.crafting.Recipe<net.minecraft.world.inventory.CraftingContainer>,net.nikdo53.neobackports.utils.recipe.CraftingRecipeNeo,net.nikdo53.neobackports.utils.recipe.NeoRecipe
public class BottledLetterRecipe
extends Object
implements net.nikdo53.neobackports.utils.recipe.CraftingRecipeNeo
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionBottledLetterRecipe(String group, net.minecraft.world.item.crafting.CraftingBookCategory category, net.minecraft.world.item.ItemStack result, net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient> ingredients) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStackassemble(net.nikdo53.neobackports.utils.recipe.input.CraftingInput input, net.minecraft.core.HolderLookup.Provider registries) booleancanCraftInDimensions(int width, int height) Used to determine if this recipe can fit in a grid of the given width/heightnet.minecraft.world.item.crafting.CraftingBookCategorycategory()getGroup()net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient>net.minecraft.world.item.ItemStackgetResultItem(net.minecraft.core.HolderLookup.Provider registries) net.minecraft.world.item.crafting.RecipeSerializer<?>booleanmatches(net.nikdo53.neobackports.utils.recipe.input.CraftingInput input, net.minecraft.world.level.Level level) Methods 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.nikdo53.neobackports.utils.recipe.CraftingRecipeNeo
assemble, getId, getResultItem, matchesMethods inherited from interface net.minecraft.world.item.crafting.Recipe
getRemainingItems, getToastSymbol, isIncomplete, isSpecial, showNotification
-
Constructor Details
-
BottledLetterRecipe
public BottledLetterRecipe(String group, net.minecraft.world.item.crafting.CraftingBookCategory category, net.minecraft.world.item.ItemStack result, net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient> ingredients)
-
-
Method Details
-
getSerializer
public net.minecraft.world.item.crafting.RecipeSerializer<?> getSerializer()- Specified by:
getSerializerin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.inventory.CraftingContainer>
-
getGroup
- Specified by:
getGroupin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.inventory.CraftingContainer>
-
category
public net.minecraft.world.item.crafting.CraftingBookCategory category()- Specified by:
categoryin interfacenet.minecraft.world.item.crafting.CraftingRecipe
-
getResultItem
public net.minecraft.world.item.ItemStack getResultItem(net.minecraft.core.HolderLookup.Provider registries) - Specified by:
getResultItemin interfacenet.nikdo53.neobackports.utils.recipe.CraftingRecipeNeo
-
getIngredients
public net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient> getIngredients()- Specified by:
getIngredientsin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.inventory.CraftingContainer>
-
matches
public boolean matches(net.nikdo53.neobackports.utils.recipe.input.CraftingInput input, net.minecraft.world.level.Level level) - Specified by:
matchesin interfacenet.nikdo53.neobackports.utils.recipe.CraftingRecipeNeo
-
assemble
public net.minecraft.world.item.ItemStack assemble(net.nikdo53.neobackports.utils.recipe.input.CraftingInput input, net.minecraft.core.HolderLookup.Provider registries) - Specified by:
assemblein interfacenet.nikdo53.neobackports.utils.recipe.CraftingRecipeNeo
-
canCraftInDimensions
public boolean canCraftInDimensions(int width, int height) Used to determine if this recipe can fit in a grid of the given width/height- Specified by:
canCraftInDimensionsin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.inventory.CraftingContainer>
-