Uses of Class
net.minecraft.world.level.levelgen.WorldgenRandom
Packages that use WorldgenRandom
Package
Description
-
Uses of WorldgenRandom in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as WorldgenRandomModifier and TypeFieldDescriptionprivate final WorldgenRandomStructure.GenerationContext.randomThe field for therandomrecord component.Methods in net.minecraft.world.level.levelgen.structure that return WorldgenRandomModifier and TypeMethodDescriptionprivate static WorldgenRandomStructure.GenerationContext.makeRandom(long seed, ChunkPos chunkPos) Structure.GenerationContext.random()Returns the value of therandomrecord component.Methods in net.minecraft.world.level.levelgen.structure with parameters of type WorldgenRandomModifier and TypeMethodDescriptionSinglePieceStructure.PieceConstructor.construct(WorldgenRandom random, int minBlockX, int minBlockZ) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type WorldgenRandomModifierConstructorDescriptionGenerationContext(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. -
Uses of WorldgenRandom in net.minecraft.world.level.levelgen.structure.pieces
Fields in net.minecraft.world.level.levelgen.structure.pieces declared as WorldgenRandomModifier and TypeFieldDescriptionprivate final WorldgenRandomPieceGenerator.Context.randomThe field for therandomrecord component.Methods in net.minecraft.world.level.levelgen.structure.pieces that return WorldgenRandomModifier and TypeMethodDescriptionPieceGenerator.Context.random()Returns the value of therandomrecord component.Constructors in net.minecraft.world.level.levelgen.structure.pieces with parameters of type WorldgenRandomModifierConstructorDescriptionContext(C config, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, ChunkPos chunkPos, LevelHeightAccessor heightAccessor, WorldgenRandom random, long seed) Creates an instance of aContextrecord class. -
Uses of WorldgenRandom in net.minecraft.world.level.levelgen.structure.pools
Methods in net.minecraft.world.level.levelgen.structure.pools with parameters of type WorldgenRandomModifier and TypeMethodDescriptionJigsawPlacement.getRandomNamedJigsaw(StructurePoolElement element, ResourceLocation startJigsawName, BlockPos pos, Rotation rotation, StructureTemplateManager structureTemplateManager, WorldgenRandom random) -
Uses of WorldgenRandom in net.minecraft.world.level.levelgen.structure.structures
Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type WorldgenRandomModifier and TypeMethodDescriptionprivate static StructurePieceOceanMonumentStructure.createTopPiece(ChunkPos chunkPos, WorldgenRandom random) private static booleanRuinedPortalStructure.sample(WorldgenRandom random, float threshold)