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 p_226654_, ChunkPos p_226655_) 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 p_226550_, int p_226551_, int p_226552_) 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 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
Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type WorldgenRandomModifier and TypeMethodDescriptionprivate static StructurePiece
OceanMonumentStructure.createTopPiece
(ChunkPos p_228961_, WorldgenRandom p_228962_) private static boolean
RuinedPortalStructure.sample
(WorldgenRandom p_229282_, float p_229283_)