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 TypeFieldDescriptionprivate static final int
(package private) static final RenderType
private static final ResourceLocation
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
(int p_168779_, MapItemSavedData p_168780_) void
render
(PoseStack p_168772_, MultiBufferSource p_168773_, int p_168774_, MapItemSavedData p_168775_, boolean p_168776_, int p_168777_) void
void
update
(int p_168766_, MapItemSavedData p_168767_)
-
Field Details
-
MAP_ICONS_LOCATION
-
MAP_ICONS
-
WIDTH
private static final int WIDTH- See Also:
-
HEIGHT
private static final int HEIGHT- See Also:
-
textureManager
-
maps
-
-
Constructor Details
-
MapRenderer
-
-
Method Details
-
update
-
render
public void render(PoseStack p_168772_, MultiBufferSource p_168773_, int p_168774_, MapItemSavedData p_168775_, boolean p_168776_, int p_168777_) -
getOrCreateMapInstance
-
resetData
public void resetData() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-