Class MapRenderer.MapTexture

java.lang.Object
net.minecraft.client.render.MapRenderer.MapTexture
All Implemented Interfaces:
AutoCloseable
Enclosing class:
MapRenderer

@Environment(CLIENT) private class MapRenderer.MapTexture extends Object implements AutoCloseable
Mappings:
Namespace Name
official ehd$a
intermediary net/minecraft/class_330$class_331
named net/minecraft/client/render/MapRenderer$MapTexture
  • Field Details

    • state

      private MapState state
      Mappings:
      Namespace Name Mixin selector
      official b Lehd$a;b:Ldrg;
      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

      private final NativeImageBackedTexture texture
      Mappings:
      Namespace Name Mixin selector
      official c Lehd$a;c:Lfju;
      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

      private final RenderLayer renderLayer
      Mappings:
      Namespace Name Mixin selector
      official d Lehd$a;d:Lfaa;
      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;
    • needsUpdate

      private boolean needsUpdate
      Mappings:
      Namespace Name Mixin selector
      official e Lehd$a;e:Z
      intermediary field_34044 Lnet/minecraft/class_330$class_331;field_34044:Z
      named needsUpdate Lnet/minecraft/client/render/MapRenderer$MapTexture;needsUpdate:Z
  • Constructor Details

    • MapTexture

      MapTexture(int id, MapState state)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lehd$a;<init>(Lehd;ILdrg;)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

    • setState

      void setState(MapState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lehd$a;a(Ldrg;)V
      intermediary method_37451 Lnet/minecraft/class_330$class_331;method_37451(Lnet/minecraft/class_22;)V
      named setState Lnet/minecraft/client/render/MapRenderer$MapTexture;setState(Lnet/minecraft/item/map/MapState;)V
    • setNeedsUpdate

      public void setNeedsUpdate()
      Mappings:
      Namespace Name Mixin selector
      official a Lehd$a;a()V
      intermediary method_37450 Lnet/minecraft/class_330$class_331;method_37450()V
      named setNeedsUpdate Lnet/minecraft/client/render/MapRenderer$MapTexture;setNeedsUpdate()V
    • updateTexture

      private void updateTexture()
      Mappings:
      Namespace Name Mixin selector
      official b Lehd$a;b()V
      intermediary method_1776 Lnet/minecraft/class_330$class_331;method_1776()V
      named updateTexture Lnet/minecraft/client/render/MapRenderer$MapTexture;updateTexture()V
    • draw

      void draw(MatrixStack matrices, VertexConsumerProvider vertexConsumers, boolean hidePlayerIcons, int light)
      Mappings:
      Namespace Name Mixin selector
      official a Lehd$a;a(Leaq;Lezs;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 interface AutoCloseable