Package net.minecraft
Class class_7842
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.class_7842
- All Implemented Interfaces:
Drawable,Element,Narratable,Selectable
- Mappings:
Namespace Name official ekaintermediary net/minecraft/class_7842named net/minecraft/class_7842
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, WIDGETS_TEXTURE, widthFields 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
ConstructorsConstructorDescriptionclass_7842(int int2, int int3, int int4, int int5, Text text, TextRenderer textRenderer) class_7842(int int2, int int3, Text text, TextRenderer textRenderer) class_7842(Text text, TextRenderer textRenderer) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendNarrations(NarrationMessageBuilder builder) booleanchangeFocus(boolean lookForwards) Changes the focusing element by cycling to the next/previous element.method_46438(int int2) voidrenderButton(MatrixStack matrices, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, clicked, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getType, getWidth, getYImage, isFocused, isHovered, isMouseOver, isNarratable, isValidClickButton, method_46419, method_46421, method_46426, method_46427, mouseClicked, mouseDragged, mouseReleased, onClick, onDrag, onFocusedChanged, onRelease, playDownSound, render, renderBackground, renderTooltip, setAlpha, setFocused, setMessage, setPos, setWidthMethods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fillGradient, fillGradient, fillGradient, getZOffset, 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
charTyped, keyPressed, keyReleased, mouseMoved, mouseScrolled
-
Field Details
-
field_40764
private int field_40764- Mappings:
Namespace Name Mixin selector official aLeka;a:Iintermediary field_40764Lnet/minecraft/class_7842;field_40764:Inamed field_40764Lnet/minecraft/class_7842;field_40764:I
-
field_40765
- Mappings:
Namespace Name Mixin selector official bLeka;b:Lejn;intermediary field_40765Lnet/minecraft/class_7842;field_40765:Lnet/minecraft/class_327;named field_40765Lnet/minecraft/class_7842;field_40765:Lnet/minecraft/client/font/TextRenderer;
-
-
Constructor Details
-
class_7842
-
class_7842
-
class_7842
-
-
Method Details
-
method_46438
- Mappings:
Namespace Name Mixin selector official fLeka;f(I)Leka;intermediary method_46438Lnet/minecraft/class_7842;method_46438(I)Lnet/minecraft/class_7842;named method_46438Lnet/minecraft/class_7842;method_46438(I)Lnet/minecraft/class_7842;
-
appendNarrations
- Mappings:
Namespace Name Mixin selector official aLeml;a(Lemk;)Vintermediary method_37020Lnet/minecraft/class_6383;method_37020(Lnet/minecraft/class_6382;)Vnamed appendNarrationsLnet/minecraft/client/gui/Narratable;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
-
changeFocus
public boolean changeFocus(boolean lookForwards) Changes the focusing element by cycling to the next/previous element. This action is done typically when the user has pressed the 'Tab' or 'Ctrl+Tab' key.- Specified by:
changeFocusin interfaceElement- Overrides:
changeFocusin classClickableWidget- Parameters:
lookForwards-trueto cycle forwards, otherwise cycle backwards- Returns:
trueto indicate that the event handling is successful/valid- Mappings:
Namespace Name Mixin selector official bLelg;b(Z)Zintermediary method_25407Lnet/minecraft/class_364;method_25407(Z)Znamed changeFocusLnet/minecraft/client/gui/Element;changeFocus(Z)Z
-
renderButton
- Overrides:
renderButtonin classClickableWidget- Mappings:
Namespace Name Mixin selector official bLejx;b(Ledc;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
-