Uses of Class
net.minecraft.world.level.levelgen.RandomState
Package
Description
-
Uses of RandomState in net.minecraft.server.level
Modifier and TypeMethodDescriptionprotected RandomState
ChunkMap.randomState()
ServerChunkCache.randomState()
-
Uses of RandomState in net.minecraft.world.level.chunk
Modifier and TypeFieldDescriptionprivate final RandomState
ChunkGeneratorStructureState.randomState
Modifier and TypeMethodDescriptionabstract void
ChunkGenerator.addDebugScreenInfo
(List<String> p_223175_, RandomState p_223176_, BlockPos p_223177_) abstract void
ChunkGenerator.applyCarvers
(WorldGenRegion p_223043_, long p_223044_, RandomState p_223045_, BiomeManager p_223046_, StructureManager p_223047_, ChunkAccess p_223048_, GenerationStep.Carving p_223049_) abstract void
ChunkGenerator.buildSurface
(WorldGenRegion p_223050_, StructureManager p_223051_, RandomState p_223052_, ChunkAccess p_223053_) ChunkGenerator.createBiomes
(Executor p_223159_, RandomState p_223160_, Blender p_223161_, StructureManager p_223162_, ChunkAccess p_223163_) static ChunkGeneratorStructureState
ChunkGeneratorStructureState.createForFlat
(RandomState p_256240_, long p_256404_, BiomeSource p_256274_, Stream<Holder<StructureSet>> p_256348_) static ChunkGeneratorStructureState
ChunkGeneratorStructureState.createForNormal
(RandomState p_256197_, long p_255806_, BiomeSource p_256653_, HolderLookup<StructureSet> p_256659_) ChunkGenerator.createState
(HolderLookup<StructureSet> p_256405_, RandomState p_256101_, long p_256018_) abstract CompletableFuture<ChunkAccess>
ChunkGenerator.fillFromNoise
(Executor p_223209_, Blender p_223210_, RandomState p_223211_, StructureManager p_223212_, ChunkAccess p_223213_) abstract NoiseColumn
ChunkGenerator.getBaseColumn
(int p_223028_, int p_223029_, LevelHeightAccessor p_223030_, RandomState p_223031_) abstract int
ChunkGenerator.getBaseHeight
(int p_223032_, int p_223033_, Heightmap.Types p_223034_, LevelHeightAccessor p_223035_, RandomState p_223036_) int
ChunkGenerator.getFirstFreeHeight
(int p_223222_, int p_223223_, Heightmap.Types p_223224_, LevelHeightAccessor p_223225_, RandomState p_223226_) int
ChunkGenerator.getFirstOccupiedHeight
(int p_223236_, int p_223237_, Heightmap.Types p_223238_, LevelHeightAccessor p_223239_, RandomState p_223240_) private boolean
ChunkGenerator.tryGenerateStructure
(StructureSet.StructureSelectionEntry p_223105_, StructureManager p_223106_, RegistryAccess p_223107_, RandomState p_223108_, StructureTemplateManager p_223109_, long p_223110_, ChunkAccess p_223111_, ChunkPos p_223112_, SectionPos p_223113_) ModifierConstructorDescriptionprivate
ChunkGeneratorStructureState
(RandomState p_256401_, BiomeSource p_255742_, long p_256615_, long p_255979_, List<Holder<StructureSet>> p_256237_) -
Uses of RandomState in net.minecraft.world.level.levelgen
Modifier and TypeFieldDescription(package private) final RandomState
SurfaceRules.Context.randomState
Modifier and TypeMethodDescriptionstatic RandomState
RandomState.create
(HolderGetter.Provider p_255935_, ResourceKey<NoiseGeneratorSettings> p_256314_, long p_256595_) static RandomState
RandomState.create
(NoiseGeneratorSettings p_255761_, HolderGetter<NormalNoise.NoiseParameters> p_256649_, long p_255965_) Modifier and TypeMethodDescriptionvoid
DebugLevelSource.addDebugScreenInfo
(List<String> p_223987_, RandomState p_223988_, BlockPos p_223989_) void
FlatLevelSource.addDebugScreenInfo
(List<String> p_224179_, RandomState p_224180_, BlockPos p_224181_) void
NoiseBasedChunkGenerator.addDebugScreenInfo
(List<String> p_224304_, RandomState p_224305_, BlockPos p_224306_) void
DebugLevelSource.applyCarvers
(WorldGenRegion p_223970_, long p_223971_, RandomState p_223972_, BiomeManager p_223973_, StructureManager p_223974_, ChunkAccess p_223975_, GenerationStep.Carving p_223976_) void
FlatLevelSource.applyCarvers
(WorldGenRegion p_224166_, long p_224167_, RandomState p_224168_, BiomeManager p_224169_, StructureManager p_224170_, ChunkAccess p_224171_, GenerationStep.Carving p_224172_) void
NoiseBasedChunkGenerator.applyCarvers
(WorldGenRegion p_224224_, long p_224225_, RandomState p_224226_, BiomeManager p_224227_, StructureManager p_224228_, ChunkAccess p_224229_, GenerationStep.Carving p_224230_) void
DebugLevelSource.buildSurface
(WorldGenRegion p_223978_, StructureManager p_223979_, RandomState p_223980_, ChunkAccess p_223981_) void
FlatLevelSource.buildSurface
(WorldGenRegion p_224174_, StructureManager p_224175_, RandomState p_224176_, ChunkAccess p_224177_) void
NoiseBasedChunkGenerator.buildSurface
(WorldGenRegion p_224232_, StructureManager p_224233_, RandomState p_224234_, ChunkAccess p_224235_) void
NoiseBasedChunkGenerator.buildSurface
(ChunkAccess p_224262_, WorldGenerationContext p_224263_, RandomState p_224264_, StructureManager p_224265_, BiomeManager p_224266_, Registry<Biome> p_224267_, Blender p_224268_) void
SurfaceSystem.buildSurface
(RandomState p_224649_, BiomeManager p_224650_, Registry<Biome> p_224651_, boolean p_224652_, WorldGenerationContext p_224653_, ChunkAccess p_224654_, NoiseChunk p_224655_, SurfaceRules.RuleSource p_224656_) NoiseBasedChunkGenerator.createBiomes
(Executor p_224298_, RandomState p_224299_, Blender p_224300_, StructureManager p_224301_, ChunkAccess p_224302_) private NoiseChunk
NoiseBasedChunkGenerator.createNoiseChunk
(ChunkAccess p_224257_, StructureManager p_224258_, Blender p_224259_, RandomState p_224260_) FlatLevelSource.createState
(HolderLookup<StructureSet> p_256602_, RandomState p_255830_, long p_256355_) private void
NoiseBasedChunkGenerator.doCreateBiomes
(Blender p_224292_, RandomState p_224293_, StructureManager p_224294_, ChunkAccess p_224295_) private ChunkAccess
NoiseBasedChunkGenerator.doFill
(Blender p_224285_, StructureManager p_224286_, RandomState p_224287_, ChunkAccess p_224288_, int p_224289_, int p_224290_) DebugLevelSource.fillFromNoise
(Executor p_223991_, Blender p_223992_, RandomState p_223993_, StructureManager p_223994_, ChunkAccess p_223995_) FlatLevelSource.fillFromNoise
(Executor p_224183_, Blender p_224184_, RandomState p_224185_, StructureManager p_224186_, ChunkAccess p_224187_) NoiseBasedChunkGenerator.fillFromNoise
(Executor p_224312_, Blender p_224313_, RandomState p_224314_, StructureManager p_224315_, ChunkAccess p_224316_) static NoiseChunk
NoiseChunk.forChunk
(ChunkAccess p_224353_, RandomState p_224354_, DensityFunctions.BeardifierOrMarker p_224355_, NoiseGeneratorSettings p_224356_, Aquifer.FluidPicker p_224357_, Blender p_224358_) DebugLevelSource.getBaseColumn
(int p_223959_, int p_223960_, LevelHeightAccessor p_223961_, RandomState p_223962_) FlatLevelSource.getBaseColumn
(int p_224155_, int p_224156_, LevelHeightAccessor p_224157_, RandomState p_224158_) NoiseBasedChunkGenerator.getBaseColumn
(int p_224211_, int p_224212_, LevelHeightAccessor p_224213_, RandomState p_224214_) int
DebugLevelSource.getBaseHeight
(int p_223964_, int p_223965_, Heightmap.Types p_223966_, LevelHeightAccessor p_223967_, RandomState p_223968_) int
FlatLevelSource.getBaseHeight
(int p_224160_, int p_224161_, Heightmap.Types p_224162_, LevelHeightAccessor p_224163_, RandomState p_224164_) int
NoiseBasedChunkGenerator.getBaseHeight
(int p_224216_, int p_224217_, Heightmap.Types p_224218_, LevelHeightAccessor p_224219_, RandomState p_224220_) protected OptionalInt
NoiseBasedChunkGenerator.iterateNoiseColumn
(LevelHeightAccessor p_224240_, RandomState p_224241_, int p_224242_, int p_224243_, org.apache.commons.lang3.mutable.MutableObject<NoiseColumn> p_224244_, Predicate<BlockState> p_224245_) ModifierConstructorDescriptionprotected
Context
(SurfaceSystem p_224616_, RandomState p_224617_, ChunkAccess p_224618_, NoiseChunk p_224619_, Function<BlockPos, Holder<Biome>> p_224620_, Registry<Biome> p_224621_, WorldGenerationContext p_224622_) NoiseChunk
(int p_224343_, RandomState p_224344_, int p_224345_, int p_224346_, NoiseSettings p_224347_, DensityFunctions.BeardifierOrMarker p_224348_, NoiseGeneratorSettings p_224349_, Aquifer.FluidPicker p_224350_, Blender p_224351_) SurfaceSystem
(RandomState p_224637_, BlockState p_224638_, int p_224639_, PositionalRandomFactory p_224640_) -
Uses of RandomState in net.minecraft.world.level.levelgen.carver
ModifierConstructorDescriptionCarvingContext
(NoiseBasedChunkGenerator p_224845_, RegistryAccess p_224846_, LevelHeightAccessor p_224847_, NoiseChunk p_224848_, RandomState p_224849_, SurfaceRules.RuleSource p_224850_) -
Uses of RandomState in net.minecraft.world.level.levelgen.structure
Modifier and TypeFieldDescriptionprivate final RandomState
Structure.GenerationContext.randomState
The field for therandomState
record component.private final RandomState
StructureCheck.randomState
Modifier and TypeMethodDescriptionStructure.GenerationContext.randomState()
Returns the value of therandomState
record component.Modifier and TypeMethodDescriptionStructure.generate
(RegistryAccess p_226597_, ChunkGenerator p_226598_, BiomeSource p_226599_, RandomState p_226600_, StructureTemplateManager p_226601_, long p_226602_, ChunkPos p_226603_, int p_226604_, LevelHeightAccessor p_226605_, Predicate<Holder<Biome>> p_226606_) ModifierConstructorDescriptionGenerationContext
(RegistryAccess p_226632_, ChunkGenerator p_226633_, BiomeSource p_226634_, RandomState p_226635_, StructureTemplateManager p_226636_, long p_226637_, ChunkPos p_226638_, LevelHeightAccessor p_226639_, Predicate<Holder<Biome>> p_226640_) GenerationContext
(RegistryAccess registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, RandomState randomState, StructureTemplateManager structureTemplateManager, WorldgenRandom random, long seed, ChunkPos chunkPos, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) Creates an instance of aGenerationContext
record class.StructureCheck
(ChunkScanAccess p_226712_, RegistryAccess p_226713_, StructureTemplateManager p_226714_, ResourceKey<Level> p_226715_, ChunkGenerator p_226716_, RandomState p_226717_, LevelHeightAccessor p_226718_, BiomeSource p_226719_, long p_226720_, com.mojang.datafixers.DataFixer p_226721_) -
Uses of RandomState in net.minecraft.world.level.levelgen.structure.pieces
Modifier and TypeFieldDescriptionprivate final RandomState
PieceGeneratorSupplier.Context.randomState
The field for therandomState
record component.Modifier and TypeMethodDescriptionPieceGeneratorSupplier.Context.randomState()
Returns the value of therandomState
record component.ModifierConstructorDescriptionContext
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, RandomState randomState, long seed, ChunkPos chunkPos, C config, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome, StructureTemplateManager structureTemplateManager, RegistryAccess registryAccess) Creates an instance of aContext
record class. -
Uses of RandomState in net.minecraft.world.level.levelgen.structure.pools
Modifier and TypeMethodDescriptionprivate static void
JigsawPlacement.addPieces
(RandomState p_227211_, int p_227212_, boolean p_227213_, ChunkGenerator p_227214_, StructureTemplateManager p_227215_, LevelHeightAccessor p_227216_, RandomSource p_227217_, Registry<StructureTemplatePool> p_227218_, PoolElementStructurePiece p_227219_, List<PoolElementStructurePiece> p_227220_, VoxelShape p_227221_, PoolAliasLookup p_307210_) (package private) void
JigsawPlacement.Placer.tryPlacingChildren
(PoolElementStructurePiece p_227265_, org.apache.commons.lang3.mutable.MutableObject<VoxelShape> p_227266_, int p_227267_, boolean p_227268_, LevelHeightAccessor p_227269_, RandomState p_227270_, PoolAliasLookup p_307643_) -
Uses of RandomState in net.minecraft.world.level.levelgen.structure.structures
Modifier and TypeMethodDescriptionprivate static int
RuinedPortalStructure.findSuitableY
(RandomSource p_229267_, ChunkGenerator p_229268_, RuinedPortalPiece.VerticalPlacement p_229269_, boolean p_229270_, int p_229271_, int p_229272_, BoundingBox p_229273_, LevelHeightAccessor p_229274_, RandomState p_229275_)