Uses of Enum Class
net.minecraft.world.Heightmap.Type
Packages that use Heightmap.Type
Package
Description
-
Uses of Heightmap.Type in net.minecraft.client.gui.hud
Fields in net.minecraft.client.gui.hud with type parameters of type Heightmap.TypeModifier and TypeFieldDescriptionprivate static final Map
<Heightmap.Type, String> DebugHud.HEIGHT_MAP_TYPES
-
Uses of Heightmap.Type in net.minecraft.client.render.debug
Methods in net.minecraft.client.render.debug with parameters of type Heightmap.TypeModifier and TypeMethodDescriptionprivate Vector3f
HeightmapDebugRenderer.getColorForHeightmapType
(Heightmap.Type type) -
Uses of Heightmap.Type in net.minecraft.client.world
Method parameters in net.minecraft.client.world with type arguments of type Heightmap.TypeModifier and TypeMethodDescriptionClientChunkManager.loadChunkFromPacket
(int x, int z, PacketByteBuf buf, Map<Heightmap.Type, long[]> heightmaps, Consumer<ChunkData.BlockEntityVisitor> consumer) -
Uses of Heightmap.Type in net.minecraft.command.argument
Fields in net.minecraft.command.argument with type parameters of type Heightmap.TypeModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<Heightmap.Type> HeightmapArgumentType.HEIGHTMAP_CODEC
Methods in net.minecraft.command.argument that return Heightmap.TypeModifier and TypeMethodDescriptionstatic Heightmap.Type
HeightmapArgumentType.getHeightmap
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String id) private static Heightmap.Type[]
HeightmapArgumentType.getHeightmapTypes()
-
Uses of Heightmap.Type in net.minecraft.entity
Fields in net.minecraft.entity declared as Heightmap.TypeModifier and TypeFieldDescriptionprivate final Heightmap.Type
SpawnRestriction.Entry.heightmapType
The field for theheightmapType
record component.Methods in net.minecraft.entity that return Heightmap.TypeModifier and TypeMethodDescriptionstatic Heightmap.Type
SpawnRestriction.getHeightmapType
(@Nullable EntityType<?> type) SpawnRestriction.Entry.heightmapType()
Returns the value of theheightmapType
record component.Methods in net.minecraft.entity with parameters of type Heightmap.TypeModifier and TypeMethodDescriptionprivate static <T extends MobEntity>
voidSpawnRestriction.register
(EntityType<T> type, SpawnLocation location, Heightmap.Type heightmapType, SpawnRestriction.SpawnPredicate<T> predicate) Constructors in net.minecraft.entity with parameters of type Heightmap.TypeModifierConstructorDescription(package private)
Entry
(Heightmap.Type heightmapType, SpawnLocation location, SpawnRestriction.SpawnPredicate<?> predicate) Creates an instance of aEntry
record class. -
Uses of Heightmap.Type in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play with type parameters of type Heightmap.TypeModifier and TypeFieldDescriptionprivate final Map
<Heightmap.Type, long[]> ChunkData.heightmap
private static final PacketCodec
<ByteBuf, Map<Heightmap.Type, long[]>> ChunkData.HEIGHTMAPS_PACKET_CODEC
Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type Heightmap.Type -
Uses of Heightmap.Type in net.minecraft.structure
Methods in net.minecraft.structure that return Heightmap.TypeModifier and TypeMethodDescriptionstatic Heightmap.Type
RuinedPortalStructurePiece.getHeightmapType
(RuinedPortalStructurePiece.VerticalPlacement verticalPlacement) Methods in net.minecraft.structure with parameters of type Heightmap.TypeModifier and TypeMethodDescriptionstatic <C extends FeatureConfig>
Predicate<StructureGeneratorFactory.Context<C>> StructureGeneratorFactory.checkForBiomeOnTop
(Heightmap.Type heightmapType) boolean
StructureGeneratorFactory.Context.isBiomeValid
(Heightmap.Type heightmapType) -
Uses of Heightmap.Type in net.minecraft.structure.processor
Fields in net.minecraft.structure.processor declared as Heightmap.TypeModifier and TypeFieldDescriptionprivate final Heightmap.Type
GravityStructureProcessor.heightmap
Constructors in net.minecraft.structure.processor with parameters of type Heightmap.Type -
Uses of Heightmap.Type in net.minecraft.test
Methods in net.minecraft.test with parameters of type Heightmap.TypeModifier and TypeMethodDescriptionint
TestContext.getRelativeTopY
(Heightmap.Type heightmap, int x, int z) -
Uses of Heightmap.Type in net.minecraft.world
Fields in net.minecraft.world with type parameters of type Heightmap.TypeModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Heightmap.Type> Heightmap.Type.CODEC
private static final IntFunction
<Heightmap.Type> Heightmap.Type.INDEX_MAPPER
static final PacketCodec
<ByteBuf, Heightmap.Type> Heightmap.Type.PACKET_CODEC
Methods in net.minecraft.world that return Heightmap.TypeModifier and TypeMethodDescriptionstatic Heightmap.Type
Returns the enum constant of this class with the specified name.static Heightmap.Type[]
Heightmap.Type.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.world with parameters of type Heightmap.TypeModifier and TypeMethodDescriptiondefault BlockPos
RegistryWorldView.getTopPosition
(Heightmap.Type heightmap, BlockPos pos) Returns the position of the topmost block in the column containingpos
usingheightmap
heightmap.TestableWorld.getTopPosition
(Heightmap.Type heightmap, BlockPos pos) default BlockPos
WorldView.getTopPosition
(Heightmap.Type heightmap, BlockPos pos) Returns the position of the topmost block in the column containingpos
usingheightmap
heightmap.int
ChunkRegion.getTopY
(Heightmap.Type heightmap, int x, int z) Returns the Y coordinate of the topmost block at the coordinatesx
andz
usingheightmap
.int
World.getTopY
(Heightmap.Type heightmap, int x, int z) Returns the Y coordinate of the topmost block at the coordinatesx
andz
usingheightmap
.int
WorldView.getTopY
(Heightmap.Type heightmap, int x, int z) Returns the Y coordinate of the topmost block at the coordinatesx
andz
usingheightmap
.default int
WorldView.getTopY
(Heightmap.Type heightmap, BlockPos pos) void
Heightmap.setTo
(Chunk chunk, Heightmap.Type type, long[] values) Method parameters in net.minecraft.world with type arguments of type Heightmap.TypeModifier and TypeMethodDescriptionstatic void
Heightmap.populateHeightmaps
(Chunk chunk, Set<Heightmap.Type> types) Constructors in net.minecraft.world with parameters of type Heightmap.Type -
Uses of Heightmap.Type in net.minecraft.world.chunk
Fields in net.minecraft.world.chunk with type parameters of type Heightmap.TypeModifier and TypeFieldDescriptionprotected final Map
<Heightmap.Type, Heightmap> Chunk.heightmaps
private final Map
<Heightmap.Type, long[]> SerializedChunk.heightmaps
The field for theheightmaps
record component.private final EnumSet
<Heightmap.Type> ChunkStatus.heightMapTypes
static final EnumSet
<Heightmap.Type> ChunkStatus.NORMAL_HEIGHTMAP_TYPES
private static final EnumSet
<Heightmap.Type> ChunkStatus.WORLD_GEN_HEIGHTMAP_TYPES
Methods in net.minecraft.world.chunk that return Heightmap.TypeModifier and TypeMethodDescriptionprivate Heightmap.Type
WrapperProtoChunk.transformHeightmapType
(Heightmap.Type type) Methods in net.minecraft.world.chunk that return types with arguments of type Heightmap.TypeModifier and TypeMethodDescriptionChunk.getHeightmaps()
ChunkStatus.getHeightmapTypes()
Map
<Heightmap.Type, long[]> SerializedChunk.heightmaps()
Returns the value of theheightmaps
record component.Methods in net.minecraft.world.chunk with parameters of type Heightmap.TypeModifier and TypeMethodDescriptionChunk.getHeightmap
(Heightmap.Type type) WrapperProtoChunk.getHeightmap
(Heightmap.Type type) boolean
Chunk.hasHeightmap
(Heightmap.Type type) int
Chunk.sampleHeightmap
(Heightmap.Type type, int x, int z) int
WrapperProtoChunk.sampleHeightmap
(Heightmap.Type type, int x, int z) void
Chunk.setHeightmap
(Heightmap.Type type, long[] heightmap) void
WrapperProtoChunk.setHeightmap
(Heightmap.Type type, long[] heightmap) private Heightmap.Type
WrapperProtoChunk.transformHeightmapType
(Heightmap.Type type) Method parameters in net.minecraft.world.chunk with type arguments of type Heightmap.TypeModifier and TypeMethodDescriptionvoid
WorldChunk.loadFromPacket
(PacketByteBuf buf, Map<Heightmap.Type, long[]> heightmaps, Consumer<ChunkData.BlockEntityVisitor> blockEntityVisitorConsumer) private static ChunkStatus
ChunkStatus.register
(String id, @Nullable ChunkStatus previous, EnumSet<Heightmap.Type> heightMapTypes, ChunkType chunkType) Constructor parameters in net.minecraft.world.chunk with type arguments of type Heightmap.TypeModifierConstructorDescriptionprotected
ChunkStatus
(@Nullable ChunkStatus previous, EnumSet<Heightmap.Type> heightMapTypes, ChunkType chunkType) SerializedChunk
(Registry<Biome> registry, ChunkPos chunkPos, int int2, long long2, long long3, ChunkStatus chunkStatus, BlendingData.Serialized serialized, @Nullable BelowZeroRetrogen belowZeroRetrogen, UpgradeData upgradeData, @org.jetbrains.annotations.Nullable long[] long4, Map<Heightmap.Type, long[]> map, Chunk.TickSchedulers tickSchedulers, ShortList[] shortList, boolean bool, List<SerializedChunk.SectionData> list, List<NbtCompound> list2, List<NbtCompound> list3, NbtCompound nbtCompound) -
Uses of Heightmap.Type in net.minecraft.world.gen.chunk
Methods in net.minecraft.world.gen.chunk with parameters of type Heightmap.TypeModifier and TypeMethodDescriptionabstract int
ChunkGenerator.getHeight
(int x, int z, Heightmap.Type heightmap, HeightLimitView world, NoiseConfig noiseConfig) Returns the raw noise height of a column for use in structure generation.int
DebugChunkGenerator.getHeight
(int x, int z, Heightmap.Type heightmap, HeightLimitView world, NoiseConfig noiseConfig) Returns the raw noise height of a column for use in structure generation.int
FlatChunkGenerator.getHeight
(int x, int z, Heightmap.Type heightmap, HeightLimitView world, NoiseConfig noiseConfig) Returns the raw noise height of a column for use in structure generation.int
NoiseChunkGenerator.getHeight
(int x, int z, Heightmap.Type heightmap, HeightLimitView world, NoiseConfig noiseConfig) Returns the raw noise height of a column for use in structure generation.int
ChunkGenerator.getHeightInGround
(int x, int z, Heightmap.Type heightmap, HeightLimitView world, NoiseConfig noiseConfig) int
ChunkGenerator.getHeightOnGround
(int x, int z, Heightmap.Type heightmap, HeightLimitView world, NoiseConfig noiseConfig) -
Uses of Heightmap.Type in net.minecraft.world.gen.feature
Methods in net.minecraft.world.gen.feature with parameters of type Heightmap.TypeModifier and TypeMethodDescriptionint
FeaturePlacementContext.getTopY
(Heightmap.Type heightmap, int x, int z) -
Uses of Heightmap.Type in net.minecraft.world.gen.placementmodifier
Fields in net.minecraft.world.gen.placementmodifier declared as Heightmap.TypeModifier and TypeFieldDescriptionprivate final Heightmap.Type
HeightmapPlacementModifier.heightmap
private final Heightmap.Type
SurfaceThresholdFilterPlacementModifier.heightmap
Methods in net.minecraft.world.gen.placementmodifier with parameters of type Heightmap.TypeModifier and TypeMethodDescriptionstatic HeightmapPlacementModifier
HeightmapPlacementModifier.of
(Heightmap.Type heightmap) SurfaceThresholdFilterPlacementModifier.of
(Heightmap.Type heightmap, int min, int max) Constructors in net.minecraft.world.gen.placementmodifier with parameters of type Heightmap.TypeModifierConstructorDescriptionprivate
HeightmapPlacementModifier
(Heightmap.Type heightmap) private
SurfaceThresholdFilterPlacementModifier
(Heightmap.Type heightmap, int min, int max) -
Uses of Heightmap.Type in net.minecraft.world.gen.structure
Fields in net.minecraft.world.gen.structure with type parameters of type Heightmap.TypeModifier and TypeFieldDescriptionprivate final Optional
<Heightmap.Type> JigsawStructure.projectStartToHeightmap
Methods in net.minecraft.world.gen.structure with parameters of type Heightmap.TypeModifier and TypeMethodDescriptionprotected static Optional
<Structure.StructurePosition> Structure.getStructurePosition
(Structure.Context context, Heightmap.Type heightmap, Consumer<StructurePiecesCollector> generator) Constructors in net.minecraft.world.gen.structure with parameters of type Heightmap.TypeModifierConstructorDescriptionJigsawStructure
(Structure.Config config, RegistryEntry<StructurePool> startPool, int size, HeightProvider startHeight, boolean useExpansionHack, Heightmap.Type projectStartToHeightmap)