Package net.minecraft.client.gui
Class AbstractParentElement
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
- All Implemented Interfaces:
Element
,ParentElement
- Direct Known Subclasses:
EntryListWidget
,Screen
@Environment(CLIENT)
public abstract class AbstractParentElement
extends DrawableHelper
implements ParentElement
- Mappings:
Namespace Name official dzw
intermediary net/minecraft/class_362
named net/minecraft/client/gui/AbstractParentElement
-
Field Summary
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
final void
setDragging
(boolean dragging) void
setFocused
(@Nullable Element focused) Methods 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, setZOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
isMouseOver, mouseMoved
Methods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, children, focusOn, hoveredElement, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
focused
- Mappings:
Namespace Name Mixin selector official a
Ldzw;a:Ldzy;
intermediary field_22780
Lnet/minecraft/class_362;field_22780:Lnet/minecraft/class_364;
named focused
Lnet/minecraft/client/gui/AbstractParentElement;focused:Lnet/minecraft/client/gui/Element;
-
dragging
private boolean dragging- Mappings:
Namespace Name Mixin selector official b
Ldzw;b:Z
intermediary field_22781
Lnet/minecraft/class_362;field_22781:Z
named dragging
Lnet/minecraft/client/gui/AbstractParentElement;dragging:Z
-
-
Constructor Details
-
AbstractParentElement
public AbstractParentElement()
-
-
Method Details
-
isDragging
public final boolean isDragging()- Specified by:
isDragging
in interfaceParentElement
- Mappings:
Namespace Name Mixin selector official ai_
Ldzx;ai_()Z
intermediary method_25397
Lnet/minecraft/class_4069;method_25397()Z
named isDragging
Lnet/minecraft/client/gui/ParentElement;isDragging()Z
-
setDragging
public final void setDragging(boolean dragging) - Specified by:
setDragging
in interfaceParentElement
- Mappings:
Namespace Name Mixin selector official b_
Ldzx;b_(Z)V
intermediary method_25398
Lnet/minecraft/class_4069;method_25398(Z)V
named setDragging
Lnet/minecraft/client/gui/ParentElement;setDragging(Z)V
-
getFocused
- Specified by:
getFocused
in interfaceParentElement
- Mappings:
Namespace Name Mixin selector official u
Ldzx;u()Ldzy;
intermediary method_25399
Lnet/minecraft/class_4069;method_25399()Lnet/minecraft/class_364;
named getFocused
Lnet/minecraft/client/gui/ParentElement;getFocused()Lnet/minecraft/client/gui/Element;
-
setFocused
- Specified by:
setFocused
in interfaceParentElement
- Mappings:
Namespace Name Mixin selector official a
Ldzx;a(Ldzy;)V
intermediary method_25395
Lnet/minecraft/class_4069;method_25395(Lnet/minecraft/class_364;)V
named setFocused
Lnet/minecraft/client/gui/ParentElement;setFocused(Lnet/minecraft/client/gui/Element;)V
-