Package net.minecraft.client.render
Class MapRenderer.MapTexture
java.lang.Object
net.minecraft.client.render.MapRenderer.MapTexture
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
- MapRenderer
@Environment(CLIENT) class MapRenderer.MapTexture extends Object implements AutoCloseable
- Mappings:
Namespace Name official dri$a
intermediary net/minecraft/class_330$class_331
named net/minecraft/client/render/MapRenderer$MapTexture
-
Field Summary
Fields Modifier and Type Field Description private RenderLayer
renderLayer
private MapState
state
private NativeImageBackedTexture
texture
-
Constructor Summary
Constructors Modifier Constructor Description private
MapTexture(int id, MapState state)
-
Method Summary
Modifier and Type Method Description void
close()
private void
draw(MatrixStack matrices, VertexConsumerProvider vertexConsumers, boolean hidePlayerIcons, int light)
private void
updateTexture()
-
Field Details
-
state
- Mappings:
Namespace Name Mixin selector official b
Ldri$a;b:Lddl;
intermediary field_2046
Lnet/minecraft/class_330$class_331;field_2046:Lnet/minecraft/class_22;
named state
Lnet/minecraft/client/render/MapRenderer$MapTexture;state:Lnet/minecraft/item/map/MapState;
-
texture
- Mappings:
Namespace Name Mixin selector official c
Ldri$a;c:Lerk;
intermediary field_2048
Lnet/minecraft/class_330$class_331;field_2048:Lnet/minecraft/class_1043;
named texture
Lnet/minecraft/client/render/MapRenderer$MapTexture;texture:Lnet/minecraft/client/texture/NativeImageBackedTexture;
-
renderLayer
- Mappings:
Namespace Name Mixin selector official d
Ldri$a;d:Lehy;
intermediary field_21689
Lnet/minecraft/class_330$class_331;field_21689:Lnet/minecraft/class_1921;
named renderLayer
Lnet/minecraft/client/render/MapRenderer$MapTexture;renderLayer:Lnet/minecraft/client/render/RenderLayer;
-
-
Constructor Details
-
MapTexture
- Mappings:
Namespace Name Mixin selector official <init>
Ldri$a;<init>(Ldri;ILddl;)V
intermediary <init>
Lnet/minecraft/class_330$class_331;<init>(Lnet/minecraft/class_330;ILnet/minecraft/class_22;)V
named <init>
Lnet/minecraft/client/render/MapRenderer$MapTexture;<init>(Lnet/minecraft/client/render/MapRenderer;ILnet/minecraft/item/map/MapState;)V
-
-
Method Details
-
updateTexture
private void updateTexture()- Mappings:
Namespace Name Mixin selector official a
Ldri$a;a()V
intermediary method_1776
Lnet/minecraft/class_330$class_331;method_1776()V
named updateTexture
Lnet/minecraft/client/render/MapRenderer$MapTexture;updateTexture()V
-
draw
private void draw(MatrixStack matrices, VertexConsumerProvider vertexConsumers, boolean hidePlayerIcons, int light)- Mappings:
Namespace Name Mixin selector official a
Ldri$a;a(Ldlr;Lehq;ZI)V
intermediary method_1777
Lnet/minecraft/class_330$class_331;method_1777(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ZI)V
named draw
Lnet/minecraft/client/render/MapRenderer$MapTexture;draw(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ZI)V
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Mappings:
Namespace Name Mixin selector official close
Ldri$a;close()V
intermediary close
Lnet/minecraft/class_330$class_331;close()V
named close
Lnet/minecraft/client/render/MapRenderer$MapTexture;close()V
-