Class Heightmap

java.lang.Object
net.minecraft.world.Heightmap

public class Heightmap extends Object
Mappings:
Namespace Name
named net/minecraft/world/Heightmap
intermediary net/minecraft/class_2902
official edp
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/world/Heightmap;LOGGER:Lorg/slf4j/Logger;
      intermediary field_33770 Lnet/minecraft/class_2902;field_33770:Lorg/slf4j/Logger;
      official a Ledp;a:Lorg/slf4j/Logger;
    • NOT_AIR

      static final Predicate<BlockState> NOT_AIR
      Mappings:
      Namespace Name Mixin selector
      named NOT_AIR Lnet/minecraft/world/Heightmap;NOT_AIR:Ljava/util/function/Predicate;
      intermediary field_16744 Lnet/minecraft/class_2902;field_16744:Ljava/util/function/Predicate;
      official b Ledp;b:Ljava/util/function/Predicate;
    • SUFFOCATES

      static final Predicate<BlockState> SUFFOCATES
      Mappings:
      Namespace Name Mixin selector
      named SUFFOCATES Lnet/minecraft/world/Heightmap;SUFFOCATES:Ljava/util/function/Predicate;
      intermediary field_16745 Lnet/minecraft/class_2902;field_16745:Ljava/util/function/Predicate;
      official c Ledp;c:Ljava/util/function/Predicate;
    • storage

      private final PaletteStorage storage
      Mappings:
      Namespace Name Mixin selector
      named storage Lnet/minecraft/world/Heightmap;storage:Lnet/minecraft/util/collection/PaletteStorage;
      intermediary field_13192 Lnet/minecraft/class_2902;field_13192:Lnet/minecraft/class_6490;
      official d Ledp;d:Layt;
    • blockPredicate

      private final Predicate<BlockState> blockPredicate
      Mappings:
      Namespace Name Mixin selector
      named blockPredicate Lnet/minecraft/world/Heightmap;blockPredicate:Ljava/util/function/Predicate;
      intermediary field_13193 Lnet/minecraft/class_2902;field_13193:Ljava/util/function/Predicate;
      official e Ledp;e:Ljava/util/function/Predicate;
    • chunk

      private final Chunk chunk
      Mappings:
      Namespace Name Mixin selector
      named chunk Lnet/minecraft/world/Heightmap;chunk:Lnet/minecraft/world/chunk/Chunk;
      intermediary field_13191 Lnet/minecraft/class_2902;field_13191:Lnet/minecraft/class_2791;
      official f Ledp;f:Ldzp;
  • Constructor Details

    • Heightmap

      public Heightmap(Chunk chunk, Heightmap.Type type)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/Heightmap;<init>(Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/world/Heightmap$Type;)V
      intermediary <init> Lnet/minecraft/class_2902;<init>(Lnet/minecraft/class_2791;Lnet/minecraft/class_2902$class_2903;)V
      official <init> Ledp;<init>(Ldzp;Ledp$a;)V
  • Method Details

    • populateHeightmaps

      public static void populateHeightmaps(Chunk chunk, Set<Heightmap.Type> types)
      Mappings:
      Namespace Name Mixin selector
      named populateHeightmaps Lnet/minecraft/world/Heightmap;populateHeightmaps(Lnet/minecraft/world/chunk/Chunk;Ljava/util/Set;)V
      intermediary method_16684 Lnet/minecraft/class_2902;method_16684(Lnet/minecraft/class_2791;Ljava/util/Set;)V
      official a Ledp;a(Ldzp;Ljava/util/Set;)V
    • trackUpdate

      public boolean trackUpdate(int x, int y, int z, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named trackUpdate Lnet/minecraft/world/Heightmap;trackUpdate(IIILnet/minecraft/block/BlockState;)Z
      intermediary method_12597 Lnet/minecraft/class_2902;method_12597(IIILnet/minecraft/class_2680;)Z
      official a Ledp;a(IIILdxu;)Z
    • get

      public int get(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/world/Heightmap;get(II)I
      intermediary method_12603 Lnet/minecraft/class_2902;method_12603(II)I
      official a Ledp;a(II)I
    • method_35334

      public int method_35334(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      named method_35334 Lnet/minecraft/world/Heightmap;method_35334(II)I
      intermediary method_35334 Lnet/minecraft/class_2902;method_35334(II)I
      official b Ledp;b(II)I
    • get

      private int get(int index)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/world/Heightmap;get(I)I
      intermediary method_12601 Lnet/minecraft/class_2902;method_12601(I)I
      official a Ledp;a(I)I
    • set

      private void set(int x, int z, int height)
      Mappings:
      Namespace Name Mixin selector
      named set Lnet/minecraft/world/Heightmap;set(III)V
      intermediary method_12602 Lnet/minecraft/class_2902;method_12602(III)V
      official a Ledp;a(III)V
    • setTo

      public void setTo(Chunk chunk, Heightmap.Type type, long[] values)
      Mappings:
      Namespace Name Mixin selector
      named setTo Lnet/minecraft/world/Heightmap;setTo(Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/world/Heightmap$Type;[J)V
      intermediary method_12600 Lnet/minecraft/class_2902;method_12600(Lnet/minecraft/class_2791;Lnet/minecraft/class_2902$class_2903;[J)V
      official a Ledp;a(Ldzp;Ledp$a;[J)V
    • asLongArray

      public long[] asLongArray()
      Mappings:
      Namespace Name Mixin selector
      named asLongArray Lnet/minecraft/world/Heightmap;asLongArray()[J
      intermediary method_12598 Lnet/minecraft/class_2902;method_12598()[J
      official a Ledp;a()[J
    • toIndex

      private static int toIndex(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      named toIndex Lnet/minecraft/world/Heightmap;toIndex(II)I
      intermediary method_12595 Lnet/minecraft/class_2902;method_12595(II)I
      official c Ledp;c(II)I