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 pTextureManager, ResourceLocation pTextureLocation) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidclear()voidclose()static FaviconTextureforServer(TextureManager pTextureManager, String pWorldName) static FaviconTextureforWorld(TextureManager pTextureManager, String pWorldName) booleanisClosed()voidupload(NativeImage pImage)
-
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
-
isClosed
public boolean isClosed() -
checkOpen
private void checkOpen()
-