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,SquareWidgetEntry,Widget
- Enclosing class:
WorldListWidget
@Environment(CLIENT)
public final class WorldListWidget.WorldEntry
extends WorldListWidget.Entry
implements SquareWidgetEntry
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/world/WorldListWidget$WorldEntryintermediary net/minecraft/class_528$class_4272official gxb$f
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MinecraftClientprivate final TextWidgetprivate final TextWidgetprivate static final intprivate final WorldIconprivate Path(package private) final LevelSummaryprivate final TextWidgetprivate final WorldListWidgetprivate final ScreenFields inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
PADDING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidclose()voiddelete()voidvoidedit()getLevel()private intgetTextX()booleankeyPressed(KeyInput input) Callback for when a key down event has been captured.private voidloadIcon()booleanmouseClicked(Click click, boolean doubled) Callback for when a mouse button down event has been captured.private voidvoidplay()voidrecreate()voidrender(DrawContext context, int mouseX, int mouseY, boolean hovered, float deltaTicks) 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
forEachChild, getContentBottomEnd, getContentHeight, getContentMiddleX, getContentMiddleY, getContentRightEnd, getContentWidth, getContentX, getContentY, getHeight, getNavigationFocus, getWidth, getX, getY, isFocused, isMouseOver, setFocused, setHeight, setWidth, setX, setYMethods 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, getBorder, getFocusedPath, getNavigationPath, isClickable, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.widget.SquareWidgetEntry
isBottomLeft, isBottomRight, isInside, isLeft, isRight, isTopLeft, isTopRightMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
field_64210
private static final int field_64210- See Also:
- Mappings:
Namespace Name Mixin selector named field_64210Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;field_64210:Iintermediary field_64210Lnet/minecraft/class_528$class_4272;field_64210:Iofficial bLgxb$f;b:I
-
parent
- Mappings:
Namespace Name Mixin selector named parentLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;parent:Lnet/minecraft/client/gui/screen/world/WorldListWidget;intermediary field_62205Lnet/minecraft/class_528$class_4272;field_62205:Lnet/minecraft/class_528;official cLgxb$f;c:Lgxb;
-
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 dLgxb$f;d:Lgec;
-
screen
- Mappings:
Namespace Name Mixin selector named screenLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;screen:Lnet/minecraft/client/gui/screen/Screen;intermediary field_19137Lnet/minecraft/class_528$class_4272;field_19137:Lnet/minecraft/class_437;official eLgxb$f;e:Lgqt;
-
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 fLgxb$f;f:Lfmb;
-
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 gLgxb$f;g:Lgqd;
-
displayNameWidget
- Mappings:
Namespace Name Mixin selector named displayNameWidgetLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;displayNameWidget:Lnet/minecraft/client/gui/widget/TextWidget;intermediary field_62206Lnet/minecraft/class_528$class_4272;field_62206:Lnet/minecraft/class_7842;official iLgxb$f;i:Lgjg;
-
nameWidget
- Mappings:
Namespace Name Mixin selector named nameWidgetLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;nameWidget:Lnet/minecraft/client/gui/widget/TextWidget;intermediary field_62207Lnet/minecraft/class_528$class_4272;field_62207:Lnet/minecraft/class_7842;official jLgxb$f;j:Lgjg;
-
detailsWidget
- Mappings:
Namespace Name Mixin selector named detailsWidgetLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;detailsWidget:Lnet/minecraft/client/gui/widget/TextWidget;intermediary field_62208Lnet/minecraft/class_528$class_4272;field_62208:Lnet/minecraft/class_7842;official kLgxb$f;k:Lgjg;
-
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 lLgxb$f;l:Ljava/nio/file/Path;
-
-
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>Lgxb$f;<init>(Lgxb;Lgxb;Lfmb;)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 xLgxb$f;x()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 aLgis$a;a()Lyh;
-
render
Renders an entry in a list.- Specified by:
renderin classEntryListWidget.Entry<WorldListWidget.Entry>- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIZF)Vintermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIZF)Vofficial aLghp$a;a(Lghi;IIZF)V
-
getTextX
private int getTextX()- Mappings:
Namespace Name Mixin selector named getTextXLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;getTextX()Iintermediary method_73466Lnet/minecraft/class_528$class_4272;method_73466()Iofficial yLgxb$f;y()I
-
mouseClicked
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>- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(Lnet/minecraft/client/gui/Click;Z)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(Lnet/minecraft/class_11909;Z)Zofficial aLgle;a(Lgxs;Z)Z
-
keyPressed
Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- Specified by:
keyPressedin interfaceElement- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named keyPressedLnet/minecraft/client/gui/Element;keyPressed(Lnet/minecraft/client/input/KeyInput;)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(Lnet/minecraft/class_11908;)Zofficial aLgle;a(Lgxr;)Z
-
allowConfirmationByKeyboard
public boolean allowConfirmationByKeyboard()- Mappings:
Namespace Name Mixin selector named allowConfirmationByKeyboardLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;allowConfirmationByKeyboard()Zintermediary method_73465Lnet/minecraft/class_528$class_4272;method_73465()Zofficial cLgxb$f;c()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 eLgxb$f;e()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 fLgxb$f;f()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 tLgxb$f;t()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 uLgxb$f;u()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 vLgxb$f;v()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 zLgxb$f;z()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 BLgxb$f;B()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 wLgxb$f;w()Ljava/lang/String;
-
getLevel
- Overrides:
getLevelin classWorldListWidget.Entry- Mappings:
Namespace Name Mixin selector named getLevelLnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;getLevel()Lnet/minecraft/world/level/storage/LevelSummary;intermediary method_73463Lnet/minecraft/class_528$class_7414;method_73463()Lnet/minecraft/class_34;official bLgxb$b;b()Lfmb;
-