Package net.minecraft.client.render
Class MapRenderer
java.lang.Object
net.minecraft.client.render.MapRenderer
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name official feuintermediary net/minecraft/class_330named net/minecraft/client/render/MapRenderer
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final int(package private) final MapDecorationsAtlasManagerprivate final Int2ObjectMap<MapRenderer.MapTexture> (package private) final TextureManager -
Constructor Summary
ConstructorsConstructorDescriptionMapRenderer(TextureManager textureManager, MapDecorationsAtlasManager mapDecorationsAtlasManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()voiddraw(MatrixStack matrices, VertexConsumerProvider vertexConsumers, MapIdComponent id, MapState state, boolean hidePlayerIcons, int light) private MapRenderer.MapTexturegetMapTexture(MapIdComponent id, MapState state) voidupdateTexture(MapIdComponent id, MapState state)
-
Field Details
-
DEFAULT_IMAGE_WIDTH
private static final int DEFAULT_IMAGE_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector official aLfeu;a:Iintermediary field_32173Lnet/minecraft/class_330;field_32173:Inamed DEFAULT_IMAGE_WIDTHLnet/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 bLfeu;b:Iintermediary field_32174Lnet/minecraft/class_330;field_32174:Inamed DEFAULT_IMAGE_HEIGHTLnet/minecraft/client/render/MapRenderer;DEFAULT_IMAGE_HEIGHT:I
-
textureManager
- Mappings:
Namespace Name Mixin selector official cLfeu;c:Lgmz;intermediary field_2043Lnet/minecraft/class_330;field_2043:Lnet/minecraft/class_1060;named textureManagerLnet/minecraft/client/render/MapRenderer;textureManager:Lnet/minecraft/client/texture/TextureManager;
-
mapDecorationsAtlasManager
- Mappings:
Namespace Name Mixin selector official dLfeu;d:Lgnv;intermediary field_50036Lnet/minecraft/class_330;field_50036:Lnet/minecraft/class_9443;named mapDecorationsAtlasManagerLnet/minecraft/client/render/MapRenderer;mapDecorationsAtlasManager:Lnet/minecraft/client/texture/MapDecorationsAtlasManager;
-
mapTextures
- Mappings:
Namespace Name Mixin selector official eLfeu;e:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;intermediary field_2045Lnet/minecraft/class_330;field_2045:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;named mapTexturesLnet/minecraft/client/render/MapRenderer;mapTextures:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
-
Constructor Details
-
MapRenderer
public MapRenderer(TextureManager textureManager, MapDecorationsAtlasManager mapDecorationsAtlasManager) - Mappings:
Namespace Name Mixin selector official <init>Lfeu;<init>(Lgmz;Lgnv;)Vintermediary <init>Lnet/minecraft/class_330;<init>(Lnet/minecraft/class_1060;Lnet/minecraft/class_9443;)Vnamed <init>Lnet/minecraft/client/render/MapRenderer;<init>(Lnet/minecraft/client/texture/TextureManager;Lnet/minecraft/client/texture/MapDecorationsAtlasManager;)V
-
-
Method Details
-
updateTexture
- Mappings:
Namespace Name Mixin selector official aLfeu;a(Lenn;Lenp;)Vintermediary method_1769Lnet/minecraft/class_330;method_1769(Lnet/minecraft/class_9209;Lnet/minecraft/class_22;)Vnamed updateTextureLnet/minecraft/client/render/MapRenderer;updateTexture(Lnet/minecraft/component/type/MapIdComponent;Lnet/minecraft/item/map/MapState;)V
-
draw
public void draw(MatrixStack matrices, VertexConsumerProvider vertexConsumers, MapIdComponent id, MapState state, boolean hidePlayerIcons, int light) - Mappings:
Namespace Name Mixin selector official aLfeu;a(Lexx;Lgbo;Lenn;Lenp;ZI)Vintermediary method_1773Lnet/minecraft/class_330;method_1773(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_9209;Lnet/minecraft/class_22;ZI)Vnamed drawLnet/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
-
getMapTexture
- Mappings:
Namespace Name Mixin selector official bLfeu;b(Lenn;Lenp;)Lfeu$a;intermediary method_32601Lnet/minecraft/class_330;method_32601(Lnet/minecraft/class_9209;Lnet/minecraft/class_22;)Lnet/minecraft/class_330$class_331;named getMapTextureLnet/minecraft/client/render/MapRenderer;getMapTexture(Lnet/minecraft/component/type/MapIdComponent;Lnet/minecraft/item/map/MapState;)Lnet/minecraft/client/render/MapRenderer$MapTexture;
-
clearStateTextures
public void clearStateTextures()- Mappings:
Namespace Name Mixin selector official aLfeu;a()Vintermediary method_1771Lnet/minecraft/class_330;method_1771()Vnamed clearStateTexturesLnet/minecraft/client/render/MapRenderer;clearStateTextures()V
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-