Package net.minecraft
Class class_7941
- All Implemented Interfaces:
Drawable,Element,Narratable,Selectable
- Mappings:
Namespace Name official esyintermediary net/minecraft/class_7941named net/minecraft/class_7941
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final recordprivate static classNested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final Stringprivate static final Stringprivate static final Textprivate final TextRendererprivate class_7941.class_7942private @Nullable DoubleConsumerFields 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_7941(int int2, int int3, int int4, int int5, TextRenderer textRenderer) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected intReturns the total height of the contents.protected doubleprivate voidmethod_47635(class_7941.class_7943 class_7943, class_7966 class_7966) private voidmethod_47636(class_7966 class_7966, class_7941.class_7943 class_7943) voidmethod_47637(@Nullable DoubleConsumer doubleConsumer) voidmethod_47638(boolean bool) private class_7941.class_7942method_47639(boolean bool) private intprotected booleanReturns whether the contents overflow and needs a scrollbar.protected voidrenderContents(MatrixStack matrices, int mouseX, int mouseY, float delta) Renders the scrolled contents.protected voidsetScrollY(double scrollY) Methods inherited from class net.minecraft.client.gui.widget.ScrollableWidget
getMaxScrollY, getPadding, getPaddingDoubled, getScrollY, isVisible, isWithinBounds, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, renderButton, renderOverlayMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, changeFocus, clicked, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getType, getWidth, getX, getY, getYImage, isFocused, isHovered, isMouseOver, isNarratable, isValidClickButton, onClick, onDrag, onFocusedChanged, onRelease, playDownSound, render, renderBackground, setAlpha, setFocused, setMessage, setPos, setTooltip, setTooltipDelay, setWidth, setX, setYMethods 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
changeFocus, charTyped, isMouseOver, keyPressed, keyReleased, mouseMoved
-
Field Details
-
field_41355
private static final int field_41355- See Also:
- Mappings:
Namespace Name Mixin selector official aLesy;a:Iintermediary field_41355Lnet/minecraft/class_7941;field_41355:Inamed field_41355Lnet/minecraft/class_7941;field_41355:I
-
field_41356
- See Also:
- Mappings:
Namespace Name Mixin selector official bLesy;b:Ljava/lang/String;intermediary field_41356Lnet/minecraft/class_7941;field_41356:Ljava/lang/String;named field_41356Lnet/minecraft/class_7941;field_41356:Ljava/lang/String;
-
field_41357
- See Also:
- Mappings:
Namespace Name Mixin selector official cLesy;c:Ljava/lang/String;intermediary field_41357Lnet/minecraft/class_7941;field_41357:Ljava/lang/String;named field_41357Lnet/minecraft/class_7941;field_41357:Ljava/lang/String;
-
field_41358
- Mappings:
Namespace Name Mixin selector official dLesy;d:Lss;intermediary field_41358Lnet/minecraft/class_7941;field_41358:Lnet/minecraft/class_2561;named field_41358Lnet/minecraft/class_7941;field_41358:Lnet/minecraft/text/Text;
-
field_41359
- Mappings:
Namespace Name Mixin selector official eLesy;e:Lekk;intermediary field_41359Lnet/minecraft/class_7941;field_41359:Lnet/minecraft/class_327;named field_41359Lnet/minecraft/class_7941;field_41359:Lnet/minecraft/client/font/TextRenderer;
-
field_41360
- Mappings:
Namespace Name Mixin selector official fLesy;f:Lesy$a;intermediary field_41360Lnet/minecraft/class_7941;field_41360:Lnet/minecraft/class_7941$class_7942;named field_41360Lnet/minecraft/class_7941;field_41360:Lnet/minecraft/class_7941$class_7942;
-
field_41361
- Mappings:
Namespace Name Mixin selector official qLesy;q:Ljava/util/function/DoubleConsumer;intermediary field_41361Lnet/minecraft/class_7941;field_41361:Ljava/util/function/DoubleConsumer;named field_41361Lnet/minecraft/class_7941;field_41361:Ljava/util/function/DoubleConsumer;
-
-
Constructor Details
-
class_7941
-
-
Method Details
-
method_47638
public void method_47638(boolean bool) - Mappings:
Namespace Name Mixin selector official eLesy;e(Z)Vintermediary method_47638Lnet/minecraft/class_7941;method_47638(Z)Vnamed method_47638Lnet/minecraft/class_7941;method_47638(Z)V
-
method_47639
- Mappings:
Namespace Name Mixin selector official fLesy;f(Z)Lesy$a;intermediary method_47639Lnet/minecraft/class_7941;method_47639(Z)Lnet/minecraft/class_7941$class_7942;named method_47639Lnet/minecraft/class_7941;method_47639(Z)Lnet/minecraft/class_7941$class_7942;
-
method_47637
- Mappings:
Namespace Name Mixin selector official aLesy;a(Ljava/util/function/DoubleConsumer;)Vintermediary method_47637Lnet/minecraft/class_7941;method_47637(Ljava/util/function/DoubleConsumer;)Vnamed method_47637Lnet/minecraft/class_7941;method_47637(Ljava/util/function/DoubleConsumer;)V
-
setScrollY
protected void setScrollY(double scrollY) - Overrides:
setScrollYin classScrollableWidget- Mappings:
Namespace Name Mixin selector official aLekr;a(D)Vintermediary method_44382Lnet/minecraft/class_7528;method_44382(D)Vnamed setScrollYLnet/minecraft/client/gui/widget/ScrollableWidget;setScrollY(D)V
-
getContentsHeight
protected int getContentsHeight()Returns the total height of the contents.- Specified by:
getContentsHeightin classScrollableWidget- Returns:
- the total height of the contents
- Mappings:
Namespace Name Mixin selector official eLekr;e()Iintermediary method_44391Lnet/minecraft/class_7528;method_44391()Inamed getContentsHeightLnet/minecraft/client/gui/widget/ScrollableWidget;getContentsHeight()I
-
overflows
protected boolean overflows()Returns whether the contents overflow and needs a scrollbar.- Specified by:
overflowsin classScrollableWidget- Returns:
- whether the contents overflow and needs a scrollbar
- Mappings:
Namespace Name Mixin selector official gLekr;g()Zintermediary method_44392Lnet/minecraft/class_7528;method_44392()Znamed overflowsLnet/minecraft/client/gui/widget/ScrollableWidget;overflows()Z
-
getDeltaYPerScroll
protected double getDeltaYPerScroll()- Specified by:
getDeltaYPerScrollin classScrollableWidget- Mappings:
Namespace Name Mixin selector official hLekr;h()Dintermediary method_44393Lnet/minecraft/class_7528;method_44393()Dnamed getDeltaYPerScrollLnet/minecraft/client/gui/widget/ScrollableWidget;getDeltaYPerScroll()D
-
renderContents
Renders the scrolled contents. Subclasses must override this. The rendered contents may overflow; the caller should trim those usingDrawableHelper.enableScissor(int, int, int, int).- Specified by:
renderContentsin classScrollableWidget- Mappings:
Namespace Name Mixin selector official cLekr;c(Leea;IIF)Vintermediary method_44389Lnet/minecraft/class_7528;method_44389(Lnet/minecraft/class_4587;IIF)Vnamed renderContentsLnet/minecraft/client/gui/widget/ScrollableWidget;renderContents(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
appendClickableNarrations
- Specified by:
appendClickableNarrationsin classClickableWidget- Mappings:
Namespace Name Mixin selector official aLeku;a(Leni;)Vintermediary method_47399Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)Vnamed appendClickableNarrationsLnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
-
method_47635
- Mappings:
Namespace Name Mixin selector official aLesy;a(Lesy$b;Lfsu;)Vintermediary method_47635Lnet/minecraft/class_7941;method_47635(Lnet/minecraft/class_7941$class_7943;Lnet/minecraft/class_7966;)Vnamed method_47635Lnet/minecraft/class_7941;method_47635(Lnet/minecraft/class_7941$class_7943;Lnet/minecraft/class_7966;)V
-
method_47636
- Mappings:
Namespace Name Mixin selector official aLesy;a(Lfsu;Lesy$b;)Vintermediary method_47636Lnet/minecraft/class_7941;method_47636(Lnet/minecraft/class_7966;Lnet/minecraft/class_7941$class_7943;)Vnamed method_47636Lnet/minecraft/class_7941;method_47636(Lnet/minecraft/class_7966;Lnet/minecraft/class_7941$class_7943;)V
-
method_47640
private int method_47640()- Mappings:
Namespace Name Mixin selector official sLesy;s()Iintermediary method_47640Lnet/minecraft/class_7941;method_47640()Inamed method_47640Lnet/minecraft/class_7941;method_47640()I
-