Package net.minecraft.world
Enum Class Heightmap.Type
- All Implemented Interfaces:
Serializable
,Comparable<Heightmap.Type>
,Constable
,StringIdentifiable
- Enclosing class:
- Heightmap
- Mappings:
Namespace Name official csu$a
intermediary net/minecraft/class_2902$class_2903
named net/minecraft/world/Heightmap$Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Field Summary
Modifier and TypeFieldDescriptionprivate final Predicate<BlockState>
private static final Map<String,
Heightmap.Type> static final com.mojang.serialization.Codec<Heightmap.Type>
private final String
private final Heightmap.Purpose
-
Constructor Summary
ModifierConstructorDescriptionprivate
Type
(String name, Heightmap.Purpose purpose, Predicate<BlockState> blockPredicate) -
Method Summary
Modifier and TypeMethodDescriptionasString()
static @Nullable Heightmap.Type
getName()
boolean
boolean
static Heightmap.Type
Returns the enum constant of this class with the specified name.static Heightmap.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WORLD_SURFACE_WG
- Mappings:
Namespace Name Mixin selector official a
Lcsu$a;a:Lcsu$a;
intermediary field_13194
Lnet/minecraft/class_2902$class_2903;field_13194:Lnet/minecraft/class_2902$class_2903;
named WORLD_SURFACE_WG
Lnet/minecraft/world/Heightmap$Type;WORLD_SURFACE_WG:Lnet/minecraft/world/Heightmap$Type;
-
WORLD_SURFACE
- Mappings:
Namespace Name Mixin selector official b
Lcsu$a;b:Lcsu$a;
intermediary field_13202
Lnet/minecraft/class_2902$class_2903;field_13202:Lnet/minecraft/class_2902$class_2903;
named WORLD_SURFACE
Lnet/minecraft/world/Heightmap$Type;WORLD_SURFACE:Lnet/minecraft/world/Heightmap$Type;
-
OCEAN_FLOOR_WG
- Mappings:
Namespace Name Mixin selector official c
Lcsu$a;c:Lcsu$a;
intermediary field_13195
Lnet/minecraft/class_2902$class_2903;field_13195:Lnet/minecraft/class_2902$class_2903;
named OCEAN_FLOOR_WG
Lnet/minecraft/world/Heightmap$Type;OCEAN_FLOOR_WG:Lnet/minecraft/world/Heightmap$Type;
-
OCEAN_FLOOR
- Mappings:
Namespace Name Mixin selector official d
Lcsu$a;d:Lcsu$a;
intermediary field_13200
Lnet/minecraft/class_2902$class_2903;field_13200:Lnet/minecraft/class_2902$class_2903;
named OCEAN_FLOOR
Lnet/minecraft/world/Heightmap$Type;OCEAN_FLOOR:Lnet/minecraft/world/Heightmap$Type;
-
MOTION_BLOCKING
- Mappings:
Namespace Name Mixin selector official e
Lcsu$a;e:Lcsu$a;
intermediary field_13197
Lnet/minecraft/class_2902$class_2903;field_13197:Lnet/minecraft/class_2902$class_2903;
named MOTION_BLOCKING
Lnet/minecraft/world/Heightmap$Type;MOTION_BLOCKING:Lnet/minecraft/world/Heightmap$Type;
-
MOTION_BLOCKING_NO_LEAVES
- Mappings:
Namespace Name Mixin selector official f
Lcsu$a;f:Lcsu$a;
intermediary field_13203
Lnet/minecraft/class_2902$class_2903;field_13203:Lnet/minecraft/class_2902$class_2903;
named MOTION_BLOCKING_NO_LEAVES
Lnet/minecraft/world/Heightmap$Type;MOTION_BLOCKING_NO_LEAVES:Lnet/minecraft/world/Heightmap$Type;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official g
Lcsu$a;g:Lcom/mojang/serialization/Codec;
intermediary field_24772
Lnet/minecraft/class_2902$class_2903;field_24772:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/Heightmap$Type;CODEC:Lcom/mojang/serialization/Codec;
-
BY_NAME
- Mappings:
Namespace Name Mixin selector official k
Lcsu$a;k:Ljava/util/Map;
intermediary field_13205
Lnet/minecraft/class_2902$class_2903;field_13205:Ljava/util/Map;
named BY_NAME
Lnet/minecraft/world/Heightmap$Type;BY_NAME:Ljava/util/Map;
-
name
- Mappings:
Namespace Name Mixin selector official h
Lcsu$a;h:Ljava/lang/String;
intermediary field_13204
Lnet/minecraft/class_2902$class_2903;field_13204:Ljava/lang/String;
named name
Lnet/minecraft/world/Heightmap$Type;name:Ljava/lang/String;
-
purpose
- Mappings:
Namespace Name Mixin selector official i
Lcsu$a;i:Lcsu$b;
intermediary field_13198
Lnet/minecraft/class_2902$class_2903;field_13198:Lnet/minecraft/class_2902$class_2904;
named purpose
Lnet/minecraft/world/Heightmap$Type;purpose:Lnet/minecraft/world/Heightmap$Purpose;
-
blockPredicate
- Mappings:
Namespace Name Mixin selector official j
Lcsu$a;j:Ljava/util/function/Predicate;
intermediary field_16568
Lnet/minecraft/class_2902$class_2903;field_16568:Ljava/util/function/Predicate;
named blockPredicate
Lnet/minecraft/world/Heightmap$Type;blockPredicate:Ljava/util/function/Predicate;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>
Lcsu$a;<init>(Ljava/lang/String;ILjava/lang/String;Lcsu$b;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
named <init>
Lnet/minecraft/world/Heightmap$Type;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/world/Heightmap$Purpose;Ljava/util/function/Predicate;)V
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getName
- Mappings:
Namespace Name Mixin selector official a
Lcsu$a;a()Ljava/lang/String;
intermediary method_12605
Lnet/minecraft/class_2902$class_2903;method_12605()Ljava/lang/String;
named getName
Lnet/minecraft/world/Heightmap$Type;getName()Ljava/lang/String;
-
shouldSendToClient
public boolean shouldSendToClient()- Mappings:
Namespace Name Mixin selector official b
Lcsu$a;b()Z
intermediary method_16137
Lnet/minecraft/class_2902$class_2903;method_16137()Z
named shouldSendToClient
Lnet/minecraft/world/Heightmap$Type;shouldSendToClient()Z
-
isStoredServerSide
public boolean isStoredServerSide()- Mappings:
Namespace Name Mixin selector official d
Lcsu$a;d()Z
intermediary method_20454
Lnet/minecraft/class_2902$class_2903;method_20454()Z
named isStoredServerSide
Lnet/minecraft/world/Heightmap$Type;isStoredServerSide()Z
-
byName
- Mappings:
Namespace Name Mixin selector official a
Lcsu$a;a(Ljava/lang/String;)Lcsu$a;
intermediary method_12609
Lnet/minecraft/class_2902$class_2903;method_12609(Ljava/lang/String;)Lnet/minecraft/class_2902$class_2903;
named byName
Lnet/minecraft/world/Heightmap$Type;byName(Ljava/lang/String;)Lnet/minecraft/world/Heightmap$Type;
-
getBlockPredicate
- Mappings:
Namespace Name Mixin selector official e
Lcsu$a;e()Ljava/util/function/Predicate;
intermediary method_16402
Lnet/minecraft/class_2902$class_2903;method_16402()Ljava/util/function/Predicate;
named getBlockPredicate
Lnet/minecraft/world/Heightmap$Type;getBlockPredicate()Ljava/util/function/Predicate;
-
asString
- Specified by:
asString
in interfaceStringIdentifiable
- Mappings:
Namespace Name Mixin selector official c
Laiz;c()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-