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
named net/minecraft/client/gui/screen/world/WorldIcon
intermediary net/minecraft/class_8573
official fth
  • Field Details

    • UNKNOWN_SERVER_ID

      private static final Identifier UNKNOWN_SERVER_ID
      Mappings:
      Namespace Name Mixin selector
      named UNKNOWN_SERVER_ID Lnet/minecraft/client/gui/screen/world/WorldIcon;UNKNOWN_SERVER_ID:Lnet/minecraft/util/Identifier;
      intermediary field_44933 Lnet/minecraft/class_8573;field_44933:Lnet/minecraft/class_2960;
      official a Lfth;a:Lalz;
    • ICON_WIDTH

      private static final int ICON_WIDTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named ICON_WIDTH Lnet/minecraft/client/gui/screen/world/WorldIcon;ICON_WIDTH:I
      intermediary field_44934 Lnet/minecraft/class_8573;field_44934:I
      official b Lfth;b:I
    • ICON_HEIGHT

      private static final int ICON_HEIGHT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named ICON_HEIGHT Lnet/minecraft/client/gui/screen/world/WorldIcon;ICON_HEIGHT:I
      intermediary field_44935 Lnet/minecraft/class_8573;field_44935:I
      official c Lfth;c:I
    • textureManager

      private final TextureManager textureManager
      Mappings:
      Namespace Name Mixin selector
      named textureManager Lnet/minecraft/client/gui/screen/world/WorldIcon;textureManager:Lnet/minecraft/client/texture/TextureManager;
      intermediary field_44936 Lnet/minecraft/class_8573;field_44936:Lnet/minecraft/class_1060;
      official d Lfth;d:Lhbl;
    • id

      private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/client/gui/screen/world/WorldIcon;id:Lnet/minecraft/util/Identifier;
      intermediary field_44937 Lnet/minecraft/class_8573;field_44937:Lnet/minecraft/class_2960;
      official e Lfth;e:Lalz;
    • texture

      Mappings:
      Namespace Name Mixin selector
      named texture Lnet/minecraft/client/gui/screen/world/WorldIcon;texture:Lnet/minecraft/client/texture/NativeImageBackedTexture;
      intermediary field_44938 Lnet/minecraft/class_8573;field_44938:Lnet/minecraft/class_1043;
      official f Lfth;f:Lhax;
    • closed

      private boolean closed
      Mappings:
      Namespace Name Mixin selector
      named closed Lnet/minecraft/client/gui/screen/world/WorldIcon;closed:Z
      intermediary field_44939 Lnet/minecraft/class_8573;field_44939:Z
      official g Lfth;g:Z
  • Constructor Details

    • WorldIcon

      private WorldIcon(TextureManager textureManager, Identifier id)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/world/WorldIcon;<init>(Lnet/minecraft/client/texture/TextureManager;Lnet/minecraft/util/Identifier;)V
      intermediary <init> Lnet/minecraft/class_8573;<init>(Lnet/minecraft/class_1060;Lnet/minecraft/class_2960;)V
      official <init> Lfth;<init>(Lhbl;Lalz;)V
  • Method Details

    • forWorld

      public static WorldIcon forWorld(TextureManager textureManager, String worldName)
      Mappings:
      Namespace Name Mixin selector
      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;
      intermediary method_52200 Lnet/minecraft/class_8573;method_52200(Lnet/minecraft/class_1060;Ljava/lang/String;)Lnet/minecraft/class_8573;
      official a Lfth;a(Lhbl;Ljava/lang/String;)Lfth;
    • forServer

      public static WorldIcon forServer(TextureManager textureManager, String serverAddress)
      Mappings:
      Namespace Name Mixin selector
      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;
      intermediary method_52202 Lnet/minecraft/class_8573;method_52202(Lnet/minecraft/class_1060;Ljava/lang/String;)Lnet/minecraft/class_8573;
      official b Lfth;b(Lhbl;Ljava/lang/String;)Lfth;
    • load

      public void load(NativeImage image)
      Mappings:
      Namespace Name Mixin selector
      named load Lnet/minecraft/client/gui/screen/world/WorldIcon;load(Lnet/minecraft/client/texture/NativeImage;)V
      intermediary method_52199 Lnet/minecraft/class_8573;method_52199(Lnet/minecraft/class_1011;)V
      official a Lfth;a(Lffr;)V
    • destroy

      public void destroy()
      Mappings:
      Namespace Name Mixin selector
      named destroy Lnet/minecraft/client/gui/screen/world/WorldIcon;destroy()V
      intermediary method_52198 Lnet/minecraft/class_8573;method_52198()V
      official a Lfth;a()V
    • getTextureId

      public Identifier getTextureId()
      Mappings:
      Namespace Name Mixin selector
      named getTextureId Lnet/minecraft/client/gui/screen/world/WorldIcon;getTextureId()Lnet/minecraft/util/Identifier;
      intermediary method_52201 Lnet/minecraft/class_8573;method_52201()Lnet/minecraft/class_2960;
      official b Lfth;b()Lalz;
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • assertOpen

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