Uses of Interface
net.minecraft.util.RandomSource
Package
Description
Extension interfaces for
client
-only classes.-
Uses of RandomSource in net.minecraft
Modifier and TypeMethodDescriptionstatic int
Util.getRandom
(int[] p_214668_, RandomSource p_214669_) static <T> T
Util.getRandom
(List<T> p_214622_, RandomSource p_214623_) static <T> T
Util.getRandom
(T[] p_214671_, RandomSource p_214672_) static <T> Optional<T>
Util.getRandomSafe
(List<T> p_214677_, RandomSource p_214678_) static <T> void
Util.shuffle
(List<T> p_309952_, RandomSource p_214675_) static <T> List<T>
Util.shuffledCopy
(it.unimi.dsi.fastutil.objects.ObjectArrayList<T> p_214612_, RandomSource p_214613_) static <T> List<T>
Util.shuffledCopy
(T[] p_214682_, RandomSource p_214683_) static it.unimi.dsi.fastutil.ints.IntArrayList
Util.toShuffledList
(IntStream p_214659_, RandomSource p_214660_) static <T> List<T>
Util.toShuffledList
(Stream<T> p_214662_, RandomSource p_214663_) -
Uses of RandomSource in net.minecraft.client.gui
Modifier and TypeFieldDescriptionfinal RandomSource
Font.random
protected final RandomSource
Gui.random
-
Uses of RandomSource in net.minecraft.client.gui.font
-
Uses of RandomSource in net.minecraft.client.gui.screens.inventory
Modifier and TypeFieldDescriptionprivate final RandomSource
EnchantmentNames.random
private final RandomSource
EnchantmentScreen.random
-
Uses of RandomSource in net.minecraft.client.model
-
Uses of RandomSource in net.minecraft.client.model.geom
-
Uses of RandomSource in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionvoid
ClientLevel.doAnimateTick
(int p_233613_, int p_233614_, int p_233615_, int p_233616_, RandomSource p_233617_, Block p_233618_, BlockPos.MutableBlockPos p_233619_) -
Uses of RandomSource in net.minecraft.client.particle
Modifier and TypeFieldDescriptionprotected final RandomSource
Particle.random
private final RandomSource
ParticleEngine.random
(package private) static final RandomSource
GlowParticle.RANDOM
private static final RandomSource
SpellParticle.RANDOM
Modifier and TypeMethodDescriptionParticleEngine.MutableSpriteSet.get
(RandomSource p_233889_) SpriteSet.get
(RandomSource p_234102_) -
Uses of RandomSource in net.minecraft.client.renderer
Modifier and TypeMethodDescriptionprivate void
LevelRenderer.shootParticles
(int p_313147_, BlockPos p_313126_, RandomSource p_311422_, SimpleParticleType p_309823_) -
Uses of RandomSource in net.minecraft.client.renderer.block
Modifier and TypeMethodDescriptionvoid
BlockRenderDispatcher.renderBatched
(BlockState p_234356_, BlockPos p_234357_, BlockAndTintGetter p_234358_, PoseStack p_234359_, VertexConsumer p_234360_, boolean p_234361_, RandomSource p_234362_) Deprecated.void
BlockRenderDispatcher.renderBatched
(BlockState p_234356_, BlockPos p_234357_, BlockAndTintGetter p_234358_, PoseStack p_234359_, VertexConsumer p_234360_, boolean p_234361_, RandomSource p_234362_, ModelData modelData, RenderType renderType) void
ModelBlockRenderer.tesselateBlock
(BlockAndTintGetter p_234380_, BakedModel p_234381_, BlockState p_234382_, BlockPos p_234383_, PoseStack p_234384_, VertexConsumer p_234385_, boolean p_234386_, RandomSource p_234387_, long p_234388_, int p_234389_) Deprecated.void
ModelBlockRenderer.tesselateBlock
(BlockAndTintGetter p_234380_, BakedModel p_234381_, BlockState p_234382_, BlockPos p_234383_, PoseStack p_234384_, VertexConsumer p_234385_, boolean p_234386_, RandomSource p_234387_, long p_234388_, int p_234389_, ModelData modelData, RenderType renderType) void
ModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter p_234391_, BakedModel p_234392_, BlockState p_234393_, BlockPos p_234394_, PoseStack p_234395_, VertexConsumer p_234396_, boolean p_234397_, RandomSource p_234398_, long p_234399_, int p_234400_) Deprecated.void
ModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter p_111079_, BakedModel p_111080_, BlockState p_111081_, BlockPos p_111082_, PoseStack p_111083_, VertexConsumer p_111084_, boolean p_111085_, RandomSource p_111086_, long p_111087_, int p_111088_, ModelData modelData, RenderType renderType) void
ModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter p_234402_, BakedModel p_234403_, BlockState p_234404_, BlockPos p_234405_, PoseStack p_234406_, VertexConsumer p_234407_, boolean p_234408_, RandomSource p_234409_, long p_234410_, int p_234411_) Deprecated.void
ModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter p_111091_, BakedModel p_111092_, BlockState p_111093_, BlockPos p_111094_, PoseStack p_111095_, VertexConsumer p_111096_, boolean p_111097_, RandomSource p_111098_, long p_111099_, int p_111100_, ModelData modelData, RenderType renderType) -
Uses of RandomSource in net.minecraft.client.renderer.entity
Modifier and TypeFieldDescriptionprivate final RandomSource
EndermanRenderer.random
private final RandomSource
ItemEntityRenderer.random
-
Uses of RandomSource in net.minecraft.client.resources
-
Uses of RandomSource in net.minecraft.client.resources.model
Modifier and TypeMethodDescriptionBakedModel.getQuads
(BlockState p_235039_, Direction p_235040_, RandomSource p_235041_) Deprecated.BuiltInModel.getQuads
(BlockState p_235043_, Direction p_235044_, RandomSource p_235045_) MultiPartBakedModel.getQuads
(BlockState p_235050_, Direction p_235051_, RandomSource p_235052_, ModelData modelData, RenderType renderType) SimpleBakedModel.getQuads
(BlockState p_235054_, Direction p_235055_, RandomSource p_235056_) WeightedBakedModel.getQuads
(BlockState p_235058_, Direction p_235059_, RandomSource p_235060_, ModelData modelData, RenderType renderType) MultiPartBakedModel.getRenderTypes
(@NotNull BlockState state, @NotNull RandomSource rand, ModelData data) SimpleBakedModel.getRenderTypes
(@NotNull BlockState state, @NotNull RandomSource rand, ModelData data) WeightedBakedModel.getRenderTypes
(@NotNull BlockState state, @NotNull RandomSource rand, ModelData data) -
Uses of RandomSource in net.minecraft.client.resources.sounds
Modifier and TypeFieldDescriptionprotected RandomSource
AbstractSoundInstance.random
private final RandomSource
BiomeAmbientSoundsHandler.random
Modifier and TypeMethodDescriptionstatic SimpleSoundInstance
SimpleSoundInstance.forAmbientMood
(SoundEvent p_235128_, RandomSource p_235129_, double p_235130_, double p_235131_, double p_235132_) Sound.getSound
(RandomSource p_235143_) ModifierConstructorDescriptionprotected
AbstractSoundInstance
(ResourceLocation p_235068_, SoundSource p_235069_, RandomSource p_235070_) protected
AbstractSoundInstance
(SoundEvent p_235072_, SoundSource p_235073_, RandomSource p_235074_) protected
AbstractTickableSoundInstance
(SoundEvent p_235076_, SoundSource p_235077_, RandomSource p_235078_) SimpleSoundInstance
(ResourceLocation p_235087_, SoundSource p_235088_, float p_235089_, float p_235090_, RandomSource p_235091_, boolean p_235092_, int p_235093_, SoundInstance.Attenuation p_235094_, double p_235095_, double p_235096_, double p_235097_, boolean p_235098_) private
SimpleSoundInstance
(SoundEvent p_235116_, SoundSource p_235117_, float p_235118_, float p_235119_, RandomSource p_235120_, boolean p_235121_, int p_235122_, SoundInstance.Attenuation p_235123_, double p_235124_, double p_235125_, double p_235126_) SimpleSoundInstance
(SoundEvent p_235100_, SoundSource p_235101_, float p_235102_, float p_235103_, RandomSource p_235104_, double p_235105_, double p_235106_, double p_235107_) SimpleSoundInstance
(SoundEvent p_235109_, SoundSource p_235110_, float p_235111_, float p_235112_, RandomSource p_235113_, BlockPos p_235114_) -
Uses of RandomSource in net.minecraft.client.sounds
Modifier and TypeMethodDescriptionWeighedSoundEvents.getSound
(RandomSource p_235265_) Weighted.getSound
(RandomSource p_235268_) -
Uses of RandomSource in net.minecraft.core
Modifier and TypeMethodDescriptionstatic Collection<Direction>
Direction.allShuffled
(RandomSource p_235668_) DefaultedMappedRegistry.getRandom
(RandomSource p_260255_) static Direction.Axis
Direction.Axis.getRandom
(RandomSource p_235689_) static Direction
Direction.getRandom
(RandomSource p_235673_) MappedRegistry.getRandom
(RandomSource p_235716_) Registry.getRandom
(RandomSource p_235781_) Direction.Plane.getRandomAxis
(RandomSource p_235693_) Direction.Plane.getRandomDirection
(RandomSource p_235691_) HolderSet.getRandomElement
(RandomSource p_235712_) HolderSet.ListBacked.getRandomElement
(RandomSource p_235714_) BlockPos.randomBetweenClosed
(RandomSource p_235642_, int p_235643_, int p_235644_, int p_235645_, int p_235646_, int p_235647_, int p_235648_, int p_235649_) BlockPos.randomInCube
(RandomSource p_235651_, int p_235652_, BlockPos p_235653_, int p_235654_) Direction.Plane.shuffledCopy
(RandomSource p_235695_) -
Uses of RandomSource in net.minecraft.network.protocol.game
Modifier and TypeMethodDescriptionprivate static String
DebugEntityNameGenerator.getRandomString
(RandomSource p_237881_, String[] p_237882_) -
Uses of RandomSource in net.minecraft.server
-
Uses of RandomSource in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static SpreadPlayersCommand.Position[]
SpreadPlayersCommand.createInitialPositions
(RandomSource p_214734_, int p_214735_, double p_214736_, double p_214737_, double p_214738_, double p_214739_) void
SpreadPlayersCommand.Position.randomize
(RandomSource p_214753_, double p_214754_, double p_214755_, double p_214756_, double p_214757_) private static void
SpreadPlayersCommand.spreadPositions
(Vec2 p_214741_, double p_214742_, ServerLevel p_214743_, RandomSource p_214744_, double p_214745_, double p_214746_, double p_214747_, double p_214748_, int p_214749_, SpreadPlayersCommand.Position[] p_214750_, boolean p_214751_) -
Uses of RandomSource in net.minecraft.server.level
Modifier and TypeMethodDescriptionWorldGenRegion.getRandom()
ServerLevel.getRandomSequence
(ResourceLocation p_287689_) -
Uses of RandomSource in net.minecraft.util
Modifier and TypeMethodDescriptionstatic RandomSource
RandomSource.create()
static RandomSource
RandomSource.create
(long p_216336_) static RandomSource
RandomSource.createNewThreadLocalInstance()
static RandomSource
RandomSource.createThreadSafe()
Deprecated.RandomSource.fork()
Modifier and TypeMethodDescriptionstatic UUID
Mth.createInsecureUUID
(RandomSource p_216262_) private static Vec3
ParticleUtils.getRandomSpeedRanges
(RandomSource p_216303_) static double
Mth.nextDouble
(RandomSource p_216264_, double p_216265_, double p_216266_) static float
Mth.nextFloat
(RandomSource p_216268_, float p_216269_, float p_216270_) static int
Mth.nextInt
(RandomSource p_216272_, int p_216273_, int p_216274_) static float
Mth.normal
(RandomSource p_216292_, float p_216293_, float p_216294_) static float
Mth.randomBetween
(RandomSource p_216284_, float p_216285_, float p_216286_) static int
Mth.randomBetweenInclusive
(RandomSource p_216288_, int p_216289_, int p_216290_) static void
ParticleUtils.spawnParticleBelow
(Level p_273159_, BlockPos p_273452_, RandomSource p_273538_, ParticleOptions p_273419_) -
Uses of RandomSource in net.minecraft.util.datafix.fixes
Modifier and TypeFieldDescriptionprivate static final RandomSource
EntityZombieVillagerTypeFix.RANDOM
-
Uses of RandomSource in net.minecraft.util.random
Modifier and TypeMethodDescriptionWeightedRandomList.getRandom
(RandomSource p_216830_) static <T extends WeightedEntry>
Optional<T>WeightedRandom.getRandomItem
(RandomSource p_216823_, List<T> p_216824_) static <T extends WeightedEntry>
Optional<T>WeightedRandom.getRandomItem
(RandomSource p_216826_, List<T> p_216827_, int p_216828_) SimpleWeightedRandomList.getRandomValue
(RandomSource p_216821_) -
Uses of RandomSource in net.minecraft.util.valueproviders
Modifier and TypeMethodDescriptionint
BiasedToBottomInt.sample
(RandomSource p_216832_) int
ClampedInt.sample
(RandomSource p_216834_) float
ClampedNormalFloat.sample
(RandomSource p_216836_) static float
ClampedNormalFloat.sample
(RandomSource p_216838_, float p_216839_, float p_216840_, float p_216841_, float p_216842_) int
ClampedNormalInt.sample
(RandomSource p_216844_) static int
ClampedNormalInt.sample
(RandomSource p_216846_, float p_216847_, float p_216848_, float p_216849_, float p_216850_) float
ConstantFloat.sample
(RandomSource p_216852_) int
ConstantInt.sample
(RandomSource p_216854_) abstract int
IntProvider.sample
(RandomSource p_216855_) float
MultipliedFloats.sample
(RandomSource p_216860_) float
SampledFloat.sample
(RandomSource p_216862_) float
TrapezoidFloat.sample
(RandomSource p_216864_) float
UniformFloat.sample
(RandomSource p_216866_) int
UniformInt.sample
(RandomSource p_216868_) int
WeightedListInt.sample
(RandomSource p_216870_) -
Uses of RandomSource in net.minecraft.world
Modifier and TypeClassDescription(package private) class
Modifier and TypeFieldDescriptionprivate final RandomSource
RandomSequences.DirtyMarkingRandomSource.random
Modifier and TypeMethodDescriptionRandomSequences.DirtyMarkingRandomSource.fork()
RandomSequences.get
(ResourceLocation p_287751_) RandomSequence.random()
Modifier and TypeMethodDescriptionstatic void
RandomizableContainer.setBlockEntityLootTable
(BlockGetter p_312806_, RandomSource p_311284_, BlockPos p_311567_, ResourceLocation p_311477_) -
Uses of RandomSource in net.minecraft.world.entity
Modifier and TypeMethodDescriptionboolean
ItemBasedSteering.boost
(RandomSource p_217033_) static boolean
GlowSquid.checkGlowSquidSpawnRules
(EntityType<? extends LivingEntity> p_300540_, ServerLevelAccessor p_297255_, MobSpawnType p_297489_, BlockPos p_299141_, RandomSource p_297395_) static boolean
Mob.checkMobSpawnRules
(EntityType<? extends Mob> p_217058_, LevelAccessor p_217059_, MobSpawnType p_217060_, BlockPos p_217061_, RandomSource p_217062_) static <T extends Entity>
booleanSpawnPlacements.checkSpawnRules
(EntityType<T> p_217075_, ServerLevelAccessor p_217076_, MobSpawnType p_217077_, BlockPos p_217078_, RandomSource p_217079_) protected void
Mob.enchantSpawnedArmor
(RandomSource p_217052_, float p_217053_, EquipmentSlot p_217054_) protected void
Mob.enchantSpawnedWeapon
(RandomSource p_217049_, float p_217050_) protected void
Mob.populateDefaultEquipmentEnchantments
(RandomSource p_217063_, DifficultyInstance p_217064_) protected void
Mob.populateDefaultEquipmentSlots
(RandomSource p_217055_, DifficultyInstance p_217056_) boolean
SpawnPlacements.SpawnPredicate.test
(EntityType<T> p_217081_, ServerLevelAccessor p_217082_, MobSpawnType p_217083_, BlockPos p_217084_, RandomSource p_217085_) -
Uses of RandomSource in net.minecraft.world.entity.ai.behavior
Modifier and TypeFieldDescriptionprivate final RandomSource
AcquirePoi.JitteredLinearRetry.random
private final RandomSource
ShufflingList.random
Modifier and TypeMethodDescriptionprivate static int
GoToTargetLocation.getRandomOffset
(RandomSource p_217247_) boolean
SetEntityLookTargetSometimes.Ticker.tickDownAndCheck
(RandomSource p_260276_) ModifierConstructorDescription(package private)
JitteredLinearRetry
(RandomSource p_217111_, long p_217112_) -
Uses of RandomSource in net.minecraft.world.entity.ai.gossip
Modifier and TypeMethodDescriptionprivate Collection<GossipContainer.GossipEntry>
GossipContainer.selectGossipsForTransfer
(RandomSource p_217760_, int p_217761_) void
GossipContainer.transferFrom
(GossipContainer p_217763_, RandomSource p_217764_, int p_217765_) -
Uses of RandomSource in net.minecraft.world.entity.ai.sensing
-
Uses of RandomSource in net.minecraft.world.entity.ai.util
Modifier and TypeMethodDescriptionstatic BlockPos
RandomPos.generateRandomDirection
(RandomSource p_217852_, int p_217853_, int p_217854_) static BlockPos
RandomPos.generateRandomDirectionWithinRadians
(RandomSource p_217856_, int p_217857_, int p_217858_, int p_217859_, double p_217860_, double p_217861_, double p_217862_) static BlockPos
RandomPos.generateRandomPosTowardDirection
(PathfinderMob p_217864_, int p_217865_, RandomSource p_217866_, BlockPos p_217867_) -
Uses of RandomSource in net.minecraft.world.entity.ai.village.poi
-
Uses of RandomSource in net.minecraft.world.entity.ambient
Modifier and TypeMethodDescriptionstatic boolean
Bat.checkBatSpawnRules
(EntityType<Bat> p_218099_, LevelAccessor p_218100_, MobSpawnType p_218101_, BlockPos p_218102_, RandomSource p_218103_) -
Uses of RandomSource in net.minecraft.world.entity.animal
Modifier and TypeMethodDescriptionstatic boolean
Animal.checkAnimalSpawnRules
(EntityType<? extends Animal> p_218105_, LevelAccessor p_218106_, MobSpawnType p_218107_, BlockPos p_218108_, RandomSource p_218109_) static boolean
Fox.checkFoxSpawnRules
(EntityType<Fox> p_218176_, LevelAccessor p_218177_, MobSpawnType p_218178_, BlockPos p_218179_, RandomSource p_218180_) static boolean
MushroomCow.checkMushroomSpawnRules
(EntityType<MushroomCow> p_218201_, LevelAccessor p_218202_, MobSpawnType p_218203_, BlockPos p_218204_, RandomSource p_218205_) static boolean
Ocelot.checkOcelotSpawnRules
(EntityType<Ocelot> p_218207_, LevelAccessor p_218208_, MobSpawnType p_218209_, BlockPos p_218210_, RandomSource p_218211_) static boolean
Parrot.checkParrotSpawnRules
(EntityType<Parrot> p_218242_, LevelAccessor p_218243_, MobSpawnType p_218244_, BlockPos p_218245_, RandomSource p_218246_) static boolean
PolarBear.checkPolarBearSpawnRules
(EntityType<PolarBear> p_218250_, LevelAccessor p_218251_, MobSpawnType p_218252_, BlockPos p_218253_, RandomSource p_218254_) static boolean
Rabbit.checkRabbitSpawnRules
(EntityType<Rabbit> p_218256_, LevelAccessor p_218257_, MobSpawnType p_218258_, BlockPos p_218259_, RandomSource p_218260_) static boolean
WaterAnimal.checkSurfaceWaterAnimalSpawnRules
(EntityType<? extends WaterAnimal> p_218283_, LevelAccessor p_218284_, MobSpawnType p_218285_, BlockPos p_218286_, RandomSource p_218287_) static boolean
TropicalFish.checkTropicalFishSpawnRules
(EntityType<TropicalFish> p_218267_, LevelAccessor p_218268_, MobSpawnType p_218269_, BlockPos p_218270_, RandomSource p_218271_) static boolean
Turtle.checkTurtleSpawnRules
(EntityType<Turtle> p_218277_, LevelAccessor p_218278_, MobSpawnType p_218279_, BlockPos p_218280_, RandomSource p_218281_) static boolean
Wolf.checkWolfSpawnRules
(EntityType<Wolf> p_218292_, LevelAccessor p_218293_, MobSpawnType p_218294_, BlockPos p_218295_, RandomSource p_218296_) static SoundEvent
Parrot.getAmbient
(Level p_218239_, RandomSource p_218240_) static float
Parrot.getPitch
(RandomSource p_218237_) static Panda.Gene
Panda.Gene.getRandom
(RandomSource p_218235_) static DyeColor
Sheep.getRandomSheepColor
(RandomSource p_218262_) protected void
Fox.populateDefaultEquipmentSlots
(RandomSource p_218171_, DifficultyInstance p_218172_) -
Uses of RandomSource in net.minecraft.world.entity.animal.axolotl
Modifier and TypeMethodDescriptionstatic boolean
Axolotl.checkAxolotlSpawnRules
(EntityType<? extends LivingEntity> p_218438_, ServerLevelAccessor p_218439_, MobSpawnType p_218440_, BlockPos p_218441_, RandomSource p_218442_) static Axolotl.Variant
Axolotl.Variant.getCommonSpawnVariant
(RandomSource p_218449_) static Axolotl.Variant
Axolotl.Variant.getRareSpawnVariant
(RandomSource p_218454_) private static Axolotl.Variant
Axolotl.Variant.getSpawnVariant
(RandomSource p_218451_, boolean p_218452_) Axolotl.AxolotlGroupData.getVariant
(RandomSource p_218447_) private static boolean
Axolotl.useRareVariant
(RandomSource p_218436_) -
Uses of RandomSource in net.minecraft.world.entity.animal.camel
Modifier and TypeMethodDescriptionprotected static void
CamelAi.initMemories
(Camel p_249638_, RandomSource p_250704_) -
Uses of RandomSource in net.minecraft.world.entity.animal.frog
Modifier and TypeMethodDescriptionstatic boolean
Frog.checkFrogSpawnRules
(EntityType<? extends Animal> p_218512_, LevelAccessor p_218513_, MobSpawnType p_218514_, BlockPos p_218515_, RandomSource p_218516_) protected static void
FrogAi.initMemories
(Frog p_218580_, RandomSource p_218581_) -
Uses of RandomSource in net.minecraft.world.entity.animal.goat
Modifier and TypeMethodDescriptionstatic boolean
Goat.checkGoatSpawnRules
(EntityType<? extends Animal> p_218753_, LevelAccessor p_218754_, MobSpawnType p_218755_, BlockPos p_218756_, RandomSource p_218757_) protected static void
GoatAi.initMemories
(Goat p_218765_, RandomSource p_218766_) -
Uses of RandomSource in net.minecraft.world.entity.animal.horse
Modifier and TypeMethodDescriptionstatic boolean
SkeletonHorse.checkSkeletonHorseSpawnRules
(EntityType<? extends Animal> p_312158_, LevelAccessor p_312297_, MobSpawnType p_312214_, BlockPos p_312728_, RandomSource p_309547_) static boolean
ZombieHorse.checkZombieHorseSpawnRules
(EntityType<? extends Animal> p_313002_, LevelAccessor p_310822_, MobSpawnType p_312863_, BlockPos p_311078_, RandomSource p_312131_) (package private) static double
AbstractHorse.createOffspringAttribute
(double p_272685_, double p_273709_, double p_273376_, double p_273030_, RandomSource p_272743_) protected void
AbstractChestedHorse.randomizeAttributes
(RandomSource p_218803_) protected void
AbstractHorse.randomizeAttributes
(RandomSource p_218804_) protected void
Horse.randomizeAttributes
(RandomSource p_218815_) protected void
SkeletonHorse.randomizeAttributes
(RandomSource p_218821_) protected void
ZombieHorse.randomizeAttributes
(RandomSource p_218823_) private void
Llama.setRandomStrength
(RandomSource p_218818_) -
Uses of RandomSource in net.minecraft.world.entity.monster
Modifier and TypeMethodDescriptionstatic boolean
Monster.checkAnyLightMonsterSpawnRules
(EntityType<? extends Monster> p_219020_, LevelAccessor p_219021_, MobSpawnType p_219022_, BlockPos p_219023_, RandomSource p_219024_) static boolean
Drowned.checkDrownedSpawnRules
(EntityType<Drowned> p_218956_, ServerLevelAccessor p_218957_, MobSpawnType p_218958_, BlockPos p_218959_, RandomSource p_218960_) static boolean
Endermite.checkEndermiteSpawnRules
(EntityType<Endermite> p_218969_, LevelAccessor p_218970_, MobSpawnType p_218971_, BlockPos p_218972_, RandomSource p_218973_) static boolean
Ghast.checkGhastSpawnRules
(EntityType<Ghast> p_218985_, LevelAccessor p_218986_, MobSpawnType p_218987_, BlockPos p_218988_, RandomSource p_218989_) static boolean
Guardian.checkGuardianSpawnRules
(EntityType<? extends Guardian> p_218991_, LevelAccessor p_218992_, MobSpawnType p_218993_, BlockPos p_218994_, RandomSource p_218995_) static boolean
Husk.checkHuskSpawnRules
(EntityType<Husk> p_218997_, ServerLevelAccessor p_218998_, MobSpawnType p_218999_, BlockPos p_219000_, RandomSource p_219001_) static boolean
MagmaCube.checkMagmaCubeSpawnRules
(EntityType<MagmaCube> p_219003_, LevelAccessor p_219004_, MobSpawnType p_219005_, BlockPos p_219006_, RandomSource p_219007_) static boolean
Monster.checkMonsterSpawnRules
(EntityType<? extends Monster> p_219014_, ServerLevelAccessor p_219015_, MobSpawnType p_219016_, BlockPos p_219017_, RandomSource p_219018_) static boolean
PatrollingMonster.checkPatrollingMonsterSpawnRules
(EntityType<? extends PatrollingMonster> p_219026_, LevelAccessor p_219027_, MobSpawnType p_219028_, BlockPos p_219029_, RandomSource p_219030_) static boolean
Silverfish.checkSilverfishSpawnRules
(EntityType<Silverfish> p_219077_, LevelAccessor p_219078_, MobSpawnType p_219079_, BlockPos p_219080_, RandomSource p_219081_) static boolean
Slime.checkSlimeSpawnRules
(EntityType<Slime> p_219113_, LevelAccessor p_219114_, MobSpawnType p_219115_, BlockPos p_219116_, RandomSource p_219117_) static boolean
Stray.checkStraySpawnRules
(EntityType<Stray> p_219121_, ServerLevelAccessor p_219122_, MobSpawnType p_219123_, BlockPos p_219124_, RandomSource p_219125_) static boolean
Strider.checkStriderSpawnRules
(EntityType<Strider> p_219129_, LevelAccessor p_219130_, MobSpawnType p_219131_, BlockPos p_219132_, RandomSource p_219133_) static boolean
ZombifiedPiglin.checkZombifiedPiglinSpawnRules
(EntityType<ZombifiedPiglin> p_219174_, LevelAccessor p_219175_, MobSpawnType p_219176_, BlockPos p_219177_, RandomSource p_219178_) protected void
Pillager.enchantSpawnedWeapon
(RandomSource p_219056_, float p_219057_) static boolean
Zombie.getSpawnAsBabyOdds
(RandomSource p_219163_) static boolean
Monster.isDarkEnoughToSpawn
(ServerLevelAccessor p_219010_, BlockPos p_219011_, RandomSource p_219012_) protected void
WitherSkeleton.populateDefaultEquipmentEnchantments
(RandomSource p_219157_, DifficultyInstance p_219158_) protected void
AbstractSkeleton.populateDefaultEquipmentSlots
(RandomSource p_218949_, DifficultyInstance p_218950_) protected void
Drowned.populateDefaultEquipmentSlots
(RandomSource p_218953_, DifficultyInstance p_218954_) protected void
Pillager.populateDefaultEquipmentSlots
(RandomSource p_219059_, DifficultyInstance p_219060_) protected void
Vex.populateDefaultEquipmentSlots
(RandomSource p_219135_, DifficultyInstance p_219136_) protected void
Vindicator.populateDefaultEquipmentSlots
(RandomSource p_219149_, DifficultyInstance p_219150_) protected void
WitherSkeleton.populateDefaultEquipmentSlots
(RandomSource p_219154_, DifficultyInstance p_219155_) protected void
Zombie.populateDefaultEquipmentSlots
(RandomSource p_219165_, DifficultyInstance p_219166_) protected void
ZombifiedPiglin.populateDefaultEquipmentSlots
(RandomSource p_219171_, DifficultyInstance p_219172_) void
Spider.SpiderEffectsGroupData.setRandomEffect
(RandomSource p_219119_) -
Uses of RandomSource in net.minecraft.world.entity.monster.breeze
Modifier and TypeMethodDescriptionLongJump.calculateOptimalJumpVector
(Breeze p_310143_, RandomSource p_313023_, Vec3 p_309973_) private static Vec3
LongJump.randomPointBehindTarget
(LivingEntity p_310934_, RandomSource p_310813_) -
Uses of RandomSource in net.minecraft.world.entity.monster.hoglin
Modifier and TypeMethodDescriptionstatic boolean
Hoglin.checkHoglinSpawnRules
(EntityType<Hoglin> p_219182_, LevelAccessor p_219183_, MobSpawnType p_219184_, BlockPos p_219185_, RandomSource p_219186_) -
Uses of RandomSource in net.minecraft.world.entity.monster.piglin
Modifier and TypeMethodDescriptionstatic boolean
Piglin.checkPiglinSpawnRules
(EntityType<Piglin> p_219198_, LevelAccessor p_219199_, MobSpawnType p_219200_, BlockPos p_219201_, RandomSource p_219202_) protected static void
PiglinAi.initMemories
(Piglin p_219206_, RandomSource p_219207_) private void
Piglin.maybeWearArmor
(EquipmentSlot p_219192_, ItemStack p_219193_, RandomSource p_219194_) protected void
Piglin.populateDefaultEquipmentSlots
(RandomSource p_219189_, DifficultyInstance p_219190_) protected void
PiglinBrute.populateDefaultEquipmentSlots
(RandomSource p_219209_, DifficultyInstance p_219210_) -
Uses of RandomSource in net.minecraft.world.entity.npc
Modifier and TypeMethodDescriptionVillagerTrades.DyedArmorForEmeralds.getOffer
(Entity p_219679_, RandomSource p_219680_) VillagerTrades.EmeraldForItems.getOffer
(Entity p_219682_, RandomSource p_219683_) VillagerTrades.EmeraldsForVillagerTypeItem.getOffer
(Entity p_219685_, RandomSource p_219686_) VillagerTrades.EnchantBookForEmeralds.getOffer
(Entity p_219688_, RandomSource p_219689_) VillagerTrades.EnchantedItemForEmeralds.getOffer
(Entity p_219691_, RandomSource p_219692_) VillagerTrades.FailureItemListing.getOffer
(Entity p_298567_, RandomSource p_297389_) VillagerTrades.ItemListing.getOffer
(Entity p_219693_, RandomSource p_219694_) VillagerTrades.ItemsAndEmeraldsToItems.getOffer
(Entity p_219696_, RandomSource p_219697_) VillagerTrades.ItemsForEmeralds.getOffer
(Entity p_219699_, RandomSource p_219700_) VillagerTrades.SuspiciousStewForEmerald.getOffer
(Entity p_219702_, RandomSource p_219703_) VillagerTrades.TippedArrowForItemsAndEmeralds.getOffer
(Entity p_219705_, RandomSource p_219706_) VillagerTrades.TreasureMapForEmeralds.getOffer
(Entity p_219708_, RandomSource p_219709_) VillagerTrades.TypeSpecificTrade.getOffer
(Entity p_300790_, RandomSource p_298667_) private static DyeItem
VillagerTrades.DyedArmorForEmeralds.getRandomDye
(RandomSource p_219677_) -
Uses of RandomSource in net.minecraft.world.entity.projectile
-
Uses of RandomSource in net.minecraft.world.entity.raid
Modifier and TypeMethodDescriptionprivate int
Raid.getPotentialBonusSpawns
(Raid.RaiderType p_219829_, RandomSource p_219830_, int p_219831_, DifficultyInstance p_219832_, boolean p_219833_) -
Uses of RandomSource in net.minecraft.world.inventory
-
Uses of RandomSource in net.minecraft.world.item
Modifier and TypeMethodDescriptionprivate static float
CrossbowItem.getRandomShotPitch
(boolean p_220026_, RandomSource p_220027_) private static float[]
CrossbowItem.getShotPitches
(RandomSource p_220024_) boolean
ItemStack.hurt
(int p_220158_, RandomSource p_220159_, ServerPlayer p_220160_) static void
InstrumentItem.setRandom
(ItemStack p_220111_, TagKey<Instrument> p_220112_, RandomSource p_220113_) -
Uses of RandomSource in net.minecraft.world.item.enchantment
Modifier and TypeMethodDescriptionstatic ItemStack
EnchantmentHelper.enchantItem
(RandomSource p_220293_, ItemStack p_220294_, int p_220295_, boolean p_220296_) static int
ThornsEnchantment.getDamage
(int p_220320_, RandomSource p_220321_) static int
EnchantmentHelper.getEnchantmentCost
(RandomSource p_220288_, int p_220289_, int p_220290_, ItemStack p_220291_) static List<EnchantmentInstance>
EnchantmentHelper.selectEnchantment
(RandomSource p_220298_, ItemStack p_220299_, int p_220300_, boolean p_220301_) static boolean
ThornsEnchantment.shouldHit
(int p_220317_, RandomSource p_220318_) static boolean
DigDurabilityEnchantment.shouldIgnoreDurabilityDrop
(ItemStack p_220283_, int p_220284_, RandomSource p_220285_) -
Uses of RandomSource in net.minecraft.world.level
Modifier and TypeFieldDescriptionprivate final RandomSource
Explosion.random
final RandomSource
Level.random
private final RandomSource
Level.threadSafeRandom
Deprecated.Modifier and TypeMethodDescriptionprivate SpawnData
BaseSpawner.getOrCreateNextSpawnData
(Level p_254503_, RandomSource p_253892_, BlockPos p_254487_) private static Optional<MobSpawnSettings.SpawnerData>
NaturalSpawner.getRandomSpawnMobAt
(ServerLevel p_220430_, StructureManager p_220431_, ChunkGenerator p_220432_, MobCategory p_220433_, RandomSource p_220434_, BlockPos p_220435_) void
BaseSpawner.setEntityId
(EntityType<?> p_253682_, Level p_254041_, RandomSource p_254221_, BlockPos p_254050_) void
Spawner.setEntityId
(EntityType<?> p_312533_, RandomSource p_311601_) static void
NaturalSpawner.spawnMobsForChunkGeneration
(ServerLevelAccessor p_220451_, Holder<Biome> p_220452_, ChunkPos p_220453_, RandomSource p_220454_) -
Uses of RandomSource in net.minecraft.world.level.biome
Modifier and TypeMethodDescriptionboolean
AmbientParticleSettings.canSpawn
(RandomSource p_220528_) BiomeSource.findBiomeHorizontal
(int p_220561_, int p_220562_, int p_220563_, int p_220564_, int p_220565_, Predicate<Holder<Biome>> p_220566_, RandomSource p_220567_, boolean p_220568_, Climate.Sampler p_220569_) BiomeSource.findBiomeHorizontal
(int p_220571_, int p_220572_, int p_220573_, int p_220574_, Predicate<Holder<Biome>> p_220575_, RandomSource p_220576_, Climate.Sampler p_220577_) FixedBiomeSource.findBiomeHorizontal
(int p_220640_, int p_220641_, int p_220642_, int p_220643_, int p_220644_, Predicate<Holder<Biome>> p_220645_, RandomSource p_220646_, boolean p_220647_, Climate.Sampler p_220648_) -
Uses of RandomSource in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionprivate static void
AbstractCandleBlock.addParticlesAndSound
(Level p_220688_, Vec3 p_220689_, RandomSource p_220690_) void
SaplingBlock.advanceTree
(ServerLevel p_222001_, BlockPos p_222002_, BlockState p_222003_, RandomSource p_222004_) void
AbstractCandleBlock.animateTick
(BlockState p_220697_, Level p_220698_, BlockPos p_220699_, RandomSource p_220700_) void
BaseFireBlock.animateTick
(BlockState p_220763_, Level p_220764_, BlockPos p_220765_, RandomSource p_220766_) void
BeehiveBlock.animateTick
(BlockState p_220773_, Level p_220774_, BlockPos p_220775_, RandomSource p_220776_) void
BlastFurnaceBlock.animateTick
(BlockState p_220818_, Level p_220819_, BlockPos p_220820_, RandomSource p_220821_) void
Block.animateTick
(BlockState p_220827_, Level p_220828_, BlockPos p_220829_, RandomSource p_220830_) void
BrewingStandBlock.animateTick
(BlockState p_220883_, Level p_220884_, BlockPos p_220885_, RandomSource p_220886_) void
BrushableBlock.animateTick
(BlockState p_277390_, Level p_277525_, BlockPos p_278107_, RandomSource p_277574_) void
BubbleColumnBlock.animateTick
(BlockState p_220893_, Level p_220894_, BlockPos p_220895_, RandomSource p_220896_) void
CampfireBlock.animateTick
(BlockState p_220918_, Level p_220919_, BlockPos p_220920_, RandomSource p_220921_) void
CherryLeavesBlock.animateTick
(BlockState p_272714_, Level p_272837_, BlockPos p_273218_, RandomSource p_273360_) void
CryingObsidianBlock.animateTick
(BlockState p_221055_, Level p_221056_, BlockPos p_221057_, RandomSource p_221058_) void
EnchantmentTableBlock.animateTick
(BlockState p_221092_, Level p_221093_, BlockPos p_221094_, RandomSource p_221095_) void
EnderChestBlock.animateTick
(BlockState p_221117_, Level p_221118_, BlockPos p_221119_, RandomSource p_221120_) void
EndGatewayBlock.animateTick
(BlockState p_221097_, Level p_221098_, BlockPos p_221099_, RandomSource p_221100_) void
EndPortalBlock.animateTick
(BlockState p_221102_, Level p_221103_, BlockPos p_221104_, RandomSource p_221105_) void
EndRodBlock.animateTick
(BlockState p_221107_, Level p_221108_, BlockPos p_221109_, RandomSource p_221110_) void
FallingBlock.animateTick
(BlockState p_221129_, Level p_221130_, BlockPos p_221131_, RandomSource p_221132_) void
FurnaceBlock.animateTick
(BlockState p_221253_, Level p_221254_, BlockPos p_221255_, RandomSource p_221256_) void
LeavesBlock.animateTick
(BlockState p_221374_, Level p_221375_, BlockPos p_221376_, RandomSource p_221377_) void
LeverBlock.animateTick
(BlockState p_221395_, Level p_221396_, BlockPos p_221397_, RandomSource p_221398_) void
LightningRodBlock.animateTick
(BlockState p_221405_, Level p_221406_, BlockPos p_221407_, RandomSource p_221408_) void
MyceliumBlock.animateTick
(BlockState p_221789_, Level p_221790_, BlockPos p_221791_, RandomSource p_221792_) void
NetherPortalBlock.animateTick
(BlockState p_221794_, Level p_221795_, BlockPos p_221796_, RandomSource p_221797_) void
PointedDripstoneBlock.animateTick
(BlockState p_221870_, Level p_221871_, BlockPos p_221872_, RandomSource p_221873_) void
RedStoneOreBlock.animateTick
(BlockState p_221913_, Level p_221914_, BlockPos p_221915_, RandomSource p_221916_) void
RedstoneTorchBlock.animateTick
(BlockState p_221954_, Level p_221955_, BlockPos p_221956_, RandomSource p_221957_) void
RedstoneWallTorchBlock.animateTick
(BlockState p_221959_, Level p_221960_, BlockPos p_221961_, RandomSource p_221962_) void
RedStoneWireBlock.animateTick
(BlockState p_221932_, Level p_221933_, BlockPos p_221934_, RandomSource p_221935_) void
RepeaterBlock.animateTick
(BlockState p_221964_, Level p_221965_, BlockPos p_221966_, RandomSource p_221967_) void
RespawnAnchorBlock.animateTick
(BlockState p_221969_, Level p_221970_, BlockPos p_221971_, RandomSource p_221972_) void
SculkSensorBlock.animateTick
(BlockState p_222148_, Level p_222149_, BlockPos p_222150_, RandomSource p_222151_) void
SmokerBlock.animateTick
(BlockState p_222443_, Level p_222444_, BlockPos p_222445_, RandomSource p_222446_) void
SporeBlossomBlock.animateTick
(BlockState p_222503_, Level p_222504_, BlockPos p_222505_, RandomSource p_222506_) void
TorchBlock.animateTick
(BlockState p_222593_, Level p_222594_, BlockPos p_222595_, RandomSource p_222596_) void
WallTorchBlock.animateTick
(BlockState p_222660_, Level p_222661_, BlockPos p_222662_, RandomSource p_222663_) void
WetSpongeBlock.animateTick
(BlockState p_222682_, Level p_222683_, BlockPos p_222684_, RandomSource p_222685_) void
WitherRoseBlock.animateTick
(BlockState p_222687_, Level p_222688_, BlockPos p_222689_, RandomSource p_222690_) private boolean
SculkVeinBlock.attemptPlaceSculk
(SculkSpreader p_222376_, LevelAccessor p_222377_, BlockPos p_222378_, RandomSource p_222379_) int
SculkBehaviour.attemptUseCharge
(SculkSpreader.ChargeCursor p_222039_, LevelAccessor p_222040_, BlockPos p_222041_, RandomSource p_222042_, SculkSpreader p_222043_, boolean p_222044_) int
SculkBlock.attemptUseCharge
(SculkSpreader.ChargeCursor p_222073_, LevelAccessor p_222074_, BlockPos p_222075_, RandomSource p_222076_, SculkSpreader p_222077_, boolean p_222078_) int
SculkVeinBlock.attemptUseCharge
(SculkSpreader.ChargeCursor p_222369_, LevelAccessor p_222370_, BlockPos p_222371_, RandomSource p_222372_, SculkSpreader p_222373_, boolean p_222374_) default void
ChangeOverTimeBlock.changeOverTime
(BlockState p_311790_, ServerLevel p_309416_, BlockPos p_310092_, RandomSource p_310572_) private BlockState
VineBlock.copyRandomFaces
(BlockState p_222651_, BlockState p_222652_, RandomSource p_222653_) default boolean
SculkBehaviour.depositCharge
(LevelAccessor p_222031_, BlockPos p_222032_, RandomSource p_222033_) static void
ChorusFlowerBlock.generatePlant
(LevelAccessor p_220963_, BlockPos p_220964_, RandomSource p_220965_, int p_220966_) protected int
CaveVinesBlock.getBlocksToGrowWhenBonemealed
(RandomSource p_220928_) protected abstract int
GrowingPlantHeadBlock.getBlocksToGrowWhenBonemealed
(RandomSource p_221341_) protected int
KelpBlock.getBlocksToGrowWhenBonemealed
(RandomSource p_221366_) static int
NetherVines.getBlocksToGrowWhenBonemealed
(RandomSource p_221804_) protected int
TwistingVinesBlock.getBlocksToGrowWhenBonemealed
(RandomSource p_222649_) protected int
WeepingVinesBlock.getBlocksToGrowWhenBonemealed
(RandomSource p_222680_) int
DropExperienceBlock.getExpDrop
(BlockState state, LevelReader level, RandomSource randomSource, BlockPos pos, int fortuneLevel, int silkTouchLevel) int
RedStoneOreBlock.getExpDrop
(BlockState state, LevelReader world, RandomSource randomSource, BlockPos pos, int fortune, int silktouch) int
SculkCatalystBlock.getExpDrop
(BlockState state, LevelReader level, RandomSource randomSource, BlockPos pos, int fortuneLevel, int silkTouchLevel) int
SculkSensorBlock.getExpDrop
(BlockState state, LevelReader level, RandomSource randomSource, BlockPos pos, int fortuneLevel, int silkTouchLevel) int
SculkShriekerBlock.getExpDrop
(BlockState state, LevelReader level, RandomSource randomSource, BlockPos pos, int fortuneLevel, int silkTouchLevel) int
SpawnerBlock.getExpDrop
(BlockState state, LevelReader world, RandomSource randomSource, BlockPos pos, int fortune, int silktouch) private static int
FireBlock.getFireTickDelay
(RandomSource p_221149_) private static int
FrogspawnBlock.getFrogspawnHatchDelay
(RandomSource p_221186_) protected BlockState
CaveVinesBlock.getGrowIntoState
(BlockState p_220935_, RandomSource p_220936_) protected BlockState
GrowingPlantHeadBlock.getGrowIntoState
(BlockState p_221347_, RandomSource p_221348_) default Optional<BlockState>
ChangeOverTimeBlock.getNextState
(BlockState p_311503_, ServerLevel p_311331_, BlockPos p_309459_, RandomSource p_312041_) static Rotation
Rotation.getRandom
(RandomSource p_221991_) private BlockState
SculkBlock.getRandomGrowthState
(LevelAccessor p_222068_, BlockPos p_222069_, RandomSource p_222070_, boolean p_222071_) SculkSpreader.ChargeCursor.getRandomizedNonCornerNeighbourOffsets
(RandomSource p_222306_) private double
FrogspawnBlock.getRandomTadpolePositionOffset
(RandomSource p_221225_) Rotation.getShuffled
(RandomSource p_221993_) private static BlockPos
SculkSpreader.ChargeCursor.getValidMovementPos
(LevelAccessor p_222308_, BlockPos p_222309_, RandomSource p_222310_) protected void
BambooStalkBlock.growBamboo
(BlockState p_261855_, Level p_262076_, BlockPos p_262109_, RandomSource p_261633_, int p_261759_) boolean
MushroomBlock.growMushroom
(ServerLevel p_221774_, BlockPos p_221775_, BlockState p_221776_, RandomSource p_221777_) static void
PointedDripstoneBlock.growStalactiteOrStalagmiteIfPossible
(BlockState p_221888_, ServerLevel p_221889_, BlockPos p_221890_, RandomSource p_221891_) private static void
ChorusFlowerBlock.growTreeRecursive
(LevelAccessor p_220968_, BlockPos p_220969_, RandomSource p_220970_, BlockPos p_220971_, int p_220972_, int p_220973_) private void
FrogspawnBlock.hatchFrogspawn
(ServerLevel p_221182_, BlockPos p_221183_, RandomSource p_221184_) boolean
AzaleaBlock.isBonemealSuccess
(Level p_220712_, RandomSource p_220713_, BlockPos p_220714_, BlockState p_220715_) boolean
BambooSaplingBlock.isBonemealSuccess
(Level p_220748_, RandomSource p_220749_, BlockPos p_220750_, BlockState p_220751_) boolean
BambooStalkBlock.isBonemealSuccess
(Level p_261870_, RandomSource p_261802_, BlockPos p_262123_, BlockState p_261972_) boolean
BigDripleafBlock.isBonemealSuccess
(Level p_220788_, RandomSource p_220789_, BlockPos p_220790_, BlockState p_220791_) boolean
BigDripleafStemBlock.isBonemealSuccess
(Level p_220808_, RandomSource p_220809_, BlockPos p_220810_, BlockState p_220811_) boolean
BonemealableBlock.isBonemealSuccess
(Level p_220878_, RandomSource p_220879_, BlockPos p_220880_, BlockState p_220881_) boolean
CaveVinesBlock.isBonemealSuccess
(Level p_220930_, RandomSource p_220931_, BlockPos p_220932_, BlockState p_220933_) boolean
CaveVinesPlantBlock.isBonemealSuccess
(Level p_220943_, RandomSource p_220944_, BlockPos p_220945_, BlockState p_220946_) boolean
CocoaBlock.isBonemealSuccess
(Level p_220995_, RandomSource p_220996_, BlockPos p_220997_, BlockState p_220998_) boolean
CropBlock.isBonemealSuccess
(Level p_221045_, RandomSource p_221046_, BlockPos p_221047_, BlockState p_221048_) boolean
FungusBlock.isBonemealSuccess
(Level p_221248_, RandomSource p_221249_, BlockPos p_221250_, BlockState p_221251_) boolean
GlowLichenBlock.isBonemealSuccess
(Level p_221264_, RandomSource p_221265_, BlockPos p_221266_, BlockState p_221267_) boolean
GrassBlock.isBonemealSuccess
(Level p_221275_, RandomSource p_221276_, BlockPos p_221277_, BlockState p_221278_) boolean
GrowingPlantBodyBlock.isBonemealSuccess
(Level p_221290_, RandomSource p_221291_, BlockPos p_221292_, BlockState p_221293_) boolean
GrowingPlantHeadBlock.isBonemealSuccess
(Level p_221343_, RandomSource p_221344_, BlockPos p_221345_, BlockState p_221346_) boolean
MangroveLeavesBlock.isBonemealSuccess
(Level p_221437_, RandomSource p_221438_, BlockPos p_221439_, BlockState p_221440_) boolean
MangrovePropaguleBlock.isBonemealSuccess
(Level p_221463_, RandomSource p_221464_, BlockPos p_221465_, BlockState p_221466_) boolean
MossBlock.isBonemealSuccess
(Level p_221538_, RandomSource p_221539_, BlockPos p_221540_, BlockState p_221541_) boolean
MushroomBlock.isBonemealSuccess
(Level p_221779_, RandomSource p_221780_, BlockPos p_221781_, BlockState p_221782_) boolean
NetherrackBlock.isBonemealSuccess
(Level p_221816_, RandomSource p_221817_, BlockPos p_221818_, BlockState p_221819_) boolean
NyliumBlock.isBonemealSuccess
(Level p_221830_, RandomSource p_221831_, BlockPos p_221832_, BlockState p_221833_) boolean
PinkPetalsBlock.isBonemealSuccess
(Level p_272604_, RandomSource p_273609_, BlockPos p_272988_, BlockState p_273231_) boolean
PitcherCropBlock.isBonemealSuccess
(Level p_277920_, RandomSource p_277594_, BlockPos p_277401_, BlockState p_277434_) boolean
RootedDirtBlock.isBonemealSuccess
(Level p_221979_, RandomSource p_221980_, BlockPos p_221981_, BlockState p_221982_) boolean
SaplingBlock.isBonemealSuccess
(Level p_222006_, RandomSource p_222007_, BlockPos p_222008_, BlockState p_222009_) boolean
SeagrassBlock.isBonemealSuccess
(Level p_222428_, RandomSource p_222429_, BlockPos p_222430_, BlockState p_222431_) boolean
SeaPickleBlock.isBonemealSuccess
(Level p_222418_, RandomSource p_222419_, BlockPos p_222420_, BlockState p_222421_) boolean
SmallDripleafBlock.isBonemealSuccess
(Level p_222438_, RandomSource p_222439_, BlockPos p_222440_, BlockState p_222441_) boolean
StemBlock.isBonemealSuccess
(Level p_222533_, RandomSource p_222534_, BlockPos p_222535_, BlockState p_222536_) boolean
SweetBerryBushBlock.isBonemealSuccess
(Level p_222558_, RandomSource p_222559_, BlockPos p_222560_, BlockState p_222561_) boolean
TallFlowerBlock.isBonemealSuccess
(Level p_222573_, RandomSource p_222574_, BlockPos p_222575_, BlockState p_222576_) boolean
TallGrassBlock.isBonemealSuccess
(Level p_222583_, RandomSource p_222584_, BlockPos p_222585_, BlockState p_222586_) default void
SculkBehaviour.onDischarged
(LevelAccessor p_222026_, BlockState p_222027_, BlockPos p_222028_, RandomSource p_222029_) void
SculkVeinBlock.onDischarged
(LevelAccessor p_222359_, BlockState p_222360_, BlockPos p_222361_, RandomSource p_222362_) void
AzaleaBlock.performBonemeal
(ServerLevel p_220707_, RandomSource p_220708_, BlockPos p_220709_, BlockState p_220710_) void
BambooSaplingBlock.performBonemeal
(ServerLevel p_220743_, RandomSource p_220744_, BlockPos p_220745_, BlockState p_220746_) void
BambooStalkBlock.performBonemeal
(ServerLevel p_261845_, RandomSource p_262034_, BlockPos p_261955_, BlockState p_261685_) void
BigDripleafBlock.performBonemeal
(ServerLevel p_220783_, RandomSource p_220784_, BlockPos p_220785_, BlockState p_220786_) void
BigDripleafStemBlock.performBonemeal
(ServerLevel p_220803_, RandomSource p_220804_, BlockPos p_220805_, BlockState p_220806_) void
BonemealableBlock.performBonemeal
(ServerLevel p_220874_, RandomSource p_220875_, BlockPos p_220876_, BlockState p_220877_) void
CaveVinesBlock.performBonemeal
(ServerLevel p_220923_, RandomSource p_220924_, BlockPos p_220925_, BlockState p_220926_) void
CaveVinesPlantBlock.performBonemeal
(ServerLevel p_220938_, RandomSource p_220939_, BlockPos p_220940_, BlockState p_220941_) void
CocoaBlock.performBonemeal
(ServerLevel p_220990_, RandomSource p_220991_, BlockPos p_220992_, BlockState p_220993_) void
CropBlock.performBonemeal
(ServerLevel p_221040_, RandomSource p_221041_, BlockPos p_221042_, BlockState p_221043_) void
FungusBlock.performBonemeal
(ServerLevel p_221243_, RandomSource p_221244_, BlockPos p_221245_, BlockState p_221246_) void
GlowLichenBlock.performBonemeal
(ServerLevel p_221259_, RandomSource p_221260_, BlockPos p_221261_, BlockState p_221262_) void
GrassBlock.performBonemeal
(ServerLevel p_221270_, RandomSource p_221271_, BlockPos p_221272_, BlockState p_221273_) void
GrowingPlantBodyBlock.performBonemeal
(ServerLevel p_221285_, RandomSource p_221286_, BlockPos p_221287_, BlockState p_221288_) void
GrowingPlantHeadBlock.performBonemeal
(ServerLevel p_221337_, RandomSource p_221338_, BlockPos p_221339_, BlockState p_221340_) void
MangroveLeavesBlock.performBonemeal
(ServerLevel p_221427_, RandomSource p_221428_, BlockPos p_221429_, BlockState p_221430_) void
MangrovePropaguleBlock.performBonemeal
(ServerLevel p_221451_, RandomSource p_221452_, BlockPos p_221453_, BlockState p_221454_) void
MossBlock.performBonemeal
(ServerLevel p_221533_, RandomSource p_221534_, BlockPos p_221535_, BlockState p_221536_) void
MushroomBlock.performBonemeal
(ServerLevel p_221769_, RandomSource p_221770_, BlockPos p_221771_, BlockState p_221772_) void
NetherrackBlock.performBonemeal
(ServerLevel p_221811_, RandomSource p_221812_, BlockPos p_221813_, BlockState p_221814_) void
NyliumBlock.performBonemeal
(ServerLevel p_221825_, RandomSource p_221826_, BlockPos p_221827_, BlockState p_221828_) void
PinkPetalsBlock.performBonemeal
(ServerLevel p_273476_, RandomSource p_273093_, BlockPos p_272601_, BlockState p_272683_) void
PitcherCropBlock.performBonemeal
(ServerLevel p_277717_, RandomSource p_277870_, BlockPos p_277836_, BlockState p_278034_) void
RootedDirtBlock.performBonemeal
(ServerLevel p_221974_, RandomSource p_221975_, BlockPos p_221976_, BlockState p_221977_) void
SaplingBlock.performBonemeal
(ServerLevel p_221996_, RandomSource p_221997_, BlockPos p_221998_, BlockState p_221999_) void
SeagrassBlock.performBonemeal
(ServerLevel p_222423_, RandomSource p_222424_, BlockPos p_222425_, BlockState p_222426_) void
SeaPickleBlock.performBonemeal
(ServerLevel p_222413_, RandomSource p_222414_, BlockPos p_222415_, BlockState p_222416_) void
SmallDripleafBlock.performBonemeal
(ServerLevel p_222433_, RandomSource p_222434_, BlockPos p_222435_, BlockState p_222436_) void
StemBlock.performBonemeal
(ServerLevel p_222528_, RandomSource p_222529_, BlockPos p_222530_, BlockState p_222531_) void
SweetBerryBushBlock.performBonemeal
(ServerLevel p_222553_, RandomSource p_222554_, BlockPos p_222555_, BlockState p_222556_) void
TallFlowerBlock.performBonemeal
(ServerLevel p_222568_, RandomSource p_222569_, BlockPos p_222570_, BlockState p_222571_) void
TallGrassBlock.performBonemeal
(ServerLevel p_222578_, RandomSource p_222579_, BlockPos p_222580_, BlockState p_222581_) private void
NyliumBlock.place
(Registry<ConfiguredFeature<?, ?>> p_255879_, ResourceKey<ConfiguredFeature<?, ?>> p_256032_, ServerLevel p_255631_, ChunkGenerator p_256445_, RandomSource p_255709_, BlockPos p_256019_) static void
BigDripleafBlock.placeWithRandomHeight
(LevelAccessor p_220793_, RandomSource p_220794_, BlockPos p_220795_, Direction p_220796_) void
BambooSaplingBlock.randomTick
(BlockState p_220753_, ServerLevel p_220754_, BlockPos p_220755_, RandomSource p_220756_) void
BambooStalkBlock.randomTick
(BlockState p_261931_, ServerLevel p_261751_, BlockPos p_261616_, RandomSource p_261766_) void
BeetrootBlock.randomTick
(BlockState p_220778_, ServerLevel p_220779_, BlockPos p_220780_, RandomSource p_220781_) void
BuddingAmethystBlock.randomTick
(BlockState p_220898_, ServerLevel p_220899_, BlockPos p_220900_, RandomSource p_220901_) void
CactusBlock.randomTick
(BlockState p_220913_, ServerLevel p_220914_, BlockPos p_220915_, RandomSource p_220916_) void
ChorusFlowerBlock.randomTick
(BlockState p_220980_, ServerLevel p_220981_, BlockPos p_220982_, RandomSource p_220983_) void
CocoaBlock.randomTick
(BlockState p_221000_, ServerLevel p_221001_, BlockPos p_221002_, RandomSource p_221003_) void
CropBlock.randomTick
(BlockState p_221050_, ServerLevel p_221051_, BlockPos p_221052_, RandomSource p_221053_) void
FarmBlock.randomTick
(BlockState p_221139_, ServerLevel p_221140_, BlockPos p_221141_, RandomSource p_221142_) void
FrostedIceBlock.randomTick
(BlockState p_221238_, ServerLevel p_221239_, BlockPos p_221240_, RandomSource p_221241_) void
GrowingPlantHeadBlock.randomTick
(BlockState p_221350_, ServerLevel p_221351_, BlockPos p_221352_, RandomSource p_221353_) void
IceBlock.randomTick
(BlockState p_221355_, ServerLevel p_221356_, BlockPos p_221357_, RandomSource p_221358_) void
LeavesBlock.randomTick
(BlockState p_221379_, ServerLevel p_221380_, BlockPos p_221381_, RandomSource p_221382_) void
LiquidBlock.randomTick
(BlockState p_221410_, ServerLevel p_221411_, BlockPos p_221412_, RandomSource p_221413_) void
MangrovePropaguleBlock.randomTick
(BlockState p_221488_, ServerLevel p_221489_, BlockPos p_221490_, RandomSource p_221491_) void
MushroomBlock.randomTick
(BlockState p_221784_, ServerLevel p_221785_, BlockPos p_221786_, RandomSource p_221787_) void
NetherPortalBlock.randomTick
(BlockState p_221799_, ServerLevel p_221800_, BlockPos p_221801_, RandomSource p_221802_) void
NetherWartBlock.randomTick
(BlockState p_221806_, ServerLevel p_221807_, BlockPos p_221808_, RandomSource p_221809_) void
NyliumBlock.randomTick
(BlockState p_221835_, ServerLevel p_221836_, BlockPos p_221837_, RandomSource p_221838_) void
PitcherCropBlock.randomTick
(BlockState p_277950_, ServerLevel p_277589_, BlockPos p_277937_, RandomSource p_277887_) void
PointedDripstoneBlock.randomTick
(BlockState p_221883_, ServerLevel p_221884_, BlockPos p_221885_, RandomSource p_221886_) void
RedStoneOreBlock.randomTick
(BlockState p_221918_, ServerLevel p_221919_, BlockPos p_221920_, RandomSource p_221921_) void
SaplingBlock.randomTick
(BlockState p_222011_, ServerLevel p_222012_, BlockPos p_222013_, RandomSource p_222014_) void
SnowLayerBlock.randomTick
(BlockState p_222448_, ServerLevel p_222449_, BlockPos p_222450_, RandomSource p_222451_) void
SpreadingSnowyDirtBlock.randomTick
(BlockState p_222508_, ServerLevel p_222509_, BlockPos p_222510_, RandomSource p_222511_) void
StemBlock.randomTick
(BlockState p_222538_, ServerLevel p_222539_, BlockPos p_222540_, RandomSource p_222541_) void
SugarCaneBlock.randomTick
(BlockState p_222548_, ServerLevel p_222549_, BlockPos p_222550_, RandomSource p_222551_) void
SweetBerryBushBlock.randomTick
(BlockState p_222563_, ServerLevel p_222564_, BlockPos p_222565_, RandomSource p_222566_) void
TorchflowerCropBlock.randomTick
(BlockState p_273361_, ServerLevel p_273515_, BlockPos p_273546_, RandomSource p_273261_) void
TurtleEggBlock.randomTick
(BlockState p_222644_, ServerLevel p_222645_, BlockPos p_222646_, RandomSource p_222647_) void
VineBlock.randomTick
(BlockState p_222655_, ServerLevel p_222656_, BlockPos p_222657_, RandomSource p_222658_) void
WeatheringCopperBulbBlock.randomTick
(BlockState p_311293_, ServerLevel p_312278_, BlockPos p_309441_, RandomSource p_312720_) void
WeatheringCopperDoorBlock.randomTick
(BlockState p_312732_, ServerLevel p_309748_, BlockPos p_312849_, RandomSource p_311578_) void
WeatheringCopperFullBlock.randomTick
(BlockState p_222665_, ServerLevel p_222666_, BlockPos p_222667_, RandomSource p_222668_) void
WeatheringCopperGrateBlock.randomTick
(BlockState p_309962_, ServerLevel p_309911_, BlockPos p_311585_, RandomSource p_310772_) void
WeatheringCopperSlabBlock.randomTick
(BlockState p_222670_, ServerLevel p_222671_, BlockPos p_222672_, RandomSource p_222673_) void
WeatheringCopperStairBlock.randomTick
(BlockState p_222675_, ServerLevel p_222676_, BlockPos p_222677_, RandomSource p_222678_) void
WeatheringCopperTrapDoorBlock.randomTick
(BlockState p_311400_, ServerLevel p_310287_, BlockPos p_310085_, RandomSource p_311069_) private void
RedStoneWireBlock.spawnParticlesAlongLine
(Level p_221923_, RandomSource p_221924_, BlockPos p_221925_, Vec3 p_221926_, Direction p_221927_, Direction p_221928_, float p_221929_, float p_221930_) private void
FrogspawnBlock.spawnTadpoles
(ServerLevel p_221221_, BlockPos p_221222_, RandomSource p_221223_) MultifaceSpreader.spreadFromFaceTowardRandomDirection
(BlockState p_221631_, LevelAccessor p_221632_, BlockPos p_221633_, Direction p_221634_, RandomSource p_221635_, boolean p_221636_) MultifaceSpreader.spreadFromRandomFaceTowardRandomDirection
(BlockState p_221620_, LevelAccessor p_221621_, BlockPos p_221622_, RandomSource p_221623_) void
AbstractCauldronBlock.tick
(BlockState p_220702_, ServerLevel p_220703_, BlockPos p_220704_, RandomSource p_220705_) void
BambooStalkBlock.tick
(BlockState p_261612_, ServerLevel p_261527_, BlockPos p_261846_, RandomSource p_261638_) void
BarrelBlock.tick
(BlockState p_220758_, ServerLevel p_220759_, BlockPos p_220760_, RandomSource p_220761_) void
BasePressurePlateBlock.tick
(BlockState p_220768_, ServerLevel p_220769_, BlockPos p_220770_, RandomSource p_220771_) void
BigDripleafBlock.tick
(BlockState p_220798_, ServerLevel p_220799_, BlockPos p_220800_, RandomSource p_220801_) void
BigDripleafStemBlock.tick
(BlockState p_220813_, ServerLevel p_220814_, BlockPos p_220815_, RandomSource p_220816_) void
BrushableBlock.tick
(BlockState p_277544_, ServerLevel p_277779_, BlockPos p_278019_, RandomSource p_277471_) void
BubbleColumnBlock.tick
(BlockState p_220888_, ServerLevel p_220889_, BlockPos p_220890_, RandomSource p_220891_) void
ButtonBlock.tick
(BlockState p_220903_, ServerLevel p_220904_, BlockPos p_220905_, RandomSource p_220906_) void
CactusBlock.tick
(BlockState p_220908_, ServerLevel p_220909_, BlockPos p_220910_, RandomSource p_220911_) void
ChestBlock.tick
(BlockState p_220958_, ServerLevel p_220959_, BlockPos p_220960_, RandomSource p_220961_) void
ChorusFlowerBlock.tick
(BlockState p_220975_, ServerLevel p_220976_, BlockPos p_220977_, RandomSource p_220978_) void
ChorusPlantBlock.tick
(BlockState p_220985_, ServerLevel p_220986_, BlockPos p_220987_, RandomSource p_220988_) void
CommandBlock.tick
(BlockState p_221005_, ServerLevel p_221006_, BlockPos p_221007_, RandomSource p_221008_) void
ComparatorBlock.tick
(BlockState p_221010_, ServerLevel p_221011_, BlockPos p_221012_, RandomSource p_221013_) void
ComposterBlock.tick
(BlockState p_221015_, ServerLevel p_221016_, BlockPos p_221017_, RandomSource p_221018_) void
CoralBlock.tick
(BlockState p_221020_, ServerLevel p_221021_, BlockPos p_221022_, RandomSource p_221023_) void
CoralFanBlock.tick
(BlockState p_221025_, ServerLevel p_221026_, BlockPos p_221027_, RandomSource p_221028_) void
CoralPlantBlock.tick
(BlockState p_221030_, ServerLevel p_221031_, BlockPos p_221032_, RandomSource p_221033_) void
CoralWallFanBlock.tick
(BlockState p_221035_, ServerLevel p_221036_, BlockPos p_221037_, RandomSource p_221038_) void
CrafterBlock.tick
(BlockState p_310321_, ServerLevel p_312701_, BlockPos p_311281_, RandomSource p_311092_) void
DetectorRailBlock.tick
(BlockState p_221060_, ServerLevel p_221061_, BlockPos p_221062_, RandomSource p_221063_) void
DiodeBlock.tick
(BlockState p_221065_, ServerLevel p_221066_, BlockPos p_221067_, RandomSource p_221068_) void
DirtPathBlock.tick
(BlockState p_221070_, ServerLevel p_221071_, BlockPos p_221072_, RandomSource p_221073_) void
DispenserBlock.tick
(BlockState p_221075_, ServerLevel p_221076_, BlockPos p_221077_, RandomSource p_221078_) void
EnderChestBlock.tick
(BlockState p_221112_, ServerLevel p_221113_, BlockPos p_221114_, RandomSource p_221115_) void
FallingBlock.tick
(BlockState p_221124_, ServerLevel p_221125_, BlockPos p_221126_, RandomSource p_221127_) void
FarmBlock.tick
(BlockState p_221134_, ServerLevel p_221135_, BlockPos p_221136_, RandomSource p_221137_) void
FireBlock.tick
(BlockState p_221160_, ServerLevel p_221161_, BlockPos p_221162_, RandomSource p_221163_) void
FrogspawnBlock.tick
(BlockState p_221194_, ServerLevel p_221195_, BlockPos p_221196_, RandomSource p_221197_) void
FrostedIceBlock.tick
(BlockState p_221233_, ServerLevel p_221234_, BlockPos p_221235_, RandomSource p_221236_) void
GrowingPlantBlock.tick
(BlockState p_221280_, ServerLevel p_221281_, BlockPos p_221282_, RandomSource p_221283_) void
LeavesBlock.tick
(BlockState p_221369_, ServerLevel p_221370_, BlockPos p_221371_, RandomSource p_221372_) void
LecternBlock.tick
(BlockState p_221388_, ServerLevel p_221389_, BlockPos p_221390_, RandomSource p_221391_) void
LightningRodBlock.tick
(BlockState p_221400_, ServerLevel p_221401_, BlockPos p_221402_, RandomSource p_221403_) void
MagmaBlock.tick
(BlockState p_221415_, ServerLevel p_221416_, BlockPos p_221417_, RandomSource p_221418_) void
ObserverBlock.tick
(BlockState p_221840_, ServerLevel p_221841_, BlockPos p_221842_, RandomSource p_221843_) void
PointedDripstoneBlock.tick
(BlockState p_221865_, ServerLevel p_221866_, BlockPos p_221867_, RandomSource p_221868_) void
RedstoneLampBlock.tick
(BlockState p_221937_, ServerLevel p_221938_, BlockPos p_221939_, RandomSource p_221940_) void
RedstoneTorchBlock.tick
(BlockState p_221949_, ServerLevel p_221950_, BlockPos p_221951_, RandomSource p_221952_) void
ScaffoldingBlock.tick
(BlockState p_222019_, ServerLevel p_222020_, BlockPos p_222021_, RandomSource p_222022_) void
SculkCatalystBlock.tick
(BlockState p_222104_, ServerLevel p_222105_, BlockPos p_222106_, RandomSource p_222107_) void
SculkSensorBlock.tick
(BlockState p_222137_, ServerLevel p_222138_, BlockPos p_222139_, RandomSource p_222140_) void
SculkShriekerBlock.tick
(BlockState p_222187_, ServerLevel p_222188_, BlockPos p_222189_, RandomSource p_222190_) void
SnifferEggBlock.tick
(BlockState p_277841_, ServerLevel p_277739_, BlockPos p_277692_, RandomSource p_277973_) void
SoulSandBlock.tick
(BlockState p_222457_, ServerLevel p_222458_, BlockPos p_222459_, RandomSource p_222460_) void
SugarCaneBlock.tick
(BlockState p_222543_, ServerLevel p_222544_, BlockPos p_222545_, RandomSource p_222546_) void
TargetBlock.tick
(BlockState p_222588_, ServerLevel p_222589_, BlockPos p_222590_, RandomSource p_222591_) void
TripWireBlock.tick
(BlockState p_222598_, ServerLevel p_222599_, BlockPos p_222600_, RandomSource p_222601_) void
TripWireHookBlock.tick
(BlockState p_222610_, ServerLevel p_222611_, BlockPos p_222612_, RandomSource p_222613_) private void
FireBlock.tryCatchFire
(Level p_53432_, BlockPos p_53433_, int p_53434_, RandomSource p_53435_, int p_53436_, Direction face) void
SculkSpreader.ChargeCursor.update
(LevelAccessor p_222312_, BlockPos p_222313_, RandomSource p_222314_, SculkSpreader p_222315_, boolean p_222316_) void
SculkSpreader.updateCursors
(LevelAccessor p_222256_, BlockPos p_222257_, RandomSource p_222258_, boolean p_222259_) -
Uses of RandomSource in net.minecraft.world.level.block.entity
Modifier and TypeFieldDescriptionprivate static final RandomSource
EnchantmentTableBlockEntity.RANDOM
Modifier and TypeMethodDescriptionstatic RandomSource
StructureBlockEntity.createRandom
(long p_222889_) Modifier and TypeMethodDescriptionprivate void
SculkCatalystBlockEntity.CatalystListener.bloom
(ServerLevel p_281501_, BlockPos p_281448_, BlockState p_281966_, RandomSource p_283606_) int
DispenserBlockEntity.getRandomSlot
(RandomSource p_222762_) void
SpawnerBlockEntity.setEntityId
(EntityType<?> p_254530_, RandomSource p_253719_) void
TrialSpawnerBlockEntity.setEntityId
(EntityType<?> p_312357_, RandomSource p_313173_) -
Uses of RandomSource in net.minecraft.world.level.block.entity.trialspawner
Modifier and TypeMethodDescriptionstatic void
TrialSpawner.addDetectPlayerParticles
(Level p_309415_, BlockPos p_309941_, RandomSource p_310263_, int p_310988_) static void
TrialSpawner.addEjectItemParticles
(Level p_311170_, BlockPos p_309958_, RandomSource p_309409_) static void
TrialSpawner.addSpawnParticles
(Level p_312837_, BlockPos p_311261_, RandomSource p_312356_) void
TrialSpawnerState.ParticleEmission.emit
(Level p_310445_, RandomSource p_311021_, BlockPos p_310003_) protected SpawnData
TrialSpawnerData.getOrCreateNextSpawnData
(TrialSpawner p_311810_, RandomSource p_311692_) void
TrialSpawnerData.setEntityId
(TrialSpawner p_311233_, RandomSource p_312395_, EntityType<?> p_311226_) -
Uses of RandomSource in net.minecraft.world.level.block.grower
Modifier and TypeMethodDescriptionprivate ResourceKey<ConfiguredFeature<?,
?>> TreeGrower.getConfiguredFeature
(RandomSource p_312729_, boolean p_311061_) private ResourceKey<ConfiguredFeature<?,
?>> TreeGrower.getConfiguredMegaFeature
(RandomSource p_309400_) boolean
TreeGrower.growTree
(ServerLevel p_309830_, ChunkGenerator p_311976_, BlockPos p_310327_, BlockState p_312382_, RandomSource p_309951_) -
Uses of RandomSource in net.minecraft.world.level.block.state
Modifier and TypeMethodDescriptionvoid
BlockBehaviour.BlockStateBase.randomTick
(ServerLevel p_222973_, BlockPos p_222974_, RandomSource p_222975_) void
BlockBehaviour.randomTick
(BlockState p_222954_, ServerLevel p_222955_, BlockPos p_222956_, RandomSource p_222957_) Deprecated.void
BlockBehaviour.BlockStateBase.tick
(ServerLevel p_222964_, BlockPos p_222965_, RandomSource p_222966_) void
BlockBehaviour.tick
(BlockState p_222945_, ServerLevel p_222946_, BlockPos p_222947_, RandomSource p_222948_) Deprecated. -
Uses of RandomSource in net.minecraft.world.level.levelgen
Modifier and TypeClassDescriptionclass
class
class
Deprecated.class
class
Modifier and TypeFieldDescriptionfinal RandomSource
MarsagliaPolarGaussian.randomSource
private final RandomSource
WorldgenRandom.randomSource
Modifier and TypeFieldDescriptionprivate final LongFunction<RandomSource>
WorldgenRandom.Algorithm.constructor
Modifier and TypeMethodDescriptionLegacyRandomSource.LegacyPositionalRandomFactory.at
(int p_224198_, int p_224199_, int p_224200_) PositionalRandomFactory.at
(int p_224537_, int p_224538_, int p_224539_) default RandomSource
XoroshiroRandomSource.XoroshiroPositionalRandomFactory.at
(int p_224691_, int p_224692_, int p_224693_) LegacyRandomSource.fork()
SingleThreadedRandomSource.fork()
ThreadSafeLegacyRandomSource.fork()
Deprecated.WorldgenRandom.fork()
XoroshiroRandomSource.fork()
LegacyRandomSource.LegacyPositionalRandomFactory.fromHashOf
(String p_224202_) PositionalRandomFactory.fromHashOf
(String p_224544_) default RandomSource
PositionalRandomFactory.fromHashOf
(ResourceLocation p_224541_) XoroshiroRandomSource.XoroshiroPositionalRandomFactory.fromHashOf
(String p_224695_) WorldgenRandom.Algorithm.newInstance
(long p_224688_) static RandomSource
WorldgenRandom.seedSlimeChunk
(int p_224682_, int p_224683_, long p_224684_, long p_224685_) Modifier and TypeMethodDescriptionprivate static BlockState[]
SurfaceSystem.generateBands
(RandomSource p_224642_) private static void
SurfaceSystem.makeBands
(RandomSource p_224644_, BlockState[] p_224645_, int p_224646_, BlockState p_224647_) private boolean
PatrolSpawner.spawnPatrolMember
(ServerLevel p_224533_, BlockPos p_224534_, RandomSource p_224535_, boolean p_224536_) ModifierConstructorDescriptionMarsagliaPolarGaussian
(RandomSource p_224204_) WorldgenRandom
(RandomSource p_224680_) -
Uses of RandomSource in net.minecraft.world.level.levelgen.carver
Modifier and TypeMethodDescriptionboolean
CanyonWorldCarver.carve
(CarvingContext p_224813_, CanyonCarverConfiguration p_224814_, ChunkAccess p_224815_, Function<BlockPos, Holder<Biome>> p_224816_, RandomSource p_224817_, Aquifer p_224818_, ChunkPos p_224819_, CarvingMask p_224820_) boolean
CaveWorldCarver.carve
(CarvingContext p_224885_, CaveCarverConfiguration p_224886_, ChunkAccess p_224887_, Function<BlockPos, Holder<Biome>> p_224888_, RandomSource p_224889_, Aquifer p_224890_, ChunkPos p_224891_, CarvingMask p_224892_) boolean
ConfiguredWorldCarver.carve
(CarvingContext p_224899_, ChunkAccess p_224900_, Function<BlockPos, Holder<Biome>> p_224901_, RandomSource p_224902_, Aquifer p_224903_, ChunkPos p_224904_, CarvingMask p_224905_) abstract boolean
WorldCarver.carve
(CarvingContext p_224913_, C p_224914_, ChunkAccess p_224915_, Function<BlockPos, Holder<Biome>> p_224916_, RandomSource p_224917_, Aquifer p_224918_, ChunkPos p_224919_, CarvingMask p_224920_) protected float
CaveWorldCarver.getThickness
(RandomSource p_224871_) protected float
NetherWorldCarver.getThickness
(RandomSource p_224907_) private float[]
CanyonWorldCarver.initWidthFactors
(CarvingContext p_224809_, CanyonCarverConfiguration p_224810_, RandomSource p_224811_) boolean
CanyonWorldCarver.isStartChunk
(CanyonCarverConfiguration p_224797_, RandomSource p_224798_) boolean
CaveWorldCarver.isStartChunk
(CaveCarverConfiguration p_224894_, RandomSource p_224895_) boolean
ConfiguredWorldCarver.isStartChunk
(RandomSource p_224897_) abstract boolean
WorldCarver.isStartChunk
(C p_224908_, RandomSource p_224909_) private double
CanyonWorldCarver.updateVerticalRadius
(CanyonCarverConfiguration p_224800_, RandomSource p_224801_, double p_224802_, float p_224803_, float p_224804_) -
Uses of RandomSource in net.minecraft.world.level.levelgen.feature
Modifier and TypeMethodDescriptionstatic boolean
OreFeature.canPlaceOre
(BlockState p_225187_, Function<BlockPos, BlockState> p_225188_, RandomSource p_225189_, OreConfiguration p_225190_, OreConfiguration.TargetBlockState p_225191_, BlockPos.MutableBlockPos p_225192_) private static void
PointedDripstoneFeature.createPatchOfDripstoneBlocks
(LevelAccessor p_225194_, RandomSource p_225195_, BlockPos p_225196_, PointedDripstoneConfiguration p_225197_) protected void
VegetationPatchFeature.distributeVegetation
(FeaturePlaceContext<VegetationPatchConfiguration> p_225331_, WorldGenLevel p_225332_, VegetationPatchConfiguration p_225333_, RandomSource p_225334_, Set<BlockPos> p_225335_, int p_225336_, int p_225337_) protected boolean
OreFeature.doPlace
(WorldGenLevel p_225172_, RandomSource p_225173_, OreConfiguration p_225174_, double p_225175_, double p_225176_, double p_225177_, double p_225178_, double p_225179_, double p_225180_, int p_225181_, int p_225182_, int p_225183_, int p_225184_, int p_225185_) private boolean
TreeFeature.doPlace
(WorldGenLevel p_225258_, RandomSource p_225259_, BlockPos p_225260_, BiConsumer<BlockPos, BlockState> p_225261_, BiConsumer<BlockPos, BlockState> p_225262_, FoliagePlacer.FoliageSetter p_273670_, TreeConfiguration p_225264_) private void
IcebergFeature.generateCutOut
(RandomSource p_225100_, LevelAccessor p_225101_, int p_225102_, int p_225103_, BlockPos p_225104_, boolean p_225105_, int p_225106_, double p_225107_, int p_225108_) private void
IcebergFeature.generateIcebergBlock
(LevelAccessor p_225110_, RandomSource p_225111_, BlockPos p_225112_, int p_225113_, int p_225114_, int p_225115_, int p_225116_, int p_225117_, int p_225118_, boolean p_225119_, int p_225120_, double p_225121_, boolean p_225122_, BlockState p_225123_) private int
DripstoneClusterFeature.getDripstoneHeight
(RandomSource p_225009_, int p_225010_, int p_225011_, float p_225012_, int p_225013_, DripstoneClusterConfiguration p_225014_) private int
ScatteredOreFeature.getRandomPlacementInOneAxisRelativeToOrigin
(RandomSource p_225229_, int p_225230_) PointedDripstoneFeature.getTipDirection
(LevelAccessor p_225199_, BlockPos p_225200_, RandomSource p_225201_) protected int
AbstractHugeMushroomFeature.getTreeHeight
(RandomSource p_224922_) private int
IcebergFeature.heightDependentRadiusRound
(RandomSource p_225095_, int p_225096_, int p_225097_, int p_225098_) private int
IcebergFeature.heightDependentRadiusSteep
(RandomSource p_225134_, int p_225135_, int p_225136_, int p_225137_) protected abstract void
AbstractHugeMushroomFeature.makeCap
(LevelAccessor p_224923_, RandomSource p_224924_, BlockPos p_224925_, int p_224926_, BlockPos.MutableBlockPos p_224927_, HugeMushroomFeatureConfiguration p_224928_) protected void
HugeBrownMushroomFeature.makeCap
(LevelAccessor p_225043_, RandomSource p_225044_, BlockPos p_225045_, int p_225046_, BlockPos.MutableBlockPos p_225047_, HugeMushroomFeatureConfiguration p_225048_) protected void
HugeRedMushroomFeature.makeCap
(LevelAccessor p_225082_, RandomSource p_225083_, BlockPos p_225084_, int p_225085_, BlockPos.MutableBlockPos p_225086_, HugeMushroomFeatureConfiguration p_225087_) private static LargeDripstoneFeature.LargeDripstone
LargeDripstoneFeature.makeDripstone
(BlockPos p_225139_, boolean p_225140_, RandomSource p_225141_, int p_225142_, FloatProvider p_225143_, FloatProvider p_225144_) private boolean
BlockPileFeature.mayPlaceOn
(LevelAccessor p_224945_, BlockPos p_224946_, RandomSource p_224947_) private void
ScatteredOreFeature.offsetTargetPos
(BlockPos.MutableBlockPos p_225232_, RandomSource p_225233_, BlockPos p_225234_, int p_225235_) boolean
ConfiguredFeature.place
(WorldGenLevel p_224954_, ChunkGenerator p_224955_, RandomSource p_224956_, BlockPos p_224957_) boolean
Feature.place
(FC p_225029_, WorldGenLevel p_225030_, ChunkGenerator p_225031_, RandomSource p_225032_, BlockPos p_225033_) boolean
WeightedPlacedFeature.place
(WorldGenLevel p_225368_, ChunkGenerator p_225369_, RandomSource p_225370_, BlockPos p_225371_) private void
BasaltPillarFeature.placeBaseHangOff
(LevelAccessor p_224937_, RandomSource p_224938_, BlockPos p_224939_) (package private) void
LargeDripstoneFeature.LargeDripstone.placeBlocks
(WorldGenLevel p_225146_, RandomSource p_225147_, LargeDripstoneFeature.WindOffsetter p_225148_) protected boolean
DiskFeature.placeColumn
(DiskConfiguration p_224996_, WorldGenLevel p_224997_, RandomSource p_224998_, int p_224999_, int p_225000_, BlockPos.MutableBlockPos p_225001_) private void
DripstoneClusterFeature.placeColumn
(WorldGenLevel p_225016_, RandomSource p_225017_, BlockPos p_225018_, int p_225019_, int p_225020_, float p_225021_, double p_225022_, int p_225023_, float p_225024_, DripstoneClusterConfiguration p_225025_) protected boolean
CoralFeature.placeCoralBlock
(LevelAccessor p_224974_, RandomSource p_224975_, BlockPos p_224976_, BlockState p_224977_) private static void
RootSystemFeature.placeDirt
(BlockPos p_225223_, int p_225224_, WorldGenLevel p_225225_, RootSystemConfiguration p_225226_, RandomSource p_225227_) private static boolean
RootSystemFeature.placeDirtAndTree
(WorldGenLevel p_225203_, ChunkGenerator p_225204_, RootSystemConfiguration p_225205_, RandomSource p_225206_, BlockPos.MutableBlockPos p_225207_, BlockPos p_225208_) protected boolean
CoralClawFeature.placeFeature
(LevelAccessor p_224959_, RandomSource p_224960_, BlockPos p_224961_, BlockState p_224962_) protected abstract boolean
CoralFeature.placeFeature
(LevelAccessor p_224966_, RandomSource p_224967_, BlockPos p_224968_, BlockState p_224969_) protected boolean
CoralMushroomFeature.placeFeature
(LevelAccessor p_224982_, RandomSource p_224983_, BlockPos p_224984_, BlockState p_224985_) protected boolean
CoralTreeFeature.placeFeature
(LevelAccessor p_224987_, RandomSource p_224988_, BlockPos p_224989_, BlockState p_224990_) protected boolean
VegetationPatchFeature.placeGround
(WorldGenLevel p_225324_, VegetationPatchConfiguration p_225325_, Predicate<BlockState> p_225326_, RandomSource p_225327_, BlockPos.MutableBlockPos p_225328_, int p_225329_) VegetationPatchFeature.placeGroundPatch
(WorldGenLevel p_225311_, VegetationPatchConfiguration p_225312_, RandomSource p_225313_, BlockPos p_225314_, Predicate<BlockState> p_225315_, int p_225316_, int p_225317_) WaterloggedVegetationPatchFeature.placeGroundPatch
(WorldGenLevel p_225339_, VegetationPatchConfiguration p_225340_, RandomSource p_225341_, BlockPos p_225342_, Predicate<BlockState> p_225343_, int p_225344_, int p_225345_) static boolean
MultifaceGrowthFeature.placeGrowthIfPossible
(WorldGenLevel p_225158_, BlockPos p_225159_, BlockState p_225160_, MultifaceGrowthConfiguration p_225161_, RandomSource p_225162_, List<Direction> p_225163_) private boolean
BasaltPillarFeature.placeHangOff
(LevelAccessor p_224941_, RandomSource p_224942_, BlockPos p_224943_) private void
HugeFungusFeature.placeHat
(WorldGenLevel p_285200_, RandomSource p_285456_, HugeFungusConfiguration p_285146_, BlockPos p_285097_, int p_285156_, boolean p_285265_) private void
HugeFungusFeature.placeHatBlock
(LevelAccessor p_225050_, RandomSource p_225051_, HugeFungusConfiguration p_225052_, BlockPos.MutableBlockPos p_225053_, float p_225054_, float p_225055_, float p_225056_) private void
HugeFungusFeature.placeHatDropBlock
(LevelAccessor p_225065_, RandomSource p_225066_, BlockPos p_225067_, BlockState p_225068_, boolean p_225069_) private void
WeepingVinesFeature.placeRoofNetherWart
(LevelAccessor p_225360_, RandomSource p_225361_, BlockPos p_225362_) private void
WeepingVinesFeature.placeRoofWeepingVines
(LevelAccessor p_225364_, RandomSource p_225365_, BlockPos p_225366_) private static void
RootSystemFeature.placeRootedDirt
(WorldGenLevel p_225210_, RootSystemConfiguration p_225211_, RandomSource p_225212_, int p_225213_, int p_225214_, BlockPos.MutableBlockPos p_225215_) private static void
RootSystemFeature.placeRoots
(WorldGenLevel p_225217_, RootSystemConfiguration p_225218_, RandomSource p_225219_, BlockPos p_225220_, BlockPos.MutableBlockPos p_225221_) private void
SpikeFeature.placeSpike
(ServerLevelAccessor p_225247_, RandomSource p_225248_, SpikeConfiguration p_225249_, SpikeFeature.EndSpike p_225250_) private void
HugeFungusFeature.placeStem
(WorldGenLevel p_285364_, RandomSource p_285032_, HugeFungusConfiguration p_285198_, BlockPos p_285090_, int p_285249_, boolean p_285355_) protected void
AbstractHugeMushroomFeature.placeTrunk
(LevelAccessor p_224930_, RandomSource p_224931_, BlockPos p_224932_, HugeMushroomFeatureConfiguration p_224933_, int p_224934_, BlockPos.MutableBlockPos p_224935_) protected boolean
VegetationPatchFeature.placeVegetation
(WorldGenLevel p_225318_, VegetationPatchConfiguration p_225319_, ChunkGenerator p_225320_, RandomSource p_225321_, BlockPos p_225322_) protected boolean
WaterloggedVegetationPatchFeature.placeVegetation
(WorldGenLevel p_225347_, VegetationPatchConfiguration p_225348_, ChunkGenerator p_225349_, RandomSource p_225350_, BlockPos p_225351_) static void
TwistingVinesFeature.placeWeepingVinesColumn
(LevelAccessor p_225301_, RandomSource p_225302_, BlockPos.MutableBlockPos p_225303_, int p_225304_, int p_225305_, int p_225306_) static void
WeepingVinesFeature.placeWeepingVinesColumn
(LevelAccessor p_225353_, RandomSource p_225354_, BlockPos.MutableBlockPos p_225355_, int p_225356_, int p_225357_, int p_225358_) private static float
DripstoneClusterFeature.randomBetweenBiased
(RandomSource p_225003_, float p_225004_, float p_225005_, float p_225006_, float p_225007_) private EntityType<?>
MonsterRoomFeature.randomEntityId
(RandomSource p_225154_) private void
IcebergFeature.setIcebergBlock
(BlockPos p_225125_, LevelAccessor p_225126_, RandomSource p_225127_, int p_225128_, int p_225129_, boolean p_225130_, boolean p_225131_, BlockState p_225132_) protected static boolean
OreFeature.shouldSkipAirCheck
(RandomSource p_225169_, float p_225170_) private double
IcebergFeature.signedDistanceCircle
(int p_225089_, int p_225090_, BlockPos p_225091_, int p_225092_, RandomSource p_225093_) private void
BlockPileFeature.tryPlaceBlock
(LevelAccessor p_224949_, BlockPos p_224950_, RandomSource p_224951_, BlockPileConfiguration p_224952_) private static void
HugeFungusFeature.tryPlaceWeepingVines
(BlockPos p_225071_, LevelAccessor p_225072_, RandomSource p_225073_) ModifierConstructorDescriptionFeaturePlaceContext
(Optional<ConfiguredFeature<?, ?>> p_225035_, WorldGenLevel p_225036_, ChunkGenerator p_225037_, RandomSource p_225038_, BlockPos p_225039_, FC p_225040_) (package private)
WindOffsetter
(int p_225150_, RandomSource p_225151_, FloatProvider p_225152_) -
Uses of RandomSource in net.minecraft.world.level.levelgen.feature.configurations
Modifier and TypeMethodDescriptionMultifaceGrowthConfiguration.getShuffledDirections
(RandomSource p_225400_) MultifaceGrowthConfiguration.getShuffledDirectionsExcept
(RandomSource p_225402_, Direction p_225403_) -
Uses of RandomSource in net.minecraft.world.level.levelgen.feature.foliageplacers
Modifier and TypeMethodDescriptionprotected void
AcaciaFoliagePlacer.createFoliage
(LevelSimulatedReader p_225499_, FoliagePlacer.FoliageSetter p_273746_, RandomSource p_225501_, TreeConfiguration p_225502_, int p_225503_, FoliagePlacer.FoliageAttachment p_225504_, int p_225505_, int p_225506_, int p_225507_) protected void
BlobFoliagePlacer.createFoliage
(LevelSimulatedReader p_273066_, FoliagePlacer.FoliageSetter p_272716_, RandomSource p_273178_, TreeConfiguration p_272850_, int p_273067_, FoliagePlacer.FoliageAttachment p_273711_, int p_273580_, int p_273511_, int p_273685_) protected void
BushFoliagePlacer.createFoliage
(LevelSimulatedReader p_273251_, FoliagePlacer.FoliageSetter p_273782_, RandomSource p_273626_, TreeConfiguration p_272956_, int p_273384_, FoliagePlacer.FoliageAttachment p_273459_, int p_273161_, int p_272989_, int p_273166_) protected void
CherryFoliagePlacer.createFoliage
(LevelSimulatedReader p_272723_, FoliagePlacer.FoliageSetter p_273410_, RandomSource p_273057_, TreeConfiguration p_273220_, int p_272975_, FoliagePlacer.FoliageAttachment p_273037_, int p_273647_, int p_273700_, int p_273188_) protected void
DarkOakFoliagePlacer.createFoliage
(LevelSimulatedReader p_225558_, FoliagePlacer.FoliageSetter p_273641_, RandomSource p_225560_, TreeConfiguration p_225561_, int p_225562_, FoliagePlacer.FoliageAttachment p_225563_, int p_225564_, int p_225565_, int p_225566_) protected void
FancyFoliagePlacer.createFoliage
(LevelSimulatedReader p_225582_, FoliagePlacer.FoliageSetter p_273184_, RandomSource p_225584_, TreeConfiguration p_225585_, int p_225586_, FoliagePlacer.FoliageAttachment p_225587_, int p_225588_, int p_225589_, int p_225590_) void
FoliagePlacer.createFoliage
(LevelSimulatedReader p_273526_, FoliagePlacer.FoliageSetter p_273018_, RandomSource p_273425_, TreeConfiguration p_273138_, int p_273282_, FoliagePlacer.FoliageAttachment p_272944_, int p_272930_, int p_272727_) protected abstract void
FoliagePlacer.createFoliage
(LevelSimulatedReader p_225613_, FoliagePlacer.FoliageSetter p_273598_, RandomSource p_225615_, TreeConfiguration p_225616_, int p_225617_, FoliagePlacer.FoliageAttachment p_225618_, int p_225619_, int p_225620_, int p_225621_) protected void
MegaJungleFoliagePlacer.createFoliage
(LevelSimulatedReader p_225657_, FoliagePlacer.FoliageSetter p_273447_, RandomSource p_225659_, TreeConfiguration p_225660_, int p_225661_, FoliagePlacer.FoliageAttachment p_225662_, int p_225663_, int p_225664_, int p_225665_) protected void
MegaPineFoliagePlacer.createFoliage
(LevelSimulatedReader p_225678_, FoliagePlacer.FoliageSetter p_273345_, RandomSource p_225680_, TreeConfiguration p_225681_, int p_225682_, FoliagePlacer.FoliageAttachment p_225683_, int p_225684_, int p_225685_, int p_225686_) protected void
PineFoliagePlacer.createFoliage
(LevelSimulatedReader p_225702_, FoliagePlacer.FoliageSetter p_272791_, RandomSource p_225704_, TreeConfiguration p_225705_, int p_225706_, FoliagePlacer.FoliageAttachment p_225707_, int p_225708_, int p_225709_, int p_225710_) protected void
RandomSpreadFoliagePlacer.createFoliage
(LevelSimulatedReader p_225723_, FoliagePlacer.FoliageSetter p_272842_, RandomSource p_225725_, TreeConfiguration p_225726_, int p_225727_, FoliagePlacer.FoliageAttachment p_225728_, int p_225729_, int p_225730_, int p_225731_) protected void
SpruceFoliagePlacer.createFoliage
(LevelSimulatedReader p_225744_, FoliagePlacer.FoliageSetter p_273256_, RandomSource p_225746_, TreeConfiguration p_225747_, int p_225748_, FoliagePlacer.FoliageAttachment p_225749_, int p_225750_, int p_225751_, int p_225752_) int
AcaciaFoliagePlacer.foliageHeight
(RandomSource p_225495_, int p_225496_, TreeConfiguration p_225497_) int
BlobFoliagePlacer.foliageHeight
(RandomSource p_225516_, int p_225517_, TreeConfiguration p_225518_) int
CherryFoliagePlacer.foliageHeight
(RandomSource p_273679_, int p_273336_, TreeConfiguration p_273643_) int
DarkOakFoliagePlacer.foliageHeight
(RandomSource p_225554_, int p_225555_, TreeConfiguration p_225556_) abstract int
FoliagePlacer.foliageHeight
(RandomSource p_225601_, int p_225602_, TreeConfiguration p_225603_) int
MegaJungleFoliagePlacer.foliageHeight
(RandomSource p_225653_, int p_225654_, TreeConfiguration p_225655_) int
MegaPineFoliagePlacer.foliageHeight
(RandomSource p_225674_, int p_225675_, TreeConfiguration p_225676_) int
PineFoliagePlacer.foliageHeight
(RandomSource p_225698_, int p_225699_, TreeConfiguration p_225700_) int
RandomSpreadFoliagePlacer.foliageHeight
(RandomSource p_225719_, int p_225720_, TreeConfiguration p_225721_) int
SpruceFoliagePlacer.foliageHeight
(RandomSource p_225740_, int p_225741_, TreeConfiguration p_225742_) int
FoliagePlacer.foliageRadius
(RandomSource p_225593_, int p_225594_) int
PineFoliagePlacer.foliageRadius
(RandomSource p_225688_, int p_225689_) private int
FoliagePlacer.offset
(RandomSource p_225592_) protected void
FoliagePlacer.placeLeavesRow
(LevelSimulatedReader p_225629_, FoliagePlacer.FoliageSetter p_272772_, RandomSource p_225631_, TreeConfiguration p_225632_, BlockPos p_225633_, int p_225634_, int p_225635_, boolean p_225636_) protected final void
FoliagePlacer.placeLeavesRowWithHangingLeavesBelow
(LevelSimulatedReader p_273087_, FoliagePlacer.FoliageSetter p_273225_, RandomSource p_272629_, TreeConfiguration p_272885_, BlockPos p_273412_, int p_272712_, int p_272656_, boolean p_272689_, float p_273464_, float p_273068_) protected boolean
AcaciaFoliagePlacer.shouldSkipLocation
(RandomSource p_225488_, int p_225489_, int p_225490_, int p_225491_, int p_225492_, boolean p_225493_) protected boolean
BlobFoliagePlacer.shouldSkipLocation
(RandomSource p_225509_, int p_225510_, int p_225511_, int p_225512_, int p_225513_, boolean p_225514_) protected boolean
BushFoliagePlacer.shouldSkipLocation
(RandomSource p_225530_, int p_225531_, int p_225532_, int p_225533_, int p_225534_, boolean p_225535_) protected boolean
CherryFoliagePlacer.shouldSkipLocation
(RandomSource p_273294_, int p_273380_, int p_272865_, int p_272853_, int p_272631_, boolean p_273432_) protected boolean
DarkOakFoliagePlacer.shouldSkipLocation
(RandomSource p_225547_, int p_225548_, int p_225549_, int p_225550_, int p_225551_, boolean p_225552_) protected boolean
FancyFoliagePlacer.shouldSkipLocation
(RandomSource p_225575_, int p_225576_, int p_225577_, int p_225578_, int p_225579_, boolean p_225580_) protected abstract boolean
FoliagePlacer.shouldSkipLocation
(RandomSource p_225595_, int p_225596_, int p_225597_, int p_225598_, int p_225599_, boolean p_225600_) protected boolean
MegaJungleFoliagePlacer.shouldSkipLocation
(RandomSource p_225646_, int p_225647_, int p_225648_, int p_225649_, int p_225650_, boolean p_225651_) protected boolean
MegaPineFoliagePlacer.shouldSkipLocation
(RandomSource p_225667_, int p_225668_, int p_225669_, int p_225670_, int p_225671_, boolean p_225672_) protected boolean
PineFoliagePlacer.shouldSkipLocation
(RandomSource p_225691_, int p_225692_, int p_225693_, int p_225694_, int p_225695_, boolean p_225696_) protected boolean
RandomSpreadFoliagePlacer.shouldSkipLocation
(RandomSource p_225712_, int p_225713_, int p_225714_, int p_225715_, int p_225716_, boolean p_225717_) protected boolean
SpruceFoliagePlacer.shouldSkipLocation
(RandomSource p_225733_, int p_225734_, int p_225735_, int p_225736_, int p_225737_, boolean p_225738_) protected boolean
DarkOakFoliagePlacer.shouldSkipLocationSigned
(RandomSource p_225568_, int p_225569_, int p_225570_, int p_225571_, int p_225572_, boolean p_225573_) protected boolean
FoliagePlacer.shouldSkipLocationSigned
(RandomSource p_225639_, int p_225640_, int p_225641_, int p_225642_, int p_225643_, boolean p_225644_) private static boolean
FoliagePlacer.tryPlaceExtension
(LevelSimulatedReader p_277577_, FoliagePlacer.FoliageSetter p_277449_, RandomSource p_277966_, TreeConfiguration p_277897_, float p_277979_, BlockPos p_277833_, BlockPos.MutableBlockPos p_277567_) protected static boolean
FoliagePlacer.tryPlaceLeaf
(LevelSimulatedReader p_273596_, FoliagePlacer.FoliageSetter p_273054_, RandomSource p_272977_, TreeConfiguration p_273040_, BlockPos p_273406_) -
Uses of RandomSource in net.minecraft.world.level.levelgen.feature.rootplacers
Modifier and TypeMethodDescriptionRootPlacer.getTrunkOrigin
(BlockPos p_225892_, RandomSource p_225893_) protected void
MangroveRootPlacer.placeRoot
(LevelSimulatedReader p_225834_, BiConsumer<BlockPos, BlockState> p_225835_, RandomSource p_225836_, BlockPos p_225837_, TreeConfiguration p_225838_) protected void
RootPlacer.placeRoot
(LevelSimulatedReader p_225874_, BiConsumer<BlockPos, BlockState> p_225875_, RandomSource p_225876_, BlockPos p_225877_, TreeConfiguration p_225878_) boolean
MangroveRootPlacer.placeRoots
(LevelSimulatedReader p_225840_, BiConsumer<BlockPos, BlockState> p_225841_, RandomSource p_225842_, BlockPos p_225843_, BlockPos p_225844_, TreeConfiguration p_225845_) abstract boolean
RootPlacer.placeRoots
(LevelSimulatedReader p_225879_, BiConsumer<BlockPos, BlockState> p_225880_, RandomSource p_225881_, BlockPos p_225882_, BlockPos p_225883_, TreeConfiguration p_225884_) MangroveRootPlacer.potentialRootPositions
(BlockPos p_225851_, Direction p_225852_, RandomSource p_225853_, BlockPos p_225854_) private boolean
MangroveRootPlacer.simulateRoots
(LevelSimulatedReader p_225823_, RandomSource p_225824_, BlockPos p_225825_, Direction p_225826_, BlockPos p_225827_, List<BlockPos> p_225828_, int p_225829_) -
Uses of RandomSource in net.minecraft.world.level.levelgen.feature.stateproviders
Modifier and TypeMethodDescriptionabstract BlockState
BlockStateProvider.getState
(RandomSource p_225907_, BlockPos p_225908_) DualNoiseProvider.getState
(RandomSource p_225910_, BlockPos p_225911_) NoiseProvider.getState
(RandomSource p_225913_, BlockPos p_225914_) NoiseThresholdProvider.getState
(RandomSource p_225916_, BlockPos p_225917_) RandomizedIntStateProvider.getState
(RandomSource p_225919_, BlockPos p_225920_) RotatedBlockProvider.getState
(RandomSource p_225922_, BlockPos p_225923_) RuleBasedBlockStateProvider.getState
(WorldGenLevel p_225933_, RandomSource p_225934_, BlockPos p_225935_) SimpleStateProvider.getState
(RandomSource p_225963_, BlockPos p_225964_) WeightedStateProvider.getState
(RandomSource p_225966_, BlockPos p_225967_) -
Uses of RandomSource in net.minecraft.world.level.levelgen.feature.treedecorators
ModifierConstructorDescriptionContext
(LevelSimulatedReader p_226052_, BiConsumer<BlockPos, BlockState> p_226053_, RandomSource p_226054_, Set<BlockPos> p_226055_, Set<BlockPos> p_226056_, Set<BlockPos> p_226057_) -
Uses of RandomSource in net.minecraft.world.level.levelgen.feature.trunkplacers
Modifier and TypeMethodDescriptionprivate FoliagePlacer.FoliageAttachment
CherryTrunkPlacer.generateBranch
(LevelSimulatedReader p_272736_, BiConsumer<BlockPos, BlockState> p_273092_, RandomSource p_273449_, int p_272659_, BlockPos p_273743_, TreeConfiguration p_273027_, Function<BlockState, BlockState> p_273558_, Direction p_273712_, int p_272980_, boolean p_272719_, BlockPos.MutableBlockPos p_273496_) int
TrunkPlacer.getTreeHeight
(RandomSource p_226154_) private void
FancyTrunkPlacer.makeBranches
(LevelSimulatedReader p_226100_, BiConsumer<BlockPos, BlockState> p_226101_, RandomSource p_226102_, int p_226103_, BlockPos p_226104_, List<FancyTrunkPlacer.FoliageCoords> p_226105_, TreeConfiguration p_226106_) private boolean
FancyTrunkPlacer.makeLimb
(LevelSimulatedReader p_226108_, BiConsumer<BlockPos, BlockState> p_226109_, RandomSource p_226110_, BlockPos p_226111_, BlockPos p_226112_, boolean p_226113_, TreeConfiguration p_226114_) private void
UpwardsBranchingTrunkPlacer.placeBranch
(LevelSimulatedReader p_226213_, BiConsumer<BlockPos, BlockState> p_226214_, RandomSource p_226215_, int p_226216_, TreeConfiguration p_226217_, List<FoliagePlacer.FoliageAttachment> p_226218_, BlockPos.MutableBlockPos p_226219_, int p_226220_, Direction p_226221_, int p_226222_, int p_226223_) protected boolean
TrunkPlacer.placeLog
(LevelSimulatedReader p_226188_, BiConsumer<BlockPos, BlockState> p_226189_, RandomSource p_226190_, BlockPos p_226191_, TreeConfiguration p_226192_) protected boolean
TrunkPlacer.placeLog
(LevelSimulatedReader p_226176_, BiConsumer<BlockPos, BlockState> p_226177_, RandomSource p_226178_, BlockPos p_226179_, TreeConfiguration p_226180_, Function<BlockState, BlockState> p_226181_) protected void
TrunkPlacer.placeLogIfFree
(LevelSimulatedReader p_226164_, BiConsumer<BlockPos, BlockState> p_226165_, RandomSource p_226166_, BlockPos.MutableBlockPos p_226167_, TreeConfiguration p_226168_) private void
GiantTrunkPlacer.placeLogIfFreeWithOffset
(LevelSimulatedReader p_226130_, BiConsumer<BlockPos, BlockState> p_226131_, RandomSource p_226132_, BlockPos.MutableBlockPos p_226133_, TreeConfiguration p_226134_, BlockPos p_226135_, int p_226136_, int p_226137_, int p_226138_) BendingTrunkPlacer.placeTrunk
(LevelSimulatedReader p_226079_, BiConsumer<BlockPos, BlockState> p_226080_, RandomSource p_226081_, int p_226082_, BlockPos p_226083_, TreeConfiguration p_226084_) CherryTrunkPlacer.placeTrunk
(LevelSimulatedReader p_272827_, BiConsumer<BlockPos, BlockState> p_272650_, RandomSource p_272993_, int p_272990_, BlockPos p_273471_, TreeConfiguration p_273355_) DarkOakTrunkPlacer.placeTrunk
(LevelSimulatedReader p_226086_, BiConsumer<BlockPos, BlockState> p_226087_, RandomSource p_226088_, int p_226089_, BlockPos p_226090_, TreeConfiguration p_226091_) FancyTrunkPlacer.placeTrunk
(LevelSimulatedReader p_226093_, BiConsumer<BlockPos, BlockState> p_226094_, RandomSource p_226095_, int p_226096_, BlockPos p_226097_, TreeConfiguration p_226098_) ForkingTrunkPlacer.placeTrunk
(LevelSimulatedReader p_226116_, BiConsumer<BlockPos, BlockState> p_226117_, RandomSource p_226118_, int p_226119_, BlockPos p_226120_, TreeConfiguration p_226121_) GiantTrunkPlacer.placeTrunk
(LevelSimulatedReader p_226123_, BiConsumer<BlockPos, BlockState> p_226124_, RandomSource p_226125_, int p_226126_, BlockPos p_226127_, TreeConfiguration p_226128_) MegaJungleTrunkPlacer.placeTrunk
(LevelSimulatedReader p_226140_, BiConsumer<BlockPos, BlockState> p_226141_, RandomSource p_226142_, int p_226143_, BlockPos p_226144_, TreeConfiguration p_226145_) StraightTrunkPlacer.placeTrunk
(LevelSimulatedReader p_226147_, BiConsumer<BlockPos, BlockState> p_226148_, RandomSource p_226149_, int p_226150_, BlockPos p_226151_, TreeConfiguration p_226152_) abstract List<FoliagePlacer.FoliageAttachment>
TrunkPlacer.placeTrunk
(LevelSimulatedReader p_226157_, BiConsumer<BlockPos, BlockState> p_226158_, RandomSource p_226159_, int p_226160_, BlockPos p_226161_, TreeConfiguration p_226162_) UpwardsBranchingTrunkPlacer.placeTrunk
(LevelSimulatedReader p_226225_, BiConsumer<BlockPos, BlockState> p_226226_, RandomSource p_226227_, int p_226228_, BlockPos p_226229_, TreeConfiguration p_226230_) protected static void
TrunkPlacer.setDirtAt
(LevelSimulatedReader p_226170_, BiConsumer<BlockPos, BlockState> p_226171_, RandomSource p_226172_, BlockPos p_226173_, TreeConfiguration p_226174_) -
Uses of RandomSource in net.minecraft.world.level.levelgen.heightproviders
Modifier and TypeMethodDescriptionint
BiasedToBottomHeight.sample
(RandomSource p_226297_, WorldGenerationContext p_226298_) int
ConstantHeight.sample
(RandomSource p_226300_, WorldGenerationContext p_226301_) abstract int
HeightProvider.sample
(RandomSource p_226302_, WorldGenerationContext p_226303_) int
TrapezoidHeight.sample
(RandomSource p_226305_, WorldGenerationContext p_226306_) int
UniformHeight.sample
(RandomSource p_226308_, WorldGenerationContext p_226309_) int
VeryBiasedToBottomHeight.sample
(RandomSource p_226311_, WorldGenerationContext p_226312_) int
WeightedListHeight.sample
(RandomSource p_226314_, WorldGenerationContext p_226315_) -
Uses of RandomSource in net.minecraft.world.level.levelgen.placement
Modifier and TypeMethodDescriptionprotected int
CountPlacement.count
(RandomSource p_226333_, BlockPos p_226334_) protected int
NoiseBasedCountPlacement.count
(RandomSource p_226352_, BlockPos p_226353_) protected int
NoiseThresholdCountPlacement.count
(RandomSource p_226355_, BlockPos p_226356_) protected abstract int
RepeatingPlacement.count
(RandomSource p_226400_, BlockPos p_226401_) CarvingMaskPlacement.getPositions
(PlacementContext p_226325_, RandomSource p_226326_, BlockPos p_226327_) CountOnEveryLayerPlacement.getPositions
(PlacementContext p_226329_, RandomSource p_226330_, BlockPos p_226331_) Deprecated.EnvironmentScanPlacement.getPositions
(PlacementContext p_226336_, RandomSource p_226337_, BlockPos p_226338_) HeightmapPlacement.getPositions
(PlacementContext p_226344_, RandomSource p_226345_, BlockPos p_226346_) HeightRangePlacement.getPositions
(PlacementContext p_226340_, RandomSource p_226341_, BlockPos p_226342_) InSquarePlacement.getPositions
(PlacementContext p_226348_, RandomSource p_226349_, BlockPos p_226350_) PlacementFilter.getPositions
(PlacementContext p_226386_, RandomSource p_226387_, BlockPos p_226388_) PlacementModifier.getPositions
(PlacementContext p_226389_, RandomSource p_226390_, BlockPos p_226391_) RandomOffsetPlacement.getPositions
(PlacementContext p_226393_, RandomSource p_226394_, BlockPos p_226395_) RepeatingPlacement.getPositions
(PlacementContext p_226403_, RandomSource p_226404_, BlockPos p_226405_) boolean
PlacedFeature.place
(WorldGenLevel p_226358_, ChunkGenerator p_226359_, RandomSource p_226360_, BlockPos p_226361_) boolean
PlacedFeature.placeWithBiomeCheck
(WorldGenLevel p_226378_, ChunkGenerator p_226379_, RandomSource p_226380_, BlockPos p_226381_) private boolean
PlacedFeature.placeWithContext
(PlacementContext p_226369_, RandomSource p_226370_, BlockPos p_226371_) protected boolean
BiomeFilter.shouldPlace
(PlacementContext p_226317_, RandomSource p_226318_, BlockPos p_226319_) protected boolean
BlockPredicateFilter.shouldPlace
(PlacementContext p_226321_, RandomSource p_226322_, BlockPos p_226323_) protected abstract boolean
PlacementFilter.shouldPlace
(PlacementContext p_226382_, RandomSource p_226383_, BlockPos p_226384_) protected boolean
RarityFilter.shouldPlace
(PlacementContext p_226397_, RandomSource p_226398_, BlockPos p_226399_) protected boolean
SurfaceRelativeThresholdFilter.shouldPlace
(PlacementContext p_226407_, RandomSource p_226408_, BlockPos p_226409_) protected boolean
SurfaceWaterDepthFilter.shouldPlace
(PlacementContext p_226411_, RandomSource p_226412_, BlockPos p_226413_) -
Uses of RandomSource in net.minecraft.world.level.levelgen.structure
Modifier and TypeMethodDescriptionvoid
StructurePiece.addChildren
(StructurePiece p_226835_, StructurePieceAccessor p_226836_, RandomSource p_226837_) void
PostPlacementProcessor.afterPlace
(WorldGenLevel p_226526_, StructureManager p_226527_, ChunkGenerator p_226528_, RandomSource p_226529_, BoundingBox p_226530_, ChunkPos p_226531_, PiecesContainer p_226532_) void
Structure.afterPlace
(WorldGenLevel p_226560_, StructureManager p_226561_, ChunkGenerator p_226562_, RandomSource p_226563_, BoundingBox p_226564_, ChunkPos p_226565_, PiecesContainer p_226566_) protected boolean
StructurePiece.createChest
(ServerLevelAccessor p_226763_, BoundingBox p_226764_, RandomSource p_226765_, BlockPos p_226766_, ResourceLocation p_226767_, BlockState p_226768_) protected boolean
StructurePiece.createChest
(WorldGenLevel p_226812_, BoundingBox p_226813_, RandomSource p_226814_, int p_226815_, int p_226816_, int p_226817_, ResourceLocation p_226818_) protected boolean
StructurePiece.createDispenser
(WorldGenLevel p_226820_, BoundingBox p_226821_, RandomSource p_226822_, int p_226823_, int p_226824_, int p_226825_, Direction p_226826_, ResourceLocation p_226827_) protected void
StructurePiece.generateBox
(WorldGenLevel p_226777_, BoundingBox p_226778_, int p_226779_, int p_226780_, int p_226781_, int p_226782_, int p_226783_, int p_226784_, boolean p_226785_, RandomSource p_226786_, StructurePiece.BlockSelector p_226787_) protected void
StructurePiece.generateBox
(WorldGenLevel p_226829_, BoundingBox p_226830_, BoundingBox p_226831_, boolean p_226832_, RandomSource p_226833_, StructurePiece.BlockSelector p_226834_) protected void
StructurePiece.generateMaybeBox
(WorldGenLevel p_226789_, BoundingBox p_226790_, RandomSource p_226791_, float p_226792_, int p_226793_, int p_226794_, int p_226795_, int p_226796_, int p_226797_, int p_226798_, BlockState p_226799_, BlockState p_226800_, boolean p_226801_, boolean p_226802_) protected static Direction
StructurePiece.getRandomHorizontalDirection
(RandomSource p_226761_) protected abstract void
TemplateStructurePiece.handleDataMarker
(String p_226906_, BlockPos p_226907_, ServerLevelAccessor p_226908_, RandomSource p_226909_, BoundingBox p_226910_) protected void
StructurePiece.maybeGenerateBlock
(WorldGenLevel p_226804_, BoundingBox p_226805_, RandomSource p_226806_, float p_226807_, int p_226808_, int p_226809_, int p_226810_, BlockState p_226811_) abstract void
StructurePiece.BlockSelector.next
(RandomSource p_226838_, int p_226839_, int p_226840_, int p_226841_, boolean p_226842_) void
PoolElementStructurePiece.place
(WorldGenLevel p_226510_, StructureManager p_226511_, ChunkGenerator p_226512_, RandomSource p_226513_, BoundingBox p_226514_, BlockPos p_226515_, boolean p_226516_) void
StructureStart.placeInChunk
(WorldGenLevel p_226851_, StructureManager p_226852_, ChunkGenerator p_226853_, RandomSource p_226854_, BoundingBox p_226855_, ChunkPos p_226856_) void
PoolElementStructurePiece.postProcess
(WorldGenLevel p_226502_, StructureManager p_226503_, ChunkGenerator p_226504_, RandomSource p_226505_, BoundingBox p_226506_, ChunkPos p_226507_, BlockPos p_226508_) abstract void
StructurePiece.postProcess
(WorldGenLevel p_226769_, StructureManager p_226770_, ChunkGenerator p_226771_, RandomSource p_226772_, BoundingBox p_226773_, ChunkPos p_226774_, BlockPos p_226775_) void
TemplateStructurePiece.postProcess
(WorldGenLevel p_226899_, StructureManager p_226900_, ChunkGenerator p_226901_, RandomSource p_226902_, BoundingBox p_226903_, ChunkPos p_226904_, BlockPos p_226905_) -
Uses of RandomSource in net.minecraft.world.level.levelgen.structure.pieces
Modifier and TypeMethodDescriptionint
StructurePiecesBuilder.moveBelowSeaLevel
(int p_226966_, int p_226967_, RandomSource p_226968_, int p_226969_) Deprecated.void
StructurePiecesBuilder.moveInsideHeights
(RandomSource p_226971_, int p_226972_, int p_226973_) Deprecated. -
Uses of RandomSource in net.minecraft.world.level.levelgen.structure.placement
Modifier and TypeMethodDescriptionint
RandomSpreadType.evaluate
(RandomSource p_227019_, int p_227020_) -
Uses of RandomSource in net.minecraft.world.level.levelgen.structure.pools
Modifier and TypeMethodDescriptionprivate static void
JigsawPlacement.addPieces
(RandomState p_227211_, int p_227212_, boolean p_227213_, ChunkGenerator p_227214_, StructureTemplateManager p_227215_, LevelHeightAccessor p_227216_, RandomSource p_227217_, Registry<StructureTemplatePool> p_227218_, PoolElementStructurePiece p_227219_, List<PoolElementStructurePiece> p_227220_, VoxelShape p_227221_, PoolAliasLookup p_312553_) StructureTemplatePool.getRandomTemplate
(RandomSource p_227356_) EmptyPoolElement.getShuffledJigsawBlocks
(StructureTemplateManager p_227176_, BlockPos p_227177_, Rotation p_227178_, RandomSource p_227179_) FeaturePoolElement.getShuffledJigsawBlocks
(StructureTemplateManager p_227199_, BlockPos p_227200_, Rotation p_227201_, RandomSource p_227202_) ListPoolElement.getShuffledJigsawBlocks
(StructureTemplateManager p_227290_, BlockPos p_227291_, Rotation p_227292_, RandomSource p_227293_) SinglePoolElement.getShuffledJigsawBlocks
(StructureTemplateManager p_227320_, BlockPos p_227321_, Rotation p_227322_, RandomSource p_227323_) abstract List<StructureTemplate.StructureBlockInfo>
StructurePoolElement.getShuffledJigsawBlocks
(StructureTemplateManager p_227351_, BlockPos p_227352_, Rotation p_227353_, RandomSource p_227354_) StructureTemplatePool.getShuffledTemplates
(RandomSource p_227363_) void
StructurePoolElement.handleDataMarker
(LevelAccessor p_227330_, StructureTemplate.StructureBlockInfo p_227331_, BlockPos p_227332_, Rotation p_227333_, RandomSource p_227334_, BoundingBox p_227335_) boolean
EmptyPoolElement.place
(StructureTemplateManager p_227158_, WorldGenLevel p_227159_, StructureManager p_227160_, ChunkGenerator p_227161_, BlockPos p_227162_, BlockPos p_227163_, Rotation p_227164_, BoundingBox p_227165_, RandomSource p_227166_, boolean p_227167_) boolean
FeaturePoolElement.place
(StructureTemplateManager p_227181_, WorldGenLevel p_227182_, StructureManager p_227183_, ChunkGenerator p_227184_, BlockPos p_227185_, BlockPos p_227186_, Rotation p_227187_, BoundingBox p_227188_, RandomSource p_227189_, boolean p_227190_) boolean
ListPoolElement.place
(StructureTemplateManager p_227272_, WorldGenLevel p_227273_, StructureManager p_227274_, ChunkGenerator p_227275_, BlockPos p_227276_, BlockPos p_227277_, Rotation p_227278_, BoundingBox p_227279_, RandomSource p_227280_, boolean p_227281_) boolean
SinglePoolElement.place
(StructureTemplateManager p_227302_, WorldGenLevel p_227303_, StructureManager p_227304_, ChunkGenerator p_227305_, BlockPos p_227306_, BlockPos p_227307_, Rotation p_227308_, BoundingBox p_227309_, RandomSource p_227310_, boolean p_227311_) abstract boolean
StructurePoolElement.place
(StructureTemplateManager p_227336_, WorldGenLevel p_227337_, StructureManager p_227338_, ChunkGenerator p_227339_, BlockPos p_227340_, BlockPos p_227341_, Rotation p_227342_, BoundingBox p_227343_, RandomSource p_227344_, boolean p_227345_) ModifierConstructorDescription(package private)
Placer
(Registry<StructureTemplatePool> p_227258_, int p_227259_, ChunkGenerator p_227260_, StructureTemplateManager p_227261_, List<? super PoolElementStructurePiece> p_227262_, RandomSource p_227263_) -
Uses of RandomSource in net.minecraft.world.level.levelgen.structure.pools.alias
Modifier and TypeMethodDescriptionvoid
Direct.forEachResolved
(RandomSource p_312348_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_310565_) void
PoolAliasBinding.forEachResolved
(RandomSource p_309848_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_311325_) void
Random.forEachResolved
(RandomSource p_312605_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_311412_) void
RandomGroup.forEachResolved
(RandomSource p_309696_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_312789_) -
Uses of RandomSource in net.minecraft.world.level.levelgen.structure.structures
Modifier and TypeFieldDescriptionprivate final RandomSource
WoodlandMansionPieces.MansionGrid.random
private final RandomSource
WoodlandMansionPieces.MansionPiecePlacer.random
Modifier and TypeMethodDescriptionvoid
MineshaftPieces.MineShaftCorridor.addChildren
(StructurePiece p_227795_, StructurePieceAccessor p_227796_, RandomSource p_227797_) void
MineshaftPieces.MineShaftCrossing.addChildren
(StructurePiece p_227851_, StructurePieceAccessor p_227852_, RandomSource p_227853_) void
MineshaftPieces.MineShaftRoom.addChildren
(StructurePiece p_227922_, StructurePieceAccessor p_227923_, RandomSource p_227924_) void
MineshaftPieces.MineShaftStairs.addChildren
(StructurePiece p_227947_, StructurePieceAccessor p_227948_, RandomSource p_227949_) void
NetherFortressPieces.BridgeCrossing.addChildren
(StructurePiece p_228043_, StructurePieceAccessor p_228044_, RandomSource p_228045_) void
NetherFortressPieces.BridgeStraight.addChildren
(StructurePiece p_228102_, StructurePieceAccessor p_228103_, RandomSource p_228104_) void
NetherFortressPieces.CastleCorridorStairsPiece.addChildren
(StructurePiece p_228131_, StructurePieceAccessor p_228132_, RandomSource p_228133_) void
NetherFortressPieces.CastleCorridorTBalconyPiece.addChildren
(StructurePiece p_228159_, StructurePieceAccessor p_228160_, RandomSource p_228161_) void
NetherFortressPieces.CastleEntrance.addChildren
(StructurePiece p_228188_, StructurePieceAccessor p_228189_, RandomSource p_228190_) void
NetherFortressPieces.CastleSmallCorridorCrossingPiece.addChildren
(StructurePiece p_228217_, StructurePieceAccessor p_228218_, RandomSource p_228219_) void
NetherFortressPieces.CastleSmallCorridorLeftTurnPiece.addChildren
(StructurePiece p_228247_, StructurePieceAccessor p_228248_, RandomSource p_228249_) void
NetherFortressPieces.CastleSmallCorridorPiece.addChildren
(StructurePiece p_228279_, StructurePieceAccessor p_228280_, RandomSource p_228281_) void
NetherFortressPieces.CastleSmallCorridorRightTurnPiece.addChildren
(StructurePiece p_228309_, StructurePieceAccessor p_228310_, RandomSource p_228311_) void
NetherFortressPieces.CastleStalkRoom.addChildren
(StructurePiece p_228341_, StructurePieceAccessor p_228342_, RandomSource p_228343_) void
NetherFortressPieces.RoomCrossing.addChildren
(StructurePiece p_228469_, StructurePieceAccessor p_228470_, RandomSource p_228471_) void
NetherFortressPieces.StairsRoom.addChildren
(StructurePiece p_228497_, StructurePieceAccessor p_228498_, RandomSource p_228499_) void
StrongholdPieces.ChestCorridor.addChildren
(StructurePiece p_229480_, StructurePieceAccessor p_229481_, RandomSource p_229482_) void
StrongholdPieces.FiveCrossing.addChildren
(StructurePiece p_229542_, StructurePieceAccessor p_229543_, RandomSource p_229544_) void
StrongholdPieces.LeftTurn.addChildren
(StructurePiece p_229572_, StructurePieceAccessor p_229573_, RandomSource p_229574_) void
StrongholdPieces.PortalRoom.addChildren
(StructurePiece p_229643_, StructurePieceAccessor p_229644_, RandomSource p_229645_) void
StrongholdPieces.PrisonHall.addChildren
(StructurePiece p_229675_, StructurePieceAccessor p_229676_, RandomSource p_229677_) void
StrongholdPieces.RightTurn.addChildren
(StructurePiece p_229702_, StructurePieceAccessor p_229703_, RandomSource p_229704_) void
StrongholdPieces.RoomCrossing.addChildren
(StructurePiece p_229733_, StructurePieceAccessor p_229734_, RandomSource p_229735_) void
StrongholdPieces.StairsDown.addChildren
(StructurePiece p_229783_, StructurePieceAccessor p_229784_, RandomSource p_229785_) void
StrongholdPieces.Straight.addChildren
(StructurePiece p_229828_, StructurePieceAccessor p_229829_, RandomSource p_229830_) void
StrongholdPieces.StraightStairsDown.addChildren
(StructurePiece p_229861_, StructurePieceAccessor p_229862_, RandomSource p_229863_) private static void
OceanRuinPieces.addClusterRuins
(StructureTemplateManager p_228988_, RandomSource p_228989_, Rotation p_228990_, BlockPos p_228991_, OceanRuinStructure p_228992_, StructurePieceAccessor p_228993_) private void
RuinedPortalPiece.addNetherrackDripColumn
(RandomSource p_229190_, LevelAccessor p_229191_, BlockPos p_229192_) private void
RuinedPortalPiece.addNetherrackDripColumnsBelowPortal
(RandomSource p_229118_, LevelAccessor p_229119_) private static void
OceanRuinPieces.addPiece
(StructureTemplateManager p_229002_, BlockPos p_229003_, Rotation p_229004_, StructurePieceAccessor p_229005_, RandomSource p_229006_, OceanRuinStructure p_229007_, boolean p_229008_, float p_229009_) static void
IglooPieces.addPieces
(StructureTemplateManager p_227549_, BlockPos p_227550_, Rotation p_227551_, StructurePieceAccessor p_227552_, RandomSource p_227553_) static void
NetherFossilPieces.addPieces
(StructureTemplateManager p_228535_, StructurePieceAccessor p_228536_, RandomSource p_228537_, BlockPos p_228538_) static void
OceanRuinPieces.addPieces
(StructureTemplateManager p_228995_, BlockPos p_228996_, Rotation p_228997_, StructurePieceAccessor p_228998_, RandomSource p_228999_, OceanRuinStructure p_229000_) static void
ShipwreckPieces.addPieces
(StructureTemplateManager p_229346_, BlockPos p_229347_, Rotation p_229348_, StructurePieceAccessor p_229349_, RandomSource p_229350_, boolean p_229351_) void
DesertPyramidStructure.afterPlace
(WorldGenLevel p_273644_, StructureManager p_272615_, ChunkGenerator p_273655_, RandomSource p_272939_, BoundingBox p_273179_, ChunkPos p_273334_, PiecesContainer p_273575_) void
WoodlandMansionStructure.afterPlace
(WorldGenLevel p_230227_, StructureManager p_230228_, ChunkGenerator p_230229_, RandomSource p_230230_, BoundingBox p_230231_, ChunkPos p_230232_, PiecesContainer p_230233_) OceanRuinPieces.allPositions
(RandomSource p_228985_, BlockPos p_228986_) OceanMonumentPieces.FitDoubleXRoom.create
(Direction p_228594_, OceanMonumentPieces.RoomDefinition p_228595_, RandomSource p_228596_) OceanMonumentPieces.FitDoubleXYRoom.create
(Direction p_228601_, OceanMonumentPieces.RoomDefinition p_228602_, RandomSource p_228603_) OceanMonumentPieces.FitDoubleYRoom.create
(Direction p_228608_, OceanMonumentPieces.RoomDefinition p_228609_, RandomSource p_228610_) OceanMonumentPieces.FitDoubleYZRoom.create
(Direction p_228615_, OceanMonumentPieces.RoomDefinition p_228616_, RandomSource p_228617_) OceanMonumentPieces.FitDoubleZRoom.create
(Direction p_228622_, OceanMonumentPieces.RoomDefinition p_228623_, RandomSource p_228624_) OceanMonumentPieces.FitSimpleRoom.create
(Direction p_228629_, OceanMonumentPieces.RoomDefinition p_228630_, RandomSource p_228631_) OceanMonumentPieces.FitSimpleTopRoom.create
(Direction p_228636_, OceanMonumentPieces.RoomDefinition p_228637_, RandomSource p_228638_) OceanMonumentPieces.MonumentRoomFitter.create
(Direction p_228695_, OceanMonumentPieces.RoomDefinition p_228696_, RandomSource p_228697_) protected boolean
MineshaftPieces.MineShaftCorridor.createChest
(WorldGenLevel p_227787_, BoundingBox p_227788_, RandomSource p_227789_, int p_227790_, int p_227791_, int p_227792_, ResourceLocation p_227793_) NetherFortressPieces.BridgeEndFiller.createPiece
(StructurePieceAccessor p_228073_, RandomSource p_228074_, int p_228075_, int p_228076_, int p_228077_, Direction p_228078_, int p_228079_) NetherFortressPieces.BridgeStraight.createPiece
(StructurePieceAccessor p_228106_, RandomSource p_228107_, int p_228108_, int p_228109_, int p_228110_, Direction p_228111_, int p_228112_) NetherFortressPieces.CastleEntrance.createPiece
(StructurePieceAccessor p_228192_, RandomSource p_228193_, int p_228194_, int p_228195_, int p_228196_, Direction p_228197_, int p_228198_) NetherFortressPieces.CastleSmallCorridorLeftTurnPiece.createPiece
(StructurePieceAccessor p_228251_, RandomSource p_228252_, int p_228253_, int p_228254_, int p_228255_, Direction p_228256_, int p_228257_) NetherFortressPieces.CastleSmallCorridorRightTurnPiece.createPiece
(StructurePieceAccessor p_228313_, RandomSource p_228314_, int p_228315_, int p_228316_, int p_228317_, Direction p_228318_, int p_228319_) StrongholdPieces.ChestCorridor.createPiece
(StructurePieceAccessor p_229484_, RandomSource p_229485_, int p_229486_, int p_229487_, int p_229488_, Direction p_229489_, int p_229490_) StrongholdPieces.FiveCrossing.createPiece
(StructurePieceAccessor p_229546_, RandomSource p_229547_, int p_229548_, int p_229549_, int p_229550_, Direction p_229551_, int p_229552_) static StrongholdPieces.LeftTurn
StrongholdPieces.LeftTurn.createPiece
(StructurePieceAccessor p_229576_, RandomSource p_229577_, int p_229578_, int p_229579_, int p_229580_, Direction p_229581_, int p_229582_) static StrongholdPieces.Library
StrongholdPieces.Library.createPiece
(StructurePieceAccessor p_229604_, RandomSource p_229605_, int p_229606_, int p_229607_, int p_229608_, Direction p_229609_, int p_229610_) static StrongholdPieces.PrisonHall
StrongholdPieces.PrisonHall.createPiece
(StructurePieceAccessor p_229679_, RandomSource p_229680_, int p_229681_, int p_229682_, int p_229683_, Direction p_229684_, int p_229685_) static StrongholdPieces.RightTurn
StrongholdPieces.RightTurn.createPiece
(StructurePieceAccessor p_229706_, RandomSource p_229707_, int p_229708_, int p_229709_, int p_229710_, Direction p_229711_, int p_229712_) StrongholdPieces.RoomCrossing.createPiece
(StructurePieceAccessor p_229737_, RandomSource p_229738_, int p_229739_, int p_229740_, int p_229741_, Direction p_229742_, int p_229743_) static StrongholdPieces.StairsDown
StrongholdPieces.StairsDown.createPiece
(StructurePieceAccessor p_229787_, RandomSource p_229788_, int p_229789_, int p_229790_, int p_229791_, Direction p_229792_, int p_229793_) static StrongholdPieces.Straight
StrongholdPieces.Straight.createPiece
(StructurePieceAccessor p_229832_, RandomSource p_229833_, int p_229834_, int p_229835_, int p_229836_, Direction p_229837_, int p_229838_) StrongholdPieces.StraightStairsDown.createPiece
(StructurePieceAccessor p_229865_, RandomSource p_229866_, int p_229867_, int p_229868_, int p_229869_, Direction p_229870_, int p_229871_) private static MineshaftPieces.MineShaftPiece
MineshaftPieces.createRandomShaftPiece
(StructurePieceAccessor p_227716_, RandomSource p_227717_, int p_227718_, int p_227719_, int p_227720_, Direction p_227721_, int p_227722_, MineshaftStructure.Type p_227723_) (package private) static NetherFortressPieces.NetherBridgePiece
NetherFortressPieces.findAndCreateBridgePieceFactory
(NetherFortressPieces.PieceWeight p_228008_, StructurePieceAccessor p_228009_, RandomSource p_228010_, int p_228011_, int p_228012_, int p_228013_, Direction p_228014_, int p_228015_) private static StrongholdPieces.StrongholdPiece
StrongholdPieces.findAndCreatePieceFactory
(Class<? extends StrongholdPieces.StrongholdPiece> p_229427_, StructurePieceAccessor p_229428_, RandomSource p_229429_, int p_229430_, int p_229431_, int p_229432_, Direction p_229433_, int p_229434_) static BoundingBox
MineshaftPieces.MineShaftCorridor.findCorridorSize
(StructurePieceAccessor p_227799_, RandomSource p_227800_, int p_227801_, int p_227802_, int p_227803_, Direction p_227804_) static BoundingBox
MineshaftPieces.MineShaftCrossing.findCrossing
(StructurePieceAccessor p_227855_, RandomSource p_227856_, int p_227857_, int p_227858_, int p_227859_, Direction p_227860_) static BoundingBox
StrongholdPieces.FillerCorridor.findPieceBox
(StructurePieceAccessor p_229510_, RandomSource p_229511_, int p_229512_, int p_229513_, int p_229514_, Direction p_229515_) static BoundingBox
MineshaftPieces.MineShaftStairs.findStairs
(StructurePieceAccessor p_227951_, RandomSource p_227952_, int p_227953_, int p_227954_, int p_227955_, Direction p_227956_) private static int
RuinedPortalStructure.findSuitableY
(RandomSource p_229267_, ChunkGenerator p_229268_, RuinedPortalPiece.VerticalPlacement p_229269_, boolean p_229270_, int p_229271_, int p_229272_, BoundingBox p_229273_, LevelHeightAccessor p_229274_, RandomState p_229275_) boolean
EndCityPieces.SectionGenerator.generate
(StructureTemplateManager p_227517_, int p_227518_, EndCityPieces.EndCityPiece p_227519_, BlockPos p_227520_, List<StructurePiece> p_227521_, RandomSource p_227522_) (package private) static MineshaftPieces.MineShaftPiece
MineshaftPieces.generateAndAddPiece
(StructurePiece p_227707_, StructurePieceAccessor p_227708_, RandomSource p_227709_, int p_227710_, int p_227711_, int p_227712_, Direction p_227713_, int p_227714_) private StructurePiece
NetherFortressPieces.NetherBridgePiece.generateAndAddPiece
(NetherFortressPieces.StartPiece p_228392_, StructurePieceAccessor p_228393_, RandomSource p_228394_, int p_228395_, int p_228396_, int p_228397_, Direction p_228398_, int p_228399_, boolean p_228400_) (package private) static StructurePiece
StrongholdPieces.generateAndAddPiece
(StrongholdPieces.StartPiece p_229437_, StructurePieceAccessor p_229438_, RandomSource p_229439_, int p_229440_, int p_229441_, int p_229442_, Direction p_229443_, int p_229444_) protected StructurePiece
NetherFortressPieces.NetherBridgePiece.generateChildForward
(NetherFortressPieces.StartPiece p_228402_, StructurePieceAccessor p_228403_, RandomSource p_228404_, int p_228405_, int p_228406_, boolean p_228407_) protected StructurePiece
NetherFortressPieces.NetherBridgePiece.generateChildLeft
(NetherFortressPieces.StartPiece p_228421_, StructurePieceAccessor p_228422_, RandomSource p_228423_, int p_228424_, int p_228425_, boolean p_228426_) protected StructurePiece
NetherFortressPieces.NetherBridgePiece.generateChildRight
(NetherFortressPieces.StartPiece p_228428_, StructurePieceAccessor p_228429_, RandomSource p_228430_, int p_228431_, int p_228432_, boolean p_228433_) private void
OceanMonumentPieces.MonumentBuilding.generateEntranceArchs
(WorldGenLevel p_228655_, RandomSource p_228656_, BoundingBox p_228657_) private void
OceanMonumentPieces.MonumentBuilding.generateEntranceWall
(WorldGenLevel p_228675_, RandomSource p_228676_, BoundingBox p_228677_) private void
OceanMonumentPieces.MonumentBuilding.generateLowerWall
(WorldGenLevel p_228683_, RandomSource p_228684_, BoundingBox p_228685_) static void
WoodlandMansionPieces.generateMansion
(StructureTemplateManager p_229986_, BlockPos p_229987_, Rotation p_229988_, List<WoodlandMansionPieces.WoodlandMansionPiece> p_229989_, RandomSource p_229990_) private void
OceanMonumentPieces.MonumentBuilding.generateMiddleWall
(WorldGenLevel p_228687_, RandomSource p_228688_, BoundingBox p_228689_) NetherFortressPieces.NetherBridgePiece.generatePiece
(NetherFortressPieces.StartPiece p_228409_, List<NetherFortressPieces.PieceWeight> p_228410_, StructurePieceAccessor p_228411_, RandomSource p_228412_, int p_228413_, int p_228414_, int p_228415_, Direction p_228416_, int p_228417_) private static StrongholdPieces.StrongholdPiece
StrongholdPieces.generatePieceFromSmallDoor
(StrongholdPieces.StartPiece p_229418_, StructurePieceAccessor p_229419_, RandomSource p_229420_, int p_229421_, int p_229422_, int p_229423_, Direction p_229424_, int p_229425_) private void
OceanMonumentPieces.MonumentBuilding.generateRoofPiece
(WorldGenLevel p_228679_, RandomSource p_228680_, BoundingBox p_228681_) private List<OceanMonumentPieces.RoomDefinition>
OceanMonumentPieces.MonumentBuilding.generateRoomGraph
(RandomSource p_228673_) protected void
StrongholdPieces.StrongholdPiece.generateSmallDoor
(WorldGenLevel p_229881_, RandomSource p_229882_, BoundingBox p_229883_, StrongholdPieces.StrongholdPiece.SmallDoorType p_229884_, int p_229885_, int p_229886_, int p_229887_) protected StructurePiece
StrongholdPieces.StrongholdPiece.generateSmallDoorChildForward
(StrongholdPieces.StartPiece p_229894_, StructurePieceAccessor p_229895_, RandomSource p_229896_, int p_229897_, int p_229898_) protected StructurePiece
StrongholdPieces.StrongholdPiece.generateSmallDoorChildLeft
(StrongholdPieces.StartPiece p_229902_, StructurePieceAccessor p_229903_, RandomSource p_229904_, int p_229905_, int p_229906_) protected StructurePiece
StrongholdPieces.StrongholdPiece.generateSmallDoorChildRight
(StrongholdPieces.StartPiece p_229908_, StructurePieceAccessor p_229909_, RandomSource p_229910_, int p_229911_, int p_229912_) private void
OceanMonumentPieces.MonumentBuilding.generateUpperWall
(WorldGenLevel p_228691_, RandomSource p_228692_, BoundingBox p_228693_) private void
OceanMonumentPieces.MonumentBuilding.generateWing
(boolean p_228667_, int p_228668_, WorldGenLevel p_228669_, RandomSource p_228670_, BoundingBox p_228671_) WoodlandMansionPieces.FirstFloorRoomCollection.get1x1
(RandomSource p_229995_) abstract String
WoodlandMansionPieces.FloorRoomCollection.get1x1
(RandomSource p_230011_) WoodlandMansionPieces.SecondFloorRoomCollection.get1x1
(RandomSource p_230144_) WoodlandMansionPieces.FirstFloorRoomCollection.get1x1Secret
(RandomSource p_230000_) abstract String
WoodlandMansionPieces.FloorRoomCollection.get1x1Secret
(RandomSource p_230014_) WoodlandMansionPieces.SecondFloorRoomCollection.get1x1Secret
(RandomSource p_230149_) WoodlandMansionPieces.FirstFloorRoomCollection.get1x2FrontEntrance
(RandomSource p_230002_, boolean p_230003_) abstract String
WoodlandMansionPieces.FloorRoomCollection.get1x2FrontEntrance
(RandomSource p_230015_, boolean p_230016_) WoodlandMansionPieces.SecondFloorRoomCollection.get1x2FrontEntrance
(RandomSource p_230151_, boolean p_230152_) WoodlandMansionPieces.FirstFloorRoomCollection.get1x2Secret
(RandomSource p_230005_) abstract String
WoodlandMansionPieces.FloorRoomCollection.get1x2Secret
(RandomSource p_230017_) WoodlandMansionPieces.SecondFloorRoomCollection.get1x2Secret
(RandomSource p_230154_) WoodlandMansionPieces.FirstFloorRoomCollection.get1x2SideEntrance
(RandomSource p_229997_, boolean p_229998_) abstract String
WoodlandMansionPieces.FloorRoomCollection.get1x2SideEntrance
(RandomSource p_230012_, boolean p_230013_) WoodlandMansionPieces.SecondFloorRoomCollection.get1x2SideEntrance
(RandomSource p_230146_, boolean p_230147_) WoodlandMansionPieces.FirstFloorRoomCollection.get2x2
(RandomSource p_230007_) abstract String
WoodlandMansionPieces.FloorRoomCollection.get2x2
(RandomSource p_230018_) WoodlandMansionPieces.SecondFloorRoomCollection.get2x2
(RandomSource p_230156_) WoodlandMansionPieces.FirstFloorRoomCollection.get2x2Secret
(RandomSource p_230009_) abstract String
WoodlandMansionPieces.FloorRoomCollection.get2x2Secret
(RandomSource p_230019_) WoodlandMansionPieces.SecondFloorRoomCollection.get2x2Secret
(RandomSource p_230158_) private static ResourceLocation
OceanRuinPieces.getBigWarmRuin
(RandomSource p_229011_) private static int
RuinedPortalStructure.getRandomWithinInterval
(RandomSource p_229263_, int p_229264_, int p_229265_) private static ResourceLocation
OceanRuinPieces.getSmallWarmRuin
(RandomSource p_228983_) protected void
EndCityPieces.EndCityPiece.handleDataMarker
(String p_227505_, BlockPos p_227506_, ServerLevelAccessor p_227507_, RandomSource p_227508_, BoundingBox p_227509_) protected void
IglooPieces.IglooPiece.handleDataMarker
(String p_227582_, BlockPos p_227583_, ServerLevelAccessor p_227584_, RandomSource p_227585_, BoundingBox p_227586_) protected void
NetherFossilPieces.NetherFossilPiece.handleDataMarker
(String p_228561_, BlockPos p_228562_, ServerLevelAccessor p_228563_, RandomSource p_228564_, BoundingBox p_228565_) protected void
OceanRuinPieces.OceanRuinPiece.handleDataMarker
(String p_229046_, BlockPos p_229047_, ServerLevelAccessor p_229048_, RandomSource p_229049_, BoundingBox p_229050_) protected void
RuinedPortalPiece.handleDataMarker
(String p_229170_, BlockPos p_229171_, ServerLevelAccessor p_229172_, RandomSource p_229173_, BoundingBox p_229174_) protected void
ShipwreckPieces.ShipwreckPiece.handleDataMarker
(String p_229376_, BlockPos p_229377_, ServerLevelAccessor p_229378_, RandomSource p_229379_, BoundingBox p_229380_) protected void
WoodlandMansionPieces.WoodlandMansionPiece.handleDataMarker
(String p_230213_, BlockPos p_230214_, ServerLevelAccessor p_230215_, RandomSource p_230216_, BoundingBox p_230217_) private void
RuinedPortalPiece.maybeAddLeavesAbove
(RandomSource p_229182_, LevelAccessor p_229183_, BlockPos p_229184_) private void
RuinedPortalPiece.maybeAddVines
(RandomSource p_229121_, LevelAccessor p_229122_, BlockPos p_229123_) private void
MineshaftPieces.MineShaftCorridor.maybePlaceCobWeb
(WorldGenLevel p_227779_, BoundingBox p_227780_, RandomSource p_227781_, float p_227782_, int p_227783_, int p_227784_, int p_227785_) void
JungleTemplePiece.MossStoneSelector.next
(RandomSource p_227686_, int p_227687_, int p_227688_, int p_227689_, boolean p_227690_) void
StrongholdPieces.SmoothStoneSelector.next
(RandomSource p_229749_, int p_229750_, int p_229751_, int p_229752_, boolean p_229753_) private void
RuinedPortalPiece.placeNetherrackOrMagma
(RandomSource p_229194_, LevelAccessor p_229195_, BlockPos p_229196_) private void
MineshaftPieces.MineShaftCorridor.placeSupport
(WorldGenLevel p_227770_, BoundingBox p_227771_, int p_227772_, int p_227773_, int p_227774_, int p_227775_, int p_227776_, RandomSource p_227777_) void
BuriedTreasurePieces.BuriedTreasurePiece.postProcess
(WorldGenLevel p_227370_, StructureManager p_227371_, ChunkGenerator p_227372_, RandomSource p_227373_, BoundingBox p_227374_, ChunkPos p_227375_, BlockPos p_227376_) void
DesertPyramidPiece.postProcess
(WorldGenLevel p_227405_, StructureManager p_227406_, ChunkGenerator p_227407_, RandomSource p_227408_, BoundingBox p_227409_, ChunkPos p_227410_, BlockPos p_227411_) void
IglooPieces.IglooPiece.postProcess
(WorldGenLevel p_227568_, StructureManager p_227569_, ChunkGenerator p_227570_, RandomSource p_227571_, BoundingBox p_227572_, ChunkPos p_227573_, BlockPos p_227574_) void
JungleTemplePiece.postProcess
(WorldGenLevel p_227674_, StructureManager p_227675_, ChunkGenerator p_227676_, RandomSource p_227677_, BoundingBox p_227678_, ChunkPos p_227679_, BlockPos p_227680_) void
MineshaftPieces.MineShaftCorridor.postProcess
(WorldGenLevel p_227743_, StructureManager p_227744_, ChunkGenerator p_227745_, RandomSource p_227746_, BoundingBox p_227747_, ChunkPos p_227748_, BlockPos p_227749_) void
MineshaftPieces.MineShaftCrossing.postProcess
(WorldGenLevel p_227836_, StructureManager p_227837_, ChunkGenerator p_227838_, RandomSource p_227839_, BoundingBox p_227840_, ChunkPos p_227841_, BlockPos p_227842_) void
MineshaftPieces.MineShaftRoom.postProcess
(WorldGenLevel p_227914_, StructureManager p_227915_, ChunkGenerator p_227916_, RandomSource p_227917_, BoundingBox p_227918_, ChunkPos p_227919_, BlockPos p_227920_) void
MineshaftPieces.MineShaftStairs.postProcess
(WorldGenLevel p_227939_, StructureManager p_227940_, ChunkGenerator p_227941_, RandomSource p_227942_, BoundingBox p_227943_, ChunkPos p_227944_, BlockPos p_227945_) void
NetherFortressPieces.BridgeCrossing.postProcess
(WorldGenLevel p_228035_, StructureManager p_228036_, ChunkGenerator p_228037_, RandomSource p_228038_, BoundingBox p_228039_, ChunkPos p_228040_, BlockPos p_228041_) void
NetherFortressPieces.BridgeEndFiller.postProcess
(WorldGenLevel p_228065_, StructureManager p_228066_, ChunkGenerator p_228067_, RandomSource p_228068_, BoundingBox p_228069_, ChunkPos p_228070_, BlockPos p_228071_) void
NetherFortressPieces.BridgeStraight.postProcess
(WorldGenLevel p_228094_, StructureManager p_228095_, ChunkGenerator p_228096_, RandomSource p_228097_, BoundingBox p_228098_, ChunkPos p_228099_, BlockPos p_228100_) void
NetherFortressPieces.CastleCorridorStairsPiece.postProcess
(WorldGenLevel p_228123_, StructureManager p_228124_, ChunkGenerator p_228125_, RandomSource p_228126_, BoundingBox p_228127_, ChunkPos p_228128_, BlockPos p_228129_) void
NetherFortressPieces.CastleCorridorTBalconyPiece.postProcess
(WorldGenLevel p_228151_, StructureManager p_228152_, ChunkGenerator p_228153_, RandomSource p_228154_, BoundingBox p_228155_, ChunkPos p_228156_, BlockPos p_228157_) void
NetherFortressPieces.CastleEntrance.postProcess
(WorldGenLevel p_228180_, StructureManager p_228181_, ChunkGenerator p_228182_, RandomSource p_228183_, BoundingBox p_228184_, ChunkPos p_228185_, BlockPos p_228186_) void
NetherFortressPieces.CastleSmallCorridorCrossingPiece.postProcess
(WorldGenLevel p_228209_, StructureManager p_228210_, ChunkGenerator p_228211_, RandomSource p_228212_, BoundingBox p_228213_, ChunkPos p_228214_, BlockPos p_228215_) void
NetherFortressPieces.CastleSmallCorridorLeftTurnPiece.postProcess
(WorldGenLevel p_228239_, StructureManager p_228240_, ChunkGenerator p_228241_, RandomSource p_228242_, BoundingBox p_228243_, ChunkPos p_228244_, BlockPos p_228245_) void
NetherFortressPieces.CastleSmallCorridorPiece.postProcess
(WorldGenLevel p_228271_, StructureManager p_228272_, ChunkGenerator p_228273_, RandomSource p_228274_, BoundingBox p_228275_, ChunkPos p_228276_, BlockPos p_228277_) void
NetherFortressPieces.CastleSmallCorridorRightTurnPiece.postProcess
(WorldGenLevel p_228301_, StructureManager p_228302_, ChunkGenerator p_228303_, RandomSource p_228304_, BoundingBox p_228305_, ChunkPos p_228306_, BlockPos p_228307_) void
NetherFortressPieces.CastleStalkRoom.postProcess
(WorldGenLevel p_228333_, StructureManager p_228334_, ChunkGenerator p_228335_, RandomSource p_228336_, BoundingBox p_228337_, ChunkPos p_228338_, BlockPos p_228339_) void
NetherFortressPieces.MonsterThrone.postProcess
(WorldGenLevel p_228362_, StructureManager p_228363_, ChunkGenerator p_228364_, RandomSource p_228365_, BoundingBox p_228366_, ChunkPos p_228367_, BlockPos p_228368_) void
NetherFortressPieces.RoomCrossing.postProcess
(WorldGenLevel p_228461_, StructureManager p_228462_, ChunkGenerator p_228463_, RandomSource p_228464_, BoundingBox p_228465_, ChunkPos p_228466_, BlockPos p_228467_) void
NetherFortressPieces.StairsRoom.postProcess
(WorldGenLevel p_228489_, StructureManager p_228490_, ChunkGenerator p_228491_, RandomSource p_228492_, BoundingBox p_228493_, ChunkPos p_228494_, BlockPos p_228495_) void
NetherFossilPieces.NetherFossilPiece.postProcess
(WorldGenLevel p_228548_, StructureManager p_228549_, ChunkGenerator p_228550_, RandomSource p_228551_, BoundingBox p_228552_, ChunkPos p_228553_, BlockPos p_228554_) void
OceanMonumentPieces.MonumentBuilding.postProcess
(WorldGenLevel p_228659_, StructureManager p_228660_, ChunkGenerator p_228661_, RandomSource p_228662_, BoundingBox p_228663_, ChunkPos p_228664_, BlockPos p_228665_) void
OceanMonumentPieces.OceanMonumentCoreRoom.postProcess
(WorldGenLevel p_228704_, StructureManager p_228705_, ChunkGenerator p_228706_, RandomSource p_228707_, BoundingBox p_228708_, ChunkPos p_228709_, BlockPos p_228710_) void
OceanMonumentPieces.OceanMonumentDoubleXRoom.postProcess
(WorldGenLevel p_228717_, StructureManager p_228718_, ChunkGenerator p_228719_, RandomSource p_228720_, BoundingBox p_228721_, ChunkPos p_228722_, BlockPos p_228723_) void
OceanMonumentPieces.OceanMonumentDoubleXYRoom.postProcess
(WorldGenLevel p_228730_, StructureManager p_228731_, ChunkGenerator p_228732_, RandomSource p_228733_, BoundingBox p_228734_, ChunkPos p_228735_, BlockPos p_228736_) void
OceanMonumentPieces.OceanMonumentDoubleYRoom.postProcess
(WorldGenLevel p_228743_, StructureManager p_228744_, ChunkGenerator p_228745_, RandomSource p_228746_, BoundingBox p_228747_, ChunkPos p_228748_, BlockPos p_228749_) void
OceanMonumentPieces.OceanMonumentDoubleYZRoom.postProcess
(WorldGenLevel p_228756_, StructureManager p_228757_, ChunkGenerator p_228758_, RandomSource p_228759_, BoundingBox p_228760_, ChunkPos p_228761_, BlockPos p_228762_) void
OceanMonumentPieces.OceanMonumentDoubleZRoom.postProcess
(WorldGenLevel p_228769_, StructureManager p_228770_, ChunkGenerator p_228771_, RandomSource p_228772_, BoundingBox p_228773_, ChunkPos p_228774_, BlockPos p_228775_) void
OceanMonumentPieces.OceanMonumentEntryRoom.postProcess
(WorldGenLevel p_228782_, StructureManager p_228783_, ChunkGenerator p_228784_, RandomSource p_228785_, BoundingBox p_228786_, ChunkPos p_228787_, BlockPos p_228788_) void
OceanMonumentPieces.OceanMonumentPenthouse.postProcess
(WorldGenLevel p_228795_, StructureManager p_228796_, ChunkGenerator p_228797_, RandomSource p_228798_, BoundingBox p_228799_, ChunkPos p_228800_, BlockPos p_228801_) void
OceanMonumentPieces.OceanMonumentSimpleRoom.postProcess
(WorldGenLevel p_228901_, StructureManager p_228902_, ChunkGenerator p_228903_, RandomSource p_228904_, BoundingBox p_228905_, ChunkPos p_228906_, BlockPos p_228907_) void
OceanMonumentPieces.OceanMonumentSimpleTopRoom.postProcess
(WorldGenLevel p_228914_, StructureManager p_228915_, ChunkGenerator p_228916_, RandomSource p_228917_, BoundingBox p_228918_, ChunkPos p_228919_, BlockPos p_228920_) void
OceanMonumentPieces.OceanMonumentWingRoom.postProcess
(WorldGenLevel p_228929_, StructureManager p_228930_, ChunkGenerator p_228931_, RandomSource p_228932_, BoundingBox p_228933_, ChunkPos p_228934_, BlockPos p_228935_) void
OceanRuinPieces.OceanRuinPiece.postProcess
(WorldGenLevel p_229029_, StructureManager p_229030_, ChunkGenerator p_229031_, RandomSource p_229032_, BoundingBox p_229033_, ChunkPos p_229034_, BlockPos p_229035_) void
RuinedPortalPiece.postProcess
(WorldGenLevel p_229137_, StructureManager p_229138_, ChunkGenerator p_229139_, RandomSource p_229140_, BoundingBox p_229141_, ChunkPos p_229142_, BlockPos p_229143_) void
ShipwreckPieces.ShipwreckPiece.postProcess
(WorldGenLevel p_229363_, StructureManager p_229364_, ChunkGenerator p_229365_, RandomSource p_229366_, BoundingBox p_229367_, ChunkPos p_229368_, BlockPos p_229369_) void
StrongholdPieces.ChestCorridor.postProcess
(WorldGenLevel p_229472_, StructureManager p_229473_, ChunkGenerator p_229474_, RandomSource p_229475_, BoundingBox p_229476_, ChunkPos p_229477_, BlockPos p_229478_) void
StrongholdPieces.FillerCorridor.postProcess
(WorldGenLevel p_229502_, StructureManager p_229503_, ChunkGenerator p_229504_, RandomSource p_229505_, BoundingBox p_229506_, ChunkPos p_229507_, BlockPos p_229508_) void
StrongholdPieces.FiveCrossing.postProcess
(WorldGenLevel p_229534_, StructureManager p_229535_, ChunkGenerator p_229536_, RandomSource p_229537_, BoundingBox p_229538_, ChunkPos p_229539_, BlockPos p_229540_) void
StrongholdPieces.LeftTurn.postProcess
(WorldGenLevel p_229564_, StructureManager p_229565_, ChunkGenerator p_229566_, RandomSource p_229567_, BoundingBox p_229568_, ChunkPos p_229569_, BlockPos p_229570_) void
StrongholdPieces.Library.postProcess
(WorldGenLevel p_229596_, StructureManager p_229597_, ChunkGenerator p_229598_, RandomSource p_229599_, BoundingBox p_229600_, ChunkPos p_229601_, BlockPos p_229602_) void
StrongholdPieces.PortalRoom.postProcess
(WorldGenLevel p_229635_, StructureManager p_229636_, ChunkGenerator p_229637_, RandomSource p_229638_, BoundingBox p_229639_, ChunkPos p_229640_, BlockPos p_229641_) void
StrongholdPieces.PrisonHall.postProcess
(WorldGenLevel p_229667_, StructureManager p_229668_, ChunkGenerator p_229669_, RandomSource p_229670_, BoundingBox p_229671_, ChunkPos p_229672_, BlockPos p_229673_) void
StrongholdPieces.RightTurn.postProcess
(WorldGenLevel p_229694_, StructureManager p_229695_, ChunkGenerator p_229696_, RandomSource p_229697_, BoundingBox p_229698_, ChunkPos p_229699_, BlockPos p_229700_) void
StrongholdPieces.RoomCrossing.postProcess
(WorldGenLevel p_229725_, StructureManager p_229726_, ChunkGenerator p_229727_, RandomSource p_229728_, BoundingBox p_229729_, ChunkPos p_229730_, BlockPos p_229731_) void
StrongholdPieces.StairsDown.postProcess
(WorldGenLevel p_229775_, StructureManager p_229776_, ChunkGenerator p_229777_, RandomSource p_229778_, BoundingBox p_229779_, ChunkPos p_229780_, BlockPos p_229781_) void
StrongholdPieces.Straight.postProcess
(WorldGenLevel p_229820_, StructureManager p_229821_, ChunkGenerator p_229822_, RandomSource p_229823_, BoundingBox p_229824_, ChunkPos p_229825_, BlockPos p_229826_) void
StrongholdPieces.StraightStairsDown.postProcess
(WorldGenLevel p_229853_, StructureManager p_229854_, ChunkGenerator p_229855_, RandomSource p_229856_, BoundingBox p_229857_, ChunkPos p_229858_, BlockPos p_229859_) void
SwampHutPiece.postProcess
(WorldGenLevel p_229961_, StructureManager p_229962_, ChunkGenerator p_229963_, RandomSource p_229964_, BoundingBox p_229965_, ChunkPos p_229966_, BlockPos p_229967_) StrongholdPieces.StrongholdPiece.randomSmallDoor
(RandomSource p_229900_) (package private) static boolean
EndCityPieces.recursiveChildren
(StructureTemplateManager p_227437_, EndCityPieces.SectionGenerator p_227438_, int p_227439_, EndCityPieces.EndCityPiece p_227440_, BlockPos p_227441_, List<StructurePiece> p_227442_, RandomSource p_227443_) private void
RuinedPortalPiece.spreadNetherrack
(RandomSource p_229179_, LevelAccessor p_229180_) static void
EndCityPieces.startHouseTower
(StructureTemplateManager p_227445_, BlockPos p_227446_, Rotation p_227447_, List<StructurePiece> p_227448_, RandomSource p_227449_) ModifierConstructorDescriptionBridgeEndFiller
(int p_228058_, RandomSource p_228059_, BoundingBox p_228060_, Direction p_228061_) BridgeStraight
(int p_228087_, RandomSource p_228088_, BoundingBox p_228089_, Direction p_228090_) CastleEntrance
(int p_228173_, RandomSource p_228174_, BoundingBox p_228175_, Direction p_228176_) CastleSmallCorridorLeftTurnPiece
(int p_228232_, RandomSource p_228233_, BoundingBox p_228234_, Direction p_228235_) CastleSmallCorridorRightTurnPiece
(int p_228294_, RandomSource p_228295_, BoundingBox p_228296_, Direction p_228297_) ChestCorridor
(int p_229465_, RandomSource p_229466_, BoundingBox p_229467_, Direction p_229468_) DesertPyramidPiece
(RandomSource p_227399_, int p_227400_, int p_227401_) FiveCrossing
(int p_229527_, RandomSource p_229528_, BoundingBox p_229529_, Direction p_229530_) JungleTemplePiece
(RandomSource p_227668_, int p_227669_, int p_227670_) LeftTurn
(int p_229557_, RandomSource p_229558_, BoundingBox p_229559_, Direction p_229560_) Library
(int p_229589_, RandomSource p_229590_, BoundingBox p_229591_, Direction p_229592_) MansionGrid
(RandomSource p_230043_) MansionPiecePlacer
(StructureTemplateManager p_230078_, RandomSource p_230079_) MineShaftCorridor
(int p_227731_, RandomSource p_227732_, BoundingBox p_227733_, Direction p_227734_, MineshaftStructure.Type p_227735_) MineShaftRoom
(int p_227902_, RandomSource p_227903_, int p_227904_, int p_227905_, MineshaftStructure.Type p_227906_) MonumentBuilding
(RandomSource p_228648_, int p_228649_, int p_228650_, Direction p_228651_) OceanMonumentSimpleRoom
(Direction p_228895_, OceanMonumentPieces.RoomDefinition p_228896_, RandomSource p_228897_) PrisonHall
(int p_229660_, RandomSource p_229661_, BoundingBox p_229662_, Direction p_229663_) RightTurn
(int p_229687_, RandomSource p_229688_, BoundingBox p_229689_, Direction p_229690_) RoomCrossing
(int p_229718_, RandomSource p_229719_, BoundingBox p_229720_, Direction p_229721_) StairsDown
(int p_229759_, RandomSource p_229760_, BoundingBox p_229761_, Direction p_229762_) StartPiece
(RandomSource p_228512_, int p_228513_, int p_228514_) StartPiece
(RandomSource p_229801_, int p_229802_, int p_229803_) Straight
(int p_229813_, RandomSource p_229814_, BoundingBox p_229815_, Direction p_229816_) StraightStairsDown
(int p_229846_, RandomSource p_229847_, BoundingBox p_229848_, Direction p_229849_) SwampHutPiece
(RandomSource p_229952_, int p_229953_, int p_229954_) -
Uses of RandomSource in net.minecraft.world.level.levelgen.structure.templatesystem
Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionProcessorRule.getOutputTag
(RandomSource p_277551_, CompoundTag p_277867_) private static BlockState
BlockAgeProcessor.getRandomBlock
(RandomSource p_230264_, BlockState[] p_230265_) private BlockState
BlockAgeProcessor.getRandomBlock
(RandomSource p_230267_, BlockState[] p_230268_, BlockState[] p_230269_) private static BlockState
BlockAgeProcessor.getRandomFacingStairs
(RandomSource p_230258_, Block p_230259_) private BlockState
BlockAgeProcessor.maybeReplaceFullStoneBlock
(RandomSource p_230256_) private BlockState
BlockAgeProcessor.maybeReplaceObsidian
(RandomSource p_230275_) private BlockState
BlockAgeProcessor.maybeReplaceSlab
(RandomSource p_230271_) private BlockState
BlockAgeProcessor.maybeReplaceStairs
(RandomSource p_230261_, BlockState p_230262_) private BlockState
BlockAgeProcessor.maybeReplaceWall
(RandomSource p_230273_) boolean
StructureTemplate.placeInWorld
(ServerLevelAccessor p_230329_, BlockPos p_230330_, BlockPos p_230331_, StructurePlaceSettings p_230332_, RandomSource p_230333_, int p_230334_) StructurePlaceSettings.setRandom
(RandomSource p_230325_) boolean
AlwaysTrueTest.test
(BlockState p_230248_, RandomSource p_230249_) boolean
AxisAlignedLinearPosTest.test
(BlockPos p_230251_, BlockPos p_230252_, BlockPos p_230253_, RandomSource p_230254_) boolean
BlockMatchTest.test
(BlockState p_230277_, RandomSource p_230278_) boolean
BlockStateMatchTest.test
(BlockState p_230293_, RandomSource p_230294_) boolean
LinearPosTest.test
(BlockPos p_230296_, BlockPos p_230297_, BlockPos p_230298_, RandomSource p_230299_) boolean
PosAlwaysTrueTest.test
(BlockPos p_230301_, BlockPos p_230302_, BlockPos p_230303_, RandomSource p_230304_) abstract boolean
PosRuleTest.test
(BlockPos p_230305_, BlockPos p_230306_, BlockPos p_230307_, RandomSource p_230308_) boolean
ProcessorRule.test
(BlockState p_230310_, BlockState p_230311_, BlockPos p_230312_, BlockPos p_230313_, BlockPos p_230314_, RandomSource p_230315_) boolean
RandomBlockMatchTest.test
(BlockState p_230317_, RandomSource p_230318_) boolean
RandomBlockStateMatchTest.test
(BlockState p_230320_, RandomSource p_230321_) abstract boolean
RuleTest.test
(BlockState p_230322_, RandomSource p_230323_) boolean
TagMatchTest.test
(BlockState p_230452_, RandomSource p_230453_) -
Uses of RandomSource in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity
Modifier and TypeMethodDescriptionAppendLoot.apply
(RandomSource p_277994_, CompoundTag p_277854_) AppendStatic.apply
(RandomSource p_277835_, CompoundTag p_277892_) Clear.apply
(RandomSource p_277601_, CompoundTag p_277931_) Passthrough.apply
(RandomSource p_277737_, CompoundTag p_277665_) RuleBlockEntityModifier.apply
(RandomSource p_277745_, CompoundTag p_277965_) -
Uses of RandomSource in net.minecraft.world.level.levelgen.synth
Modifier and TypeMethodDescriptionstatic NormalNoise
NormalNoise.create
(RandomSource p_230505_, int p_230506_, double... p_230507_) static NormalNoise
NormalNoise.create
(RandomSource p_230512_, NormalNoise.NoiseParameters p_230513_) static PerlinNoise
PerlinNoise.create
(RandomSource p_230521_, int p_230522_, double p_230523_, double... p_230524_) static PerlinNoise
PerlinNoise.create
(RandomSource p_230536_, int p_230537_, it.unimi.dsi.fastutil.doubles.DoubleList p_230538_) static PerlinNoise
PerlinNoise.create
(RandomSource p_230530_, List<Integer> p_230531_) static PerlinNoise
PerlinNoise.create
(RandomSource p_230540_, IntStream p_230541_) static PerlinNoise
PerlinNoise.createLegacyForBlendedNoise
(RandomSource p_230533_, IntStream p_230534_) Deprecated.static PerlinNoise
PerlinNoise.createLegacyForLegacyNetherBiome
(RandomSource p_230526_, int p_230527_, it.unimi.dsi.fastutil.doubles.DoubleList p_230528_) Deprecated.static NormalNoise
NormalNoise.createLegacyNetherBiome
(RandomSource p_230509_, NormalNoise.NoiseParameters p_230510_) Deprecated.private static void
PerlinNoise.skipOctave
(RandomSource p_230519_) BlendedNoise.withNewRandom
(RandomSource p_230484_) ModifierConstructorDescriptionBlendedNoise
(RandomSource p_230462_, double p_230463_, double p_230464_, double p_230465_, double p_230466_, double p_230467_) ImprovedNoise
(RandomSource p_230499_) private
NormalNoise
(RandomSource p_230501_, NormalNoise.NoiseParameters p_230502_, boolean p_230503_) protected
PerlinNoise
(RandomSource p_230515_, com.mojang.datafixers.util.Pair<Integer, it.unimi.dsi.fastutil.doubles.DoubleList> p_230516_, boolean p_230517_) private
PerlinSimplexNoise
(RandomSource p_230543_, it.unimi.dsi.fastutil.ints.IntSortedSet p_230544_) PerlinSimplexNoise
(RandomSource p_230546_, List<Integer> p_230547_) SimplexNoise
(RandomSource p_230549_) -
Uses of RandomSource in net.minecraft.world.level.material
Modifier and TypeMethodDescriptionprotected void
Fluid.animateTick
(Level p_230550_, BlockPos p_230551_, FluidState p_230552_, RandomSource p_230553_) void
FluidState.animateTick
(Level p_230559_, BlockPos p_230560_, RandomSource p_230561_) void
LavaFluid.animateTick
(Level p_230567_, BlockPos p_230568_, FluidState p_230569_, RandomSource p_230570_) void
WaterFluid.animateTick
(Level p_230606_, BlockPos p_230607_, FluidState p_230608_, RandomSource p_230609_) protected void
Fluid.randomTick
(Level p_230554_, BlockPos p_230555_, FluidState p_230556_, RandomSource p_230557_) void
FluidState.randomTick
(Level p_230563_, BlockPos p_230564_, RandomSource p_230565_) void
LavaFluid.randomTick
(Level p_230572_, BlockPos p_230573_, FluidState p_230574_, RandomSource p_230575_) -
Uses of RandomSource in net.minecraft.world.level.storage.loot
Modifier and TypeFieldDescriptionprivate RandomSource
LootContext.Builder.random
private final RandomSource
LootContext.random
Modifier and TypeMethodDescriptionLootTable.getAvailableSlots
(Container p_230920_, RandomSource p_230921_) private void
LootTable.shuffleAndSplitItems
(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> p_230925_, int p_230926_, RandomSource p_230927_) ModifierConstructorDescription(package private)
LootContext
(LootParams p_287722_, RandomSource p_287702_, LootDataResolver p_287619_) private
LootContext
(LootParams p_287722_, RandomSource p_287702_, LootDataResolver p_287619_, ResourceLocation queriedLootTableId) -
Uses of RandomSource in net.minecraft.world.level.storage.loot.functions
Modifier and TypeMethodDescriptionint
ApplyBonusCount.BinomialWithBonusCount.calculateNewCount
(RandomSource p_230965_, int p_230966_, int p_230967_) int
ApplyBonusCount.Formula.calculateNewCount
(RandomSource p_230968_, int p_230969_, int p_230970_) int
ApplyBonusCount.OreDrops.calculateNewCount
(RandomSource p_230972_, int p_230973_, int p_230974_) int
ApplyBonusCount.UniformBonusCount.calculateNewCount
(RandomSource p_230976_, int p_230977_, int p_230978_) private static ItemStack
EnchantRandomlyFunction.enchantItem
(ItemStack p_230980_, Enchantment p_230981_, RandomSource p_230982_) -
Uses of RandomSource in net.minecraft.world.phys
-
Uses of RandomSource in net.minecraftforge.client.extensions
Modifier and TypeMethodDescriptionIForgeBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull ModelData data, @Nullable RenderType renderType) A nullRenderType
is used for the breaking overlay as well as non-standard rendering, so models should return all their quads.default ChunkRenderTypeSet
IForgeBakedModel.getRenderTypes
(@NotNull BlockState state, @NotNull RandomSource rand, @NotNull ModelData data) Gets the set ofrender types
to use when drawing this block in the level. -
Uses of RandomSource in net.minecraftforge.client.model
Modifier and TypeMethodDescriptionBakedModelWrapper.getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull ModelData extraData, @Nullable RenderType renderType) BakedModelWrapper.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand) CompositeModel.Baked.getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull ModelData data, @Nullable RenderType renderType) IDynamicBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand) IDynamicBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull ModelData extraData, @Nullable RenderType renderType) SeparateTransformsModel.Baked.getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull ModelData data, @Nullable RenderType renderType) BakedModelWrapper.getRenderTypes
(@NotNull BlockState state, @NotNull RandomSource rand, @NotNull ModelData data) CompositeModel.Baked.getRenderTypes
(@NotNull BlockState state, @NotNull RandomSource rand, @NotNull ModelData data) SeparateTransformsModel.Baked.getRenderTypes
(@NotNull BlockState state, @NotNull RandomSource rand, @NotNull ModelData data) -
Uses of RandomSource in net.minecraftforge.client.model.lighting
Modifier and TypeMethodDescriptionstatic boolean
ForgeModelBlockRenderer.render
(VertexConsumer vertexConsumer, QuadLighter lighter, BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, boolean checkSides, RandomSource rand, long seed, int packedOverlay, ModelData modelData, RenderType renderType) void
ForgeModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer vertexConsumer, boolean checkSides, RandomSource rand, long seed, int packedOverlay, ModelData modelData, RenderType renderType) void
ForgeModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer vertexConsumer, boolean checkSides, RandomSource rand, long seed, int packedOverlay, ModelData modelData, RenderType renderType) -
Uses of RandomSource in net.minecraftforge.client.model.renderable
Modifier and TypeFieldDescriptionprivate final RandomSource
BakedModelRenderable.Context.randomSource
The field for therandomSource
record component.Modifier and TypeMethodDescriptionBakedModelRenderable.Context.randomSource()
Returns the value of therandomSource
record component.ModifierConstructorDescriptionContext
(@Nullable BlockState state, Direction[] faces, RandomSource randomSource, long seed, ModelData data, org.joml.Vector4f tint) Creates an instance of aContext
record class. -
Uses of RandomSource in net.minecraftforge.common
Modifier and TypeMethodDescription@Nullable MerchantOffer
BasicItemListing.getOffer
(Entity p_219693_, RandomSource p_219694_) static EntityType<?>
DungeonHooks.getRandomDungeonMob
(RandomSource rand) Gets a random mob name from the list. -
Uses of RandomSource in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault int
IForgeBlock.getExpDrop
(BlockState state, LevelReader level, RandomSource randomSource, BlockPos pos, int fortuneLevel, int silkTouchLevel) Gathers how much experience this block drops when broken.default int
IForgeBlockState.getExpDrop
(LevelReader level, RandomSource randomSource, BlockPos pos, int fortuneLevel, int silkTouchLevel) Gathers how much experience this block drops when broken.default boolean
IForgeBlock.onTreeGrow
(BlockState state, LevelReader level, BiConsumer<BlockPos, BlockState> placeFunction, RandomSource randomSource, BlockPos pos, TreeConfiguration config) Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer.default boolean
IForgeBlockState.onTreeGrow
(LevelReader level, BiConsumer<BlockPos, BlockState> placeFunction, RandomSource randomSource, BlockPos pos, TreeConfiguration config) Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer. -
Uses of RandomSource in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic BlockState
ForgeEventFactory.alterGround
(LevelSimulatedReader level, RandomSource random, BlockPos pos, BlockState altered) static SaplingGrowTreeEvent
ForgeEventFactory.blockGrowFeature
(LevelAccessor level, RandomSource randomSource, BlockPos pos, @Nullable Holder<ConfiguredFeature<?, ?>> holder) static boolean
ForgeEventFactory.checkSpawnPlacements
(EntityType<?> entityType, ServerLevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random, boolean defaultResult) -
Uses of RandomSource in net.minecraftforge.event.entity.living
Modifier and TypeFieldDescriptionprivate final RandomSource
MobSpawnEvent.SpawnPlacementCheck.random
Modifier and TypeMethodDescriptionMobSpawnEvent.SpawnPlacementCheck.getRandom()
In all vanilla cases, this is equal toLevelAccessor.getRandom()
.ModifierConstructorDescriptionSpawnPlacementCheck
(EntityType<?> entityType, ServerLevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random, boolean defaultResult) Internal. -
Uses of RandomSource in net.minecraftforge.event.level
Modifier and TypeFieldDescriptionprivate final RandomSource
AlterGroundEvent.random
private final RandomSource
SaplingGrowTreeEvent.randomSource
Modifier and TypeMethodDescriptionAlterGroundEvent.getRandom()
SaplingGrowTreeEvent.getRandomSource()
Returns the random source which initiated the sapling growth.ModifierConstructorDescriptionAlterGroundEvent
(LevelSimulatedReader level, RandomSource random, BlockPos pos, BlockState altered) SaplingGrowTreeEvent
(LevelAccessor level, RandomSource randomSource, BlockPos pos, @Nullable Holder<ConfiguredFeature<?, ?>> feature) -
Uses of RandomSource in net.minecraftforge.registries
Modifier and TypeMethodDescriptionNamespacedDefaultedWrapper.getRandom
(RandomSource rand) NamespacedWrapper.getRandom
(RandomSource rand) ForgeRegistryTag.getRandomElement
(RandomSource random) -
Uses of RandomSource in net.minecraftforge.registries.holdersets
Modifier and TypeMethodDescriptionAnyHolderSet.getRandomElement
(RandomSource random) CompositeHolderSet.getRandomElement
(RandomSource rand) NotHolderSet.getRandomElement
(RandomSource random) -
Uses of RandomSource in net.minecraftforge.registries.tags
IForgeBakedModel.getQuads(BlockState, Direction, RandomSource, net.minecraftforge.client.model.data.ModelData, net.minecraft.client.renderer.RenderType)