Package net.minecraft.client.renderer
Class MapRenderer
java.lang.Object
net.minecraft.client.renderer.MapRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final float
private final MapDecorationTextureManager
static final int
private static final float
private final MapTextureManager
static final int
-
Constructor Summary
ConstructorsConstructorDescriptionMapRenderer
(MapDecorationTextureManager pDecorationTextures, MapTextureManager pMapTextureManager) -
Method Summary
Modifier and TypeMethodDescriptionextractDecorationRenderState
(MapDecoration pDecoration) void
extractRenderState
(MapId pId, MapItemSavedData pSavedData, MapRenderState pRenderState) void
render
(MapRenderState pRenderState, PoseStack pPoseStack, MultiBufferSource pBufferSource, boolean pActive, int pPackedLight)
-
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:
-
mapTextureManager
-
decorationTextures
-
-
Constructor Details
-
MapRenderer
public MapRenderer(MapDecorationTextureManager pDecorationTextures, MapTextureManager pMapTextureManager)
-
-
Method Details
-
render
public void render(MapRenderState pRenderState, PoseStack pPoseStack, MultiBufferSource pBufferSource, boolean pActive, int pPackedLight) -
extractRenderState
-
extractDecorationRenderState
private MapRenderState.MapDecorationRenderState extractDecorationRenderState(MapDecoration pDecoration)
-