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
private static final int
private static final float
private final MapTextureManager
private static final int
-
Constructor Summary
ConstructorsConstructorDescriptionMapRenderer
(MapDecorationTextureManager p_364983_, MapTextureManager p_360823_) -
Method Summary
Modifier and TypeMethodDescriptionextractDecorationRenderState
(MapDecoration p_364175_) void
extractRenderState
(MapId p_361383_, MapItemSavedData p_363500_, MapRenderState p_364922_) void
render
(MapRenderState p_360365_, PoseStack p_362483_, MultiBufferSource p_363581_, boolean p_362262_, int p_364872_)
-
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
private static final int WIDTH- See Also:
-
HEIGHT
private static final int HEIGHT- See Also:
-
mapTextureManager
-
decorationTextures
-
-
Constructor Details
-
MapRenderer
-
-
Method Details
-
render
public void render(MapRenderState p_360365_, PoseStack p_362483_, MultiBufferSource p_363581_, boolean p_362262_, int p_364872_) -
extractRenderState
public void extractRenderState(MapId p_361383_, MapItemSavedData p_363500_, MapRenderState p_364922_) -
extractDecorationRenderState
private MapRenderState.MapDecorationRenderState extractDecorationRenderState(MapDecoration p_364175_)
-