Uses of Class
net.minecraft.world.gen.random.ChunkRandom
Packages that use ChunkRandom
Package
Description
The base package for all Minecraft classes.
-
Uses of ChunkRandom in net.minecraft
Fields in net.minecraft declared as ChunkRandomModifier and TypeFieldDescriptionprivate final ChunkRandom
class_6622.class_6623.comp_130
The field for thecomp_130
record component.Methods in net.minecraft that return ChunkRandomModifier and TypeMethodDescriptionclass_6622.class_6623.comp_130()
Returns the value of thecomp_130
record component.Constructors in net.minecraft with parameters of type ChunkRandomModifierConstructorDescriptionclass_6623
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Predicate<Biome> predicate, HeightLimitView heightLimitView, ChunkRandom chunkRandom, long long2) -
Uses of ChunkRandom in net.minecraft.world.gen.feature
Methods in net.minecraft.world.gen.feature with parameters of type ChunkRandomModifier and TypeMethodDescriptionfinal ChunkPos
StructureFeature.getStartChunk
(StructureConfig config, long worldSeed, ChunkRandom placementRandom, int chunkX, int chunkY) Determines the cell of the structure placement grid a chunk belongs to, and returns the chunk within that cell, that this structure will actually be placed at.private boolean
PillagerOutpostFeature.isVillageNearby
(ChunkGenerator generator, long worldSeed, ChunkRandom random, ChunkPos pos) private static StructurePiece
OceanMonumentFeature.method_38681
(ChunkPos chunkPos, ChunkRandom chunkRandom) protected boolean
BastionRemnantFeature.shouldStartAt
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, ChunkPos chunkPos2, StructurePoolFeatureConfig structurePoolFeatureConfig, HeightLimitView heightLimitView) protected boolean
BuriedTreasureFeature.shouldStartAt
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, ChunkPos chunkPos2, ProbabilityConfig probabilityConfig, HeightLimitView heightLimitView) protected boolean
EndCityFeature.shouldStartAt
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView) protected boolean
MineshaftFeature.shouldStartAt
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, ChunkPos chunkPos2, MineshaftFeatureConfig mineshaftFeatureConfig, HeightLimitView heightLimitView) protected boolean
NetherFortressFeature.shouldStartAt
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView) protected boolean
OceanMonumentFeature.shouldStartAt
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView) protected boolean
PillagerOutpostFeature.shouldStartAt
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, ChunkPos chunkPos2, StructurePoolFeatureConfig structurePoolFeatureConfig, HeightLimitView heightLimitView) protected boolean
StrongholdFeature.shouldStartAt
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView) protected boolean
StructureFeature.shouldStartAt
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long worldSeed, ChunkRandom random, ChunkPos pos, ChunkPos chunkPos, C c, HeightLimitView heightLimitView) Checks if this structure can actually be placed at a potential structure position determined viaStructureFeature.getStartChunk(net.minecraft.world.gen.chunk.StructureConfig, long, net.minecraft.world.gen.random.ChunkRandom, int, int)
.StructureFeature.tryPlaceStart
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator generator, BiomeSource biomeSource, StructureManager manager, long worldSeed, ChunkPos pos, int int2, ChunkRandom chunkRandom, StructureConfig structureConfig, C c, HeightLimitView heightLimitView, Predicate<Biome> predicate) Tries to place a starting point for this type of structure in the given chunk.