Interface INamedRecipe

All Known Subinterfaces:
IBookRequiredRecipe
All Known Implementing Classes:
AdvancedProcessingRecipe, BookRequiredCraftingRecipe, RecipeBookMechanicalCraftingRecipe

public interface INamedRecipe
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.network.chat.Component
    cacheDefaultName(net.minecraft.network.chat.Component cachedName, Consumer<net.minecraft.network.chat.Component> cachedNameSetter, net.minecraft.resources.ResourceLocation recipeId, Supplier<List<net.minecraft.network.chat.Component>> outputNames)
     
    net.minecraft.network.chat.Component
    getName(net.minecraft.resources.ResourceLocation recipeId)
     
    static net.minecraft.network.chat.Component
    getName(net.minecraft.world.item.crafting.RecipeHolder<?> recipeHolder)
     
    static net.minecraft.network.chat.Component
     
  • Field Details

  • Method Details

    • unknownRecipeName

      static net.minecraft.network.chat.Component unknownRecipeName()
    • getName

      static net.minecraft.network.chat.Component getName(net.minecraft.world.item.crafting.RecipeHolder<?> recipeHolder)
    • getName

      net.minecraft.network.chat.Component getName(net.minecraft.resources.ResourceLocation recipeId)
    • cacheDefaultName

      static net.minecraft.network.chat.Component cacheDefaultName(net.minecraft.network.chat.Component cachedName, Consumer<net.minecraft.network.chat.Component> cachedNameSetter, net.minecraft.resources.ResourceLocation recipeId, Supplier<List<net.minecraft.network.chat.Component>> outputNames)