Class WorldListWidget.WorldEntry
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<WorldListWidget.Entry>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry<WorldListWidget.Entry>
net.minecraft.client.gui.screen.world.WorldListWidget.Entry
net.minecraft.client.gui.screen.world.WorldListWidget.WorldEntry
- All Implemented Interfaces:
AutoCloseable
,Element
,Narratable
,Navigable
- Enclosing class:
WorldListWidget
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry
intermediary net/minecraft/class_528$class_4272
official fzk$c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MinecraftClient
private static final int
private static final int
private final WorldIcon
(package private) final LevelSummary
private final SelectWorldScreen
private long
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
delete()
void
void
edit()
boolean
private void
loadIcon()
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
(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.private void
Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
appendNarrations
Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
drawBorder, isFocused, isMouseOver, setFocused
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, getFocusedPath, getNavigationFocus, getNavigationPath, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
-
Field Details
-
field_32435
private static final int field_32435- See Also:
- Mappings:
Namespace Name Mixin selector named field_32435
Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;field_32435:I
intermediary field_32435
Lnet/minecraft/class_528$class_4272;field_32435:I
official b
Lfzk$c;b:I
-
field_32436
private static final int field_32436- See Also:
- Mappings:
Namespace Name Mixin selector named field_32436
Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;field_32436:I
intermediary field_32436
Lnet/minecraft/class_528$class_4272;field_32436:I
official c
Lfzk$c;c:I
-
client
- Mappings:
Namespace Name Mixin selector named client
Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;client:Lnet/minecraft/client/MinecraftClient;
intermediary field_19136
Lnet/minecraft/class_528$class_4272;field_19136:Lnet/minecraft/class_310;
official d
Lfzk$c;d:Lfmf;
-
screen
- Mappings:
Namespace Name Mixin selector named screen
Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;screen:Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;
intermediary field_19137
Lnet/minecraft/class_528$class_4272;field_19137:Lnet/minecraft/class_526;
official e
Lfzk$c;e:Lfze;
-
level
- Mappings:
Namespace Name Mixin selector named level
Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;level:Lnet/minecraft/world/level/storage/LevelSummary;
intermediary field_19138
Lnet/minecraft/class_528$class_4272;field_19138:Lnet/minecraft/class_34;
official f
Lfzk$c;f:Lewd;
-
icon
- Mappings:
Namespace Name Mixin selector named icon
Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;icon:Lnet/minecraft/client/gui/screen/world/WorldIcon;
intermediary field_19141
Lnet/minecraft/class_528$class_4272;field_19141:Lnet/minecraft/class_8573;
official g
Lfzk$c;g:Lfth;
-
iconPath
- Mappings:
Namespace Name Mixin selector named iconPath
Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;iconPath:Ljava/nio/file/Path;
intermediary field_19140
Lnet/minecraft/class_528$class_4272;field_19140:Ljava/nio/file/Path;
official h
Lfzk$c;h:Ljava/nio/file/Path;
-
time
private long time- Mappings:
Namespace Name Mixin selector named time
Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;time:J
intermediary field_19142
Lnet/minecraft/class_528$class_4272;field_19142:J
official i
Lfzk$c;i:J
-
-
Constructor Details
-
WorldEntry
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;<init>(Lnet/minecraft/client/gui/screen/world/WorldListWidget;Lnet/minecraft/client/gui/screen/world/WorldListWidget;Lnet/minecraft/world/level/storage/LevelSummary;)V
intermediary <init>
Lnet/minecraft/class_528$class_4272;<init>(Lnet/minecraft/class_528;Lnet/minecraft/class_528;Lnet/minecraft/class_34;)V
official <init>
Lfzk$c;<init>(Lfzk;Lfzk;Lewd;)V
-
-
Method Details
-
validateIconPath
private void validateIconPath()- Mappings:
Namespace Name Mixin selector named validateIconPath
Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;validateIconPath()V
intermediary method_52265
Lnet/minecraft/class_528$class_4272;method_52265()V
official j
Lfzk$c;j()V
-
getNarration
- Specified by:
getNarration
in classAlwaysSelectedEntryListWidget.Entry<WorldListWidget.Entry>
- Mappings:
Namespace Name Mixin selector named getNarration
Lnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;getNarration()Lnet/minecraft/text/Text;
intermediary method_37006
Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;
official a
Lfpb$a;a()Lxv;
-
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:
render
in classEntryListWidget.Entry<WorldListWidget.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 render
Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIIIIIIZF)V
intermediary method_25343
Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIIIIIIZF)V
official a
Lfnz$a;a(Lfnr;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
- Overrides:
mouseClicked
in classAlwaysSelectedEntryListWidget.Entry<WorldListWidget.Entry>
- 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:
- Mappings:
Namespace Name Mixin selector named mouseClicked
Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
intermediary method_25402
Lnet/minecraft/class_364;method_25402(DDI)Z
official a
Lfqc;a(DDI)Z
-
isLevelSelectable
public boolean isLevelSelectable()- Mappings:
Namespace Name Mixin selector named isLevelSelectable
Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;isLevelSelectable()Z
intermediary method_54629
Lnet/minecraft/class_528$class_4272;method_54629()Z
official b
Lfzk$c;b()Z
-
play
public void play()- Mappings:
Namespace Name Mixin selector named play
Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;play()V
intermediary method_20164
Lnet/minecraft/class_528$class_4272;method_20164()V
official c
Lfzk$c;c()V
-
deleteIfConfirmed
public void deleteIfConfirmed()- Mappings:
Namespace Name Mixin selector named deleteIfConfirmed
Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;deleteIfConfirmed()V
intermediary method_20169
Lnet/minecraft/class_528$class_4272;method_20169()V
official d
Lfzk$c;d()V
-
delete
public void delete()- Mappings:
Namespace Name Mixin selector named delete
Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;delete()V
intermediary method_33685
Lnet/minecraft/class_528$class_4272;method_33685()V
official e
Lfzk$c;e()V
-
edit
public void edit()- Mappings:
Namespace Name Mixin selector named edit
Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;edit()V
intermediary method_20171
Lnet/minecraft/class_528$class_4272;method_20171()V
official g
Lfzk$c;g()V
-
recreate
public void recreate()- Mappings:
Namespace Name Mixin selector named recreate
Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;recreate()V
intermediary method_20173
Lnet/minecraft/class_528$class_4272;method_20173()V
official h
Lfzk$c;h()V
-
openReadingWorldScreen
private void openReadingWorldScreen()- Mappings:
Namespace Name Mixin selector named openReadingWorldScreen
Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;openReadingWorldScreen()V
intermediary method_29990
Lnet/minecraft/class_528$class_4272;method_29990()V
official k
Lfzk$c;k()V
-
loadIcon
private void loadIcon()- Mappings:
Namespace Name Mixin selector named loadIcon
Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;loadIcon()V
intermediary method_52205
Lnet/minecraft/class_528$class_4272;method_52205()V
official l
Lfzk$c;l()V
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classWorldListWidget.Entry
-
getLevelDisplayName
- Mappings:
Namespace Name Mixin selector named getLevelDisplayName
Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;getLevelDisplayName()Ljava/lang/String;
intermediary method_35740
Lnet/minecraft/class_528$class_4272;method_35740()Ljava/lang/String;
official i
Lfzk$c;i()Ljava/lang/String;
-