Class BrickSmeltingRecipe

java.lang.Object
net.minecraft.world.item.crafting.SingleItemRecipe
net.minecraft.world.item.crafting.AbstractCookingRecipe
de.cech12.brickfurnace.crafting.BrickSmeltingRecipe
All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.SingleRecipeInput>

public class BrickSmeltingRecipe 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.CookingBookInfo, net.minecraft.world.item.crafting.AbstractCookingRecipe.Factory<T>

    Nested classes/interfaces inherited from interface net.minecraft.world.item.crafting.Recipe

    net.minecraft.world.item.crafting.Recipe.BookInfo<CategoryType>, net.minecraft.world.item.crafting.Recipe.CommonInfo
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.MapCodec<BrickSmeltingRecipe>
     
    static final net.minecraft.world.item.crafting.RecipeSerializer<BrickSmeltingRecipe>
     
    static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, BrickSmeltingRecipe>
     

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

    bookInfo

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

    commonInfo

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

    CODEC, KEY_CODEC
  • Constructor Summary

    Constructors
    Constructor
    Description
    BrickSmeltingRecipe(net.minecraft.world.item.crafting.Recipe.CommonInfo commonInfo, net.minecraft.world.item.crafting.AbstractCookingRecipe.CookingBookInfo bookInfo, net.minecraft.world.item.crafting.Ingredient ingredient, net.minecraft.world.item.ItemStackTemplate result, float experience, int cookingTime)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(@NotNull net.minecraft.world.item.crafting.SmeltingRecipe recipe)
     
    protected @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>
     
    @NotNull net.minecraft.world.item.crafting.RecipeBookCategory
     

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

    category, cookingMapCodec, cookingStreamCodec, cookingTime, display, experience, group

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

    assemble, input, matches, placementInfo, result, showNotification, simpleMapCodec, simpleStreamCodec

    Methods inherited from class Object

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

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

    isSpecial
  • Field Details

    • MAP_CODEC

      public static final com.mojang.serialization.MapCodec<BrickSmeltingRecipe> MAP_CODEC
    • STREAM_CODEC

      public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, BrickSmeltingRecipe> STREAM_CODEC
    • SERIALIZER

      public static final net.minecraft.world.item.crafting.RecipeSerializer<BrickSmeltingRecipe> SERIALIZER
  • Constructor Details

    • BrickSmeltingRecipe

      public BrickSmeltingRecipe(net.minecraft.world.item.crafting.Recipe.CommonInfo commonInfo, net.minecraft.world.item.crafting.AbstractCookingRecipe.CookingBookInfo bookInfo, net.minecraft.world.item.crafting.Ingredient ingredient, net.minecraft.world.item.ItemStackTemplate result, float experience, int cookingTime)
  • Method Details

    • convert

      public static BrickSmeltingRecipe convert(@NotNull @NotNull net.minecraft.world.item.crafting.SmeltingRecipe recipe)
    • 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
    • recipeBookCategory

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

      @NotNull protected @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