Class LytCookingRecipe

All Implemented Interfaces:
LytBlockContainer, LytErrorSink, ExportableResourceProvider, Styleable

@Deprecated(forRemoval=true) public class LytCookingRecipe extends LytRecipeBox
Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • LytCookingRecipe

      public LytCookingRecipe(net.minecraft.world.item.ItemStack icon, net.minecraft.network.chat.Component title, net.minecraft.world.item.crafting.RecipeHolder<? extends net.minecraft.world.item.crafting.AbstractCookingRecipe> holder)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • computeBoxLayout

      protected LytRect computeBoxLayout(LayoutContext context, int x, int y, int availableWidth)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      computeBoxLayout in class LytBox
    • render

      public void render(RenderContext context)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      render in class LytBox
    • createSmelting

      public static LytCookingRecipe createSmelting(net.minecraft.world.item.crafting.RecipeHolder<net.minecraft.world.item.crafting.SmeltingRecipe> recipe)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createBlasting

      public static LytCookingRecipe createBlasting(net.minecraft.world.item.crafting.RecipeHolder<net.minecraft.world.item.crafting.BlastingRecipe> recipe)
      Deprecated, for removal: This API element is subject to removal in a future version.