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> info, RandomState random, BlockPos pos) abstract void
ChunkGenerator.applyCarvers
(WorldGenRegion level, long seed, RandomState random, BiomeManager biomeManager, StructureManager structureManager, ChunkAccess chunk, GenerationStep.Carving step) abstract void
ChunkGenerator.buildSurface
(WorldGenRegion level, StructureManager structureManager, RandomState random, ChunkAccess chunk) ChunkGenerator.createBiomes
(RandomState randomState, Blender blender, StructureManager structureManager, ChunkAccess chunk) static ChunkGeneratorStructureState
ChunkGeneratorStructureState.createForFlat
(RandomState randomState, long levelSeed, BiomeSource biomeSource, Stream<Holder<StructureSet>> structureSets) static ChunkGeneratorStructureState
ChunkGeneratorStructureState.createForNormal
(RandomState randomState, long seed, BiomeSource biomeSource, HolderLookup<StructureSet> structureSetLookup) ChunkGenerator.createState
(HolderLookup<StructureSet> structureSetLookup, RandomState randomState, long seed) abstract CompletableFuture
<ChunkAccess> ChunkGenerator.fillFromNoise
(Blender blender, RandomState randomState, StructureManager structureManager, ChunkAccess chunk) abstract NoiseColumn
ChunkGenerator.getBaseColumn
(int x, int z, LevelHeightAccessor height, RandomState random) abstract int
ChunkGenerator.getBaseHeight
(int x, int z, Heightmap.Types type, LevelHeightAccessor level, RandomState random) int
ChunkGenerator.getFirstFreeHeight
(int x, int z, Heightmap.Types type, LevelHeightAccessor level, RandomState random) int
ChunkGenerator.getFirstOccupiedHeight
(int x, int z, Heightmap.Types types, LevelHeightAccessor level, RandomState random) private boolean
ChunkGenerator.tryGenerateStructure
(StructureSet.StructureSelectionEntry structureSelectionEntry, StructureManager structureManager, RegistryAccess registryAccess, RandomState random, StructureTemplateManager structureTemplateManager, long seed, ChunkAccess chunk, ChunkPos chunkPos, SectionPos sectionPos) Constructors in net.minecraft.world.level.chunk with parameters of type RandomStateModifierConstructorDescriptionprivate
ChunkGeneratorStructureState
(RandomState randomState, BiomeSource biomeSource, long levelSeed, long cocentricRingsSeed, List<Holder<StructureSet>> possibleStructureSets) -
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 registries, ResourceKey<NoiseGeneratorSettings> settingsKey, long levelSeed) static RandomState
RandomState.create
(NoiseGeneratorSettings settings, HolderGetter<NormalNoise.NoiseParameters> noiseParametersGetter, long levelSeed) Methods in net.minecraft.world.level.levelgen with parameters of type RandomStateModifier and TypeMethodDescriptionvoid
DebugLevelSource.addDebugScreenInfo
(List<String> info, RandomState random, BlockPos pos) void
FlatLevelSource.addDebugScreenInfo
(List<String> info, RandomState random, BlockPos pos) void
NoiseBasedChunkGenerator.addDebugScreenInfo
(List<String> info, RandomState random, BlockPos pos) void
DebugLevelSource.applyCarvers
(WorldGenRegion level, long seed, RandomState random, BiomeManager biomeManager, StructureManager structureManager, ChunkAccess chunk, GenerationStep.Carving step) void
FlatLevelSource.applyCarvers
(WorldGenRegion level, long seed, RandomState random, BiomeManager biomeManager, StructureManager structureManager, ChunkAccess chunk, GenerationStep.Carving step) void
NoiseBasedChunkGenerator.applyCarvers
(WorldGenRegion level, long seed, RandomState random, BiomeManager biomeManager, StructureManager structureManager, ChunkAccess chunk, GenerationStep.Carving step) void
DebugLevelSource.buildSurface
(WorldGenRegion level, StructureManager structureManager, RandomState random, ChunkAccess chunk) void
FlatLevelSource.buildSurface
(WorldGenRegion level, StructureManager structureManager, RandomState random, ChunkAccess chunk) void
NoiseBasedChunkGenerator.buildSurface
(WorldGenRegion level, StructureManager structureManager, RandomState random, ChunkAccess chunk) void
NoiseBasedChunkGenerator.buildSurface
(ChunkAccess chunk, WorldGenerationContext context, RandomState random, StructureManager structureManager, BiomeManager biomeManager, Registry<Biome> biomes, Blender blender) void
SurfaceSystem.buildSurface
(RandomState randomState, BiomeManager biomeManager, Registry<Biome> biomes, boolean useLegacyRandomSource, WorldGenerationContext context, ChunkAccess chunk, NoiseChunk noiseChunk, SurfaceRules.RuleSource ruleSource) NoiseBasedChunkGenerator.createBiomes
(RandomState randomState, Blender blender, StructureManager structureManager, ChunkAccess chunk) private NoiseChunk
NoiseBasedChunkGenerator.createNoiseChunk
(ChunkAccess chunk, StructureManager structureManager, Blender blender, RandomState random) FlatLevelSource.createState
(HolderLookup<StructureSet> structureSetLookup, RandomState randomState, long seed) private void
NoiseBasedChunkGenerator.doCreateBiomes
(Blender blender, RandomState random, StructureManager structureManager, ChunkAccess chunk) private ChunkAccess
NoiseBasedChunkGenerator.doFill
(Blender blender, StructureManager structureManager, RandomState random, ChunkAccess chunk, int minCellY, int cellCountY) DebugLevelSource.fillFromNoise
(Blender blender, RandomState randomState, StructureManager structureManager, ChunkAccess chunk) FlatLevelSource.fillFromNoise
(Blender blender, RandomState randomState, StructureManager structureManager, ChunkAccess chunk) NoiseBasedChunkGenerator.fillFromNoise
(Blender blender, RandomState randomState, StructureManager structureManager, ChunkAccess chunk) static NoiseChunk
NoiseChunk.forChunk
(ChunkAccess chunk, RandomState state, DensityFunctions.BeardifierOrMarker beardifierOrMarker, NoiseGeneratorSettings noiseGeneratorSettings, Aquifer.FluidPicker fluidPicke, Blender blender) DebugLevelSource.getBaseColumn
(int x, int z, LevelHeightAccessor height, RandomState random) FlatLevelSource.getBaseColumn
(int x, int z, LevelHeightAccessor height, RandomState random) NoiseBasedChunkGenerator.getBaseColumn
(int x, int z, LevelHeightAccessor height, RandomState random) int
DebugLevelSource.getBaseHeight
(int x, int z, Heightmap.Types type, LevelHeightAccessor level, RandomState random) int
FlatLevelSource.getBaseHeight
(int x, int z, Heightmap.Types type, LevelHeightAccessor level, RandomState random) int
NoiseBasedChunkGenerator.getBaseHeight
(int x, int z, Heightmap.Types type, LevelHeightAccessor level, RandomState random) protected OptionalInt
NoiseBasedChunkGenerator.iterateNoiseColumn
(LevelHeightAccessor level, RandomState random, int x, int z, org.apache.commons.lang3.mutable.MutableObject<NoiseColumn> column, Predicate<BlockState> stoppingState) Constructors in net.minecraft.world.level.levelgen with parameters of type RandomStateModifierConstructorDescriptionprotected
Context
(SurfaceSystem system, RandomState randomState, ChunkAccess chunk, NoiseChunk noiseChunk, Function<BlockPos, Holder<Biome>> biomeGetter, Registry<Biome> p_224621_, WorldGenerationContext context) NoiseChunk
(int cellCountXZ, RandomState random, int firstNoiseX, int firstNoiseZ, NoiseSettings noiseSettings, DensityFunctions.BeardifierOrMarker beardifier, NoiseGeneratorSettings noiseGeneratorSettings, Aquifer.FluidPicker fluidPicker, Blender blendifier) SurfaceSystem
(RandomState randomState, BlockState defaultBlock, int seaLevel, PositionalRandomFactory noiseRandom) -
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 generator, RegistryAccess registryAccess, LevelHeightAccessor level, NoiseChunk noiseChunk, RandomState randomState, SurfaceRules.RuleSource surfaceRule) -
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 registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, ChunkPos chunkPos, int references, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) 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 storageAccess, RegistryAccess registryAccess, StructureTemplateManager structureTemplateManager, ResourceKey<Level> dimension, ChunkGenerator chunkGenerator, RandomState randomState, LevelHeightAccessor heightAccessor, BiomeSource biomeSource, long seed, com.mojang.datafixers.DataFixer fixerUpper) -
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 randomState, int maxDepth, boolean useExpansionHack, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, LevelHeightAccessor level, RandomSource random, Registry<StructureTemplatePool> pools, PoolElementStructurePiece startPiece, List<PoolElementStructurePiece> pieces, VoxelShape free, PoolAliasLookup aliasLookup, LiquidSettings liquidSettings) (package private) void
JigsawPlacement.Placer.tryPlacingChildren
(PoolElementStructurePiece piece, org.apache.commons.lang3.mutable.MutableObject<VoxelShape> free, int depth, boolean useExpansionHack, LevelHeightAccessor level, RandomState random, PoolAliasLookup poolAliasLookup, LiquidSettings liquidSettings) -
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 random, ChunkGenerator chunkGenerator, RuinedPortalPiece.VerticalPlacement verticalPlacement, boolean airPocket, int height, int blockCountY, BoundingBox box, LevelHeightAccessor level, RandomState randomState)