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
Fields in net.minecraft.world.level.chunk declared as RandomStateModifier and TypeFieldDescriptionprivate final RandomState
ChunkGeneratorStructureState.randomState
Methods in net.minecraft.world.level.chunk that return RandomStateMethods in net.minecraft.world.level.chunk with parameters of type RandomStateModifier and TypeMethodDescriptionabstract void
ChunkGenerator.addDebugScreenInfo
(List<String> pInfo, RandomState pRandom, BlockPos pPos) abstract void
ChunkGenerator.applyCarvers
(WorldGenRegion pLevel, long pSeed, RandomState pRandom, BiomeManager pBiomeManager, StructureManager pStructureManager, ChunkAccess pChunk, GenerationStep.Carving pStep) abstract void
ChunkGenerator.buildSurface
(WorldGenRegion pLevel, StructureManager pStructureManager, RandomState pRandom, ChunkAccess pChunk) ChunkGenerator.createBiomes
(RandomState pRandomState, Blender pBlender, StructureManager pStructureManager, ChunkAccess pChunk) static ChunkGeneratorStructureState
ChunkGeneratorStructureState.createForFlat
(RandomState pRandomState, long pLevelSeed, BiomeSource pBiomeSource, Stream<Holder<StructureSet>> pStructureSets) static ChunkGeneratorStructureState
ChunkGeneratorStructureState.createForNormal
(RandomState pRandomState, long pSeed, BiomeSource pBiomeSource, HolderLookup<StructureSet> pStructureSetLookup) ChunkGenerator.createState
(HolderLookup<StructureSet> pStructureSetLookup, RandomState pRandomState, long pSeed) abstract CompletableFuture
<ChunkAccess> ChunkGenerator.fillFromNoise
(Blender pBlender, RandomState pRandomState, StructureManager pStructureManager, ChunkAccess pChunk) abstract NoiseColumn
ChunkGenerator.getBaseColumn
(int pX, int pZ, LevelHeightAccessor pHeight, RandomState pRandom) abstract int
ChunkGenerator.getBaseHeight
(int pX, int pZ, Heightmap.Types pType, LevelHeightAccessor pLevel, RandomState pRandom) int
ChunkGenerator.getFirstFreeHeight
(int pX, int pZ, Heightmap.Types pType, LevelHeightAccessor pLevel, RandomState pRandom) int
ChunkGenerator.getFirstOccupiedHeight
(int pX, int pZ, Heightmap.Types pTypes, LevelHeightAccessor pLevel, RandomState pRandom) private boolean
ChunkGenerator.tryGenerateStructure
(StructureSet.StructureSelectionEntry pStructureSelectionEntry, StructureManager pStructureManager, RegistryAccess pRegistryAccess, RandomState pRandom, StructureTemplateManager pStructureTemplateManager, long pSeed, ChunkAccess pChunk, ChunkPos pChunkPos, SectionPos pSectionPos) Constructors in net.minecraft.world.level.chunk with parameters of type RandomStateModifierConstructorDescriptionprivate
ChunkGeneratorStructureState
(RandomState pRandomState, BiomeSource pBiomeSource, long pLevelSeed, long pCocentricRingsSeed, List<Holder<StructureSet>> pPossibleStructureSets) -
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
(HolderGetter.Provider pRegistries, ResourceKey<NoiseGeneratorSettings> pSettingsKey, long pLevelSeed) static RandomState
RandomState.create
(NoiseGeneratorSettings pSettings, HolderGetter<NormalNoise.NoiseParameters> pNoiseParametersGetter, long pLevelSeed) Methods in net.minecraft.world.level.levelgen with parameters of type RandomStateModifier and TypeMethodDescriptionvoid
DebugLevelSource.addDebugScreenInfo
(List<String> pInfo, RandomState pRandom, BlockPos pPos) void
FlatLevelSource.addDebugScreenInfo
(List<String> pInfo, RandomState pRandom, BlockPos pPos) void
NoiseBasedChunkGenerator.addDebugScreenInfo
(List<String> pInfo, RandomState pRandom, BlockPos pPos) void
DebugLevelSource.applyCarvers
(WorldGenRegion pLevel, long pSeed, RandomState pRandom, BiomeManager pBiomeManager, StructureManager pStructureManager, ChunkAccess pChunk, GenerationStep.Carving pStep) void
FlatLevelSource.applyCarvers
(WorldGenRegion pLevel, long pSeed, RandomState pRandom, BiomeManager pBiomeManager, StructureManager pStructureManager, ChunkAccess pChunk, GenerationStep.Carving pStep) void
NoiseBasedChunkGenerator.applyCarvers
(WorldGenRegion pLevel, long pSeed, RandomState pRandom, BiomeManager pBiomeManager, StructureManager pStructureManager, ChunkAccess pChunk, GenerationStep.Carving pStep) void
DebugLevelSource.buildSurface
(WorldGenRegion pLevel, StructureManager pStructureManager, RandomState pRandom, ChunkAccess pChunk) void
FlatLevelSource.buildSurface
(WorldGenRegion pLevel, StructureManager pStructureManager, RandomState pRandom, ChunkAccess pChunk) void
NoiseBasedChunkGenerator.buildSurface
(WorldGenRegion pLevel, StructureManager pStructureManager, RandomState pRandom, ChunkAccess pChunk) void
NoiseBasedChunkGenerator.buildSurface
(ChunkAccess pChunk, WorldGenerationContext pContext, RandomState pRandom, StructureManager pStructureManager, BiomeManager pBiomeManager, Registry<Biome> pBiomes, Blender pBlender) void
SurfaceSystem.buildSurface
(RandomState pRandomState, BiomeManager pBiomeManager, Registry<Biome> pBiomes, boolean pUseLegacyRandomSource, WorldGenerationContext pContext, ChunkAccess pChunk, NoiseChunk pNoiseChunk, SurfaceRules.RuleSource pRuleSource) NoiseBasedChunkGenerator.createBiomes
(RandomState pRandomState, Blender pBlender, StructureManager pStructureManager, ChunkAccess pChunk) private NoiseChunk
NoiseBasedChunkGenerator.createNoiseChunk
(ChunkAccess pChunk, StructureManager pStructureManager, Blender pBlender, RandomState pRandom) FlatLevelSource.createState
(HolderLookup<StructureSet> pStructureSetLookup, RandomState pRandomState, long pSeed) private void
NoiseBasedChunkGenerator.doCreateBiomes
(Blender pBlender, RandomState pRandom, StructureManager pStructureManager, ChunkAccess pChunk) private ChunkAccess
NoiseBasedChunkGenerator.doFill
(Blender pBlender, StructureManager pStructureManager, RandomState pRandom, ChunkAccess pChunk, int pMinCellY, int pCellCountY) DebugLevelSource.fillFromNoise
(Blender pBlender, RandomState pRandomState, StructureManager pStructureManager, ChunkAccess pChunk) FlatLevelSource.fillFromNoise
(Blender pBlender, RandomState pRandomState, StructureManager pStructureManager, ChunkAccess pChunk) NoiseBasedChunkGenerator.fillFromNoise
(Blender pBlender, RandomState pRandomState, StructureManager pStructureManager, ChunkAccess pChunk) static NoiseChunk
NoiseChunk.forChunk
(ChunkAccess pChunk, RandomState pState, DensityFunctions.BeardifierOrMarker pBeardifierOrMarker, NoiseGeneratorSettings pNoiseGeneratorSettings, Aquifer.FluidPicker pFluidPicke, Blender pBlender) DebugLevelSource.getBaseColumn
(int pX, int pZ, LevelHeightAccessor pHeight, RandomState pRandom) FlatLevelSource.getBaseColumn
(int pX, int pZ, LevelHeightAccessor pHeight, RandomState pRandom) NoiseBasedChunkGenerator.getBaseColumn
(int pX, int pZ, LevelHeightAccessor pHeight, RandomState pRandom) int
DebugLevelSource.getBaseHeight
(int pX, int pZ, Heightmap.Types pType, LevelHeightAccessor pLevel, RandomState pRandom) int
FlatLevelSource.getBaseHeight
(int pX, int pZ, Heightmap.Types pType, LevelHeightAccessor pLevel, RandomState pRandom) int
NoiseBasedChunkGenerator.getBaseHeight
(int pX, int pZ, Heightmap.Types pType, LevelHeightAccessor pLevel, RandomState pRandom) 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 pSystem, RandomState pRandomState, ChunkAccess pChunk, NoiseChunk pNoiseChunk, Function<BlockPos, Holder<Biome>> pBiomeGetter, Registry<Biome> p_224621_, WorldGenerationContext pContext) NoiseChunk
(int pCellCountXZ, RandomState pRandom, int pFirstNoiseX, int pFirstNoiseZ, NoiseSettings pNoiseSettings, DensityFunctions.BeardifierOrMarker pBeardifier, NoiseGeneratorSettings pNoiseGeneratorSettings, Aquifer.FluidPicker pFluidPicker, Blender pBlendifier) SurfaceSystem
(RandomState pRandomState, BlockState pDefaultBlock, int pSeaLevel, PositionalRandomFactory pNoiseRandom) -
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 pGenerator, RegistryAccess pRegistryAccess, LevelHeightAccessor pLevel, NoiseChunk pNoiseChunk, RandomState pRandomState, SurfaceRules.RuleSource pSurfaceRule) -
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 pRegistryAccess, ChunkGenerator pChunkGenerator, BiomeSource pBiomeSource, RandomState pRandomState, StructureTemplateManager pStructureTemplateManager, long pSeed, ChunkPos pChunkPos, int pReferences, LevelHeightAccessor pHeightAccessor, Predicate<Holder<Biome>> pValidBiome) 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.pools
Methods in net.minecraft.world.level.levelgen.structure.pools with parameters of type RandomStateModifier and TypeMethodDescriptionprivate static void
JigsawPlacement.addPieces
(RandomState pRandomState, int pMaxDepth, boolean pUseExpansionHack, ChunkGenerator pChunkGenerator, StructureTemplateManager pStructureTemplateManager, LevelHeightAccessor pLevel, RandomSource pRandom, Registry<StructureTemplatePool> pPools, PoolElementStructurePiece pStartPiece, List<PoolElementStructurePiece> pPieces, VoxelShape pFree, PoolAliasLookup pAliasLookup, LiquidSettings pLiquidSettings) (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_, LiquidSettings p_352442_) -
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 pRandom, ChunkGenerator pChunkGenerator, RuinedPortalPiece.VerticalPlacement pVerticalPlacement, boolean pAirPocket, int pHeight, int pBlockCountY, BoundingBox pBox, LevelHeightAccessor pLevel, RandomState pRandomState)