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 WorldgenRandom
Structure.GenerationContext.random
The field for therandom
record component.Methods in net.minecraft.world.level.levelgen.structure that return WorldgenRandomModifier and TypeMethodDescriptionprivate static WorldgenRandom
Structure.GenerationContext.makeRandom
(long pSeed, ChunkPos pChunkPos) Structure.GenerationContext.random()
Returns the value of therandom
record component.Methods in net.minecraft.world.level.levelgen.structure with parameters of type WorldgenRandomModifier and TypeMethodDescriptionSinglePieceStructure.PieceConstructor.construct
(WorldgenRandom pRandom, int pMinBlockX, int pMinBlockZ) 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 aGenerationContext
record 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 WorldgenRandom
PieceGenerator.Context.random
The field for therandom
record component.Methods in net.minecraft.world.level.levelgen.structure.pieces that return WorldgenRandomModifier and TypeMethodDescriptionPieceGenerator.Context.random()
Returns the value of therandom
record 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 aContext
record 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 pElement, ResourceLocation pStartJigsawName, BlockPos pPos, Rotation pRotation, StructureTemplateManager pStructureTemplateManager, WorldgenRandom pRandom) -
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 StructurePiece
OceanMonumentStructure.createTopPiece
(ChunkPos pChunkPos, WorldgenRandom pRandom) private static boolean
RuinedPortalStructure.sample
(WorldgenRandom pRandom, float pThreshold)