Package net.minecraft.client.gui.screens
Class FaviconTexture
java.lang.Object
net.minecraft.client.gui.screens.FaviconTexture
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private static final int
private static final ResourceLocation
private DynamicTexture
private final ResourceLocation
private final TextureManager
private static final int
-
Constructor Summary
ModifierConstructorDescriptionprivate
FaviconTexture
(TextureManager p_289556_, ResourceLocation p_289549_) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
clear()
void
close()
static FaviconTexture
forServer
(TextureManager p_289553_, String p_289535_) static FaviconTexture
forWorld
(TextureManager p_289550_, String p_289565_) void
upload
(NativeImage p_289543_)
-
Field Details
-
MISSING_LOCATION
-
WIDTH
private static final int WIDTH- See Also:
-
HEIGHT
private static final int HEIGHT- See Also:
-
textureManager
-
textureLocation
-
texture
-
closed
private boolean closed
-
-
Constructor Details
-
FaviconTexture
-
-
Method Details
-
forWorld
-
forServer
-
upload
-
clear
public void clear() -
textureLocation
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
checkOpen
private void checkOpen()
-