Package net.minecraft.client.gui
Class MapRenderer
java.lang.Object
net.minecraft.client.gui.MapRenderer
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int(package private) static final RenderTypeprivate static final ResourceLocationprivate final it.unimi.dsi.fastutil.ints.Int2ObjectMap<MapRenderer.MapInstance>(package private) final TextureManagerprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private MapRenderer.MapInstancegetOrCreateMapInstance(int p_168779_, MapItemSavedData p_168780_) voidrender(PoseStack p_168772_, MultiBufferSource p_168773_, int p_168774_, MapItemSavedData p_168775_, boolean p_168776_, int p_168777_) voidvoidupdate(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:
closein interfaceAutoCloseable
-