LateRenderedButton.java 587 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (c) 2018, 2019, 2020 shedaniel
  3. * Licensed under the MIT License (the "License").
  4. */
  5. package me.shedaniel.rei.gui.widget;
  6. import me.shedaniel.math.api.Rectangle;
  7. import net.minecraft.text.Text;
  8. import org.jetbrains.annotations.ApiStatus;
  9. @ApiStatus.Internal
  10. public abstract class LateRenderedButton extends ButtonWidget implements LateRenderable {
  11. protected LateRenderedButton(Rectangle rectangle, Text text) {
  12. super(rectangle, text);
  13. }
  14. protected LateRenderedButton(Rectangle rectangle, String text) {
  15. super(rectangle, text);
  16. }
  17. }