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 int
(package private) static RenderType
private static ResourceLocation
private it.unimi.dsi.fastutil.ints.Int2ObjectMap<MapRenderer.MapInstance>
(package private) TextureManager
private static 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:
- Constant Field Values
-
HEIGHT
private static final int HEIGHT- See Also:
- Constant Field Values
-
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
-