Class ChatSelectionScreen.SelectionListWidget.SenderEntry
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<ChatSelectionScreen.SelectionListWidget.Entry>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry<ChatSelectionScreen.SelectionListWidget.Entry>
net.minecraft.client.gui.screen.report.ChatSelectionScreen.SelectionListWidget.Entry
net.minecraft.client.gui.screen.report.ChatSelectionScreen.SelectionListWidget.SenderEntry
- All Implemented Interfaces:
Element,Narratable,Navigable
- Enclosing class:
ChatSelectionScreen.SelectionListWidget
@Environment(CLIENT)
public class ChatSelectionScreen.SelectionListWidget.SenderEntry
extends ChatSelectionScreen.SelectionListWidget.Entry
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntryintermediary net/minecraft/class_7543$class_7544$class_7549official fsn$a$e
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate final booleanprivate final Textprivate static final intprivate final Supplier<SkinTextures> Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionSenderEntry(com.mojang.authlib.GameProfile gameProfile, Text headingText, boolean fromReportedPlayer) -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.Methods inherited from class net.minecraft.client.gui.screen.report.ChatSelectionScreen.SelectionListWidget.Entry
canSelect, getNarration, isHighlightedOnHover, isSelectedMethods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
appendNarrations, mouseClickedMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
drawBorder, isFocused, isMouseOver, setFocusedMethods 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, getFocusedPath, getNavigationFocus, getNavigationPath, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
-
Field Details
-
PLAYER_SKIN_SIZE
private static final int PLAYER_SKIN_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector named PLAYER_SKIN_SIZELnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntry;PLAYER_SKIN_SIZE:Iintermediary field_39607Lnet/minecraft/class_7543$class_7544$class_7549;field_39607:Iofficial bLfsn$a$e;b:I
-
field_49545
private static final int field_49545- See Also:
- Mappings:
Namespace Name Mixin selector named field_49545Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntry;field_49545:Iintermediary field_49545Lnet/minecraft/class_7543$class_7544$class_7549;field_49545:Iofficial cLfsn$a$e;c:I
-
headingText
- Mappings:
Namespace Name Mixin selector named headingTextLnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntry;headingText:Lnet/minecraft/text/Text;intermediary field_39608Lnet/minecraft/class_7543$class_7544$class_7549;field_39608:Lnet/minecraft/class_2561;official dLfsn$a$e;d:Lwz;
-
skinTexturesSupplier
- Mappings:
Namespace Name Mixin selector named skinTexturesSupplierLnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntry;skinTexturesSupplier:Ljava/util/function/Supplier;intermediary field_39609Lnet/minecraft/class_7543$class_7544$class_7549;field_39609:Ljava/util/function/Supplier;official eLfsn$a$e;e:Ljava/util/function/Supplier;
-
fromReportedPlayer
private final boolean fromReportedPlayer- Mappings:
Namespace Name Mixin selector named fromReportedPlayerLnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntry;fromReportedPlayer:Zintermediary field_39610Lnet/minecraft/class_7543$class_7544$class_7549;field_39610:Zofficial fLfsn$a$e;f:Z
-
-
Constructor Details
-
SenderEntry
public SenderEntry(com.mojang.authlib.GameProfile gameProfile, Text headingText, boolean fromReportedPlayer) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntry;<init>(Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;Lcom/mojang/authlib/GameProfile;Lnet/minecraft/text/Text;Z)Vintermediary <init>Lnet/minecraft/class_7543$class_7544$class_7549;<init>(Lnet/minecraft/class_7543$class_7544;Lcom/mojang/authlib/GameProfile;Lnet/minecraft/class_2561;Z)Vofficial <init>Lfsn$a$e;<init>(Lfsn$a;Lcom/mojang/authlib/GameProfile;Lwz;Z)V
-
-
Method Details
-
render
public void render(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.- Specified by:
renderin classEntryListWidget.Entry<ChatSelectionScreen.SelectionListWidget.Entry>- Parameters:
index- the index of the entryy- the Y coordinate of the entryx- the X coordinate of the entryentryWidth- the width of the entryentryHeight- the height of the entrymouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousehovered- whether the mouse is hovering over the entry- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIIIIIIZF)Vintermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIIIIIIZF)Vofficial aLfih$a;a(Lfhz;IIIIIIIZF)V
-