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
official dri
intermediary net/minecraft/class_330
named net/minecraft/client/render/MapRenderer
  • Field Details

    • MAP_ICONS_TEXTURE

      private static final Identifier MAP_ICONS_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official a Ldri;a:Lwb;
      intermediary field_2044 Lnet/minecraft/class_330;field_2044:Lnet/minecraft/class_2960;
      named MAP_ICONS_TEXTURE Lnet/minecraft/client/render/MapRenderer;MAP_ICONS_TEXTURE:Lnet/minecraft/util/Identifier;
    • MAP_ICONS_RENDER_LAYER

      private static final RenderLayer MAP_ICONS_RENDER_LAYER
      Mappings:
      Namespace Name Mixin selector
      official b Ldri;b:Lehy;
      intermediary field_21688 Lnet/minecraft/class_330;field_21688:Lnet/minecraft/class_1921;
      named MAP_ICONS_RENDER_LAYER Lnet/minecraft/client/render/MapRenderer;MAP_ICONS_RENDER_LAYER:Lnet/minecraft/client/render/RenderLayer;
    • textureManager

      private final TextureManager textureManager
      Mappings:
      Namespace Name Mixin selector
      official c Ldri;c:Lerv;
      intermediary field_2043 Lnet/minecraft/class_330;field_2043:Lnet/minecraft/class_1060;
      named textureManager Lnet/minecraft/client/render/MapRenderer;textureManager:Lnet/minecraft/client/texture/TextureManager;
    • mapTextures

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

    • MapRenderer

      public MapRenderer​(TextureManager textureManager)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldri;<init>(Lerv;)V
      intermediary <init> Lnet/minecraft/class_330;<init>(Lnet/minecraft/class_1060;)V
      named <init> Lnet/minecraft/client/render/MapRenderer;<init>(Lnet/minecraft/client/texture/TextureManager;)V
  • Method Details

    • updateTexture

      public void updateTexture​(int id, MapState state)
      Mappings:
      Namespace Name Mixin selector
      official a Ldri;a(ILddl;)V
      intermediary method_1769 Lnet/minecraft/class_330;method_1769(ILnet/minecraft/class_22;)V
      named updateTexture Lnet/minecraft/client/render/MapRenderer;updateTexture(ILnet/minecraft/item/map/MapState;)V
    • draw

      public void draw​(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int id, MapState state, boolean hidePlayerIcons, int light)
      Mappings:
      Namespace Name Mixin selector
      official a Ldri;a(Ldlr;Lehq;ILddl;ZI)V
      intermediary method_1773 Lnet/minecraft/class_330;method_1773(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_22;ZI)V
      named draw Lnet/minecraft/client/render/MapRenderer;draw(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/item/map/MapState;ZI)V
    • getMapTexture

      private MapRenderer.MapTexture getMapTexture​(int id, MapState state)
      Mappings:
      Namespace Name Mixin selector
      official b Ldri;b(ILddl;)Ldri$a;
      intermediary method_32601 Lnet/minecraft/class_330;method_32601(ILnet/minecraft/class_22;)Lnet/minecraft/class_330$class_331;
      named getMapTexture Lnet/minecraft/client/render/MapRenderer;getMapTexture(ILnet/minecraft/item/map/MapState;)Lnet/minecraft/client/render/MapRenderer$MapTexture;
    • getMapTextureFromId

      @Nullable public MapState getMapTextureFromId​(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Ldri;a(I)Lddl;
      intermediary method_32599 Lnet/minecraft/class_330;method_32599(I)Lnet/minecraft/class_22;
      named getMapTextureFromId Lnet/minecraft/client/render/MapRenderer;getMapTextureFromId(I)Lnet/minecraft/item/map/MapState;
    • clearStateTextures

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

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