Package vazkii.botania.api.recipe
Interface OrechidRecipe
- All Superinterfaces:
net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
- All Known Implementing Classes:
MarimorphosisRecipe,OrechidIgnemRecipe,OrechidRecipe
public interface OrechidRecipe
extends net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationFields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, STREAM_CODEC -
Method Summary
Modifier and TypeMethodDescriptiondefault net.minecraft.world.item.ItemStackassemble(net.minecraft.world.item.crafting.RecipeInput container, net.minecraft.core.HolderLookup.Provider registryAccess) Deprecated.Not meant to be used for item crafting in a container.default booleancanCraftInDimensions(int width, int height) Deprecated.Not meant to be used for item crafting in a container.getInput()Valid inputs for the recipeOutput to display in recipes and to be used by default.default StateIngredientgetOutput(@NotNull net.minecraft.world.level.Level level, @NotNull net.minecraft.core.BlockPos pos) Location-sensitive output, called with the position of the block to convert.default net.minecraft.world.item.ItemStackgetResultItem(net.minecraft.core.HolderLookup.Provider registryAccess) Deprecated.Not meant to be used for item crafting in a container.Optional<net.minecraft.commands.CacheableFunction> @NotNull net.minecraft.world.item.crafting.RecipeType<? extends OrechidRecipe> getType()intDefault weight, used if no special weight logic is provided, and to display in recipes (the JEI/REI displayed output per 64 input depends on the sum of default weights).default intgetWeight(@NotNull net.minecraft.world.level.Level level, @NotNull net.minecraft.core.BlockPos pos) Location-sensitive weight, called with the position of the block to convert.default booleandefault booleanmatches(net.minecraft.world.item.crafting.RecipeInput container, net.minecraft.world.level.Level level) Deprecated.Not meant to be used for item crafting in a container.Methods inherited from interface net.minecraft.world.item.crafting.Recipe
getGroup, getIngredients, getRemainingItems, getSerializer, getToastSymbol, isIncomplete, showNotification
-
Field Details
-
TYPE_ID
static final net.minecraft.resources.ResourceLocation TYPE_ID -
IGNEM_TYPE_ID
static final net.minecraft.resources.ResourceLocation IGNEM_TYPE_ID -
MARIMORPHOSIS_TYPE_ID
static final net.minecraft.resources.ResourceLocation MARIMORPHOSIS_TYPE_ID
-
-
Method Details
-
getInput
StateIngredient getInput()Valid inputs for the recipe -
getOutput
StateIngredient getOutput()Output to display in recipes and to be used by default. -
getType
- Specified by:
getTypein interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
-
getOutput
default StateIngredient getOutput(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.core.BlockPos pos) Location-sensitive output, called with the position of the block to convert. -
getWeight
int getWeight()Default weight, used if no special weight logic is provided, and to display in recipes (the JEI/REI displayed output per 64 input depends on the sum of default weights). -
getWeight
default int getWeight(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.core.BlockPos pos) Location-sensitive weight, called with the position of the block to convert. -
getSuccessFunction
Optional<net.minecraft.commands.CacheableFunction> getSuccessFunction() -
matches
@Deprecated default boolean matches(net.minecraft.world.item.crafting.RecipeInput container, net.minecraft.world.level.Level level) Deprecated.Not meant to be used for item crafting in a container.- Specified by:
matchesin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
-
assemble
@Deprecated default net.minecraft.world.item.ItemStack assemble(net.minecraft.world.item.crafting.RecipeInput container, @NotNull net.minecraft.core.HolderLookup.Provider registryAccess) Deprecated.Not meant to be used for item crafting in a container.- Specified by:
assemblein interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
-
canCraftInDimensions
Deprecated.Not meant to be used for item crafting in a container.- Specified by:
canCraftInDimensionsin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
-
getResultItem
@Deprecated default net.minecraft.world.item.ItemStack getResultItem(@NotNull net.minecraft.core.HolderLookup.Provider registryAccess) Deprecated.Not meant to be used for item crafting in a container.- Specified by:
getResultItemin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
-
isSpecial
default boolean isSpecial()- Specified by:
isSpecialin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
-