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

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.world.item.crafting.RecipeSerializer<SolarCookingRecipe>
     

    Fields inherited from interface net.minecraft.world.item.crafting.Recipe

    CODEC, CONDITIONAL_CODEC, KEY_CODEC, STREAM_CODEC
  • Constructor Summary

    Constructors
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
    convert(@NotNull net.minecraft.world.item.crafting.AbstractCookingRecipe recipe, net.minecraft.core.RegistryAccess registryAccess)
     
    @NotNull List<net.minecraft.world.item.crafting.display.RecipeDisplay>
     
    @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>
     
    boolean
     
    @NotNull net.minecraft.world.item.crafting.RecipeBookCategory
     

    Methods inherited from class net.minecraft.world.item.crafting.AbstractCookingRecipe

    category, cookingTime, experience

    Methods inherited from class net.minecraft.world.item.crafting.SingleItemRecipe

    assemble, group, input, matches, placementInfo, result

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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

      @NotNull public @NotNull List<net.minecraft.world.item.crafting.display.RecipeDisplay> display()
      Specified by:
      display in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.SingleRecipeInput>
      Overrides:
      display in class net.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:
      getType in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.SingleRecipeInput>
      Specified by:
      getType in class net.minecraft.world.item.crafting.AbstractCookingRecipe
    • furnaceIcon

      @NotNull public @NotNull net.minecraft.world.item.Item furnaceIcon()
      Specified by:
      furnaceIcon in class net.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:
      getSerializer in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.SingleRecipeInput>
      Specified by:
      getSerializer in class net.minecraft.world.item.crafting.AbstractCookingRecipe
    • isSpecial

      public boolean isSpecial()
    • recipeBookCategory

      @NotNull public @NotNull net.minecraft.world.item.crafting.RecipeBookCategory recipeBookCategory()