Package net.minecraft.world
Enum Class Heightmap.Type
- All Implemented Interfaces:
Serializable,Comparable<Heightmap.Type>,Constable,StringIdentifiable
- Enclosing class:
Heightmap
- Mappings:
Namespace Name named net/minecraft/world/Heightmap$Typeintermediary net/minecraft/class_2902$class_2903official ejz$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Predicate<BlockState> static final com.mojang.serialization.Codec<Heightmap.Type> private final Stringprivate final intprivate static final IntFunction<Heightmap.Type> static final PacketCodec<ByteBuf, Heightmap.Type> private final Heightmap.PurposeFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateType(int index, String id, Heightmap.Purpose purpose, Predicate<BlockState> blockPredicate) -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.getId()booleanbooleanstatic Heightmap.TypeReturns 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 named WORLD_SURFACE_WGLnet/minecraft/world/Heightmap$Type;WORLD_SURFACE_WG:Lnet/minecraft/world/Heightmap$Type;intermediary field_13194Lnet/minecraft/class_2902$class_2903;field_13194:Lnet/minecraft/class_2902$class_2903;official aLejz$a;a:Lejz$a;
-
WORLD_SURFACE
- Mappings:
Namespace Name Mixin selector named WORLD_SURFACELnet/minecraft/world/Heightmap$Type;WORLD_SURFACE:Lnet/minecraft/world/Heightmap$Type;intermediary field_13202Lnet/minecraft/class_2902$class_2903;field_13202:Lnet/minecraft/class_2902$class_2903;official bLejz$a;b:Lejz$a;
-
OCEAN_FLOOR_WG
- Mappings:
Namespace Name Mixin selector named OCEAN_FLOOR_WGLnet/minecraft/world/Heightmap$Type;OCEAN_FLOOR_WG:Lnet/minecraft/world/Heightmap$Type;intermediary field_13195Lnet/minecraft/class_2902$class_2903;field_13195:Lnet/minecraft/class_2902$class_2903;official cLejz$a;c:Lejz$a;
-
OCEAN_FLOOR
- Mappings:
Namespace Name Mixin selector named OCEAN_FLOORLnet/minecraft/world/Heightmap$Type;OCEAN_FLOOR:Lnet/minecraft/world/Heightmap$Type;intermediary field_13200Lnet/minecraft/class_2902$class_2903;field_13200:Lnet/minecraft/class_2902$class_2903;official dLejz$a;d:Lejz$a;
-
MOTION_BLOCKING
- Mappings:
Namespace Name Mixin selector named MOTION_BLOCKINGLnet/minecraft/world/Heightmap$Type;MOTION_BLOCKING:Lnet/minecraft/world/Heightmap$Type;intermediary field_13197Lnet/minecraft/class_2902$class_2903;field_13197:Lnet/minecraft/class_2902$class_2903;official eLejz$a;e:Lejz$a;
-
MOTION_BLOCKING_NO_LEAVES
- Mappings:
Namespace Name Mixin selector named MOTION_BLOCKING_NO_LEAVESLnet/minecraft/world/Heightmap$Type;MOTION_BLOCKING_NO_LEAVES:Lnet/minecraft/world/Heightmap$Type;intermediary field_13203Lnet/minecraft/class_2902$class_2903;field_13203:Lnet/minecraft/class_2902$class_2903;official fLejz$a;f:Lejz$a;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/world/Heightmap$Type;CODEC:Lcom/mojang/serialization/Codec;intermediary field_24772Lnet/minecraft/class_2902$class_2903;field_24772:Lcom/mojang/serialization/Codec;official gLejz$a;g:Lcom/mojang/serialization/Codec;
-
INDEX_MAPPER
- Mappings:
Namespace Name Mixin selector named INDEX_MAPPERLnet/minecraft/world/Heightmap$Type;INDEX_MAPPER:Ljava/util/function/IntFunction;intermediary field_56680Lnet/minecraft/class_2902$class_2903;field_56680:Ljava/util/function/IntFunction;official iLejz$a;i:Ljava/util/function/IntFunction;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/world/Heightmap$Type;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_56679Lnet/minecraft/class_2902$class_2903;field_56679:Lnet/minecraft/class_9139;official hLejz$a;h:Lzm;
-
index
private final int index- Mappings:
Namespace Name Mixin selector named indexLnet/minecraft/world/Heightmap$Type;index:Iintermediary field_56681Lnet/minecraft/class_2902$class_2903;field_56681:Iofficial jLejz$a;j:I
-
id
- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/world/Heightmap$Type;id:Ljava/lang/String;intermediary field_13204Lnet/minecraft/class_2902$class_2903;field_13204:Ljava/lang/String;official kLejz$a;k:Ljava/lang/String;
-
purpose
- Mappings:
Namespace Name Mixin selector named purposeLnet/minecraft/world/Heightmap$Type;purpose:Lnet/minecraft/world/Heightmap$Purpose;intermediary field_13198Lnet/minecraft/class_2902$class_2903;field_13198:Lnet/minecraft/class_2902$class_2904;official lLejz$a;l:Lejz$b;
-
blockPredicate
- Mappings:
Namespace Name Mixin selector named blockPredicateLnet/minecraft/world/Heightmap$Type;blockPredicate:Ljava/util/function/Predicate;intermediary field_16568Lnet/minecraft/class_2902$class_2903;field_16568:Ljava/util/function/Predicate;official mLejz$a;m:Ljava/util/function/Predicate;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/Heightmap$Type;<init>(Ljava/lang/String;IILjava/lang/String;Lnet/minecraft/world/Heightmap$Purpose;Ljava/util/function/Predicate;)Vintermediary <init>Lnet/minecraft/class_2902$class_2903;<init>(Ljava/lang/String;IILjava/lang/String;Lnet/minecraft/class_2902$class_2904;Ljava/util/function/Predicate;)Vofficial <init>Lejz$a;<init>(Ljava/lang/String;IILjava/lang/String;Lejz$b;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
-
getId
- Mappings:
Namespace Name Mixin selector named getIdLnet/minecraft/world/Heightmap$Type;getId()Ljava/lang/String;intermediary method_12605Lnet/minecraft/class_2902$class_2903;method_12605()Ljava/lang/String;official aLejz$a;a()Ljava/lang/String;
-
shouldSendToClient
public boolean shouldSendToClient()- Mappings:
Namespace Name Mixin selector named shouldSendToClientLnet/minecraft/world/Heightmap$Type;shouldSendToClient()Zintermediary method_16137Lnet/minecraft/class_2902$class_2903;method_16137()Zofficial bLejz$a;b()Z
-
isStoredServerSide
public boolean isStoredServerSide()- Mappings:
Namespace Name Mixin selector named isStoredServerSideLnet/minecraft/world/Heightmap$Type;isStoredServerSide()Zintermediary method_20454Lnet/minecraft/class_2902$class_2903;method_20454()Zofficial dLejz$a;d()Z
-
getBlockPredicate
- Mappings:
Namespace Name Mixin selector named getBlockPredicateLnet/minecraft/world/Heightmap$Type;getBlockPredicate()Ljava/util/function/Predicate;intermediary method_16402Lnet/minecraft/class_2902$class_2903;method_16402()Ljava/util/function/Predicate;official eLejz$a;e()Ljava/util/function/Predicate;
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbda;c()Ljava/lang/String;
-