Package net.minecraft.client.render
Class MapRenderer
java.lang.Object
net.minecraft.client.render.MapRenderer
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name official faa
intermediary net/minecraft/class_330
named net/minecraft/client/render/MapRenderer
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private static final int
(package private) static final RenderLayer
private static final Identifier
private final Int2ObjectMap<MapRenderer.MapTexture>
(package private) final TextureManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
close()
void
draw
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, class_9209 class_9209, MapState state, boolean hidePlayerIcons, int light) private MapRenderer.MapTexture
getMapTexture
(class_9209 class_9209, MapState state) void
updateTexture
(class_9209 class_9209, MapState state)
-
Field Details
-
MAP_ICONS_TEXTURE
- Mappings:
Namespace Name Mixin selector official a
Lfaa;a:Lajc;
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
- Mappings:
Namespace Name Mixin selector official b
Lfaa;b:Lfwy;
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;
-
DEFAULT_IMAGE_WIDTH
private static final int DEFAULT_IMAGE_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lfaa;c:I
intermediary field_32173
Lnet/minecraft/class_330;field_32173:I
named DEFAULT_IMAGE_WIDTH
Lnet/minecraft/client/render/MapRenderer;DEFAULT_IMAGE_WIDTH:I
-
DEFAULT_IMAGE_HEIGHT
private static final int DEFAULT_IMAGE_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lfaa;d:I
intermediary field_32174
Lnet/minecraft/class_330;field_32174:I
named DEFAULT_IMAGE_HEIGHT
Lnet/minecraft/client/render/MapRenderer;DEFAULT_IMAGE_HEIGHT:I
-
textureManager
- Mappings:
Namespace Name Mixin selector official e
Lfaa;e:Lgia;
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
- Mappings:
Namespace Name Mixin selector official f
Lfaa;f: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
- Mappings:
Namespace Name Mixin selector official <init>
Lfaa;<init>(Lgia;)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
- Mappings:
Namespace Name Mixin selector official a
Lfaa;a(Leja;Lejc;)V
intermediary method_1769
Lnet/minecraft/class_330;method_1769(Lnet/minecraft/class_9209;Lnet/minecraft/class_22;)V
named updateTexture
Lnet/minecraft/client/render/MapRenderer;updateTexture(Lnet/minecraft/class_9209;Lnet/minecraft/item/map/MapState;)V
-
draw
public void draw(MatrixStack matrices, VertexConsumerProvider vertexConsumers, class_9209 class_9209, MapState state, boolean hidePlayerIcons, int light) - Mappings:
Namespace Name Mixin selector official a
Lfaa;a(Letd;Lfwq;Leja;Lejc;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
named draw
Lnet/minecraft/client/render/MapRenderer;draw(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/class_9209;Lnet/minecraft/item/map/MapState;ZI)V
-
getMapTexture
- Mappings:
Namespace Name Mixin selector official b
Lfaa;b(Leja;Lejc;)Lfaa$a;
intermediary method_32601
Lnet/minecraft/class_330;method_32601(Lnet/minecraft/class_9209;Lnet/minecraft/class_22;)Lnet/minecraft/class_330$class_331;
named getMapTexture
Lnet/minecraft/client/render/MapRenderer;getMapTexture(Lnet/minecraft/class_9209;Lnet/minecraft/item/map/MapState;)Lnet/minecraft/client/render/MapRenderer$MapTexture;
-
clearStateTextures
public void clearStateTextures()- Mappings:
Namespace Name Mixin selector official a
Lfaa;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 interfaceAutoCloseable
-