Class RecipeButton

All Implemented Interfaces:
GuiEventListener, Widget, NarratableEntry, NarrationSupplier

public class RecipeButton extends AbstractWidget
  • Field Details

    • RECIPE_BOOK_LOCATION

      private static final ResourceLocation RECIPE_BOOK_LOCATION
    • ANIMATION_TIME

      private static final float ANIMATION_TIME
      See Also:
    • BACKGROUND_SIZE

      private static final int BACKGROUND_SIZE
      See Also:
    • TICKS_TO_SWAP

      public static final int TICKS_TO_SWAP
      See Also:
    • MORE_RECIPES_TOOLTIP

      private static final Component MORE_RECIPES_TOOLTIP
    • book

      private RecipeBook book
    • collection

      private RecipeCollection collection
    • time

      private float time
    • animationTime

      private float animationTime
    • currentIndex

      private int currentIndex
  • Constructor Details

    • RecipeButton

      public RecipeButton()
  • Method Details