Package net.minecraft

Class class_7528

All Implemented Interfaces:
Drawable, Element, Narratable, Selectable
Direct Known Subclasses:
class_7529

@Environment(CLIENT) public abstract class class_7528 extends ClickableWidget implements Drawable, Element
Mappings:
Namespace Name
official egp
intermediary net/minecraft/class_7528
named net/minecraft/class_7528
  • Field Details

    • field_39493

      private static final int field_39493
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Legp;a:I
      intermediary field_39493 Lnet/minecraft/class_7528;field_39493:I
      named field_39493 Lnet/minecraft/class_7528;field_39493:I
    • field_39494

      private static final int field_39494
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Legp;b:I
      intermediary field_39494 Lnet/minecraft/class_7528;field_39494:I
      named field_39494 Lnet/minecraft/class_7528;field_39494:I
    • field_39495

      private static final int field_39495
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Legp;c:I
      intermediary field_39495 Lnet/minecraft/class_7528;field_39495:I
      named field_39495 Lnet/minecraft/class_7528;field_39495:I
    • field_39496

      private static final int field_39496
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Legp;d:I
      intermediary field_39496 Lnet/minecraft/class_7528;field_39496:I
      named field_39496 Lnet/minecraft/class_7528;field_39496:I
    • field_39497

      private double field_39497
      Mappings:
      Namespace Name Mixin selector
      official e Legp;e:D
      intermediary field_39497 Lnet/minecraft/class_7528;field_39497:D
      named field_39497 Lnet/minecraft/class_7528;field_39497:D
    • field_39498

      private boolean field_39498
      Mappings:
      Namespace Name Mixin selector
      official f Legp;f:Z
      intermediary field_39498 Lnet/minecraft/class_7528;field_39498:Z
      named field_39498 Lnet/minecraft/class_7528;field_39498:Z
  • Constructor Details

    • class_7528

      public class_7528(int x, int y, int width, int height, Text message)
      Mappings:
      Namespace Name Mixin selector
      official <init> Legs;<init>(IIIILrm;)V
      intermediary <init> Lnet/minecraft/class_339;<init>(IIIILnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/client/gui/widget/ClickableWidget;<init>(IIIILnet/minecraft/text/Text;)V
  • Method Details

    • mouseClicked

      public boolean mouseClicked(double mouseX, double mouseY, int button)
      Callback for when a mouse button down event has been captured. The button number is identified by the constants in GLFW class.
      Specified by:
      mouseClicked in interface Element
      Overrides:
      mouseClicked in class ClickableWidget
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      button - the mouse button number
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lehw;a(DDI)Z
      intermediary method_25402 Lnet/minecraft/class_364;method_25402(DDI)Z
      named mouseClicked Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
    • mouseReleased

      public boolean mouseReleased(double mouseX, double mouseY, int button)
      Callback for when a mouse button release event has been captured. The button number is identified by the constants in GLFW class.
      Specified by:
      mouseReleased in interface Element
      Overrides:
      mouseReleased in class ClickableWidget
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      button - the mouse button number
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lehw;b(DDI)Z
      intermediary method_25406 Lnet/minecraft/class_364;method_25406(DDI)Z
      named mouseReleased Lnet/minecraft/client/gui/Element;mouseReleased(DDI)Z
    • mouseDragged

      public boolean mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY)
      Callback for when a mouse button drag event has been captured. The button number is identified by the constants in GLFW class.
      Specified by:
      mouseDragged in interface Element
      Overrides:
      mouseDragged in class ClickableWidget
      Parameters:
      mouseX - the current X coordinate of the mouse
      mouseY - the current Y coordinate of the mouse
      button - the mouse button number
      deltaX - the difference of the current X with the previous X coordinate
      deltaY - the difference of the current Y with the previous Y coordinate
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lehw;a(DDIDD)Z
      intermediary method_25403 Lnet/minecraft/class_364;method_25403(DDIDD)Z
      named mouseDragged Lnet/minecraft/client/gui/Element;mouseDragged(DDIDD)Z
    • mouseScrolled

      public boolean mouseScrolled(double mouseX, double mouseY, double amount)
      Callback for when a mouse button scroll event has been captured.
      Specified by:
      mouseScrolled in interface Element
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      amount - value is < 0 if scrolled down, > 0 if scrolled up
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lehw;a(DDD)Z
      intermediary method_25401 Lnet/minecraft/class_364;method_25401(DDD)Z
      named mouseScrolled Lnet/minecraft/client/gui/Element;mouseScrolled(DDD)Z
    • renderButton

      public void renderButton(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Overrides:
      renderButton in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      official b Legs;b(Ldzt;IIF)V
      intermediary method_25359 Lnet/minecraft/class_339;method_25359(Lnet/minecraft/class_4587;IIF)V
      named renderButton Lnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
    • method_44394

      private int method_44394()
      Mappings:
      Namespace Name Mixin selector
      official p Legp;p()I
      intermediary method_44394 Lnet/minecraft/class_7528;method_44394()I
      named method_44394 Lnet/minecraft/class_7528;method_44394()I
    • method_44384

      protected void method_44384(MatrixStack matrixStack)
      Mappings:
      Namespace Name Mixin selector
      official a Legp;a(Ldzt;)V
      intermediary method_44384 Lnet/minecraft/class_7528;method_44384(Lnet/minecraft/class_4587;)V
      named method_44384 Lnet/minecraft/class_7528;method_44384(Lnet/minecraft/client/util/math/MatrixStack;)V
    • method_44381

      protected int method_44381()
      Mappings:
      Namespace Name Mixin selector
      official a Legp;a()I
      intermediary method_44381 Lnet/minecraft/class_7528;method_44381()I
      named method_44381 Lnet/minecraft/class_7528;method_44381()I
    • method_44385

      protected int method_44385()
      Mappings:
      Namespace Name Mixin selector
      official b Legp;b()I
      intermediary method_44385 Lnet/minecraft/class_7528;method_44385()I
      named method_44385 Lnet/minecraft/class_7528;method_44385()I
    • method_44387

      protected double method_44387()
      Mappings:
      Namespace Name Mixin selector
      official c Legp;c()D
      intermediary method_44387 Lnet/minecraft/class_7528;method_44387()D
      named method_44387 Lnet/minecraft/class_7528;method_44387()D
    • method_44382

      protected void method_44382(double double2)
      Mappings:
      Namespace Name Mixin selector
      official a Legp;a(D)V
      intermediary method_44382 Lnet/minecraft/class_7528;method_44382(D)V
      named method_44382 Lnet/minecraft/class_7528;method_44382(D)V
    • method_44390

      protected int method_44390()
      Mappings:
      Namespace Name Mixin selector
      official d Legp;d()I
      intermediary method_44390 Lnet/minecraft/class_7528;method_44390()I
      named method_44390 Lnet/minecraft/class_7528;method_44390()I
    • method_44395

      private int method_44395()
      Mappings:
      Namespace Name Mixin selector
      official q Legp;q()I
      intermediary method_44395 Lnet/minecraft/class_7528;method_44395()I
      named method_44395 Lnet/minecraft/class_7528;method_44395()I
    • method_44386

      private void method_44386(MatrixStack matrixStack)
      Mappings:
      Namespace Name Mixin selector
      official b Legp;b(Ldzt;)V
      intermediary method_44386 Lnet/minecraft/class_7528;method_44386(Lnet/minecraft/class_4587;)V
      named method_44386 Lnet/minecraft/class_7528;method_44386(Lnet/minecraft/client/util/math/MatrixStack;)V
    • method_44396

      private void method_44396()
      Mappings:
      Namespace Name Mixin selector
      official r Legp;r()V
      intermediary method_44396 Lnet/minecraft/class_7528;method_44396()V
      named method_44396 Lnet/minecraft/class_7528;method_44396()V
    • method_44383

      protected boolean method_44383(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official a Legp;a(II)Z
      intermediary method_44383 Lnet/minecraft/class_7528;method_44383(II)Z
      named method_44383 Lnet/minecraft/class_7528;method_44383(II)Z
    • method_44388

      protected boolean method_44388(double double2, double double3)
      Mappings:
      Namespace Name Mixin selector
      official c Legp;c(DD)Z
      intermediary method_44388 Lnet/minecraft/class_7528;method_44388(DD)Z
      named method_44388 Lnet/minecraft/class_7528;method_44388(DD)Z
    • method_44391

      protected abstract int method_44391()
      Mappings:
      Namespace Name Mixin selector
      official e Legp;e()I
      intermediary method_44391 Lnet/minecraft/class_7528;method_44391()I
      named method_44391 Lnet/minecraft/class_7528;method_44391()I
    • method_44392

      protected abstract boolean method_44392()
      Mappings:
      Namespace Name Mixin selector
      official f Legp;f()Z
      intermediary method_44392 Lnet/minecraft/class_7528;method_44392()Z
      named method_44392 Lnet/minecraft/class_7528;method_44392()Z
    • method_44393

      protected abstract double method_44393()
      Mappings:
      Namespace Name Mixin selector
      official g Legp;g()D
      intermediary method_44393 Lnet/minecraft/class_7528;method_44393()D
      named method_44393 Lnet/minecraft/class_7528;method_44393()D
    • method_44389

      protected abstract void method_44389(MatrixStack matrixStack, int int2, int int3, float float2)
      Mappings:
      Namespace Name Mixin selector
      official c Legp;c(Ldzt;IIF)V
      intermediary method_44389 Lnet/minecraft/class_7528;method_44389(Lnet/minecraft/class_4587;IIF)V
      named method_44389 Lnet/minecraft/class_7528;method_44389(Lnet/minecraft/client/util/math/MatrixStack;IIF)V