Enum Class Heightmap.Type

java.lang.Object
java.lang.Enum<Heightmap.Type>
net.minecraft.world.Heightmap.Type
All Implemented Interfaces:
Serializable, Comparable<Heightmap.Type>, Constable, StringIdentifiable
Enclosing class:
Heightmap

public static enum Heightmap.Type extends Enum<Heightmap.Type> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/world/Heightmap$Type
intermediary net/minecraft/class_2902$class_2903
official ect$a
  • Enum Constant Details Link icon

    • WORLD_SURFACE_WG Link icon

      public static final Heightmap.Type WORLD_SURFACE_WG
      Mappings:
      Namespace Name Mixin selector
      named WORLD_SURFACE_WG Lnet/minecraft/world/Heightmap$Type;WORLD_SURFACE_WG:Lnet/minecraft/world/Heightmap$Type;
      intermediary field_13194 Lnet/minecraft/class_2902$class_2903;field_13194:Lnet/minecraft/class_2902$class_2903;
      official a Lect$a;a:Lect$a;
    • WORLD_SURFACE Link icon

      public static final Heightmap.Type WORLD_SURFACE
      Mappings:
      Namespace Name Mixin selector
      named WORLD_SURFACE Lnet/minecraft/world/Heightmap$Type;WORLD_SURFACE:Lnet/minecraft/world/Heightmap$Type;
      intermediary field_13202 Lnet/minecraft/class_2902$class_2903;field_13202:Lnet/minecraft/class_2902$class_2903;
      official b Lect$a;b:Lect$a;
    • OCEAN_FLOOR_WG Link icon

      public static final Heightmap.Type OCEAN_FLOOR_WG
      Mappings:
      Namespace Name Mixin selector
      named OCEAN_FLOOR_WG Lnet/minecraft/world/Heightmap$Type;OCEAN_FLOOR_WG:Lnet/minecraft/world/Heightmap$Type;
      intermediary field_13195 Lnet/minecraft/class_2902$class_2903;field_13195:Lnet/minecraft/class_2902$class_2903;
      official c Lect$a;c:Lect$a;
    • OCEAN_FLOOR Link icon

      public static final Heightmap.Type OCEAN_FLOOR
      Mappings:
      Namespace Name Mixin selector
      named OCEAN_FLOOR Lnet/minecraft/world/Heightmap$Type;OCEAN_FLOOR:Lnet/minecraft/world/Heightmap$Type;
      intermediary field_13200 Lnet/minecraft/class_2902$class_2903;field_13200:Lnet/minecraft/class_2902$class_2903;
      official d Lect$a;d:Lect$a;
    • MOTION_BLOCKING Link icon

      public static final Heightmap.Type MOTION_BLOCKING
      Mappings:
      Namespace Name Mixin selector
      named MOTION_BLOCKING Lnet/minecraft/world/Heightmap$Type;MOTION_BLOCKING:Lnet/minecraft/world/Heightmap$Type;
      intermediary field_13197 Lnet/minecraft/class_2902$class_2903;field_13197:Lnet/minecraft/class_2902$class_2903;
      official e Lect$a;e:Lect$a;
    • MOTION_BLOCKING_NO_LEAVES Link icon

      public static final Heightmap.Type MOTION_BLOCKING_NO_LEAVES
      Mappings:
      Namespace Name Mixin selector
      named MOTION_BLOCKING_NO_LEAVES Lnet/minecraft/world/Heightmap$Type;MOTION_BLOCKING_NO_LEAVES:Lnet/minecraft/world/Heightmap$Type;
      intermediary field_13203 Lnet/minecraft/class_2902$class_2903;field_13203:Lnet/minecraft/class_2902$class_2903;
      official f Lect$a;f:Lect$a;
  • Field Details Link icon

    • CODEC Link icon

      public static final com.mojang.serialization.Codec<Heightmap.Type> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/Heightmap$Type;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_24772 Lnet/minecraft/class_2902$class_2903;field_24772:Lcom/mojang/serialization/Codec;
      official g Lect$a;g:Lcom/mojang/serialization/Codec;
    • name Link icon

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/world/Heightmap$Type;name:Ljava/lang/String;
      intermediary field_13204 Lnet/minecraft/class_2902$class_2903;field_13204:Ljava/lang/String;
      official h Lect$a;h:Ljava/lang/String;
    • purpose Link icon

      private final Heightmap.Purpose purpose
      Mappings:
      Namespace Name Mixin selector
      named purpose Lnet/minecraft/world/Heightmap$Type;purpose:Lnet/minecraft/world/Heightmap$Purpose;
      intermediary field_13198 Lnet/minecraft/class_2902$class_2903;field_13198:Lnet/minecraft/class_2902$class_2904;
      official i Lect$a;i:Lect$b;
    • blockPredicate Link icon

      private final Predicate<BlockState> blockPredicate
      Mappings:
      Namespace Name Mixin selector
      named blockPredicate Lnet/minecraft/world/Heightmap$Type;blockPredicate:Ljava/util/function/Predicate;
      intermediary field_16568 Lnet/minecraft/class_2902$class_2903;field_16568:Ljava/util/function/Predicate;
      official j Lect$a;j:Ljava/util/function/Predicate;
  • Constructor Details Link icon

    • Type Link icon

      private Type(String name, Heightmap.Purpose purpose, Predicate<BlockState> blockPredicate)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/Heightmap$Type;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/world/Heightmap$Purpose;Ljava/util/function/Predicate;)V
      intermediary <init> Lnet/minecraft/class_2902$class_2903;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_2902$class_2904;Ljava/util/function/Predicate;)V
      official <init> Lect$a;<init>(Ljava/lang/String;ILjava/lang/String;Lect$b;Ljava/util/function/Predicate;)V
  • Method Details Link icon

    • values Link icon

      public static Heightmap.Type[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf Link icon

      public static Heightmap.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getName Link icon

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/world/Heightmap$Type;getName()Ljava/lang/String;
      intermediary method_12605 Lnet/minecraft/class_2902$class_2903;method_12605()Ljava/lang/String;
      official a Lect$a;a()Ljava/lang/String;
    • shouldSendToClient Link icon

      public boolean shouldSendToClient()
      Mappings:
      Namespace Name Mixin selector
      named shouldSendToClient Lnet/minecraft/world/Heightmap$Type;shouldSendToClient()Z
      intermediary method_16137 Lnet/minecraft/class_2902$class_2903;method_16137()Z
      official b Lect$a;b()Z
    • isStoredServerSide Link icon

      public boolean isStoredServerSide()
      Mappings:
      Namespace Name Mixin selector
      named isStoredServerSide Lnet/minecraft/world/Heightmap$Type;isStoredServerSide()Z
      intermediary method_20454 Lnet/minecraft/class_2902$class_2903;method_20454()Z
      official d Lect$a;d()Z
    • getBlockPredicate Link icon

      public Predicate<BlockState> getBlockPredicate()
      Mappings:
      Namespace Name Mixin selector
      named getBlockPredicate Lnet/minecraft/world/Heightmap$Type;getBlockPredicate()Ljava/util/function/Predicate;
      intermediary method_16402 Lnet/minecraft/class_2902$class_2903;method_16402()Ljava/util/function/Predicate;
      official e Lect$a;e()Ljava/util/function/Predicate;
    • asString Link icon

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lazv;c()Ljava/lang/String;