Package net.minecraft.client.gui
Class MapItemRenderer
java.lang.Object
net.minecraft.client.gui.MapItemRenderer
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final RenderType
private static final ResourceLocation
private final Map<String,
MapItemRenderer.Instance> private final TextureManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getData
(MapItemRenderer.Instance p_191207_1_) private MapItemRenderer.Instance
getMapInstance
(MapData p_148248_1_) getMapInstanceIfExists
(String p_191205_1_) void
render
(MatrixStack p_228086_1_, IRenderTypeBuffer p_228086_2_, MapData p_228086_3_, boolean p_228086_4_, int p_228086_5_) void
void
-
Field Details
-
MAP_ICONS_LOCATION
-
MAP_ICONS
-
textureManager
-
maps
-
-
Constructor Details
-
MapItemRenderer
-
-
Method Details
-
update
-
render
public void render(MatrixStack p_228086_1_, IRenderTypeBuffer p_228086_2_, MapData p_228086_3_, boolean p_228086_4_, int p_228086_5_) -
getMapInstance
-
getMapInstanceIfExists
-
resetData
public void resetData() -
getData
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-