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

public class Image extends StatefulWidget<Image>
  • Constructor Details

    • Image

      protected Image(net.minecraft.resources.ResourceLocation texture)
  • Method Details

    • create

      public static Image create(String texture)
    • create

      public static Image create(net.minecraft.resources.ResourceLocation texture)
    • uv

      public Image uv(int size, int us, int vs, int ue, int ve)
    • uv

      public Image uv(float us, float vs, float ue, float ve)
    • color

      public Image color(float r, float g, float b, float a)
    • color

      public Image color(int r, int g, int b, int a)
    • color

      public Image color(Color color)
    • uvDrawMode

      public Image uvDrawMode(Image.DrawMode uvDrawMode)
    • render

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