Uses of Class
net.minecraft.util.math.random.ChunkRandom
Packages that use ChunkRandom
Package
Description
-
Uses of ChunkRandom in net.minecraft.structure
Fields in net.minecraft.structure declared as ChunkRandomModifier and TypeFieldDescriptionprivate final ChunkRandomStructurePiecesGenerator.Context.randomThe field for therandomrecord component.Methods in net.minecraft.structure that return ChunkRandomModifier and TypeMethodDescriptionStructurePiecesGenerator.Context.random()Returns the value of therandomrecord component.Constructors in net.minecraft.structure with parameters of type ChunkRandomModifierConstructorDescriptionContext(C config, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, ChunkPos chunkPos, HeightLimitView world, ChunkRandom random, long seed) Creates an instance of aContextrecord class. -
Uses of ChunkRandom in net.minecraft.structure.pool
Methods in net.minecraft.structure.pool with parameters of type ChunkRandomModifier and TypeMethodDescriptionStructurePoolBasedGenerator.findStartingJigsawPos(StructurePoolElement pool, Identifier id, BlockPos pos, BlockRotation rotation, StructureTemplateManager structureManager, ChunkRandom random) -
Uses of ChunkRandom in net.minecraft.world.gen.structure
Fields in net.minecraft.world.gen.structure declared as ChunkRandomModifier and TypeFieldDescriptionprivate final ChunkRandomStructure.Context.randomThe field for therandomrecord component.Methods in net.minecraft.world.gen.structure that return ChunkRandomModifier and TypeMethodDescriptionprivate static ChunkRandomStructure.Context.createChunkRandom(long seed, ChunkPos chunkPos) Structure.Context.random()Returns the value of therandomrecord component.Methods in net.minecraft.world.gen.structure with parameters of type ChunkRandomModifier and TypeMethodDescriptionBasicTempleStructure.Constructor.construct(ChunkRandom random, int startX, int startZ) private static StructurePieceOceanMonumentStructure.createBasePiece(ChunkPos pos, ChunkRandom random) private static booleanRuinedPortalStructure.shouldPlaceAirPocket(ChunkRandom random, float probability) Constructors in net.minecraft.world.gen.structure with parameters of type ChunkRandomModifierConstructorDescriptionContext(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureTemplateManager structureTemplateManager, ChunkRandom random, long seed, ChunkPos chunkPos, HeightLimitView world, Predicate<RegistryEntry<Biome>> biomePredicate) Creates an instance of aContextrecord class.