Package net.minecraft.client.render
Class MapRenderer
java.lang.Object
net.minecraft.client.render.MapRenderer
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name named net/minecraft/client/render/MapRenderer
intermediary net/minecraft/class_330
official fhk
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
(package private) final MapDecorationsAtlasManager
private final Int2ObjectMap
<MapRenderer.MapTexture> (package private) final TextureManager
-
Constructor Summary
ConstructorDescriptionMapRenderer
(TextureManager textureManager, MapDecorationsAtlasManager mapDecorationsAtlasManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
close()
void
draw
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, MapIdComponent id, MapState state, boolean hidePlayerIcons, int light) private MapRenderer.MapTexture
getMapTexture
(MapIdComponent id, MapState state) void
updateTexture
(MapIdComponent id, MapState state)
-
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
Lfhk;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
Lfhk;b:I
-
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
Lfhk;c:Lgpr;
-
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
Lfhk;d:Lgqn;
-
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
Lfhk;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>
Lfhk;<init>(Lgpr;Lgqn;)V
-
-
Method Details
-
updateTexture
- 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
Lfhk;a(Lepw;Lepy;)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
Lfhk;a(Lfao;Lgef;Lepw;Lepy;ZI)V
-
getMapTexture
- 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
Lfhk;b(Lepw;Lepy;)Lfhk$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
Lfhk;a()V
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-