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> result, RandomState randomState, BlockPos feetPos) abstract voidChunkGenerator.applyCarvers(WorldGenRegion region, long seed, RandomState randomState, BiomeManager biomeManager, StructureManager structureManager, ChunkAccess chunk) abstract voidChunkGenerator.buildSurface(WorldGenRegion level, StructureManager structureManager, RandomState randomState, ChunkAccess protoChunk) ChunkGenerator.createBiomes(RandomState randomState, Blender blender, StructureManager structureManager, ChunkAccess protoChunk) static ChunkGeneratorStructureStateChunkGeneratorStructureState.createForFlat(RandomState randomState, long levelSeed, BiomeSource biomeSource, Stream<Holder<StructureSet>> structureOverrides) static ChunkGeneratorStructureStateChunkGeneratorStructureState.createForNormal(RandomState randomState, long levelSeed, BiomeSource biomeSource, HolderLookup<StructureSet> allStructures) ChunkGenerator.createState(HolderLookup<StructureSet> structureSets, RandomState randomState, long legacyLevelSeed) abstract CompletableFuture<ChunkAccess> ChunkGenerator.fillFromNoise(Blender blender, RandomState randomState, StructureManager structureManager, ChunkAccess centerChunk) 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) private booleanChunkGenerator.tryGenerateStructure(StructureSet.StructureSelectionEntry selected, StructureManager structureManager, RegistryAccess registryAccess, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, ChunkAccess centerChunk, ChunkPos sourceChunkPos, SectionPos sectionPos, ResourceKey<Level> level) Constructors in net.minecraft.world.level.chunk with parameters of type RandomStateModifierConstructorDescriptionprivateChunkGeneratorStructureState(RandomState randomState, BiomeSource biomeSource, long levelSeed, 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.Provider holders, ResourceKey<NoiseGeneratorSettings> noiseSettings, long seed) static RandomStateRandomState.create(NoiseGeneratorSettings settings, HolderGetter<NormalNoise.NoiseParameters> noises, long seed) Methods in net.minecraft.world.level.levelgen with parameters of type RandomStateModifier and TypeMethodDescriptionvoidDebugLevelSource.addDebugScreenInfo(List<String> result, RandomState randomState, BlockPos feetPos) voidFlatLevelSource.addDebugScreenInfo(List<String> result, RandomState randomState, BlockPos feetPos) voidNoiseBasedChunkGenerator.addDebugScreenInfo(List<String> result, RandomState randomState, BlockPos feetPos) voidDebugLevelSource.applyCarvers(WorldGenRegion region, long seed, RandomState randomState, BiomeManager biomeManager, StructureManager structureManager, ChunkAccess chunk) voidFlatLevelSource.applyCarvers(WorldGenRegion region, long seed, RandomState randomState, BiomeManager biomeManager, StructureManager structureManager, ChunkAccess chunk) voidNoiseBasedChunkGenerator.applyCarvers(WorldGenRegion region, long seed, RandomState randomState, BiomeManager biomeManager, StructureManager structureManager, ChunkAccess chunk) voidDebugLevelSource.buildSurface(WorldGenRegion level, StructureManager structureManager, RandomState randomState, ChunkAccess protoChunk) voidFlatLevelSource.buildSurface(WorldGenRegion level, StructureManager structureManager, RandomState randomState, ChunkAccess protoChunk) voidNoiseBasedChunkGenerator.buildSurface(WorldGenRegion region, StructureManager structureManager, RandomState randomState, ChunkAccess protoChunk) voidNoiseBasedChunkGenerator.buildSurface(ChunkAccess protoChunk, WorldGenerationContext context, RandomState randomState, StructureManager structureManager, BiomeManager biomeManager, Registry<Biome> biomeRegistry, Blender blender) voidSurfaceSystem.buildSurface(RandomState randomState, BiomeManager biomeManager, Registry<Biome> biomes, boolean useLegacyRandom, WorldGenerationContext generationContext, ChunkAccess protoChunk, NoiseChunk noiseChunk, SurfaceRules.RuleSource ruleSource) NoiseBasedChunkGenerator.createBiomes(RandomState randomState, Blender blender, StructureManager structureManager, ChunkAccess protoChunk) private NoiseChunkNoiseBasedChunkGenerator.createNoiseChunk(ChunkAccess chunk, StructureManager structureManager, Blender blender, RandomState randomState) FlatLevelSource.createState(HolderLookup<StructureSet> structureSets, RandomState randomState, long levelSeed) private voidNoiseBasedChunkGenerator.doCreateBiomes(Blender blender, RandomState randomState, StructureManager structureManager, ChunkAccess protoChunk) private ChunkAccessNoiseBasedChunkGenerator.doFill(Blender blender, StructureManager structureManager, RandomState randomState, ChunkAccess centerChunk, int cellMinY, int cellCountY) DebugLevelSource.fillFromNoise(Blender blender, RandomState randomState, StructureManager structureManager, ChunkAccess centerChunk) FlatLevelSource.fillFromNoise(Blender blender, RandomState randomState, StructureManager structureManager, ChunkAccess centerChunk) NoiseBasedChunkGenerator.fillFromNoise(Blender blender, RandomState randomState, StructureManager structureManager, ChunkAccess centerChunk) static NoiseChunkNoiseChunk.forChunk(ChunkAccess chunk, RandomState randomState, DensityFunctions.BeardifierOrMarker beardifier, NoiseGeneratorSettings settings, Aquifer.FluidPicker globalFluidPicker, Blender blender) 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) 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 RandomStateModifierConstructorDescriptionprotectedContext(SurfaceSystem system, RandomState randomState, ChunkAccess chunk, NoiseChunk noiseChunk, Function<BlockPos, Holder<Biome>> biomeGetter, Registry<Biome> biomes, WorldGenerationContext context) NoiseChunk(int cellCountXZ, RandomState randomState, int chunkMinBlockX, int chunkMinBlockZ, NoiseSettings noiseSettings, DensityFunctions.BeardifierOrMarker beardifier, NoiseGeneratorSettings settings, Aquifer.FluidPicker globalFluidPicker, Blender blender) 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 heightAccessor, 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(Holder<Structure> selected, ResourceKey<Level> dimension, RegistryAccess registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, 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, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, ChunkPos chunkPos, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) 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 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)