Class MapRenderer

java.lang.Object
net.minecraft.client.gui.MapRenderer
All Implemented Interfaces:
AutoCloseable

@Environment(CLIENT) public class MapRenderer extends Object implements AutoCloseable
Mappings:
Namespace Name
official cgn
intermediary net/minecraft/class_382
named net/minecraft/client/gui/MapRenderer
  • Field Details

    • MAP_ICONS_TEXTURE

      private static final Identifier MAP_ICONS_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official a Lcgn;a:Lpc;
      intermediary field_6296 Lnet/minecraft/class_382;field_6296:Lnet/minecraft/class_1653;
      named MAP_ICONS_TEXTURE Lnet/minecraft/client/gui/MapRenderer;MAP_ICONS_TEXTURE:Lnet/minecraft/util/Identifier;
    • textureManager

      private final TextureManager textureManager
      Mappings:
      Namespace Name Mixin selector
      official b Lcgn;b:Lddn;
      intermediary field_7707 Lnet/minecraft/class_382;field_7707:Lnet/minecraft/class_1532;
      named textureManager Lnet/minecraft/client/gui/MapRenderer;textureManager:Lnet/minecraft/client/texture/TextureManager;
    • mapTextures

      private final Map<String,MapRenderer.MapTexture> mapTextures
      Mappings:
      Namespace Name Mixin selector
      official c Lcgn;c:Ljava/util/Map;
      intermediary field_7708 Lnet/minecraft/class_382;field_7708:Ljava/util/Map;
      named mapTextures Lnet/minecraft/client/gui/MapRenderer;mapTextures:Ljava/util/Map;
  • Constructor Details

    • MapRenderer

      public MapRenderer(TextureManager textureManager)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcgn;<init>(Lddn;)V
      intermediary <init> Lnet/minecraft/class_382;<init>(Lnet/minecraft/class_1532;)V
      named <init> Lnet/minecraft/client/gui/MapRenderer;<init>(Lnet/minecraft/client/texture/TextureManager;)V
  • Method Details

    • updateTexture

      public void updateTexture(MapState mapState)
      Mappings:
      Namespace Name Mixin selector
      official a Lcgn;a(Lcbs;)V
      intermediary method_6677 Lnet/minecraft/class_382;method_6677(Lnet/minecraft/class_89;)V
      named updateTexture Lnet/minecraft/client/gui/MapRenderer;updateTexture(Lnet/minecraft/item/map/MapState;)V
    • draw

      public void draw(MapState mapState, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lcgn;a(Lcbs;Z)V
      intermediary method_6678 Lnet/minecraft/class_382;method_6678(Lnet/minecraft/class_89;Z)V
      named draw Lnet/minecraft/client/gui/MapRenderer;draw(Lnet/minecraft/item/map/MapState;Z)V
    • getMapTexture

      private MapRenderer.MapTexture getMapTexture(MapState mapState)
      Mappings:
      Namespace Name Mixin selector
      official b Lcgn;b(Lcbs;)Lcgn$a;
      intermediary method_6681 Lnet/minecraft/class_382;method_6681(Lnet/minecraft/class_89;)Lnet/minecraft/class_382$class_1800;
      named getMapTexture Lnet/minecraft/client/gui/MapRenderer;getMapTexture(Lnet/minecraft/item/map/MapState;)Lnet/minecraft/client/gui/MapRenderer$MapTexture;
    • method_13835

      @Nullable public MapRenderer.MapTexture method_13835(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lcgn;a(Ljava/lang/String;)Lcgn$a;
      intermediary method_13835 Lnet/minecraft/class_382;method_13835(Ljava/lang/String;)Lnet/minecraft/class_382$class_1800;
      named method_13835 Lnet/minecraft/client/gui/MapRenderer;method_13835(Ljava/lang/String;)Lnet/minecraft/client/gui/MapRenderer$MapTexture;
    • clearStateTextures

      public void clearStateTextures()
      Mappings:
      Namespace Name Mixin selector
      official a Lcgn;a()V
      intermediary method_6676 Lnet/minecraft/class_382;method_6676()V
      named clearStateTextures Lnet/minecraft/client/gui/MapRenderer;clearStateTextures()V
    • method_13834

      @Nullable public MapState method_13834(@Nullable MapRenderer.MapTexture mapTexture)
      Mappings:
      Namespace Name Mixin selector
      official a Lcgn;a(Lcgn$a;)Lcbs;
      intermediary method_13834 Lnet/minecraft/class_382;method_13834(Lnet/minecraft/class_382$class_1800;)Lnet/minecraft/class_89;
      named method_13834 Lnet/minecraft/client/gui/MapRenderer;method_13834(Lnet/minecraft/client/gui/MapRenderer$MapTexture;)Lnet/minecraft/item/map/MapState;
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Mappings:
      Namespace Name Mixin selector
      official close Lcgn;close()V
      intermediary close Lnet/minecraft/class_382;close()V
      named close Lnet/minecraft/client/gui/MapRenderer;close()V