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 RandomStateChunkMap.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 RandomStateChunkGeneratorStructureState.randomStateMethods in net.minecraft.world.level.chunk that return RandomStateMethods in net.minecraft.world.level.chunk with parameters of type RandomStateModifier and TypeMethodDescriptionabstract voidChunkGenerator.addDebugScreenInfo(List<String> info, RandomState random, BlockPos pos) abstract voidChunkGenerator.applyCarvers(WorldGenRegion level, long seed, RandomState random, BiomeManager biomeManager, StructureManager structureManager, ChunkAccess chunk, GenerationStep.Carving step) abstract voidChunkGenerator.buildSurface(WorldGenRegion level, StructureManager structureManager, RandomState random, ChunkAccess chunk) ChunkGenerator.createBiomes(RandomState randomState, Blender blender, StructureManager structureManager, ChunkAccess chunk) static ChunkGeneratorStructureStateChunkGeneratorStructureState.createForFlat(RandomState randomState, long levelSeed, BiomeSource biomeSource, Stream<Holder<StructureSet>> structureSets) static ChunkGeneratorStructureStateChunkGeneratorStructureState.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 NoiseColumnChunkGenerator.getBaseColumn(int x, int z, LevelHeightAccessor height, RandomState random) abstract intChunkGenerator.getBaseHeight(int x, int z, Heightmap.Types type, LevelHeightAccessor level, RandomState random) intChunkGenerator.getFirstFreeHeight(int x, int z, Heightmap.Types type, LevelHeightAccessor level, RandomState random) intChunkGenerator.getFirstOccupiedHeight(int x, int z, Heightmap.Types types, LevelHeightAccessor level, RandomState random) private booleanChunkGenerator.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 RandomStateModifierConstructorDescriptionprivateChunkGeneratorStructureState(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 RandomStateSurfaceRules.Context.randomStateMethods in net.minecraft.world.level.levelgen that return RandomStateModifier and TypeMethodDescriptionstatic RandomStateRandomState.create(HolderGetter.Provider registries, ResourceKey<NoiseGeneratorSettings> settingsKey, long levelSeed) static RandomStateRandomState.create(NoiseGeneratorSettings settings, HolderGetter<NormalNoise.NoiseParameters> noiseParametersGetter, long levelSeed) Methods in net.minecraft.world.level.levelgen with parameters of type RandomStateModifier and TypeMethodDescriptionvoidDebugLevelSource.addDebugScreenInfo(List<String> info, RandomState random, BlockPos pos) voidFlatLevelSource.addDebugScreenInfo(List<String> info, RandomState random, BlockPos pos) voidNoiseBasedChunkGenerator.addDebugScreenInfo(List<String> info, RandomState random, BlockPos pos) voidDebugLevelSource.applyCarvers(WorldGenRegion level, long seed, RandomState random, BiomeManager biomeManager, StructureManager structureManager, ChunkAccess chunk, GenerationStep.Carving step) voidFlatLevelSource.applyCarvers(WorldGenRegion level, long seed, RandomState random, BiomeManager biomeManager, StructureManager structureManager, ChunkAccess chunk, GenerationStep.Carving step) voidNoiseBasedChunkGenerator.applyCarvers(WorldGenRegion level, long seed, RandomState random, BiomeManager biomeManager, StructureManager structureManager, ChunkAccess chunk, GenerationStep.Carving step) voidDebugLevelSource.buildSurface(WorldGenRegion level, StructureManager structureManager, RandomState random, ChunkAccess chunk) voidFlatLevelSource.buildSurface(WorldGenRegion level, StructureManager structureManager, RandomState random, ChunkAccess chunk) voidNoiseBasedChunkGenerator.buildSurface(WorldGenRegion level, StructureManager structureManager, RandomState random, ChunkAccess chunk) voidNoiseBasedChunkGenerator.buildSurface(ChunkAccess chunk, WorldGenerationContext context, RandomState random, StructureManager structureManager, BiomeManager biomeManager, Registry<Biome> biomes, Blender blender) voidSurfaceSystem.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 NoiseChunkNoiseBasedChunkGenerator.createNoiseChunk(ChunkAccess chunk, StructureManager structureManager, Blender blender, RandomState random) FlatLevelSource.createState(HolderLookup<StructureSet> structureSetLookup, RandomState randomState, long seed) private voidNoiseBasedChunkGenerator.doCreateBiomes(Blender blender, RandomState random, StructureManager structureManager, ChunkAccess chunk) private ChunkAccessNoiseBasedChunkGenerator.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 NoiseChunkNoiseChunk.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) intDebugLevelSource.getBaseHeight(int x, int z, Heightmap.Types type, LevelHeightAccessor level, RandomState random) intFlatLevelSource.getBaseHeight(int x, int z, Heightmap.Types type, LevelHeightAccessor level, RandomState random) intNoiseBasedChunkGenerator.getBaseHeight(int x, int z, Heightmap.Types type, LevelHeightAccessor level, RandomState random) protected OptionalIntNoiseBasedChunkGenerator.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 RandomStateModifierConstructorDescriptionprotectedContext(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 RandomStateStructure.GenerationContext.randomStateThe field for therandomStaterecord component.private final RandomStateStructureCheck.randomStateMethods in net.minecraft.world.level.levelgen.structure that return RandomStateModifier and TypeMethodDescriptionStructure.GenerationContext.randomState()Returns the value of therandomStaterecord 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 aGenerationContextrecord 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 RandomStatePieceGeneratorSupplier.Context.randomStateThe field for therandomStaterecord component.Methods in net.minecraft.world.level.levelgen.structure.pieces that return RandomStateModifier and TypeMethodDescriptionPieceGeneratorSupplier.Context.randomState()Returns the value of therandomStaterecord 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 aContextrecord 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 voidJigsawPlacement.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) voidJigsawPlacement.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 intRuinedPortalStructure.findSuitableY(RandomSource random, ChunkGenerator chunkGenerator, RuinedPortalPiece.VerticalPlacement verticalPlacement, boolean airPocket, int height, int blockCountY, BoundingBox box, LevelHeightAccessor level, RandomState randomState)