Class GogAlternationRecipe<C extends net.minecraft.world.item.crafting.RecipeInput>
java.lang.Object
vazkii.botania.common.crafting.recipe.GogAlternationRecipe<C>
- All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<C>
public class GogAlternationRecipe<C extends net.minecraft.world.item.crafting.RecipeInput>
extends Object
implements net.minecraft.world.item.crafting.Recipe<C>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.world.item.crafting.RecipeSerializer<GogAlternationRecipe<?>> Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, STREAM_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionGogAlternationRecipe(net.minecraft.world.item.crafting.Recipe<?> baseRecipe, net.minecraft.world.item.crafting.Recipe<?> gogRecipe) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStackbooleancanCraftInDimensions(int width, int height) net.minecraft.world.item.crafting.Recipe<?> net.minecraft.world.item.crafting.Recipe<?> net.minecraft.world.item.crafting.Recipe<C> net.minecraft.world.item.ItemStackgetResultItem(net.minecraft.core.HolderLookup.Provider registryAccess) net.minecraft.world.item.crafting.RecipeSerializer<?> net.minecraft.world.item.crafting.RecipeType<?> getType()booleanMethods 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
getGroup, getIngredients, getRemainingItems, getToastSymbol, isIncomplete, isSpecial, showNotification
-
Field Details
-
SERIALIZER
public static final net.minecraft.world.item.crafting.RecipeSerializer<GogAlternationRecipe<?>> SERIALIZER
-
-
Constructor Details
-
GogAlternationRecipe
public GogAlternationRecipe(net.minecraft.world.item.crafting.Recipe<?> baseRecipe, net.minecraft.world.item.crafting.Recipe<?> gogRecipe)
-
-
Method Details
-
getBaseRecipe
public net.minecraft.world.item.crafting.Recipe<?> getBaseRecipe() -
getGogRecipe
public net.minecraft.world.item.crafting.Recipe<?> getGogRecipe() -
getRecipe
-
matches
- Specified by:
matchesin interfacenet.minecraft.world.item.crafting.Recipe<C extends net.minecraft.world.item.crafting.RecipeInput>
-
assemble
public net.minecraft.world.item.ItemStack assemble(@NotNull C container, net.minecraft.core.HolderLookup.Provider registryAccess) - Specified by:
assemblein interfacenet.minecraft.world.item.crafting.Recipe<C extends net.minecraft.world.item.crafting.RecipeInput>
-
canCraftInDimensions
public boolean canCraftInDimensions(int width, int height) - Specified by:
canCraftInDimensionsin interfacenet.minecraft.world.item.crafting.Recipe<C extends net.minecraft.world.item.crafting.RecipeInput>
-
getResultItem
public net.minecraft.world.item.ItemStack getResultItem(net.minecraft.core.HolderLookup.Provider registryAccess) - Specified by:
getResultItemin interfacenet.minecraft.world.item.crafting.Recipe<C extends net.minecraft.world.item.crafting.RecipeInput>
-
getSerializer
public net.minecraft.world.item.crafting.RecipeSerializer<?> getSerializer()- Specified by:
getSerializerin interfacenet.minecraft.world.item.crafting.Recipe<C extends net.minecraft.world.item.crafting.RecipeInput>
-
getType
public net.minecraft.world.item.crafting.RecipeType<?> getType()- Specified by:
getTypein interfacenet.minecraft.world.item.crafting.Recipe<C extends net.minecraft.world.item.crafting.RecipeInput>
-