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

public class InfoWidget extends StatefulWidget<InfoWidget>
  • Field Details

    • DEFAULT_ICON

      public static final net.minecraft.network.chat.Component DEFAULT_ICON
  • Constructor Details

    • InfoWidget

      protected InfoWidget()
  • Method Details

    • create

      public static InfoWidget create(net.minecraft.network.chat.Component title, net.minecraft.network.chat.Component description)
    • title

      public InfoWidget title(net.minecraft.network.chat.Component title)
    • description

      public InfoWidget description(net.minecraft.network.chat.Component description)
    • icon

      public InfoWidget icon(net.minecraft.network.chat.Component icon)
    • render

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