Package net.minecraft.client.gui.screens
Class FaviconTexture
java.lang.Object
net.minecraft.client.gui.screens.FaviconTexture
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate static final intprivate static final ResourceLocationprivate DynamicTextureprivate final ResourceLocationprivate final TextureManagerprivate static final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateFaviconTexture(TextureManager p_289556_, ResourceLocation p_289549_) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidclear()voidclose()static FaviconTextureforServer(TextureManager p_289553_, String p_289535_) static FaviconTextureforWorld(TextureManager p_289550_, String p_289565_) voidupload(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:
closein interfaceAutoCloseable
-
checkOpen
private void checkOpen()
-