Class WorldListWidget.Entry
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<E>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry<WorldListWidget.Entry>
net.minecraft.client.gui.screen.world.WorldListWidget.Entry
- All Implemented Interfaces:
AutoCloseable
,Element
,Narratable
- Enclosing class:
- WorldListWidget
@Environment(CLIENT)
public final class WorldListWidget.Entry
extends AlwaysSelectedEntryListWidget.Entry<WorldListWidget.Entry>
implements AutoCloseable
- Mappings:
Namespace Name official eek$a
intermediary net/minecraft/class_528$class_4272
named net/minecraft/client/gui/screen/world/WorldListWidget$Entry
-
Field Summary
Modifier and TypeFieldDescriptionprivate MinecraftClient
private static int
private static int
private static int
private static int
private static int
private static int
private static int
private static int
private @Nullable NativeImageBackedTexture
private File
private Identifier
(package private) LevelSummary
private SelectWorldScreen
private long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
delete()
void
void
edit()
private @Nullable NativeImageBackedTexture
boolean
mouseClicked(double mouseX, double mouseY, int button)
Callback for when a mouse button down event has been captured.private void
void
play()
void
recreate()
void
render(MatrixStack matrices, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta)
Renders an entry in a list.private void
start()
Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
appendNarrations, changeFocus
Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
isMouseOver
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
charTyped, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
Field Details
-
field_32435
private static final int field_32435- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official b
Leek$a;b:I
intermediary field_32435
Lnet/minecraft/class_528$class_4272;field_32435:I
named field_32435
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;field_32435:I
-
field_32436
private static final int field_32436- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official c
Leek$a;c:I
intermediary field_32436
Lnet/minecraft/class_528$class_4272;field_32436:I
named field_32436
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;field_32436:I
-
field_32437
private static final int field_32437- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official d
Leek$a;d:I
intermediary field_32437
Lnet/minecraft/class_528$class_4272;field_32437:I
named field_32437
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;field_32437:I
-
field_32438
private static final int field_32438- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official e
Leek$a;e:I
intermediary field_32438
Lnet/minecraft/class_528$class_4272;field_32438:I
named field_32438
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;field_32438:I
-
field_32439
private static final int field_32439- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official f
Leek$a;f:I
intermediary field_32439
Lnet/minecraft/class_528$class_4272;field_32439:I
named field_32439
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;field_32439:I
-
field_32440
private static final int field_32440- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official g
Leek$a;g:I
intermediary field_32440
Lnet/minecraft/class_528$class_4272;field_32440:I
named field_32440
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;field_32440:I
-
field_32441
private static final int field_32441- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official h
Leek$a;h:I
intermediary field_32441
Lnet/minecraft/class_528$class_4272;field_32441:I
named field_32441
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;field_32441:I
-
field_32442
private static final int field_32442- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official i
Leek$a;i:I
intermediary field_32442
Lnet/minecraft/class_528$class_4272;field_32442:I
named field_32442
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;field_32442:I
-
client
- Mappings:
Namespace Name Mixin selector official j
Leek$a;j:Ldvo;
intermediary field_19136
Lnet/minecraft/class_528$class_4272;field_19136:Lnet/minecraft/class_310;
named client
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;client:Lnet/minecraft/client/MinecraftClient;
-
screen
- Mappings:
Namespace Name Mixin selector official k
Leek$a;k:Leeh;
intermediary field_19137
Lnet/minecraft/class_528$class_4272;field_19137:Lnet/minecraft/class_526;
named screen
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;screen:Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;
-
level
- Mappings:
Namespace Name Mixin selector official l
Leek$a;l:Ldic;
intermediary field_19138
Lnet/minecraft/class_528$class_4272;field_19138:Lnet/minecraft/class_34;
named level
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;level:Lnet/minecraft/world/level/storage/LevelSummary;
-
iconLocation
- Mappings:
Namespace Name Mixin selector official m
Leek$a;m:Lww;
intermediary field_19139
Lnet/minecraft/class_528$class_4272;field_19139:Lnet/minecraft/class_2960;
named iconLocation
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;iconLocation:Lnet/minecraft/util/Identifier;
-
iconFile
- Mappings:
Namespace Name Mixin selector official n
Leek$a;n:Ljava/io/File;
intermediary field_19140
Lnet/minecraft/class_528$class_4272;field_19140:Ljava/io/File;
named iconFile
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;iconFile:Ljava/io/File;
-
icon
- Mappings:
Namespace Name Mixin selector official o
Leek$a;o:Lexb;
intermediary field_19141
Lnet/minecraft/class_528$class_4272;field_19141:Lnet/minecraft/class_1043;
named icon
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;icon:Lnet/minecraft/client/texture/NativeImageBackedTexture;
-
time
private long time- Mappings:
Namespace Name Mixin selector official p
Leek$a;p:J
intermediary field_19142
Lnet/minecraft/class_528$class_4272;field_19142:J
named time
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;time:J
-
-
Constructor Details
-
Entry
- Mappings:
Namespace Name Mixin selector official <init>
Leek$a;<init>(Leek;Leek;Ldic;)V
intermediary <init>
Lnet/minecraft/class_528$class_4272;<init>(Lnet/minecraft/class_528;Lnet/minecraft/class_528;Lnet/minecraft/class_34;)V
named <init>
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;<init>(Lnet/minecraft/client/gui/screen/world/WorldListWidget;Lnet/minecraft/client/gui/screen/world/WorldListWidget;Lnet/minecraft/world/level/storage/LevelSummary;)V
-
-
Method Details
-
method_37006
- Specified by:
method_37006
in classAlwaysSelectedEntryListWidget.Entry<WorldListWidget.Entry>
- Mappings:
Namespace Name Mixin selector official a
Ldxm$a;a()Los;
intermediary method_37006
Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;
named method_37006
Lnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;method_37006()Lnet/minecraft/text/Text;
-
render
public void render(MatrixStack matrices, 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:
render
in classEntryListWidget.Entry<WorldListWidget.Entry>
- Parameters:
matrices
- the matrix stack used for renderingindex
- 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 official a
Ldwv$a;a(Ldqk;IIIIIIIZF)V
intermediary method_25343
Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_4587;IIIIIIIZF)V
named render
Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/util/math/MatrixStack;IIIIIIIZF)V
-
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 inGLFW
class.- Specified by:
mouseClicked
in interfaceElement
- Parameters:
mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mousebutton
- the mouse button number- Returns:
true
to indicate that the event handling is successful/valid- See Also:
Mouse.onMouseButton(long, int, int, int)
,GLFW.GLFW_MOUSE_BUTTON_1
- Mappings:
Namespace Name Mixin selector official a
Ldxx;a(DDI)Z
intermediary method_25402
Lnet/minecraft/class_364;method_25402(DDI)Z
named mouseClicked
Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
-
play
public void play()- Mappings:
Namespace Name Mixin selector official b
Leek$a;b()V
intermediary method_20164
Lnet/minecraft/class_528$class_4272;method_20164()V
named play
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;play()V
-
deleteIfConfirmed
public void deleteIfConfirmed()- Mappings:
Namespace Name Mixin selector official c
Leek$a;c()V
intermediary method_20169
Lnet/minecraft/class_528$class_4272;method_20169()V
named deleteIfConfirmed
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;deleteIfConfirmed()V
-
delete
public void delete()- Mappings:
Namespace Name Mixin selector official d
Leek$a;d()V
intermediary method_33685
Lnet/minecraft/class_528$class_4272;method_33685()V
named delete
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;delete()V
-
edit
public void edit()- Mappings:
Namespace Name Mixin selector official e
Leek$a;e()V
intermediary method_20171
Lnet/minecraft/class_528$class_4272;method_20171()V
named edit
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;edit()V
-
recreate
public void recreate()- Mappings:
Namespace Name Mixin selector official f
Leek$a;f()V
intermediary method_20173
Lnet/minecraft/class_528$class_4272;method_20173()V
named recreate
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;recreate()V
-
start
private void start()- Mappings:
Namespace Name Mixin selector official h
Leek$a;h()V
intermediary method_20174
Lnet/minecraft/class_528$class_4272;method_20174()V
named start
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;start()V
-
openReadingWorldScreen
private void openReadingWorldScreen()- Mappings:
Namespace Name Mixin selector official i
Leek$a;i()V
intermediary method_29990
Lnet/minecraft/class_528$class_4272;method_29990()V
named openReadingWorldScreen
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;openReadingWorldScreen()V
-
getIconTexture
- Mappings:
Namespace Name Mixin selector official j
Leek$a;j()Lexb;
intermediary method_20175
Lnet/minecraft/class_528$class_4272;method_20175()Lnet/minecraft/class_1043;
named getIconTexture
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;getIconTexture()Lnet/minecraft/client/texture/NativeImageBackedTexture;
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
getLevelDisplayName
- Mappings:
Namespace Name Mixin selector official g
Leek$a;g()Ljava/lang/String;
intermediary method_35740
Lnet/minecraft/class_528$class_4272;method_35740()Ljava/lang/String;
named getLevelDisplayName
Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;getLevelDisplayName()Ljava/lang/String;
-