Class MapRenderer

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

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

    • DEFAULT_IMAGE_WIDTH

      private static final int DEFAULT_IMAGE_WIDTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_IMAGE_WIDTH Lnet/minecraft/client/render/MapRenderer;DEFAULT_IMAGE_WIDTH:I
      intermediary field_32173 Lnet/minecraft/class_330;field_32173:I
      official a Lfhw;a:I
    • DEFAULT_IMAGE_HEIGHT

      private static final int DEFAULT_IMAGE_HEIGHT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_IMAGE_HEIGHT Lnet/minecraft/client/render/MapRenderer;DEFAULT_IMAGE_HEIGHT:I
      intermediary field_32174 Lnet/minecraft/class_330;field_32174:I
      official b Lfhw;b:I
    • textureManager

      final TextureManager textureManager
      Mappings:
      Namespace Name Mixin selector
      named textureManager Lnet/minecraft/client/render/MapRenderer;textureManager:Lnet/minecraft/client/texture/TextureManager;
      intermediary field_2043 Lnet/minecraft/class_330;field_2043:Lnet/minecraft/class_1060;
      official c Lfhw;c:Lgqg;
    • mapDecorationsAtlasManager

      final MapDecorationsAtlasManager mapDecorationsAtlasManager
      Mappings:
      Namespace Name Mixin selector
      named mapDecorationsAtlasManager Lnet/minecraft/client/render/MapRenderer;mapDecorationsAtlasManager:Lnet/minecraft/client/texture/MapDecorationsAtlasManager;
      intermediary field_50036 Lnet/minecraft/class_330;field_50036:Lnet/minecraft/class_9443;
      official d Lfhw;d:Lgrc;
    • mapTextures

      private final Int2ObjectMap<MapRenderer.MapTexture> mapTextures
      Mappings:
      Namespace Name Mixin selector
      named mapTextures Lnet/minecraft/client/render/MapRenderer;mapTextures:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      intermediary field_2045 Lnet/minecraft/class_330;field_2045:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      official e Lfhw;e:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
  • Constructor Details

    • MapRenderer

      public MapRenderer(TextureManager textureManager, MapDecorationsAtlasManager mapDecorationsAtlasManager)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/MapRenderer;<init>(Lnet/minecraft/client/texture/TextureManager;Lnet/minecraft/client/texture/MapDecorationsAtlasManager;)V
      intermediary <init> Lnet/minecraft/class_330;<init>(Lnet/minecraft/class_1060;Lnet/minecraft/class_9443;)V
      official <init> Lfhw;<init>(Lgqg;Lgrc;)V
  • Method Details

    • updateTexture

      public void updateTexture(MapIdComponent id, MapState state)
      Mappings:
      Namespace Name Mixin selector
      named updateTexture Lnet/minecraft/client/render/MapRenderer;updateTexture(Lnet/minecraft/component/type/MapIdComponent;Lnet/minecraft/item/map/MapState;)V
      intermediary method_1769 Lnet/minecraft/class_330;method_1769(Lnet/minecraft/class_9209;Lnet/minecraft/class_22;)V
      official a Lfhw;a(Leql;Leqn;)V
    • draw

      public void draw(MatrixStack matrices, VertexConsumerProvider vertexConsumers, MapIdComponent id, MapState state, boolean hidePlayerIcons, int light)
      Mappings:
      Namespace Name Mixin selector
      named draw Lnet/minecraft/client/render/MapRenderer;draw(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/component/type/MapIdComponent;Lnet/minecraft/item/map/MapState;ZI)V
      intermediary method_1773 Lnet/minecraft/class_330;method_1773(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_9209;Lnet/minecraft/class_22;ZI)V
      official a Lfhw;a(Lfbc;Lget;Leql;Leqn;ZI)V
    • getMapTexture

      private MapRenderer.MapTexture getMapTexture(MapIdComponent id, MapState state)
      Mappings:
      Namespace Name Mixin selector
      named getMapTexture Lnet/minecraft/client/render/MapRenderer;getMapTexture(Lnet/minecraft/component/type/MapIdComponent;Lnet/minecraft/item/map/MapState;)Lnet/minecraft/client/render/MapRenderer$MapTexture;
      intermediary method_32601 Lnet/minecraft/class_330;method_32601(Lnet/minecraft/class_9209;Lnet/minecraft/class_22;)Lnet/minecraft/class_330$class_331;
      official b Lfhw;b(Leql;Leqn;)Lfhw$a;
    • clearStateTextures

      public void clearStateTextures()
      Mappings:
      Namespace Name Mixin selector
      named clearStateTextures Lnet/minecraft/client/render/MapRenderer;clearStateTextures()V
      intermediary method_1771 Lnet/minecraft/class_330;method_1771()V
      official a Lfhw;a()V
    • close

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