net.minecraft.client.gui.screen.world

public class WorldIcon

implements AutoCloseable

net.minecraft.client.gui.screens.FaviconTexture
net.minecraft.class_8573
net.minecraft.client.gui.screen.world.WorldIcon

Field summary

Modifier and TypeField
private static final Identifier
MISSING_LOCATION
field_44933
UNKNOWN_SERVER_ID
private static final int
WIDTH
field_44934
ICON_WIDTH
private static final int
HEIGHT
field_44935
ICON_HEIGHT
private final TextureManager
textureManager
field_44936
textureManager
private final Identifier
textureLocation
field_44937
id
private NativeImageBackedTexture
texture
field_44938
texture
private boolean
closed
field_44939
closed

Constructor summary

ModifierConstructor
private (TextureManager textureManager, Identifier id)

Method summary

Modifier and TypeMethod
public static WorldIcon
forWorld(TextureManager textureManager, String levelId)
method_52200(class_1060 arg0, String arg1)
forWorld(TextureManager textureManager, String worldName)
public static WorldIcon
forServer(TextureManager textureManager, String address)
method_52202(class_1060 arg0, String arg1)
forServer(TextureManager textureManager, String serverAddress)
public void
upload(NativeImage image)
method_52199(class_1011 arg0)
load(NativeImage image)
public void
clear()
method_52198()
destroy()
public Identifier
textureLocation()
method_52201()
getTextureId()
public void
close()
public boolean
isClosed()
method_73412()
isClosed()
private void
checkOpen()
method_52203()
assertOpen()
private String
lambda$upload$0()
method_67874()
method_67874()