Uses of Class
net.minecraft.world.level.levelgen.WorldgenRandom
Package
Description
-
Uses of WorldgenRandom in net.minecraft.world.level.levelgen.structure
Modifier and TypeFieldDescriptionprivate final WorldgenRandom
Structure.GenerationContext.random
The field for therandom
record component.Modifier and TypeMethodDescriptionprivate static WorldgenRandom
Structure.GenerationContext.makeRandom
(long p_226654_, ChunkPos p_226655_) Structure.GenerationContext.random()
Returns the value of therandom
record component.Modifier and TypeMethodDescriptionSinglePieceStructure.PieceConstructor.construct
(WorldgenRandom p_226550_, int p_226551_, int p_226552_) ModifierConstructorDescriptionGenerationContext
(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
Modifier and TypeFieldDescriptionprivate final WorldgenRandom
PieceGenerator.Context.random
The field for therandom
record component.Modifier and TypeMethodDescriptionPieceGenerator.Context.random()
Returns the value of therandom
record component.ModifierConstructorDescriptionContext
(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
Modifier and TypeMethodDescriptionJigsawPlacement.getRandomNamedJigsaw
(StructurePoolElement p_227248_, ResourceLocation p_227249_, BlockPos p_227250_, Rotation p_227251_, StructureTemplateManager p_227252_, WorldgenRandom p_227253_) -
Uses of WorldgenRandom in net.minecraft.world.level.levelgen.structure.structures
Modifier and TypeMethodDescriptionprivate static StructurePiece
OceanMonumentStructure.createTopPiece
(ChunkPos p_228961_, WorldgenRandom p_228962_) private static boolean
RuinedPortalStructure.sample
(WorldgenRandom p_229282_, float p_229283_)