Class WorldIcon

java.lang.Object
net.minecraft.client.gui.screen.world.WorldIcon
All Implemented Interfaces:
AutoCloseable

@Environment(CLIENT) public class WorldIcon extends Object implements AutoCloseable
Mappings:
Namespace Name
official exp
intermediary net/minecraft/class_8573
named net/minecraft/client/gui/screen/world/WorldIcon
  • Field Details

    • UNKNOWN_SERVER_ID

      private static final Identifier UNKNOWN_SERVER_ID
      Mappings:
      Namespace Name Mixin selector
      official a Lexp;a:Laew;
      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 Lexp;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 Lexp;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

      private final TextureManager textureManager
      Mappings:
      Namespace Name Mixin selector
      official d Lexp;d:Lfzf;
      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

      private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      official e Lexp;e:Laew;
      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 Lexp;f:Lfyr;
      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 Lexp;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

      private WorldIcon(TextureManager textureManager, Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lexp;<init>(Lfzf;Laew;)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

      public static WorldIcon forWorld(TextureManager textureManager, String worldName)
      Mappings:
      Namespace Name Mixin selector
      official a Lexp;a(Lfzf;Ljava/lang/String;)Lexp;
      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

      public static WorldIcon forServer(TextureManager textureManager, String serverAddress)
      Mappings:
      Namespace Name Mixin selector
      official b Lexp;b(Lfzf;Ljava/lang/String;)Lexp;
      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

      public void load(NativeImage image)
      Mappings:
      Namespace Name Mixin selector
      official a Lexp;a(Lekq;)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 Lexp;a()V
      intermediary method_52198 Lnet/minecraft/class_8573;method_52198()V
      named destroy Lnet/minecraft/client/gui/screen/world/WorldIcon;destroy()V
    • getTextureId

      public Identifier getTextureId()
      Mappings:
      Namespace Name Mixin selector
      official b Lexp;b()Laew;
      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 interface AutoCloseable
    • assertOpen

      private void assertOpen()
      Mappings:
      Namespace Name Mixin selector
      official c Lexp;c()V
      intermediary method_52203 Lnet/minecraft/class_8573;method_52203()V
      named assertOpen Lnet/minecraft/client/gui/screen/world/WorldIcon;assertOpen()V