Class MapRenderer
java.lang.Object
net.minecraft.client.renderer.MapRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final floatprivate final TextureAtlasstatic final intprivate static final floatprivate final MapTextureManagerstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextractDecorationRenderState(MapDecoration decoration) voidextractRenderState(MapId mapId, MapItemSavedData mapData, MapRenderState mapRenderState) voidrender(MapRenderState mapRenderState, PoseStack poseStack, SubmitNodeCollector submitNodeCollector, boolean showOnlyFrame, int lightCoords)
-
Field Details
-
MAP_Z_OFFSET
private static final float MAP_Z_OFFSET- See Also:
-
DECORATION_Z_OFFSET
private static final float DECORATION_Z_OFFSET- See Also:
-
WIDTH
public static final int WIDTH- See Also:
-
HEIGHT
public static final int HEIGHT- See Also:
-
decorationSprites
-
mapTextureManager
-
-
Constructor Details
-
MapRenderer
-
-
Method Details
-
render
public void render(MapRenderState mapRenderState, PoseStack poseStack, SubmitNodeCollector submitNodeCollector, boolean showOnlyFrame, int lightCoords) -
extractRenderState
public void extractRenderState(MapId mapId, MapItemSavedData mapData, MapRenderState mapRenderState) -
extractDecorationRenderState
private MapRenderState.MapDecorationRenderState extractDecorationRenderState(MapDecoration decoration)
-