Package de.cech12.solarcooker.crafting
Class SolarCookingRecipe
java.lang.Object
net.minecraft.world.item.crafting.SingleItemRecipe
net.minecraft.world.item.crafting.AbstractCookingRecipe
de.cech12.solarcooker.crafting.SolarCookingRecipe
- All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.SingleRecipeInput>
public class SolarCookingRecipe
extends net.minecraft.world.item.crafting.AbstractCookingRecipe
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.item.crafting.AbstractCookingRecipe
net.minecraft.world.item.crafting.AbstractCookingRecipe.Factory<T extends net.minecraft.world.item.crafting.AbstractCookingRecipe>, net.minecraft.world.item.crafting.AbstractCookingRecipe.Serializer<T extends net.minecraft.world.item.crafting.AbstractCookingRecipe> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.world.item.crafting.RecipeSerializer<SolarCookingRecipe> Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, KEY_CODEC, STREAM_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionSolarCookingRecipe(String p_i50031_2_, net.minecraft.world.item.crafting.CookingBookCategory category, net.minecraft.world.item.crafting.Ingredient p_i50031_3_, net.minecraft.world.item.ItemStack p_i50031_4_, float p_i50031_5_, int p_i50031_6_) -
Method Summary
Modifier and TypeMethodDescriptionstatic SolarCookingRecipeconvert(@NotNull net.minecraft.world.item.crafting.AbstractCookingRecipe recipe, net.minecraft.core.RegistryAccess registryAccess) @NotNull List<net.minecraft.world.item.crafting.display.RecipeDisplay> display()@NotNull net.minecraft.world.item.Item@NotNull net.minecraft.world.item.crafting.RecipeSerializer<? extends net.minecraft.world.item.crafting.AbstractCookingRecipe> @NotNull net.minecraft.world.item.crafting.RecipeType<? extends net.minecraft.world.item.crafting.AbstractCookingRecipe> getType()boolean@NotNull net.minecraft.world.item.crafting.RecipeBookCategoryMethods inherited from class net.minecraft.world.item.crafting.AbstractCookingRecipe
category, cookingTime, experienceMethods inherited from class net.minecraft.world.item.crafting.SingleItemRecipe
assemble, group, input, matches, 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
showNotification
-
Field Details
-
SERIALIZER
public static final net.minecraft.world.item.crafting.RecipeSerializer<SolarCookingRecipe> SERIALIZER
-
-
Constructor Details
-
SolarCookingRecipe
public SolarCookingRecipe(String p_i50031_2_, net.minecraft.world.item.crafting.CookingBookCategory category, net.minecraft.world.item.crafting.Ingredient p_i50031_3_, net.minecraft.world.item.ItemStack p_i50031_4_, float p_i50031_5_, int p_i50031_6_)
-
-
Method Details
-
convert
public static SolarCookingRecipe convert(@NotNull @NotNull net.minecraft.world.item.crafting.AbstractCookingRecipe recipe, net.minecraft.core.RegistryAccess registryAccess) -
display
- Specified by:
displayin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.SingleRecipeInput>- Overrides:
displayin classnet.minecraft.world.item.crafting.AbstractCookingRecipe
-
getType
@NotNull public @NotNull net.minecraft.world.item.crafting.RecipeType<? extends net.minecraft.world.item.crafting.AbstractCookingRecipe> getType()- Specified by:
getTypein interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.SingleRecipeInput>- Specified by:
getTypein classnet.minecraft.world.item.crafting.AbstractCookingRecipe
-
furnaceIcon
@NotNull public @NotNull net.minecraft.world.item.Item furnaceIcon()- Specified by:
furnaceIconin classnet.minecraft.world.item.crafting.AbstractCookingRecipe
-
getSerializer
@NotNull public @NotNull net.minecraft.world.item.crafting.RecipeSerializer<? extends net.minecraft.world.item.crafting.AbstractCookingRecipe> getSerializer()- Specified by:
getSerializerin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.SingleRecipeInput>- Specified by:
getSerializerin classnet.minecraft.world.item.crafting.AbstractCookingRecipe
-
isSpecial
public boolean isSpecial() -
recipeBookCategory
@NotNull public @NotNull net.minecraft.world.item.crafting.RecipeBookCategory recipeBookCategory()
-