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 Identifierprivate @Nullable DynamicTextureprivate final Identifierprivate final TextureManagerprivate static final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateFaviconTexture(TextureManager textureManager, Identifier textureLocation) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidclear()voidclose()static FaviconTextureforServer(TextureManager textureManager, String address) static FaviconTextureforWorld(TextureManager textureManager, String levelId) booleanisClosed()voidupload(NativeImage image)
-
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()
-