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$WorldEntryintermediary net/minecraft/class_528$class_4272official fzk$c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MinecraftClientprivate static final intprivate static final intprivate final WorldIcon(package private) final LevelSummaryprivate final SelectWorldScreenprivate longFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voiddelete()voidvoidedit()booleanprivate voidloadIcon()booleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.private voidvoidplay()voidrecreate()voidrender(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 voidMethods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
appendNarrationsMethods 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
-
field_32435
private static final int field_32435- See Also:
- Mappings:
Namespace Name Mixin selector named field_32435Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;field_32435:Iintermediary field_32435Lnet/minecraft/class_528$class_4272;field_32435:Iofficial bLfzk$c;b:I
-
field_32436
private static final int field_32436- See Also:
- Mappings:
Namespace Name Mixin selector named field_32436Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;field_32436:Iintermediary field_32436Lnet/minecraft/class_528$class_4272;field_32436:Iofficial cLfzk$c;c:I
-
client
- Mappings:
Namespace Name Mixin selector named clientLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;client:Lnet/minecraft/client/MinecraftClient;intermediary field_19136Lnet/minecraft/class_528$class_4272;field_19136:Lnet/minecraft/class_310;official dLfzk$c;d:Lfmf;
-
screen
- Mappings:
Namespace Name Mixin selector named screenLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;screen:Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;intermediary field_19137Lnet/minecraft/class_528$class_4272;field_19137:Lnet/minecraft/class_526;official eLfzk$c;e:Lfze;
-
level
- Mappings:
Namespace Name Mixin selector named levelLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;level:Lnet/minecraft/world/level/storage/LevelSummary;intermediary field_19138Lnet/minecraft/class_528$class_4272;field_19138:Lnet/minecraft/class_34;official fLfzk$c;f:Lewd;
-
icon
- Mappings:
Namespace Name Mixin selector named iconLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;icon:Lnet/minecraft/client/gui/screen/world/WorldIcon;intermediary field_19141Lnet/minecraft/class_528$class_4272;field_19141:Lnet/minecraft/class_8573;official gLfzk$c;g:Lfth;
-
iconPath
- Mappings:
Namespace Name Mixin selector named iconPathLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;iconPath:Ljava/nio/file/Path;intermediary field_19140Lnet/minecraft/class_528$class_4272;field_19140:Ljava/nio/file/Path;official hLfzk$c;h:Ljava/nio/file/Path;
-
time
private long time- Mappings:
Namespace Name Mixin selector named timeLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;time:Jintermediary field_19142Lnet/minecraft/class_528$class_4272;field_19142:Jofficial iLfzk$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;)Vintermediary <init>Lnet/minecraft/class_528$class_4272;<init>(Lnet/minecraft/class_528;Lnet/minecraft/class_528;Lnet/minecraft/class_34;)Vofficial <init>Lfzk$c;<init>(Lfzk;Lfzk;Lewd;)V
-
-
Method Details
-
validateIconPath
private void validateIconPath()- Mappings:
Namespace Name Mixin selector named validateIconPathLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;validateIconPath()Vintermediary method_52265Lnet/minecraft/class_528$class_4272;method_52265()Vofficial jLfzk$c;j()V
-
getNarration
- Specified by:
getNarrationin classAlwaysSelectedEntryListWidget.Entry<WorldListWidget.Entry>- Mappings:
Namespace Name Mixin selector named getNarrationLnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;getNarration()Lnet/minecraft/text/Text;intermediary method_37006Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;official aLfpb$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:
renderin 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 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 aLfnz$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 inGLFWclass.- Specified by:
mouseClickedin interfaceElement- Overrides:
mouseClickedin classAlwaysSelectedEntryListWidget.Entry<WorldListWidget.Entry>- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Zofficial aLfqc;a(DDI)Z
-
isLevelSelectable
public boolean isLevelSelectable()- Mappings:
Namespace Name Mixin selector named isLevelSelectableLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;isLevelSelectable()Zintermediary method_54629Lnet/minecraft/class_528$class_4272;method_54629()Zofficial bLfzk$c;b()Z
-
play
public void play()- Mappings:
Namespace Name Mixin selector named playLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;play()Vintermediary method_20164Lnet/minecraft/class_528$class_4272;method_20164()Vofficial cLfzk$c;c()V
-
deleteIfConfirmed
public void deleteIfConfirmed()- Mappings:
Namespace Name Mixin selector named deleteIfConfirmedLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;deleteIfConfirmed()Vintermediary method_20169Lnet/minecraft/class_528$class_4272;method_20169()Vofficial dLfzk$c;d()V
-
delete
public void delete()- Mappings:
Namespace Name Mixin selector named deleteLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;delete()Vintermediary method_33685Lnet/minecraft/class_528$class_4272;method_33685()Vofficial eLfzk$c;e()V
-
edit
public void edit()- Mappings:
Namespace Name Mixin selector named editLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;edit()Vintermediary method_20171Lnet/minecraft/class_528$class_4272;method_20171()Vofficial gLfzk$c;g()V
-
recreate
public void recreate()- Mappings:
Namespace Name Mixin selector named recreateLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;recreate()Vintermediary method_20173Lnet/minecraft/class_528$class_4272;method_20173()Vofficial hLfzk$c;h()V
-
openReadingWorldScreen
private void openReadingWorldScreen()- Mappings:
Namespace Name Mixin selector named openReadingWorldScreenLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;openReadingWorldScreen()Vintermediary method_29990Lnet/minecraft/class_528$class_4272;method_29990()Vofficial kLfzk$c;k()V
-
loadIcon
private void loadIcon()- Mappings:
Namespace Name Mixin selector named loadIconLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;loadIcon()Vintermediary method_52205Lnet/minecraft/class_528$class_4272;method_52205()Vofficial lLfzk$c;l()V
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classWorldListWidget.Entry
-
getLevelDisplayName
- Mappings:
Namespace Name Mixin selector named getLevelDisplayNameLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;getLevelDisplayName()Ljava/lang/String;intermediary method_35740Lnet/minecraft/class_528$class_4272;method_35740()Ljava/lang/String;official iLfzk$c;i()Ljava/lang/String;
-