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.biome
Methods in net.minecraft.world.level.biome with parameters of type RandomStateModifier and TypeMethodDescriptionfinal BiomeResolverBiomeSource.createCachingResolver(RandomState randomState) final BiomeResolverBiomeSource.createUncachedResolver(RandomState randomState) BiomeSource.findBiomeHorizontal(int originX, int originY, int originZ, int searchRadius, int skipSteps, Predicate<Holder<Biome>> allowed, RandomSource random, boolean findClosest, RandomState randomState) BiomeSource.findBiomeHorizontal(int x, int y, int z, int searchRadius, Predicate<Holder<Biome>> allowed, RandomSource random, RandomState randomState) FixedBiomeSource.findBiomeHorizontal(int originX, int originY, int originZ, int r, int skipStep, Predicate<Holder<Biome>> allowed, RandomSource random, boolean findClosest, RandomState randomState) BiomeSource.findClosestBiome3d(BlockPos origin, int searchRadius, int sampleResolutionHorizontal, int sampleResolutionVertical, Predicate<Holder<Biome>> allowed, RandomState randomState, LevelReader level) FixedBiomeSource.findClosestBiome3d(BlockPos origin, int searchRadius, int sampleResolutionHorizontal, int sampleResolutionVertical, Predicate<Holder<Biome>> allowed, RandomState randomState, LevelReader level) -
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> result, RandomState randomState, BlockPos feetPos, SamplerContext samplerContext) abstract CompletableFuture<ChunkAccess> ChunkGenerator.buildTerrain(ChunkAccess chunk, Blender blender, RandomState randomState, StructureManager structureManager, BiomeManager biomeManager, @Nullable WorldGenRegion carverBiomeRegion, Set<Holder<Biome>> possibleBiomes) ChunkGenerator.createBiomes(RandomState randomState, Blender blender, StructureManager structureManager, ChunkAccess protoChunk) static ChunkGeneratorStructureStateChunkGeneratorStructureState.createForFlat(RandomState randomState, long levelSeed, ChunkPos origin, BiomeSource biomeSource, Stream<Holder<StructureSet>> structureOverrides) static ChunkGeneratorStructureStateChunkGeneratorStructureState.createForNormal(RandomState randomState, long levelSeed, ChunkPos origin, BiomeSource biomeSource, HolderLookup<StructureSet> allStructures) ChunkGenerator.createState(HolderLookup<StructureSet> structureSets, RandomState randomState, long legacyLevelSeed) private voidChunkGenerator.doCreateBiomes(Blender blender, RandomState randomState, ChunkAccess protoChunk) abstract NoiseColumnChunkGenerator.getBaseColumn(int x, int z, LevelHeightAccessor heightAccessor, RandomState randomState) abstract intChunkGenerator.getBaseHeight(int x, int z, Heightmap.Types type, LevelHeightAccessor heightAccessor, RandomState randomState) intChunkGenerator.getFirstFreeHeight(int x, int z, Heightmap.Types type, LevelHeightAccessor heightAccessor, RandomState randomState) intChunkGenerator.getFirstOccupiedHeight(int x, int z, Heightmap.Types type, LevelHeightAccessor heightAccessor, RandomState randomState) ChunkGenerator.getOrigin(RandomState randomState) private booleanChunkGenerator.tryGenerateStructure(StructureSet.StructureSelectionEntry selected, StructureManager structureManager, RegistryAccess registryAccess, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, ChunkAccess centerChunk, ChunkPos sourceChunkPos, ResourceKey<Level> level, Climate.Sampler climateSampler) Constructors in net.minecraft.world.level.chunk with parameters of type RandomStateModifierConstructorDescriptionprivateChunkGeneratorStructureState(RandomState randomState, BiomeSource biomeSource, long levelSeed, ChunkPos origin, long concentricRingsSeed, List<Holder<StructureSet>> possibleStructureSets) -
Uses of RandomState in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as RandomStateMethods in net.minecraft.world.level.levelgen that return RandomStateModifier and TypeMethodDescriptionstatic RandomStateRandomState.create(HolderGetter<NormalNoise> noises, long seed, boolean useLegacyRandom, BlockState defaultBlock, int seaLevel, NoiseRouter noiseRouter) static RandomStateRandomState.create(HolderGetter<NormalNoise> noises, long seed, NoiseGeneratorSettings settings) Methods in net.minecraft.world.level.levelgen with parameters of type RandomStateModifier and TypeMethodDescriptionvoidDebugLevelSource.addDebugScreenInfo(List<String> result, RandomState randomState, BlockPos feetPos, SamplerContext samplerContext) voidFlatLevelSource.addDebugScreenInfo(List<String> result, RandomState randomState, BlockPos feetPos, SamplerContext samplerContext) voidNoiseBasedChunkGenerator.addDebugScreenInfo(List<String> result, RandomState randomState, BlockPos feetPos, SamplerContext samplerContext) private voidNoiseBasedChunkGenerator.applyCarvingMask(ChunkAccess chunk, CarvingMask mask, RandomState randomState, MaterialRule materialRule, WorldGenerationContext context, NoiseChunk noiseChunk, Function<BlockPos, Holder<Biome>> biomeGetter, @Nullable CarvingMask.Filter filter) private voidNoiseBasedChunkGenerator.buildSurface(ChunkAccess protoChunk, NoiseChunk noiseChunk, RandomState randomState, BiomeManager biomeManager, Set<Holder<Biome>> possibleBiomes, MaterialRule materialRule) DebugLevelSource.buildTerrain(ChunkAccess chunk, Blender blender, RandomState randomState, StructureManager structureManager, BiomeManager biomeManager, @Nullable WorldGenRegion carverBiomeRegion, Set<Holder<Biome>> possibleBiomes) FlatLevelSource.buildTerrain(ChunkAccess chunk, Blender blender, RandomState randomState, StructureManager structureManager, BiomeManager biomeManager, @Nullable WorldGenRegion carverBiomeRegion, Set<Holder<Biome>> possibleBiomes) NoiseBasedChunkGenerator.buildTerrain(ChunkAccess chunk, Blender blender, RandomState randomState, StructureManager structureManager, BiomeManager biomeManager, @Nullable WorldGenRegion carverBiomeRegion, Set<Holder<Biome>> possibleBiomes) private NoiseChunkNoiseBasedChunkGenerator.createNoiseChunk(ChunkAccess chunk, StructureManager structureManager, Blender blender, RandomState randomState, NoiseSettings noiseSettings) FlatLevelSource.createState(HolderLookup<StructureSet> structureSets, RandomState randomState, long levelSeed) private voidNoiseBasedChunkGenerator.generateCarvers(ChunkAccess chunk, Blender blender, NoiseChunk noiseChunk, RandomState randomState, BiomeManager biomeManager, @Nullable WorldGenRegion carverBiomeRegion, MaterialRule materialRule) DebugLevelSource.getBaseColumn(int x, int z, LevelHeightAccessor heightAccessor, RandomState randomState) FlatLevelSource.getBaseColumn(int x, int z, LevelHeightAccessor heightAccessor, RandomState randomState) NoiseBasedChunkGenerator.getBaseColumn(int x, int z, LevelHeightAccessor heightAccessor, RandomState randomState) intDebugLevelSource.getBaseHeight(int x, int z, Heightmap.Types type, LevelHeightAccessor heightAccessor, RandomState randomState) intFlatLevelSource.getBaseHeight(int x, int z, Heightmap.Types type, LevelHeightAccessor heightAccessor, RandomState randomState) intNoiseBasedChunkGenerator.getBaseHeight(int x, int z, Heightmap.Types type, LevelHeightAccessor heightAccessor, RandomState randomState) NoiseBasedChunkGenerator.getOrigin(RandomState randomState) protected OptionalIntNoiseBasedChunkGenerator.iterateNoiseColumn(LevelHeightAccessor heightAccessor, RandomState randomState, int blockX, int blockZ, @Nullable org.apache.commons.lang3.mutable.MutableObject<NoiseColumn> columnReference, @Nullable Predicate<BlockState> tester) Constructors in net.minecraft.world.level.levelgen with parameters of type RandomStateModifierConstructorDescriptionNoiseChunk(RandomState randomState, @Nullable Beardifier beardifier, NoiseGeneratorSettings settings, Aquifer.FluidPicker globalFluidPicker, Blender blender, DensityVolume volume) -
Uses of RandomState in net.minecraft.world.level.levelgen.material
Fields in net.minecraft.world.level.levelgen.material declared as RandomStateMethods in net.minecraft.world.level.levelgen.material with parameters of type RandomStateModifier and TypeMethodDescriptionvoidMaterialSystem.buildSurface(RandomState randomState, BiomeManager biomeManager, WorldGenerationContext generationContext, ChunkAccess protoChunk, NoiseChunk noiseChunk, MaterialRule ruleSource, @Nullable Set<Holder<Biome>> possibleBiomes) MaterialSystem.topMaterial(MaterialRule ruleSource, RandomState randomState, WorldGenerationContext worldGenerationContext, Function<BlockPos, Holder<Biome>> biomeGetter, ChunkAccess chunk, DensitySamplerSet densitySamplers, BlockPos pos, boolean underFluid) Deprecated.Constructors in net.minecraft.world.level.levelgen.material with parameters of type RandomStateModifierConstructorDescription(package private)MaterialRuleContext(MaterialSystem system, RandomState randomState, DensityVolume expectedVolume, DensitySamplerSet densitySamplers, Function<BlockPos, Holder<Biome>> biomeGetter, WorldGenerationContext context, @Nullable Set<Holder<Biome>> possibleBiomes) MaterialSystem(RandomState randomState, BlockState defaultBlock, int seaLevel, DensityFunction preliminarySurfaceFunction, PositionalRandomFactory noiseRandom) -
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(Holder<Structure> selected, ResourceKey<Level> dimension, RegistryAccess registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, Climate.Sampler climateSampler, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, ChunkPos sourceChunkPos, int references, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type RandomStateModifierConstructorDescriptionGenerationContext(RegistryAccess registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, Climate.Sampler climateSampler, BiomeResolver biomeResolver, RandomState randomState, StructureTemplateManager structureTemplateManager, WorldgenRandom random, long seed, ChunkPos chunkPos, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) Creates an instance of aGenerationContextrecord class.GenerationContext(RegistryAccess registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, Climate.Sampler climateSampler, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, ChunkPos chunkPos, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) 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.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 doExpansionHack, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, LevelHeightAccessor heightAccessor, RandomSource random, Registry<StructureTemplatePool> pools, PoolElementStructurePiece centerPiece, List<PoolElementStructurePiece> pieces, VoxelShape shape, PoolAliasLookup poolAliasLookup, LiquidSettings liquidSettings) private voidJigsawPlacement.Placer.tryPlacingChildren(PoolElementStructurePiece sourcePiece, org.apache.commons.lang3.mutable.MutableObject<VoxelShape> contextFree, int depth, boolean doExpansionHack, LevelHeightAccessor heightAccessor, RandomState randomState, 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 generator, RuinedPortalPiece.VerticalPlacement verticalPlacement, boolean airPocket, int surfaceYAtCenter, int ySpan, BoundingBox boundingBox, LevelHeightAccessor heightAccessor, RandomState randomState)