Class WorldIcon
java.lang.Object
net.minecraft.client.gui.screen.world.WorldIcon
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name official etw
intermediary net/minecraft/class_8573
named net/minecraft/client/gui/screen/world/WorldIcon
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private static final int
private static final int
private final Identifier
private @Nullable NativeImageBackedTexture
private final TextureManager
private static final Identifier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
close()
void
destroy()
static WorldIcon
forServer
(TextureManager textureManager, String serverAddress) static WorldIcon
forWorld
(TextureManager textureManager, String worldName) void
load
(NativeImage image)
-
Field Details
-
UNKNOWN_SERVER_ID
- Mappings:
Namespace Name Mixin selector official a
Letw;a:Lacq;
intermediary field_44933
Lnet/minecraft/class_8573;field_44933:Lnet/minecraft/class_2960;
named UNKNOWN_SERVER_ID
Lnet/minecraft/client/gui/screen/world/WorldIcon;UNKNOWN_SERVER_ID:Lnet/minecraft/util/Identifier;
-
ICON_WIDTH
private static final int ICON_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector official b
Letw;b:I
intermediary field_44934
Lnet/minecraft/class_8573;field_44934:I
named ICON_WIDTH
Lnet/minecraft/client/gui/screen/world/WorldIcon;ICON_WIDTH:I
-
ICON_HEIGHT
private static final int ICON_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector official c
Letw;c:I
intermediary field_44935
Lnet/minecraft/class_8573;field_44935:I
named ICON_HEIGHT
Lnet/minecraft/client/gui/screen/world/WorldIcon;ICON_HEIGHT:I
-
textureManager
- Mappings:
Namespace Name Mixin selector official d
Letw;d:Lfuw;
intermediary field_44936
Lnet/minecraft/class_8573;field_44936:Lnet/minecraft/class_1060;
named textureManager
Lnet/minecraft/client/gui/screen/world/WorldIcon;textureManager:Lnet/minecraft/client/texture/TextureManager;
-
id
- Mappings:
Namespace Name Mixin selector official e
Letw;e:Lacq;
intermediary field_44937
Lnet/minecraft/class_8573;field_44937:Lnet/minecraft/class_2960;
named id
Lnet/minecraft/client/gui/screen/world/WorldIcon;id:Lnet/minecraft/util/Identifier;
-
texture
- Mappings:
Namespace Name Mixin selector official f
Letw;f:Lfui;
intermediary field_44938
Lnet/minecraft/class_8573;field_44938:Lnet/minecraft/class_1043;
named texture
Lnet/minecraft/client/gui/screen/world/WorldIcon;texture:Lnet/minecraft/client/texture/NativeImageBackedTexture;
-
closed
private boolean closed- Mappings:
Namespace Name Mixin selector official g
Letw;g:Z
intermediary field_44939
Lnet/minecraft/class_8573;field_44939:Z
named closed
Lnet/minecraft/client/gui/screen/world/WorldIcon;closed:Z
-
-
Constructor Details
-
WorldIcon
- Mappings:
Namespace Name Mixin selector official <init>
Letw;<init>(Lfuw;Lacq;)V
intermediary <init>
Lnet/minecraft/class_8573;<init>(Lnet/minecraft/class_1060;Lnet/minecraft/class_2960;)V
named <init>
Lnet/minecraft/client/gui/screen/world/WorldIcon;<init>(Lnet/minecraft/client/texture/TextureManager;Lnet/minecraft/util/Identifier;)V
-
-
Method Details
-
forWorld
- Mappings:
Namespace Name Mixin selector official a
Letw;a(Lfuw;Ljava/lang/String;)Letw;
intermediary method_52200
Lnet/minecraft/class_8573;method_52200(Lnet/minecraft/class_1060;Ljava/lang/String;)Lnet/minecraft/class_8573;
named forWorld
Lnet/minecraft/client/gui/screen/world/WorldIcon;forWorld(Lnet/minecraft/client/texture/TextureManager;Ljava/lang/String;)Lnet/minecraft/client/gui/screen/world/WorldIcon;
-
forServer
- Mappings:
Namespace Name Mixin selector official b
Letw;b(Lfuw;Ljava/lang/String;)Letw;
intermediary method_52202
Lnet/minecraft/class_8573;method_52202(Lnet/minecraft/class_1060;Ljava/lang/String;)Lnet/minecraft/class_8573;
named forServer
Lnet/minecraft/client/gui/screen/world/WorldIcon;forServer(Lnet/minecraft/client/texture/TextureManager;Ljava/lang/String;)Lnet/minecraft/client/gui/screen/world/WorldIcon;
-
load
- Mappings:
Namespace Name Mixin selector official a
Letw;a(Lehk;)V
intermediary method_52199
Lnet/minecraft/class_8573;method_52199(Lnet/minecraft/class_1011;)V
named load
Lnet/minecraft/client/gui/screen/world/WorldIcon;load(Lnet/minecraft/client/texture/NativeImage;)V
-
destroy
public void destroy()- Mappings:
Namespace Name Mixin selector official a
Letw;a()V
intermediary method_52198
Lnet/minecraft/class_8573;method_52198()V
named destroy
Lnet/minecraft/client/gui/screen/world/WorldIcon;destroy()V
-
getTextureId
- Mappings:
Namespace Name Mixin selector official b
Letw;b()Lacq;
intermediary method_52201
Lnet/minecraft/class_8573;method_52201()Lnet/minecraft/class_2960;
named getTextureId
Lnet/minecraft/client/gui/screen/world/WorldIcon;getTextureId()Lnet/minecraft/util/Identifier;
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
assertOpen
private void assertOpen()- Mappings:
Namespace Name Mixin selector official c
Letw;c()V
intermediary method_52203
Lnet/minecraft/class_8573;method_52203()V
named assertOpen
Lnet/minecraft/client/gui/screen/world/WorldIcon;assertOpen()V
-