Package net.minecraft.client.gui
Class MapRenderer
java.lang.Object
net.minecraft.client.gui.MapRenderer
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescription(package private) final MapDecorationTextureManager
private static final int
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap
<MapRenderer.MapInstance> (package private) final TextureManager
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private MapRenderer.MapInstance
getOrCreateMapInstance
(MapId p_323495_, MapItemSavedData p_168780_) void
render
(PoseStack p_168772_, MultiBufferSource p_168773_, MapId p_324127_, MapItemSavedData p_168775_, boolean p_168776_, int p_168774_) void
void
update
(MapId p_323687_, MapItemSavedData p_168767_)
-
Field Details
-
WIDTH
private static final int WIDTH- See Also:
-
HEIGHT
private static final int HEIGHT- See Also:
-
textureManager
-
decorationTextures
-
maps
-
-
Constructor Details
-
MapRenderer
-
-
Method Details
-
update
-
render
public void render(PoseStack p_168772_, MultiBufferSource p_168773_, MapId p_324127_, MapItemSavedData p_168775_, boolean p_168776_, int p_168774_) -
getOrCreateMapInstance
-
resetData
public void resetData() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-