Uses of Class
net.minecraft.world.level.levelgen.RandomState
Packages that use RandomState
Package
Description
-
Uses of RandomState in net.minecraft.server.level
Fields in net.minecraft.server.level declared as RandomStateMethods in net.minecraft.server.level that return RandomStateModifier and TypeMethodDescriptionprotected RandomState
ChunkMap.randomState()
ServerChunkCache.randomState()
-
Uses of RandomState in net.minecraft.world.level.chunk
Methods in net.minecraft.world.level.chunk with parameters of type RandomStateModifier 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
(Registry<Biome> p_223158_, Executor p_223159_, RandomState p_223160_, Blender p_223161_, StructureManager p_223162_, ChunkAccess p_223163_) void
ChunkGenerator.createStructures
(RegistryAccess p_223165_, RandomState p_223166_, StructureManager p_223167_, ChunkAccess p_223168_, StructureTemplateManager p_223169_, long p_223170_) void
ChunkGenerator.ensureStructuresGenerated
(RandomState p_223101_) abstract CompletableFuture<ChunkAccess>
ChunkGenerator.fillFromNoise
(Executor p_223209_, Blender p_223210_, RandomState p_223211_, StructureManager p_223212_, ChunkAccess p_223213_) private void
ChunkGenerator.generatePositions
(RandomState p_223228_) private CompletableFuture<List<ChunkPos>>
ChunkGenerator.generateRingPositions
(Holder<StructureSet> p_223149_, RandomState p_223150_, ConcentricRingsStructurePlacement p_223151_) 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 List<StructurePlacement>
ChunkGenerator.getPlacementsForStructure
(Holder<Structure> p_223139_, RandomState p_223140_) ChunkGenerator.getRingPositionsFor
(ConcentricRingsStructurePlacement p_223120_, RandomState p_223121_) boolean
ChunkGenerator.hasStructureChunkInRange
(Holder<StructureSet> p_223142_, RandomState p_223143_, long p_223144_, int p_223145_, int p_223146_, int p_223147_) 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_) -
Uses of RandomState in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as RandomStateModifier and TypeFieldDescription(package private) final RandomState
SurfaceRules.Context.randomState
Methods in net.minecraft.world.level.levelgen that return RandomStateModifier and TypeMethodDescriptionstatic RandomState
RandomState.create
(RegistryAccess p_224575_, ResourceKey<NoiseGeneratorSettings> p_224576_, long p_224577_) static RandomState
RandomState.create
(NoiseGeneratorSettings p_224571_, Registry<NormalNoise.NoiseParameters> p_224572_, long p_224573_) Methods in net.minecraft.world.level.levelgen with parameters of type RandomStateModifier 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
(Registry<Biome> p_224297_, 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_) 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_) Constructors in net.minecraft.world.level.levelgen with parameters of type RandomStateModifierConstructorDescriptionprotected
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
Fields in net.minecraft.world.level.levelgen.carver declared as RandomStateMethods in net.minecraft.world.level.levelgen.carver that return RandomStateConstructors in net.minecraft.world.level.levelgen.carver with parameters of type RandomStateModifierConstructorDescriptionCarvingContext
(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
Fields in net.minecraft.world.level.levelgen.structure declared as RandomStateModifier and TypeFieldDescriptionprivate final RandomState
Structure.GenerationContext.randomState
The field for therandomState
record component.private final RandomState
StructureCheck.randomState
Methods in net.minecraft.world.level.levelgen.structure that return RandomStateModifier and TypeMethodDescriptionStructure.GenerationContext.randomState()
Returns the value of therandomState
record component.Methods in net.minecraft.world.level.levelgen.structure with parameters of type RandomStateModifier 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_) private static boolean
Structure.isValidBiome
(Structure.GenerationStub p_226590_, ChunkGenerator p_226591_, RandomState p_226592_, Predicate<Holder<Biome>> p_226593_) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type RandomStateModifierConstructorDescriptionGenerationContext
(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
Fields in net.minecraft.world.level.levelgen.structure.pieces declared as RandomStateModifier and TypeFieldDescriptionprivate final RandomState
PieceGeneratorSupplier.Context.randomState
The field for therandomState
record component.Methods in net.minecraft.world.level.levelgen.structure.pieces that return RandomStateModifier and TypeMethodDescriptionPieceGeneratorSupplier.Context.randomState()
Returns the value of therandomState
record component.Constructors in net.minecraft.world.level.levelgen.structure.pieces with parameters of type RandomStateModifierConstructorDescriptionContext
(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.placement
Methods in net.minecraft.world.level.levelgen.structure.placement with parameters of type RandomStateModifier and TypeMethodDescriptionprotected boolean
ConcentricRingsStructurePlacement.isPlacementChunk
(ChunkGenerator p_226991_, RandomState p_226992_, long p_226993_, int p_226994_, int p_226995_) protected boolean
RandomSpreadStructurePlacement.isPlacementChunk
(ChunkGenerator p_227013_, RandomState p_227014_, long p_227015_, int p_227016_, int p_227017_) protected abstract boolean
StructurePlacement.isPlacementChunk
(ChunkGenerator p_227043_, RandomState p_227044_, long p_227045_, int p_227046_, int p_227047_) (package private) boolean
StructurePlacement.ExclusionZone.isPlacementForbidden
(ChunkGenerator p_227088_, RandomState p_227089_, long p_227090_, int p_227091_, int p_227092_) Deprecated.boolean
StructurePlacement.isStructureChunk
(ChunkGenerator p_227055_, RandomState p_227056_, long p_227057_, int p_227058_, int p_227059_) -
Uses of RandomState in net.minecraft.world.level.levelgen.structure.pools
Methods in net.minecraft.world.level.levelgen.structure.pools with parameters of type RandomStateModifier 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_) (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_) -
Uses of RandomState in net.minecraft.world.level.levelgen.structure.structures
Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type RandomStateModifier 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_)