Package net.minecraft.world
Enum Heightmap.Type
- All Implemented Interfaces:
Serializable,Comparable<Heightmap.Type>,java.lang.constant.Constable,StringIdentifiable
- Enclosing class:
- Heightmap
public static enum Heightmap.Type extends Enum<Heightmap.Type> implements StringIdentifiable
- Mappings:
Namespace Name official cmm$aintermediary net/minecraft/class_2902$class_2903named 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 Constants Enum Constant Description MOTION_BLOCKINGMOTION_BLOCKING_NO_LEAVESOCEAN_FLOOROCEAN_FLOOR_WGWORLD_SURFACEWORLD_SURFACE_WG -
Field Summary
Fields Modifier and Type Field Description private Predicate<BlockState>blockPredicateprivate static Map<String,Heightmap.Type>BY_NAMEstatic com.mojang.serialization.Codec<Heightmap.Type>CODECprivate Stringnameprivate Heightmap.Purposepurpose -
Constructor Summary
Constructors Modifier Constructor Description privateType(String name, Heightmap.Purpose purpose, Predicate<BlockState> blockPredicate) -
Method Summary
Modifier and Type Method Description StringasString()static Heightmap.TypebyName(String name)Predicate<BlockState>getBlockPredicate()StringgetName()booleanisStoredServerSide()booleanshouldSendToClient()static Heightmap.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Heightmap.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
WORLD_SURFACE_WG
- Mappings:
Namespace Name Mixin selector official aLcmm$a;a:Lcmm$a;intermediary field_13194Lnet/minecraft/class_2902$class_2903;field_13194:Lnet/minecraft/class_2902$class_2903;named WORLD_SURFACE_WGLnet/minecraft/world/Heightmap$Type;WORLD_SURFACE_WG:Lnet/minecraft/world/Heightmap$Type;
-
WORLD_SURFACE
- Mappings:
Namespace Name Mixin selector official bLcmm$a;b:Lcmm$a;intermediary field_13202Lnet/minecraft/class_2902$class_2903;field_13202:Lnet/minecraft/class_2902$class_2903;named WORLD_SURFACELnet/minecraft/world/Heightmap$Type;WORLD_SURFACE:Lnet/minecraft/world/Heightmap$Type;
-
OCEAN_FLOOR_WG
- Mappings:
Namespace Name Mixin selector official cLcmm$a;c:Lcmm$a;intermediary field_13195Lnet/minecraft/class_2902$class_2903;field_13195:Lnet/minecraft/class_2902$class_2903;named OCEAN_FLOOR_WGLnet/minecraft/world/Heightmap$Type;OCEAN_FLOOR_WG:Lnet/minecraft/world/Heightmap$Type;
-
OCEAN_FLOOR
- Mappings:
Namespace Name Mixin selector official dLcmm$a;d:Lcmm$a;intermediary field_13200Lnet/minecraft/class_2902$class_2903;field_13200:Lnet/minecraft/class_2902$class_2903;named OCEAN_FLOORLnet/minecraft/world/Heightmap$Type;OCEAN_FLOOR:Lnet/minecraft/world/Heightmap$Type;
-
MOTION_BLOCKING
- Mappings:
Namespace Name Mixin selector official eLcmm$a;e:Lcmm$a;intermediary field_13197Lnet/minecraft/class_2902$class_2903;field_13197:Lnet/minecraft/class_2902$class_2903;named MOTION_BLOCKINGLnet/minecraft/world/Heightmap$Type;MOTION_BLOCKING:Lnet/minecraft/world/Heightmap$Type;
-
MOTION_BLOCKING_NO_LEAVES
- Mappings:
Namespace Name Mixin selector official fLcmm$a;f:Lcmm$a;intermediary field_13203Lnet/minecraft/class_2902$class_2903;field_13203:Lnet/minecraft/class_2902$class_2903;named MOTION_BLOCKING_NO_LEAVESLnet/minecraft/world/Heightmap$Type;MOTION_BLOCKING_NO_LEAVES:Lnet/minecraft/world/Heightmap$Type;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official gLcmm$a;g:Lcom/mojang/serialization/Codec;intermediary field_24772Lnet/minecraft/class_2902$class_2903;field_24772:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/Heightmap$Type;CODEC:Lcom/mojang/serialization/Codec;
-
BY_NAME
- Mappings:
Namespace Name Mixin selector official kLcmm$a;k:Ljava/util/Map;intermediary field_13205Lnet/minecraft/class_2902$class_2903;field_13205:Ljava/util/Map;named BY_NAMELnet/minecraft/world/Heightmap$Type;BY_NAME:Ljava/util/Map;
-
name
- Mappings:
Namespace Name Mixin selector official hLcmm$a;h:Ljava/lang/String;intermediary field_13204Lnet/minecraft/class_2902$class_2903;field_13204:Ljava/lang/String;named nameLnet/minecraft/world/Heightmap$Type;name:Ljava/lang/String;
-
purpose
- Mappings:
Namespace Name Mixin selector official iLcmm$a;i:Lcmm$b;intermediary field_13198Lnet/minecraft/class_2902$class_2903;field_13198:Lnet/minecraft/class_2902$class_2904;named purposeLnet/minecraft/world/Heightmap$Type;purpose:Lnet/minecraft/world/Heightmap$Purpose;
-
blockPredicate
- Mappings:
Namespace Name Mixin selector official jLcmm$a;j:Ljava/util/function/Predicate;intermediary field_16568Lnet/minecraft/class_2902$class_2903;field_16568:Ljava/util/function/Predicate;named blockPredicateLnet/minecraft/world/Heightmap$Type;blockPredicate:Ljava/util/function/Predicate;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>Lcmm$a;<init>(Ljava/lang/String;ILjava/lang/String;Lcmm$b;Ljava/util/function/Predicate;)Vintermediary <init>Lnet/minecraft/class_2902$class_2903;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_2902$class_2904;Ljava/util/function/Predicate;)Vnamed <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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
- Mappings:
Namespace Name Mixin selector official bLcmm$a;b()Ljava/lang/String;intermediary method_12605Lnet/minecraft/class_2902$class_2903;method_12605()Ljava/lang/String;named getNameLnet/minecraft/world/Heightmap$Type;getName()Ljava/lang/String;
-
shouldSendToClient
public boolean shouldSendToClient()- Mappings:
Namespace Name Mixin selector official cLcmm$a;c()Zintermediary method_16137Lnet/minecraft/class_2902$class_2903;method_16137()Znamed shouldSendToClientLnet/minecraft/world/Heightmap$Type;shouldSendToClient()Z
-
isStoredServerSide
- Mappings:
Namespace Name Mixin selector official dLcmm$a;d()Zintermediary method_20454Lnet/minecraft/class_2902$class_2903;method_20454()Znamed isStoredServerSideLnet/minecraft/world/Heightmap$Type;isStoredServerSide()Z
-
byName
- Mappings:
Namespace Name Mixin selector official aLcmm$a;a(Ljava/lang/String;)Lcmm$a;intermediary method_12609Lnet/minecraft/class_2902$class_2903;method_12609(Ljava/lang/String;)Lnet/minecraft/class_2902$class_2903;named byNameLnet/minecraft/world/Heightmap$Type;byName(Ljava/lang/String;)Lnet/minecraft/world/Heightmap$Type;
-
getBlockPredicate
- Mappings:
Namespace Name Mixin selector official eLcmm$a;e()Ljava/util/function/Predicate;intermediary method_16402Lnet/minecraft/class_2902$class_2903;method_16402()Ljava/util/function/Predicate;named getBlockPredicateLnet/minecraft/world/Heightmap$Type;getBlockPredicate()Ljava/util/function/Predicate;
-
asString
- Specified by:
asStringin interfaceStringIdentifiable- Mappings:
Namespace Name Mixin selector official aLagi;a()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-