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(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)
-
Uses of ChunkGenerator in net.minecraft.server.world
Modifier and TypeFieldDescriptionprivate ChunkGenerator
ServerChunkManager.chunkGenerator
private ChunkGenerator
ThreadedAnvilChunkStorage.chunkGenerator
ModifierConstructorDescriptionServerChunkManager(ServerWorld world, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureManager structureManager, Executor workerExecutor, ChunkGenerator chunkGenerator, int viewDistance, boolean bool, WorldGenerationProgressListener worldGenerationProgressListener, ChunkStatusChangeListener chunkStatusChangeListener, Supplier<PersistentStateManager> supplier)
ServerWorld(MinecraftServer server, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, DimensionType dimensionType, 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 TypeMethodDescriptionboolean
BuriedTreasureGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
DesertTempleGenerator.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
IglooGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
JungleTempleGenerator.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
MineshaftGenerator.MineshaftCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
MineshaftGenerator.MineshaftCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
MineshaftGenerator.MineshaftRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
MineshaftGenerator.MineshaftStairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.Bridge.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgeCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgeEnd.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgePlatform.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgeSmallCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgeStairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorBalcony.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorExit.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorLeftTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorNetherWartsRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorRightTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorStairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.SmallCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFossilGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.Base.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.CoreRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleXRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleXYRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleYRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleYZRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleZRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.Entry.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.Penthouse.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.SimpleRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.SimpleRoomTop.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.WingRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanRuinGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
PoolStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, BlockPos pos, boolean keepJigsaws)
boolean
PoolStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
RuinedPortalStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
ShipwreckGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
SimpleStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.ChestCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.Corridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.FiveWayCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.LeftTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.Library.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.PortalRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.PrisonHall.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.RightTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.SmallCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.SpiralStaircase.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.SquareRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.Stairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
abstract boolean
StructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
SwampHutGenerator.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
void
StructureStart.generateStructure(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos)
abstract void
StructureStart.init(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, StructureManager manager, ChunkPos pos, Biome biome, C config, HeightLimitView world)
-
Uses of ChunkGenerator in net.minecraft.structure.pool
Modifier and TypeFieldDescriptionprivate 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)
abstract boolean
StructurePoolElement.generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)
static void
StructurePoolBasedGenerator.method_27230(DynamicRegistryManager dynamicRegistryManager, PoolStructurePiece poolStructurePiece, int int2, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> list, Random random, HeightLimitView heightLimitView)
static void
StructurePoolBasedGenerator.method_30419(DynamicRegistryManager dynamicRegistryManager, StructurePoolFeatureConfig structurePoolFeatureConfig, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, BlockPos blockPos, StructurePiecesHolder structurePiecesHolder, Random random, boolean bool, boolean bool2, HeightLimitView heightLimitView)
ModifierConstructorDescription(package private)
StructurePoolGenerator(Registry<StructurePool> registry, int int2, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> list, Random random)
-
Uses of ChunkGenerator in net.minecraft.util.registry
Modifier and TypeFieldDescriptionstatic Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>
Registry.CHUNK_GENERATOR
static 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 Biome biome)
private static Optional<SpawnSettings.SpawnEntry>
SpawnHelper.pickRandomSpawnEntry(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, Random random, BlockPos pos)
-
Uses of ChunkGenerator in net.minecraft.world.biome
Modifier and TypeMethodDescriptionvoid
Biome.generateFeatureStep(StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, ChunkRegion region, long populationSeed, ChunkRandom random, BlockPos origin)
-
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 chunkGenerator, StructureManager structureManager, ServerLightingProvider serverLightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> list, Chunk chunk)
default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>
ChunkStatus.SimpleGenerationTask.doWork(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator chunkGenerator, StructureManager structureManager, ServerLightingProvider serverLightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> list, Chunk chunk)
void
ChunkStatus.SimpleGenerationTask.doWork(ChunkStatus chunkStatus, ServerWorld serverWorld, ChunkGenerator chunkGenerator, List<Chunk> list, Chunk chunk)
CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>
ChunkStatus.runGenerationTask(Executor executor, ServerWorld world, ChunkGenerator chunkGenerator, StructureManager structureManager, ServerLightingProvider serverLightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> list)
-
Uses of ChunkGenerator in net.minecraft.world.dimension
Modifier and TypeMethodDescriptionprivate static ChunkGenerator
DimensionType.createEndGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)
private static ChunkGenerator
DimensionType.createNetherGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)
DimensionOptions.getChunkGenerator()
ModifierConstructorDescriptionDimensionOptions(Supplier<DimensionType> typeSupplier, ChunkGenerator chunkGenerator)
-
Uses of ChunkGenerator in net.minecraft.world.gen
Modifier and TypeMethodDescriptionstatic SimpleRegistry<DimensionOptions>
GeneratorOptions.getRegistryWithReplacedOverworld(SimpleRegistry<DimensionOptions> optionsRegistry, Supplier<DimensionType> overworldDimensionType, ChunkGenerator overworldGenerator)
static SimpleRegistry<DimensionOptions>
GeneratorOptions.getRegistryWithReplacedOverworldGenerator(Registry<DimensionType> dimensionTypeRegistry, SimpleRegistry<DimensionOptions> optionsRegistry, ChunkGenerator overworldGenerator)
-
Uses of ChunkGenerator in net.minecraft.world.gen.carver
-
Uses of ChunkGenerator in net.minecraft.world.gen.chunk
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<ChunkGenerator>
ChunkGenerator.CODEC
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()
-
Uses of ChunkGenerator in net.minecraft.world.gen.decorator
ModifierConstructorDescriptionDecoratorContext(StructureWorldAccess world, ChunkGenerator generator)
-
Uses of ChunkGenerator in net.minecraft.world.gen.feature
Modifier and TypeMethodDescriptionboolean
ConfiguredFeature.generate(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos origin)
boolean
RandomFeatureEntry.generate(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos pos)
private boolean
RootSystemFeature.generateFeature(StructureWorldAccess world, ChunkGenerator generator, RootSystemFeatureConfig config, Random random, BlockPos pos)
void
OceanMonumentFeature.Start.generateStructure(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos)
void
WoodlandMansionFeature.Start.generateStructure(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos)
private boolean
RootSystemFeature.generateTreeAndRoots(StructureWorldAccess world, ChunkGenerator generator, RootSystemFeatureConfig config, Random random, BlockPos.Mutable mutablePos, 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)
(package private) static int
RuinedPortalFeature.getFloorHeight(Random random, ChunkGenerator chunkGenerator, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, boolean airPocket, int height, int blockCountY, BlockBox box, HeightLimitView world)
(package private) static int
EndCityFeature.getGenerationHeight(ChunkPos chunkPos, ChunkGenerator chunkGenerator, HeightLimitView heightLimitView)
void
BuriedTreasureFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, ProbabilityConfig probabilityConfig, HeightLimitView heightLimitView)
void
DesertPyramidFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
EndCityFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
IglooFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
JigsawFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, StructurePoolFeatureConfig structurePoolFeatureConfig, HeightLimitView heightLimitView)
void
JungleTempleFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
MineshaftFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, MineshaftFeatureConfig mineshaftFeatureConfig, HeightLimitView heightLimitView)
void
NetherFortressFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
NetherFossilFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, RangeDecoratorConfig rangeDecoratorConfig, HeightLimitView heightLimitView)
void
OceanMonumentFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
OceanRuinFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, OceanRuinFeatureConfig oceanRuinFeatureConfig, HeightLimitView heightLimitView)
void
RuinedPortalFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, RuinedPortalFeatureConfig ruinedPortalFeatureConfig, HeightLimitView heightLimitView)
void
ShipwreckFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, ShipwreckFeatureConfig shipwreckFeatureConfig, HeightLimitView heightLimitView)
void
StrongholdFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
SwampHutFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
WoodlandMansionFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
private boolean
PillagerOutpostFeature.isVillageNearby(ChunkGenerator generator, long worldSeed, ChunkRandom random, ChunkPos pos)
protected boolean
BastionRemnantFeature.shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, StructurePoolFeatureConfig structurePoolFeatureConfig, HeightLimitView heightLimitView)
protected boolean
BuriedTreasureFeature.shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, ProbabilityConfig probabilityConfig, HeightLimitView heightLimitView)
protected boolean
EndCityFeature.shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
protected boolean
MineshaftFeature.shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, MineshaftFeatureConfig mineshaftFeatureConfig, HeightLimitView heightLimitView)
protected boolean
NetherFortressFeature.shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
protected boolean
OceanMonumentFeature.shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
protected boolean
PillagerOutpostFeature.shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, StructurePoolFeatureConfig structurePoolFeatureConfig, HeightLimitView heightLimitView)
protected boolean
StrongholdFeature.shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
protected boolean
StructureFeature.shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long worldSeed, ChunkRandom random, ChunkPos pos, Biome biome, ChunkPos chunkPos, C config, HeightLimitView world)
Checks if this structure can actually be placed at a potential structure position determined viaStructureFeature.getStartChunk(net.minecraft.world.gen.chunk.StructureConfig, long, net.minecraft.world.gen.ChunkRandom, int, int)
.protected boolean
WoodlandMansionFeature.shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
ConfiguredStructureFeature.tryPlaceStart(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos chunkPos, Biome biome, int referenceCount, StructureConfig structureConfig, HeightLimitView heightLimitView)
StructureFeature.tryPlaceStart(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator generator, BiomeSource biomeSource, StructureManager manager, long worldSeed, ChunkPos pos, Biome biome, int referenceCount, ChunkRandom random, StructureConfig structureConfig, C config, HeightLimitView world)
Tries to place a starting point for this type of structure in the given chunk. -
Uses of ChunkGenerator in net.minecraft.world.gen.feature.util
ModifierConstructorDescriptionFeatureContext(StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos origin, FC config)