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 p_226654_, ChunkPos p_226655_) 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 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 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 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 StructurePieceOceanMonumentStructure.createTopPiece(ChunkPos p_228961_, WorldgenRandom p_228962_) private static booleanRuinedPortalStructure.sample(WorldgenRandom p_229282_, float p_229283_)