java.lang.Object
com.pixelmonmod.api.client.screen.widget.StatefulWidget<Label>
com.pixelmonmod.api.client.screen.widget.design.Label
All Implemented Interfaces:
States<Label>

public class Label extends StatefulWidget<Label>
  • Constructor Details

    • Label

      protected Label(String text)
  • Method Details

    • create

      public static Label create()
    • create

      public static Label create(String text)
    • text

      public Label text(String text)
    • alignment

      public Label alignment(Alignment alignment)
    • color

      public Label color(Color color)
    • color

      public Label color(int color)
    • color

      public Label color(String colorTable)
    • typeface

      public Label typeface(net.minecraft.client.gui.Font typeface)
    • textSize

      public Label textSize(double size)
    • textSize

      public double textSize()
    • shadow

      public Label shadow(boolean shadow)
    • unicode

      public Label unicode(boolean unicode)
    • translate

      public Label translate(boolean translate)
    • render

      public void render(WidgetRenderState<Label> state)
      Overrides:
      render in class StatefulWidget<Label>