Package net.minecraft.client.renderer
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
ConstructorsConstructorDescriptionMapRenderer(AtlasManager pAtlasManager, MapTextureManager pMapTextureManager) -
Method Summary
Modifier and TypeMethodDescriptionextractDecorationRenderState(MapDecoration pDecoration) voidextractRenderState(MapId pId, MapItemSavedData pSavedData, MapRenderState pRenderState) voidrender(MapRenderState pRenderState, PoseStack pPoseStack, SubmitNodeCollector pNodeCollector, 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:
-
decorationSprites
-
mapTextureManager
-
-
Constructor Details
-
MapRenderer
-
-
Method Details
-
render
public void render(MapRenderState pRenderState, PoseStack pPoseStack, SubmitNodeCollector pNodeCollector, boolean pActive, int pPackedLight) -
extractRenderState
-
extractDecorationRenderState
private MapRenderState.MapDecorationRenderState extractDecorationRenderState(MapDecoration pDecoration)
-