Package net.minecraft
Class class_7528
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.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 egpintermediary net/minecraft/class_7528named net/minecraft/class_7528
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intprivate static final intprivate doubleprivate booleanFields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, WIDGETS_TEXTURE, width, x, yFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intprotected voidmethod_44382(double double2) protected booleanmethod_44383(int int2, int int3) protected voidmethod_44384(MatrixStack matrixStack) protected intprivate voidmethod_44386(MatrixStack matrixStack) protected doubleprotected booleanmethod_44388(double double2, double double3) protected abstract voidmethod_44389(MatrixStack matrixStack, int int2, int int3, float float2) protected intprotected abstract intprotected abstract booleanprotected abstract doubleprivate intprivate intprivate voidbooleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.booleanmouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) Callback for when a mouse button drag event has been captured.booleanmouseReleased(double mouseX, double mouseY, int button) Callback for when a mouse button release event has been captured.booleanmouseScrolled(double mouseX, double mouseY, double amount) Callback for when a mouse button scroll event has been captured.voidrenderButton(MatrixStack matrices, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, changeFocus, clicked, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getType, getWidth, getYImage, isFocused, isHovered, isMouseOver, isNarratable, isValidClickButton, onClick, onDrag, onFocusedChanged, onRelease, playDownSound, render, renderBackground, renderTooltip, setAlpha, setFocused, setMessage, setWidthMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, method_44379, method_44380, setZOffsetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
changeFocus, charTyped, isMouseOver, keyPressed, keyReleased, mouseMovedMethods inherited from interface net.minecraft.client.gui.Narratable
appendNarrations
-
Field Details
-
field_39493
private static final int field_39493- See Also:
- Mappings:
Namespace Name Mixin selector official aLegp;a:Iintermediary field_39493Lnet/minecraft/class_7528;field_39493:Inamed field_39493Lnet/minecraft/class_7528;field_39493:I
-
field_39494
private static final int field_39494- See Also:
- Mappings:
Namespace Name Mixin selector official bLegp;b:Iintermediary field_39494Lnet/minecraft/class_7528;field_39494:Inamed field_39494Lnet/minecraft/class_7528;field_39494:I
-
field_39495
private static final int field_39495- See Also:
- Mappings:
Namespace Name Mixin selector official cLegp;c:Iintermediary field_39495Lnet/minecraft/class_7528;field_39495:Inamed field_39495Lnet/minecraft/class_7528;field_39495:I
-
field_39496
private static final int field_39496- See Also:
- Mappings:
Namespace Name Mixin selector official dLegp;d:Iintermediary field_39496Lnet/minecraft/class_7528;field_39496:Inamed field_39496Lnet/minecraft/class_7528;field_39496:I
-
field_39497
private double field_39497- Mappings:
Namespace Name Mixin selector official eLegp;e:Dintermediary field_39497Lnet/minecraft/class_7528;field_39497:Dnamed field_39497Lnet/minecraft/class_7528;field_39497:D
-
field_39498
private boolean field_39498- Mappings:
Namespace Name Mixin selector official fLegp;f:Zintermediary field_39498Lnet/minecraft/class_7528;field_39498:Znamed field_39498Lnet/minecraft/class_7528;field_39498:Z
-
-
Constructor Details
-
class_7528
- Mappings:
Namespace Name Mixin selector official <init>Legs;<init>(IIIILrm;)Vintermediary <init>Lnet/minecraft/class_339;<init>(IIIILnet/minecraft/class_2561;)Vnamed <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 inGLFWclass.- Specified by:
mouseClickedin interfaceElement- Overrides:
mouseClickedin classClickableWidget- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official aLehw;a(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Znamed mouseClickedLnet/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 inGLFWclass.- Specified by:
mouseReleasedin interfaceElement- Overrides:
mouseReleasedin classClickableWidget- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official bLehw;b(DDI)Zintermediary method_25406Lnet/minecraft/class_364;method_25406(DDI)Znamed mouseReleasedLnet/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 inGLFWclass.- Specified by:
mouseDraggedin interfaceElement- Overrides:
mouseDraggedin classClickableWidget- Parameters:
mouseX- the current X coordinate of the mousemouseY- the current Y coordinate of the mousebutton- the mouse button numberdeltaX- the difference of the current X with the previous X coordinatedeltaY- the difference of the current Y with the previous Y coordinate- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official aLehw;a(DDIDD)Zintermediary method_25403Lnet/minecraft/class_364;method_25403(DDIDD)Znamed mouseDraggedLnet/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:
mouseScrolledin interfaceElement- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mouseamount- value is< 0if scrolled down,> 0if scrolled up- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official aLehw;a(DDD)Zintermediary method_25401Lnet/minecraft/class_364;method_25401(DDD)Znamed mouseScrolledLnet/minecraft/client/gui/Element;mouseScrolled(DDD)Z
-
renderButton
- Overrides:
renderButtonin classClickableWidget- Mappings:
Namespace Name Mixin selector official bLegs;b(Ldzt;IIF)Vintermediary method_25359Lnet/minecraft/class_339;method_25359(Lnet/minecraft/class_4587;IIF)Vnamed renderButtonLnet/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 pLegp;p()Iintermediary method_44394Lnet/minecraft/class_7528;method_44394()Inamed method_44394Lnet/minecraft/class_7528;method_44394()I
-
method_44384
- Mappings:
Namespace Name Mixin selector official aLegp;a(Ldzt;)Vintermediary method_44384Lnet/minecraft/class_7528;method_44384(Lnet/minecraft/class_4587;)Vnamed method_44384Lnet/minecraft/class_7528;method_44384(Lnet/minecraft/client/util/math/MatrixStack;)V
-
method_44381
protected int method_44381()- Mappings:
Namespace Name Mixin selector official aLegp;a()Iintermediary method_44381Lnet/minecraft/class_7528;method_44381()Inamed method_44381Lnet/minecraft/class_7528;method_44381()I
-
method_44385
protected int method_44385()- Mappings:
Namespace Name Mixin selector official bLegp;b()Iintermediary method_44385Lnet/minecraft/class_7528;method_44385()Inamed method_44385Lnet/minecraft/class_7528;method_44385()I
-
method_44387
protected double method_44387()- Mappings:
Namespace Name Mixin selector official cLegp;c()Dintermediary method_44387Lnet/minecraft/class_7528;method_44387()Dnamed method_44387Lnet/minecraft/class_7528;method_44387()D
-
method_44382
protected void method_44382(double double2) - Mappings:
Namespace Name Mixin selector official aLegp;a(D)Vintermediary method_44382Lnet/minecraft/class_7528;method_44382(D)Vnamed method_44382Lnet/minecraft/class_7528;method_44382(D)V
-
method_44390
protected int method_44390()- Mappings:
Namespace Name Mixin selector official dLegp;d()Iintermediary method_44390Lnet/minecraft/class_7528;method_44390()Inamed method_44390Lnet/minecraft/class_7528;method_44390()I
-
method_44395
private int method_44395()- Mappings:
Namespace Name Mixin selector official qLegp;q()Iintermediary method_44395Lnet/minecraft/class_7528;method_44395()Inamed method_44395Lnet/minecraft/class_7528;method_44395()I
-
method_44386
- Mappings:
Namespace Name Mixin selector official bLegp;b(Ldzt;)Vintermediary method_44386Lnet/minecraft/class_7528;method_44386(Lnet/minecraft/class_4587;)Vnamed method_44386Lnet/minecraft/class_7528;method_44386(Lnet/minecraft/client/util/math/MatrixStack;)V
-
method_44396
private void method_44396()- Mappings:
Namespace Name Mixin selector official rLegp;r()Vintermediary method_44396Lnet/minecraft/class_7528;method_44396()Vnamed method_44396Lnet/minecraft/class_7528;method_44396()V
-
method_44383
protected boolean method_44383(int int2, int int3) - Mappings:
Namespace Name Mixin selector official aLegp;a(II)Zintermediary method_44383Lnet/minecraft/class_7528;method_44383(II)Znamed method_44383Lnet/minecraft/class_7528;method_44383(II)Z
-
method_44388
protected boolean method_44388(double double2, double double3) - Mappings:
Namespace Name Mixin selector official cLegp;c(DD)Zintermediary method_44388Lnet/minecraft/class_7528;method_44388(DD)Znamed method_44388Lnet/minecraft/class_7528;method_44388(DD)Z
-
method_44391
protected abstract int method_44391()- Mappings:
Namespace Name Mixin selector official eLegp;e()Iintermediary method_44391Lnet/minecraft/class_7528;method_44391()Inamed method_44391Lnet/minecraft/class_7528;method_44391()I
-
method_44392
protected abstract boolean method_44392()- Mappings:
Namespace Name Mixin selector official fLegp;f()Zintermediary method_44392Lnet/minecraft/class_7528;method_44392()Znamed method_44392Lnet/minecraft/class_7528;method_44392()Z
-
method_44393
protected abstract double method_44393()- Mappings:
Namespace Name Mixin selector official gLegp;g()Dintermediary method_44393Lnet/minecraft/class_7528;method_44393()Dnamed method_44393Lnet/minecraft/class_7528;method_44393()D
-
method_44389
- Mappings:
Namespace Name Mixin selector official cLegp;c(Ldzt;IIF)Vintermediary method_44389Lnet/minecraft/class_7528;method_44389(Lnet/minecraft/class_4587;IIF)Vnamed method_44389Lnet/minecraft/class_7528;method_44389(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-