Class BiomeColorCache.Colors

java.lang.Object
net.minecraft.client.world.BiomeColorCache.Colors
Enclosing class:
BiomeColorCache

@Environment(CLIENT) private static class BiomeColorCache.Colors extends Object
Mappings:
Namespace Name
official ewm$a
intermediary net/minecraft/class_4700$class_6598
named net/minecraft/client/world/BiomeColorCache$Colors
  • Field Details

    • XZ_COLORS_SIZE

      private static final int XZ_COLORS_SIZE
      Mappings:
      Namespace Name Mixin selector
      official c Lewm$a;c:I
      intermediary field_34798 Lnet/minecraft/class_4700$class_6598;field_34798:I
      named XZ_COLORS_SIZE Lnet/minecraft/client/world/BiomeColorCache$Colors;XZ_COLORS_SIZE:I
    • colors

      private final Int2ObjectArrayMap<int[]> colors
      Mappings:
      Namespace Name Mixin selector
      official a Lewm$a;a:Lit/unimi/dsi/fastutil/ints/Int2ObjectArrayMap;
      intermediary field_34796 Lnet/minecraft/class_4700$class_6598;field_34796:Lit/unimi/dsi/fastutil/ints/Int2ObjectArrayMap;
      named colors Lnet/minecraft/client/world/BiomeColorCache$Colors;colors:Lit/unimi/dsi/fastutil/ints/Int2ObjectArrayMap;
    • lock

      private final ReentrantReadWriteLock lock
      Mappings:
      Namespace Name Mixin selector
      official b Lewm$a;b:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
      intermediary field_34797 Lnet/minecraft/class_4700$class_6598;field_34797:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
      named lock Lnet/minecraft/client/world/BiomeColorCache$Colors;lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
    • needsCacheRefresh

      private volatile boolean needsCacheRefresh
      Mappings:
      Namespace Name Mixin selector
      official d Lewm$a;d:Z
      intermediary field_41610 Lnet/minecraft/class_4700$class_6598;field_41610:Z
      named needsCacheRefresh Lnet/minecraft/client/world/BiomeColorCache$Colors;needsCacheRefresh:Z
  • Constructor Details

    • Colors

      Colors()
  • Method Details

    • get

      public int[] get(int y)
      Mappings:
      Namespace Name Mixin selector
      official a Lewm$a;a(I)[I
      intermediary method_38528 Lnet/minecraft/class_4700$class_6598;method_38528(I)[I
      named get Lnet/minecraft/client/world/BiomeColorCache$Colors;get(I)[I
    • createDefault

      private int[] createDefault()
      Mappings:
      Namespace Name Mixin selector
      official c Lewm$a;c()[I
      intermediary method_38527 Lnet/minecraft/class_4700$class_6598;method_38527()[I
      named createDefault Lnet/minecraft/client/world/BiomeColorCache$Colors;createDefault()[I
    • needsCacheRefresh

      public boolean needsCacheRefresh()
      Mappings:
      Namespace Name Mixin selector
      official a Lewm$a;a()Z
      intermediary method_47894 Lnet/minecraft/class_4700$class_6598;method_47894()Z
      named needsCacheRefresh Lnet/minecraft/client/world/BiomeColorCache$Colors;needsCacheRefresh()Z
    • setNeedsCacheRefresh

      public void setNeedsCacheRefresh()
      Mappings:
      Namespace Name Mixin selector
      official b Lewm$a;b()V
      intermediary method_47895 Lnet/minecraft/class_4700$class_6598;method_47895()V
      named setNeedsCacheRefresh Lnet/minecraft/client/world/BiomeColorCache$Colors;setNeedsCacheRefresh()V