Package net.minecraft.client.gui
Class MapRenderer.MapInstance
java.lang.Object
net.minecraft.client.gui.MapRenderer.MapInstance
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
- MapRenderer
-
Field Summary
Modifier and TypeFieldDescriptionprivate MapItemSavedData
private final RenderType
private boolean
private final DynamicTexture
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
(package private) void
draw
(PoseStack p_93292_, MultiBufferSource p_93293_, boolean p_93294_, int p_93295_) void
(package private) void
replaceMapData
(MapItemSavedData p_182568_) private void
-
Field Details
-
data
-
texture
-
renderType
-
requiresUpload
private boolean requiresUpload
-
-
Constructor Details
-
MapInstance
MapInstance(int p_168783_, MapItemSavedData p_168784_)
-
-
Method Details
-
replaceMapData
-
forceUpload
public void forceUpload() -
updateTexture
private void updateTexture() -
draw
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-