public class MapItemRenderer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) class |
MapItemRenderer.Instance |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,MapItemRenderer.Instance> |
loadedMaps |
private static ResourceLocation |
TEXTURE_MAP_ICONS |
private TextureManager |
textureManager |
Constructor and Description |
---|
MapItemRenderer(TextureManager textureManagerIn) |
Modifier and Type | Method and Description |
---|---|
void |
clearLoadedMaps() |
MapData |
getData(MapItemRenderer.Instance p_191207_1_) |
MapItemRenderer.Instance |
getMapInstanceIfExists(java.lang.String p_191205_1_) |
private MapItemRenderer.Instance |
getMapRendererInstance(MapData mapdataIn) |
void |
renderMap(MapData mapdataIn,
boolean noOverlayRendering) |
void |
updateMapTexture(MapData mapdataIn) |
private static final ResourceLocation TEXTURE_MAP_ICONS
private final TextureManager textureManager
private final java.util.Map<java.lang.String,MapItemRenderer.Instance> loadedMaps
public MapItemRenderer(TextureManager textureManagerIn)
public void updateMapTexture(MapData mapdataIn)
public void renderMap(MapData mapdataIn, boolean noOverlayRendering)
private MapItemRenderer.Instance getMapRendererInstance(MapData mapdataIn)
@Nullable public MapItemRenderer.Instance getMapInstanceIfExists(java.lang.String p_191205_1_)
public void clearLoadedMaps()
@Nullable public MapData getData(@Nullable MapItemRenderer.Instance p_191207_1_)