Uses of Class
net.minecraft.world.gen.chunk.ChunkGenerator
Package
Description
-
Uses of ChunkGenerator in net.minecraft.block.sapling
Modifier and TypeMethodDescriptionboolean
LargeTreeSaplingGenerator.generate
(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random) boolean
SaplingGenerator.generate
(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random) boolean
LargeTreeSaplingGenerator.generateLargeTree
(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random, int x, int z) -
Uses of ChunkGenerator in net.minecraft.client.world
Modifier and TypeMethodDescriptionprotected abstract ChunkGenerator
GeneratorType.getChunkGenerator
(DynamicRegistryManager registryManager, long seed) -
Uses of ChunkGenerator in net.minecraft.server.world
Modifier and TypeMethodDescriptionServerChunkManager.getChunkGenerator()
protected ChunkGenerator
ThreadedAnvilChunkStorage.getChunkGenerator()
ModifierConstructorDescriptionServerChunkManager
(ServerWorld world, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureManager structureManager, Executor workerExecutor, ChunkGenerator chunkGenerator, int viewDistance, int simulationDistance, boolean dsync, WorldGenerationProgressListener worldGenerationProgressListener, ChunkStatusChangeListener chunkStatusChangeListener, Supplier<PersistentStateManager> persistentStateManagerFactory) ServerWorld
(MinecraftServer server, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, RegistryEntry<DimensionType> registryEntry, WorldGenerationProgressListener worldGenerationProgressListener, ChunkGenerator chunkGenerator, boolean debugWorld, long seed, List<Spawner> spawners, boolean shouldTickTime) ThreadedAnvilChunkStorage
(ServerWorld world, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureManager structureManager, Executor executor, ThreadExecutor<Runnable> mainThreadExecutor, ChunkProvider chunkProvider, ChunkGenerator chunkGenerator, WorldGenerationProgressListener worldGenerationProgressListener, ChunkStatusChangeListener chunkStatusChangeListener, Supplier<PersistentStateManager> persistentStateManagerFactory, int viewDistance, boolean dsync) -
Uses of ChunkGenerator in net.minecraft.structure
Modifier and TypeFieldDescriptionprivate final ChunkGenerator
StructureGeneratorFactory.Context.chunkGenerator
The field for thechunkGenerator
record component.private final ChunkGenerator
StructurePiecesGenerator.Context.chunkGenerator
The field for thechunkGenerator
record component.Modifier and TypeMethodDescriptionStructureGeneratorFactory.Context.chunkGenerator()
Returns the value of thechunkGenerator
record component.StructurePiecesGenerator.Context.chunkGenerator()
Returns the value of thechunkGenerator
record component.Modifier and TypeMethodDescriptionvoid
PostPlacementProcessor.afterPlace
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos pos, StructurePiecesList children) void
BuriedTreasureGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
DesertTempleGenerator.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
IglooGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
JungleTempleGenerator.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
MineshaftGenerator.MineshaftCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
MineshaftGenerator.MineshaftCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
MineshaftGenerator.MineshaftRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
MineshaftGenerator.MineshaftStairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.Bridge.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.BridgeCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.BridgeEnd.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.BridgePlatform.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.BridgeSmallCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.BridgeStairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorBalcony.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorExit.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorLeftTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorNetherWartsRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorRightTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorStairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.SmallCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFossilGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.Base.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.CoreRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.DoubleXRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.DoubleXYRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.DoubleYRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.DoubleYZRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.DoubleZRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.Entry.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.Penthouse.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.SimpleRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.SimpleRoomTop.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.WingRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanRuinGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
PoolStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, BlockPos pos, boolean keepJigsaws) void
PoolStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
RuinedPortalStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
ShipwreckGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
SimpleStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.ChestCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.Corridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.FiveWayCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.LeftTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.Library.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.PortalRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.PrisonHall.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.RightTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.SmallCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.SpiralStaircase.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.SquareRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.Stairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) abstract void
StructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
SwampHutGenerator.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StructureStart.place
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos) ModifierConstructorDescriptionContext
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkPos chunkPos, C c, HeightLimitView heightLimitView, Predicate<RegistryEntry<Biome>> predicate, StructureManager structureManager, DynamicRegistryManager dynamicRegistryManager) Context
(C c, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, HeightLimitView heightLimitView, ChunkRandom chunkRandom, long long2) -
Uses of ChunkGenerator in net.minecraft.structure.pool
Modifier and TypeFieldDescriptionprivate final ChunkGenerator
StructurePoolBasedGenerator.StructurePoolGenerator.chunkGenerator
Modifier and TypeMethodDescriptionboolean
EmptyPoolElement.generate
(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) boolean
FeaturePoolElement.generate
(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) boolean
ListPoolElement.generate
(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) boolean
SinglePoolElement.generate
(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) static void
StructurePoolBasedGenerator.generate
(DynamicRegistryManager registryManager, PoolStructurePiece piece, int maxDepth, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> results, Random random, HeightLimitView world) abstract boolean
StructurePoolElement.generate
(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) ModifierConstructorDescription(package private)
StructurePoolGenerator
(Registry<StructurePool> registry, int maxSize, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> children, Random random) -
Uses of ChunkGenerator in net.minecraft.util.registry
Modifier and TypeFieldDescriptionstatic final Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>
Registry.CHUNK_GENERATOR
static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>
Registry.CHUNK_GENERATOR_KEY
-
Uses of ChunkGenerator in net.minecraft.world
Modifier and TypeMethodDescriptionprivate static boolean
SpawnHelper.canSpawn
(ServerWorld world, SpawnGroup group, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnSettings.SpawnEntry spawnEntry, BlockPos.Mutable pos, double squaredDistance) private static boolean
SpawnHelper.containsSpawnEntry
(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, SpawnSettings.SpawnEntry spawnEntry, BlockPos pos) private static Pool<SpawnSettings.SpawnEntry>
SpawnHelper.getSpawnEntries
(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, BlockPos pos, @Nullable RegistryEntry<Biome> biomeEntry) private static Optional<SpawnSettings.SpawnEntry>
SpawnHelper.pickRandomSpawnEntry
(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, Random random, BlockPos pos) ModifierConstructorDescriptionStructureLocator
(NbtScannable chunkIoWorker, DynamicRegistryManager registryManager, StructureManager structureManager, RegistryKey<World> worldKey, ChunkGenerator chunkGenerator, HeightLimitView world, BiomeSource biomeSource, long seed, com.mojang.datafixers.DataFixer dataFixer) -
Uses of ChunkGenerator in net.minecraft.world.chunk
Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.GenerationTask.doWork
(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator generator, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean bool) default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.SimpleGenerationTask.doWork
(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator generator, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean bool) void
ChunkStatus.SimpleGenerationTask.doWork
(ChunkStatus targetStatus, ServerWorld world, ChunkGenerator chunkGenerator, List<Chunk> chunks, Chunk chunk) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.runGenerationTask
(Executor executor, ServerWorld world, ChunkGenerator generator, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, boolean bool) -
Uses of ChunkGenerator in net.minecraft.world.dimension
ModifierConstructorDescriptionDimensionOptions
(RegistryEntry<DimensionType> registryEntry, ChunkGenerator chunkGenerator) -
Uses of ChunkGenerator in net.minecraft.world.gen
Modifier and TypeMethodDescriptionstatic Registry<DimensionOptions>
GeneratorOptions.getRegistryWithReplacedOverworld
(Registry<DimensionOptions> options, RegistryEntry<DimensionType> dimensionType, ChunkGenerator overworldGenerator) static Registry<DimensionOptions>
GeneratorOptions.getRegistryWithReplacedOverworldGenerator
(Registry<DimensionType> dimensionTypeRegistry, Registry<DimensionOptions> options, ChunkGenerator overworldGenerator) -
Uses of ChunkGenerator in net.minecraft.world.gen.chunk
Modifier and TypeClassDescriptionclass
class
final class
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ChunkGenerator>
ChunkGenerator.CODEC
Modifier and TypeMethodDescriptionprotected static final <T extends ChunkGenerator>
com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>,Registry<StructureSet>> ChunkGenerator.method_41042
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> instance) Modifier and TypeMethodDescriptionabstract ChunkGenerator
ChunkGenerator.withSeed
(long seed) DebugChunkGenerator.withSeed
(long seed) FlatChunkGenerator.withSeed
(long seed) NoiseChunkGenerator.withSeed
(long seed) Modifier and TypeMethodDescriptionprotected abstract com.mojang.serialization.Codec<? extends ChunkGenerator>
ChunkGenerator.getCodec()
protected com.mojang.serialization.Codec<? extends ChunkGenerator>
DebugChunkGenerator.getCodec()
protected com.mojang.serialization.Codec<? extends ChunkGenerator>
FlatChunkGenerator.getCodec()
protected com.mojang.serialization.Codec<? extends ChunkGenerator>
NoiseChunkGenerator.getCodec()
Optional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>>
ChunkGenerator.getCodecKey()
-
Uses of ChunkGenerator in net.minecraft.world.gen.chunk.placement
Modifier and TypeMethodDescriptionboolean
ConcentricRingsStructurePlacement.isStartChunk
(ChunkGenerator chunkGenerator, long long2, int int2, int int3) boolean
RandomSpreadStructurePlacement.isStartChunk
(ChunkGenerator chunkGenerator, long long2, int int2, int int3) boolean
StructurePlacement.isStartChunk
(ChunkGenerator chunkGenerator, long long2, int int2, int int3) -
Uses of ChunkGenerator in net.minecraft.world.gen.feature
Modifier and TypeMethodDescriptionboolean
StructureFeature.canGenerate
(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos pos, C config, HeightLimitView world, Predicate<RegistryEntry<Biome>> biomePredicate) boolean
ConfiguredFeature.generate
(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos origin) boolean
PlacedFeature.generate
(StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos pos) Generates a configured feature at the positions obtained by applying placement modifiers to the given position.boolean
RandomFeatureEntry.generate
(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos pos) boolean
Feature.generateIfValid
(FC config, StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos pos) private static boolean
RootSystemFeature.generateTreeAndRoots
(StructureWorldAccess world, ChunkGenerator generator, RootSystemFeatureConfig config, Random random, BlockPos.Mutable mutablePos, BlockPos pos) boolean
PlacedFeature.generateUnregistered
(StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos pos) protected boolean
VegetationPatchFeature.generateVegetationFeature
(StructureWorldAccess world, VegetationPatchFeatureConfig config, ChunkGenerator generator, Random random, BlockPos pos) protected boolean
WaterloggedVegetationPatchFeature.generateVegetationFeature
(StructureWorldAccess world, VegetationPatchFeatureConfig config, ChunkGenerator generator, Random random, BlockPos pos) private static int
RuinedPortalFeature.getFloorHeight
(Random random, ChunkGenerator chunkGenerator, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, boolean airPocket, int height, int blockCountY, BlockBox box, HeightLimitView world) private static int
EndCityFeature.getGenerationHeight
(ChunkPos pos, ChunkGenerator chunkGenerator, HeightLimitView world) private static void
WoodlandMansionFeature.postPlace
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, StructurePiecesList children) ConfiguredStructureFeature.tryPlaceStart
(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos chunkPos, int structureReferences, HeightLimitView world, Predicate<RegistryEntry<Biome>> biomePredicate) ModifierConstructorDescriptionFeaturePlacementContext
(StructureWorldAccess world, ChunkGenerator generator, Optional<PlacedFeature> placedFeature) -
Uses of ChunkGenerator in net.minecraft.world.gen.feature.util
ModifierConstructorDescriptionFeatureContext
(Optional<ConfiguredFeature<?, ?>> feature, StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos origin, FC config) -
Uses of ChunkGenerator in net.minecraft.world.storage
Modifier and TypeMethodDescriptionstatic void
VersionedChunkStorage.saveContextToNbt
(NbtCompound nbt, RegistryKey<World> worldKey, Optional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> generatorCodecKey) VersionedChunkStorage.updateChunkNbt
(RegistryKey<World> worldKey, Supplier<PersistentStateManager> persistentStateManagerFactory, NbtCompound nbt, Optional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> generatorCodecKey)