net.minecraft.client.gui.screen.world

public final class WorldListWidget$WorldEntry

extends WorldListWidget$Entry implements SquareWidgetEntry

All mapped superinterfaces:

Widget, Element, Navigable, Narratable, SquareWidgetEntry

net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry
net.minecraft.class_528$class_4272
net.minecraft.client.gui.screen.world.WorldListWidget$WorldEntry

Field summary

Modifier and TypeField
private static final int
ICON_SIZE
field_64210
field_64210
private final WorldListWidget
list
field_62205
parent
private final MinecraftClient
minecraft
field_19136
client
private final Screen
screen
field_19137
screen
private final LevelSummary
summary
field_19138
level
private final WorldIcon
icon
field_19141
icon
private final TextWidget
worldNameText
field_62206
displayNameWidget
private final TextWidget
idAndLastPlayedText
field_62207
nameWidget
private final TextWidget
infoText
field_62208
detailsWidget
private Path
iconFile
field_19140
iconPath
final WorldListWidget
this$0
field_64209
field_64209

Constructor summary

ModifierConstructor
public (WorldListWidget this$0, WorldListWidget parent, LevelSummary level)

Method summary

Modifier and TypeMethod
private void
validateIconFile()
method_52265()
validateIconPath()
public Text
getNarration()
method_37006()
getNarration()
public void
renderContent(GuiGraphics graphics, int mouseX, int mouseY, boolean hovered, float a)
method_25343(class_332 arg0, int arg1, int arg2, boolean arg3, float arg4)
render(DrawContext arg0, int arg1, int arg2, boolean arg3, float arg4)
private int
getTextX()
method_73466()
getTextX()
public boolean
mouseClicked(MouseButtonEvent event, boolean doubleClick)
method_25402(class_11909 arg0, boolean arg1)
mouseClicked(Click arg0, boolean arg1)
public boolean
keyPressed(KeyEvent event)
method_25404(class_11908 arg0)
keyPressed(KeyInput arg0)
public boolean
canInteract()
method_73465()
allowConfirmationByKeyboard()
public void
joinWorld()
method_20164()
play()
public void
deleteWorld()
method_20169()
deleteIfConfirmed()
public void
doDeleteWorld()
method_33685()
delete()
public void
editWorld()
method_20171()
edit()
public void
recreateWorld()
method_20173()
recreate()
private void
queueLoadScreen()
method_29990()
openReadingWorldScreen()
private void
loadIcon()
method_52205()
loadIcon()
public void
close()
public String
getLevelName()
method_35740()
getLevelDisplayName()
public LevelSummary
getLevelSummary()
method_73463()
getLevel()
private void
lambda$recreateWorld$6()
method_20176()
method_20176()
private void
lambda$recreateWorld$5()
method_54630()
method_54630()
private void
lambda$recreateWorld$4(LevelSettings arg0, WorldCreationContext arg1, Path arg2, boolean arg3)
method_20165(class_1940 arg0, class_7193 arg1, Path arg2, boolean arg3)
method_20165(LevelInfo arg0, GeneratorOptionsHolder arg1, Path arg2, boolean confirmed)
private void
lambda$editWorld$3(LevelStorageSource$LevelStorageAccess arg0, boolean arg1)
method_54628(class_32$class_5143 arg0, boolean arg1)
method_54628(LevelStorage$Session arg0, boolean edited)
private void
lambda$editWorld$2()
method_54631()
method_54631()
private void
lambda$deleteWorld$1(boolean arg0)
method_20170(boolean arg0)
method_20170(boolean confirmed)
private void
lambda$joinWorld$0()
method_20179()
method_20179()