java.lang.Object
com.pixelmonmod.pixelmon.client.gui.widgets.SWSHButton

public class SWSHButton extends Object
  • Constructor Details

    • SWSHButton

      public SWSHButton(double x, double y, double z, double w, double h, String text, Consumer<Integer> onClick)
  • Method Details

    • draw

      public void draw(net.minecraft.client.gui.GuiGraphics graphics, double mouseX, double mouseY, float partialTicks)
    • isWithin

      public boolean isWithin(double x, double y)
    • onClick

      public void onClick(double mouseX, double mouseY, int button)
    • isInteractable

      public boolean isInteractable()
    • setVisible

      public SWSHButton setVisible(boolean visible)
    • setEnabled

      public SWSHButton setEnabled(boolean enabled)