Package net.minecraft.client.gui
Class MapItemRenderer.Instance
- java.lang.Object
-
- net.minecraft.client.gui.MapItemRenderer.Instance
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Enclosing class:
- MapItemRenderer
class MapItemRenderer.Instance extends java.lang.Object implements java.lang.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description private MapData
data
private RenderType
renderType
private DynamicTexture
texture
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
private void
draw(MatrixStack p_228089_1_, IRenderTypeBuffer p_228089_2_, boolean p_228089_3_, int p_228089_4_)
private void
updateTexture()
-
-
-
Field Detail
-
data
private final MapData data
-
texture
private final DynamicTexture texture
-
renderType
private final RenderType renderType
-
-
Constructor Detail
-
Instance
private Instance(MapData p_i45007_2_)
-
-
Method Detail
-
updateTexture
private void updateTexture()
-
draw
private void draw(MatrixStack p_228089_1_, IRenderTypeBuffer p_228089_2_, boolean p_228089_3_, int p_228089_4_)
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
-