net.minecraft.world

public enum Heightmap$Type

implements StringIdentifiable

net.minecraft.world.level.levelgen.Heightmap$Types
net.minecraft.world.level.levelgen.Heightmap$Types
net.minecraft.class_2902$class_2903
net.minecraft.world.Heightmap$Type

Enum constant summary

Enum Constant
WORLD_SURFACE_WG
WORLD_SURFACE_WG
field_13194
WORLD_SURFACE_WG
WORLD_SURFACE
WORLD_SURFACE
field_13202
WORLD_SURFACE
OCEAN_FLOOR_WG
OCEAN_FLOOR_WG
field_13195
OCEAN_FLOOR_WG
OCEAN_FLOOR
OCEAN_FLOOR
field_13200
OCEAN_FLOOR
MOTION_BLOCKING
MOTION_BLOCKING
field_13197
MOTION_BLOCKING
MOTION_BLOCKING_NO_LEAVES
MOTION_BLOCKING_NO_LEAVES
field_13203
MOTION_BLOCKING_NO_LEAVES

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<Heightmap$Type>
CODEC
CODEC
field_24772
CODEC
private static final IntFunction<Heightmap$Type>
BY_ID
BY_ID
field_56680
INDEX_MAPPER
public static final PacketCodec<io.netty.buffer.ByteBuf, Heightmap$Type>
STREAM_CODEC
STREAM_CODEC
field_56679
PACKET_CODEC
private final int
id
id
field_56681
index
private final String
serializationKey
serializationKey
field_13204
id
private final Heightmap$Purpose
usage
usage
field_13198
purpose
private final Predicate<BlockState>
isOpaque
isOpaque
field_16568
blockPredicate

Constructor summary

ModifierConstructor
private (int $enum$name, String $enum$ordinal, Heightmap$Purpose index, Predicate<BlockState> id)

Method summary

Modifier and TypeMethod
public String
getSerializationKey()
getSerializationKey()
method_12605()
getId()
public boolean
sendToClient()
sendToClient()
method_16137()
shouldSendToClient()
public boolean
keepAfterWorldgen()
keepAfterWorldgen()
method_20454()
isStoredServerSide()
public Predicate<BlockState>
isOpaque()
isOpaque()
method_16402()
getBlockPredicate()
public String
getSerializedName()
getSerializedName()
method_15434()
asString()