Uses of Interface
net.minecraft.util.RandomSource
Packages that use RandomSource
Package
Description
Extension interfaces for
client
-only classes.-
Uses of RandomSource in net.minecraft
Methods in net.minecraft with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic int
Util.getRandom
(int[] pSelections, RandomSource pRandom) static <T> T
Util.getRandom
(List<T> pSelections, RandomSource pRandom) static <T> T
Util.getRandom
(T[] pSelections, RandomSource pRandom) static <T> Optional
<T> Util.getRandomSafe
(List<T> pSelections, RandomSource pRandom) static <T> void
Util.shuffle
(List<T> pList, RandomSource pRandom) 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[] pArray, RandomSource pRandom) static it.unimi.dsi.fastutil.ints.IntArrayList
Util.toShuffledList
(IntStream p_214659_, RandomSource p_214660_) static <T> List
<T> Util.toShuffledList
(Stream<T> pStream, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.client.gui
Fields in net.minecraft.client.gui declared as RandomSourceModifier and TypeFieldDescriptionfinal RandomSource
Font.random
private final RandomSource
Gui.random
-
Uses of RandomSource in net.minecraft.client.gui.font
Fields in net.minecraft.client.gui.font declared as RandomSource -
Uses of RandomSource in net.minecraft.client.gui.screens.inventory
Fields in net.minecraft.client.gui.screens.inventory declared as RandomSourceModifier and TypeFieldDescriptionprivate final RandomSource
EnchantmentNames.random
private final RandomSource
EnchantmentScreen.random
A Random instance for use with the enchantment gui -
Uses of RandomSource in net.minecraft.client.model
Methods in net.minecraft.client.model with parameters of type RandomSource -
Uses of RandomSource in net.minecraft.client.model.geom
Methods in net.minecraft.client.model.geom with parameters of type RandomSource -
Uses of RandomSource in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer declared as RandomSourceModifier and TypeFieldDescriptionprivate final RandomSource
ClientPacketListener.random
Just an ordinary random number generator, used to randomize audio pitch of item/orb pickup and randomize both particlespawn offset and velocityMethods in net.minecraft.client.multiplayer with parameters of type RandomSourceModifier and TypeMethodDescriptionvoid
ClientLevel.doAnimateTick
(int pPosX, int pPosY, int pPosZ, int pRange, RandomSource pRandom, Block pBlock, BlockPos.MutableBlockPos pBlockPos) -
Uses of RandomSource in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as RandomSourceModifier and TypeFieldDescriptionprotected final RandomSource
Particle.random
private final RandomSource
ParticleEngine.random
(package private) static final RandomSource
GlowParticle.RANDOM
private static final RandomSource
SpellParticle.RANDOM
Methods in net.minecraft.client.particle with parameters of type RandomSourceModifier and TypeMethodDescriptionParticleEngine.MutableSpriteSet.get
(RandomSource pRandom) SpriteSet.get
(RandomSource pRandom) -
Uses of RandomSource in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as RandomSourceMethods in net.minecraft.client.renderer with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate void
LevelRenderer.shootParticles
(int pDirection, BlockPos pPos, RandomSource pRandom, SimpleParticleType pParticleType) -
Uses of RandomSource in net.minecraft.client.renderer.block
Fields in net.minecraft.client.renderer.block declared as RandomSourceMethods in net.minecraft.client.renderer.block with parameters of type RandomSourceModifier and TypeMethodDescriptionvoid
BlockRenderDispatcher.renderBatched
(BlockState pState, BlockPos pPos, BlockAndTintGetter pLevel, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom) void
BlockRenderDispatcher.renderBatched
(BlockState pState, BlockPos pPos, BlockAndTintGetter pLevel, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, ModelData modelData, RenderType renderType) void
ModelBlockRenderer.tesselateBlock
(BlockAndTintGetter pLevel, BakedModel pModel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, long pSeed, int pPackedOverlay) Deprecated.void
ModelBlockRenderer.tesselateBlock
(BlockAndTintGetter pLevel, BakedModel pModel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, long pSeed, int pPackedOverlay, ModelData modelData, RenderType renderType) void
ModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter pLevel, BakedModel pModel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, long pSeed, int pPackedOverlay) Deprecated.void
ModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter pLevel, BakedModel pModel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, long pSeed, int pPackedOverlay, ModelData modelData, RenderType renderType) void
ModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter pLevel, BakedModel pModel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, long pSeed, int pPackedOverlay) Deprecated.void
ModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter pLevel, BakedModel pModel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, long pSeed, int pPackedOverlay, ModelData modelData, RenderType renderType) -
Uses of RandomSource in net.minecraft.client.renderer.blockentity
Fields in net.minecraft.client.renderer.blockentity declared as RandomSourceMethods in net.minecraft.client.renderer.blockentity with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic void
VaultRenderer.renderItemInside
(float pPartialTick, Level pLevel, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, ItemStack pItem, ItemRenderer pItemRenderer, float pPreviousSpin, float pCurrentSpin, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.client.renderer.entity
Fields in net.minecraft.client.renderer.entity declared as RandomSourceModifier and TypeFieldDescriptionprivate final RandomSource
EndermanRenderer.random
private final RandomSource
ItemEntityRenderer.random
Methods in net.minecraft.client.renderer.entity with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic void
ItemEntityRenderer.renderMultipleFromCount
(ItemRenderer pItemRenderer, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, ItemStack pItem, BakedModel pModel, boolean pIsGui3d, RandomSource pRandom) static void
ItemEntityRenderer.renderMultipleFromCount
(ItemRenderer pItemRenderer, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, ItemStack pItem, RandomSource pRandom, Level pLevel) -
Uses of RandomSource in net.minecraft.client.resources
Fields in net.minecraft.client.resources declared as RandomSource -
Uses of RandomSource in net.minecraft.client.resources.model
Methods in net.minecraft.client.resources.model with parameters of type RandomSourceModifier and TypeMethodDescriptionBakedModel.getQuads
(BlockState pState, Direction pDirection, RandomSource pRandom) Deprecated.BuiltInModel.getQuads
(BlockState pState, Direction pDirection, RandomSource pRandom) MultiPartBakedModel.getQuads
(BlockState pState, Direction pDirection, RandomSource pRandom, ModelData modelData, RenderType renderType) SimpleBakedModel.getQuads
(BlockState pState, Direction pDirection, RandomSource pRandom) WeightedBakedModel.getQuads
(BlockState pState, Direction pDirection, RandomSource pRandom, ModelData modelData, RenderType renderType) MultiPartBakedModel.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) SimpleBakedModel.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) WeightedBakedModel.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) -
Uses of RandomSource in net.minecraft.client.resources.sounds
Fields in net.minecraft.client.resources.sounds declared as RandomSourceModifier and TypeFieldDescriptionprotected RandomSource
AbstractSoundInstance.random
private final RandomSource
BiomeAmbientSoundsHandler.random
Methods in net.minecraft.client.resources.sounds that return RandomSourceMethods in net.minecraft.client.resources.sounds with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic SimpleSoundInstance
SimpleSoundInstance.forAmbientMood
(SoundEvent pSoundEvent, RandomSource pRandom, double pX, double pY, double pZ) Sound.getSound
(RandomSource pRandomSource) Retrieves the sound associated with the element.Constructors in net.minecraft.client.resources.sounds with parameters of type RandomSourceModifierConstructorDescriptionprotected
AbstractSoundInstance
(ResourceLocation pLocation, SoundSource pSource, RandomSource pRandom) protected
AbstractSoundInstance
(SoundEvent pSoundEvent, SoundSource pSource, RandomSource pRandom) protected
AbstractTickableSoundInstance
(SoundEvent p_235076_, SoundSource p_235077_, RandomSource p_235078_) SimpleSoundInstance
(ResourceLocation pLocation, SoundSource pSource, float pVolume, float pPitch, RandomSource pRandom, boolean pLooping, int pDelay, SoundInstance.Attenuation pAttenuation, double pX, double pY, double pZ, boolean pRelative) private
SimpleSoundInstance
(SoundEvent pSoundEvent, SoundSource pSource, float pVolume, float pPitch, RandomSource pRandom, boolean pLooping, int pDelay, SoundInstance.Attenuation pAttenuation, double pX, double pY, double pZ) SimpleSoundInstance
(SoundEvent pSoundEvent, SoundSource pSource, float pVolume, float pPitch, RandomSource pRandom, double pX, double pY, double pZ) SimpleSoundInstance
(SoundEvent pSoundEvent, SoundSource pSource, float pVolume, float pPitch, RandomSource pRandom, BlockPos pEntity) -
Uses of RandomSource in net.minecraft.client.sounds
Fields in net.minecraft.client.sounds declared as RandomSourceMethods in net.minecraft.client.sounds with parameters of type RandomSourceModifier and TypeMethodDescriptionWeighedSoundEvents.getSound
(RandomSource pRandomSource) Retrieves a randomly selected sound from the sound events based on their weights.Weighted.getSound
(RandomSource pRandomSource) Retrieves the sound associated with the element. -
Uses of RandomSource in net.minecraft.core
Methods in net.minecraft.core with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic Collection
<Direction> Direction.allShuffled
(RandomSource pRandom) DefaultedMappedRegistry.getRandom
(RandomSource pRandom) static Direction.Axis
Direction.Axis.getRandom
(RandomSource pRandom) static Direction
Direction.getRandom
(RandomSource pRandom) MappedRegistry.getRandom
(RandomSource pRandom) Registry.getRandom
(RandomSource pRandom) Direction.Plane.getRandomAxis
(RandomSource pRandom) Direction.Plane.getRandomDirection
(RandomSource pRandom) HolderSet.getRandomElement
(RandomSource pRandom) HolderSet.ListBacked.getRandomElement
(RandomSource p_235714_) Registry.getRandomElementOf
(TagKey<T> pKey, RandomSource pRandom) BlockPos.randomBetweenClosed
(RandomSource pRandom, int pAmount, int pMinX, int pMinY, int pMinZ, int pMaxX, int pMaxY, int pMaxZ) BlockPos.randomInCube
(RandomSource pRandom, int pAmount, BlockPos pCenter, int pRadius) Direction.Plane.shuffledCopy
(RandomSource pRandom) -
Uses of RandomSource in net.minecraft.network.protocol.game
Methods in net.minecraft.network.protocol.game that return RandomSourceMethods in net.minecraft.network.protocol.game with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate static String
DebugEntityNameGenerator.getRandomString
(RandomSource pRandom, String[] pStrings) -
Uses of RandomSource in net.minecraft.server
Fields in net.minecraft.server declared as RandomSource -
Uses of RandomSource in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate static SpreadPlayersCommand.Position[]
SpreadPlayersCommand.createInitialPositions
(RandomSource pRandom, int pCount, double pMinX, double pMinZ, double pMaxX, double pMaxZ) void
SpreadPlayersCommand.Position.randomize
(RandomSource pRandom, double pMinX, double pMinZ, double pMaxX, double pMaxZ) private static void
SpreadPlayersCommand.spreadPositions
(Vec2 pCenter, double pSpreadDistance, ServerLevel pLevel, RandomSource pRandom, double pMinX, double pMinZ, double pMaxX, double pMaxZ, int pMaxHeight, SpreadPlayersCommand.Position[] pPositions, boolean pRespectTeams) -
Uses of RandomSource in net.minecraft.server.level
Fields in net.minecraft.server.level declared as RandomSourceMethods in net.minecraft.server.level that return RandomSourceModifier and TypeMethodDescriptionWorldGenRegion.getRandom()
ServerLevel.getRandomSequence
(ResourceLocation pLocation) -
Uses of RandomSource in net.minecraft.util
Fields in net.minecraft.util declared as RandomSourceMethods in net.minecraft.util that return RandomSourceModifier and TypeMethodDescriptionstatic RandomSource
RandomSource.create()
static RandomSource
RandomSource.create
(long pSeed) static RandomSource
RandomSource.createNewThreadLocalInstance()
static RandomSource
RandomSource.createThreadSafe()
Deprecated.RandomSource.fork()
Methods in net.minecraft.util with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic UUID
Mth.createInsecureUUID
(RandomSource pRandom) private static Vec3
ParticleUtils.getRandomSpeedRanges
(RandomSource pRandom) static double
Mth.nextDouble
(RandomSource pRandom, double pMinimum, double pMaximum) static float
Mth.nextFloat
(RandomSource pRandom, float pMinimum, float pMaximum) static int
Mth.nextInt
(RandomSource pRandom, int pMinimum, int pMaximum) static float
Mth.normal
(RandomSource pRandom, float pMean, float pDeviation) Generates a value from a normal distribution with the given mean and deviation.static float
Mth.randomBetween
(RandomSource pRandom, float pMinInclusive, float pMaxExclusive) static int
Mth.randomBetweenInclusive
(RandomSource pRandom, int pMinInclusive, int pMaxInclusive) static void
ParticleUtils.spawnParticleBelow
(Level pLevel, BlockPos pPos, RandomSource pRandom, ParticleOptions pParticle) -
Uses of RandomSource in net.minecraft.util.random
Methods in net.minecraft.util.random with parameters of type RandomSourceModifier and TypeMethodDescriptionWeightedRandomList.getRandom
(RandomSource pRandom) static <T extends WeightedEntry>
Optional<T> WeightedRandom.getRandomItem
(RandomSource pRandom, List<T> pEntries) static <T extends WeightedEntry>
Optional<T> WeightedRandom.getRandomItem
(RandomSource pRandom, List<T> pEntries, int pTotalWeight) SimpleWeightedRandomList.getRandomValue
(RandomSource pRandom) -
Uses of RandomSource in net.minecraft.util.valueproviders
Methods in net.minecraft.util.valueproviders with parameters of type RandomSourceModifier and TypeMethodDescriptionint
BiasedToBottomInt.sample
(RandomSource pRandom) int
ClampedInt.sample
(RandomSource pRandom) float
ClampedNormalFloat.sample
(RandomSource pRandom) static float
ClampedNormalFloat.sample
(RandomSource pRandom, float pMean, float pDeviation, float pMin, float pMax) int
ClampedNormalInt.sample
(RandomSource pRandom) static int
ClampedNormalInt.sample
(RandomSource pRandom, float pMean, float pDeviation, float pMinInclusive, float pMaxInclusive) float
ConstantFloat.sample
(RandomSource pRandom) int
ConstantInt.sample
(RandomSource pRandom) abstract int
IntProvider.sample
(RandomSource pRandom) float
MultipliedFloats.sample
(RandomSource pRandom) float
SampledFloat.sample
(RandomSource pRandom) float
TrapezoidFloat.sample
(RandomSource pRandom) float
UniformFloat.sample
(RandomSource pRandom) int
UniformInt.sample
(RandomSource pRandom) int
WeightedListInt.sample
(RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world
Classes in net.minecraft.world that implement RandomSourceModifier and TypeClassDescription(package private) class
Fields in net.minecraft.world declared as RandomSourceModifier and TypeFieldDescriptionprivate final RandomSource
RandomSequences.DirtyMarkingRandomSource.random
Methods in net.minecraft.world that return RandomSourceModifier and TypeMethodDescriptionRandomSequences.DirtyMarkingRandomSource.fork()
RandomSequences.get
(ResourceLocation pLocation) RandomSequence.random()
Methods in net.minecraft.world with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic void
RandomizableContainer.setBlockEntityLootTable
(BlockGetter pLevel, RandomSource pRandom, BlockPos pPs, ResourceKey<LootTable> pLootTable) Constructors in net.minecraft.world with parameters of type RandomSource -
Uses of RandomSource in net.minecraft.world.effect
Fields in net.minecraft.world.effect with type parameters of type RandomSourceModifier and TypeFieldDescriptionprivate final ToIntFunction
<RandomSource> WeavingMobEffect.maxCobwebs
private final ToIntFunction
<RandomSource> InfestedMobEffect.spawnedCount
private final ToIntFunction
<RandomSource> OozingMobEffect.spawnedCount
Methods in net.minecraft.world.effect with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate void
WeavingMobEffect.spawnCobwebsRandomlyAround
(Level pLevel, RandomSource pRandom, BlockPos pPos) Constructor parameters in net.minecraft.world.effect with type arguments of type RandomSourceModifierConstructorDescriptionprotected
InfestedMobEffect
(MobEffectCategory pCategory, int pColor, float pChanceToSpawn, ToIntFunction<RandomSource> pSpawnedCount) protected
OozingMobEffect
(MobEffectCategory pCategory, int pColor, ToIntFunction<RandomSource> pSpawnedCount) protected
WeavingMobEffect
(MobEffectCategory pCategory, int pColor, ToIntFunction<RandomSource> pMaxCobwebs) -
Uses of RandomSource in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as RandomSourceMethods in net.minecraft.world.entity that return RandomSourceMethods in net.minecraft.world.entity with parameters of type RandomSourceModifier and TypeMethodDescriptionboolean
ItemBasedSteering.boost
(RandomSource pRandom) static boolean
GlowSquid.checkGlowSquidSpawnRules
(EntityType<? extends LivingEntity> pGlowSquid, ServerLevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
Mob.checkMobSpawnRules
(EntityType<? extends Mob> pType, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static <T extends Entity>
booleanSpawnPlacements.checkSpawnRules
(EntityType<T> pEntityType, ServerLevelAccessor pServerLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) protected void
Mob.enchantSpawnedArmor
(ServerLevelAccessor pLevel, RandomSource pRandom, EquipmentSlot pSlot, DifficultyInstance pDifficulty) private void
Mob.enchantSpawnedEquipment
(ServerLevelAccessor pLevel, EquipmentSlot pSlot, RandomSource pRandom, float pEnchantChance, DifficultyInstance pDifficulty) protected void
Mob.enchantSpawnedWeapon
(ServerLevelAccessor pLevel, RandomSource pRandom, DifficultyInstance pDifficulty) protected void
Mob.populateDefaultEquipmentEnchantments
(ServerLevelAccessor pLevel, RandomSource pRandom, DifficultyInstance pDifficulty) protected void
Mob.populateDefaultEquipmentSlots
(RandomSource pRandom, DifficultyInstance pDifficulty) boolean
SpawnPlacements.SpawnPredicate.test
(EntityType<T> pEntityType, ServerLevelAccessor pServerLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.entity.ai.behavior
Fields in net.minecraft.world.entity.ai.behavior declared as RandomSourceModifier and TypeFieldDescriptionprivate final RandomSource
AcquirePoi.JitteredLinearRetry.random
private final RandomSource
ShufflingList.random
Methods in net.minecraft.world.entity.ai.behavior with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate static int
GoToTargetLocation.getRandomOffset
(RandomSource pRandom) boolean
SetEntityLookTargetSometimes.Ticker.tickDownAndCheck
(RandomSource pRandom) Constructors in net.minecraft.world.entity.ai.behavior with parameters of type RandomSourceModifierConstructorDescription(package private)
JitteredLinearRetry
(RandomSource pRandom, long pTimestamp) -
Uses of RandomSource in net.minecraft.world.entity.ai.gossip
Methods in net.minecraft.world.entity.ai.gossip with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate Collection
<GossipContainer.GossipEntry> GossipContainer.selectGossipsForTransfer
(RandomSource pRandom, int pAmount) void
GossipContainer.transferFrom
(GossipContainer pContainer, RandomSource pRandomSource, int pAmount) -
Uses of RandomSource in net.minecraft.world.entity.ai.sensing
Fields in net.minecraft.world.entity.ai.sensing declared as RandomSource -
Uses of RandomSource in net.minecraft.world.entity.ai.util
Methods in net.minecraft.world.entity.ai.util with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic BlockPos
RandomPos.generateRandomDirection
(RandomSource pRandom, int pHorizontalDistance, int pVerticalDistance) Gets a random position within a certain distance.static BlockPos
RandomPos.generateRandomDirectionWithinRadians
(RandomSource pRandom, int pMaxHorizontalDifference, int pYRange, int pY, double pX, double pZ, double pMaxAngleDelta) static BlockPos
RandomPos.generateRandomPosTowardDirection
(PathfinderMob pMob, int pRange, RandomSource pRandom, BlockPos pPos) -
Uses of RandomSource in net.minecraft.world.entity.ai.village.poi
Methods in net.minecraft.world.entity.ai.village.poi with parameters of type RandomSource -
Uses of RandomSource in net.minecraft.world.entity.ambient
Methods in net.minecraft.world.entity.ambient with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic boolean
Bat.checkBatSpawnRules
(EntityType<Bat> pBat, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.entity.animal
Methods in net.minecraft.world.entity.animal with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic boolean
Animal.checkAnimalSpawnRules
(EntityType<? extends Animal> pAnimal, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
Fox.checkFoxSpawnRules
(EntityType<Fox> pFox, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
MushroomCow.checkMushroomSpawnRules
(EntityType<MushroomCow> pMushroomCow, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandomSource) static boolean
Ocelot.checkOcelotSpawnRules
(EntityType<Ocelot> pOcelot, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
Parrot.checkParrotSpawnRules
(EntityType<Parrot> pParrot, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
PolarBear.checkPolarBearSpawnRules
(EntityType<PolarBear> pPolarBear, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
Rabbit.checkRabbitSpawnRules
(EntityType<Rabbit> pRabbit, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
WaterAnimal.checkSurfaceWaterAnimalSpawnRules
(EntityType<? extends WaterAnimal> pWaterAnimal, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
TropicalFish.checkTropicalFishSpawnRules
(EntityType<TropicalFish> pTropicalFish, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
Turtle.checkTurtleSpawnRules
(EntityType<Turtle> pTurtle, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
Wolf.checkWolfSpawnRules
(EntityType<Wolf> pWolf, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static SoundEvent
Parrot.getAmbient
(Level pLevel, RandomSource pRandom) static float
Parrot.getPitch
(RandomSource pRandom) static Panda.Gene
Panda.Gene.getRandom
(RandomSource pRandom) static DyeColor
Sheep.getRandomSheepColor
(RandomSource pRandom) protected void
Fox.populateDefaultEquipmentSlots
(RandomSource pRandom, DifficultyInstance pDifficulty) -
Uses of RandomSource in net.minecraft.world.entity.animal.armadillo
Methods in net.minecraft.world.entity.animal.armadillo with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic boolean
Armadillo.checkArmadilloSpawnRules
(EntityType<Armadillo> pEntityType, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.entity.animal.axolotl
Methods in net.minecraft.world.entity.animal.axolotl with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic boolean
Axolotl.checkAxolotlSpawnRules
(EntityType<? extends LivingEntity> pAxolotl, ServerLevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static Axolotl.Variant
Axolotl.Variant.getCommonSpawnVariant
(RandomSource pRandom) static Axolotl.Variant
Axolotl.Variant.getRareSpawnVariant
(RandomSource pRandom) private static Axolotl.Variant
Axolotl.Variant.getSpawnVariant
(RandomSource pRandom, boolean pCommon) Axolotl.AxolotlGroupData.getVariant
(RandomSource pRandom) private static boolean
Axolotl.useRareVariant
(RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.entity.animal.camel
Methods in net.minecraft.world.entity.animal.camel with parameters of type RandomSourceModifier and TypeMethodDescriptionprotected static void
CamelAi.initMemories
(Camel pCamel, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.entity.animal.frog
Methods in net.minecraft.world.entity.animal.frog with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic boolean
Frog.checkFrogSpawnRules
(EntityType<? extends Animal> pAnimal, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) protected static void
FrogAi.initMemories
(Frog pFrog, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.entity.animal.goat
Methods in net.minecraft.world.entity.animal.goat with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic boolean
Goat.checkGoatSpawnRules
(EntityType<? extends Animal> pGoat, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) protected static void
GoatAi.initMemories
(Goat pGoat, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.entity.animal.horse
Methods in net.minecraft.world.entity.animal.horse with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic boolean
SkeletonHorse.checkSkeletonHorseSpawnRules
(EntityType<? extends Animal> pAnimal, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
ZombieHorse.checkZombieHorseSpawnRules
(EntityType<? extends Animal> pAnimal, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) (package private) static double
AbstractHorse.createOffspringAttribute
(double pValue1, double pValue2, double pMin, double pMax, RandomSource pRandom) protected void
AbstractChestedHorse.randomizeAttributes
(RandomSource pRandom) protected void
AbstractHorse.randomizeAttributes
(RandomSource pRandom) protected void
Horse.randomizeAttributes
(RandomSource pRandom) protected void
SkeletonHorse.randomizeAttributes
(RandomSource pRandom) protected void
ZombieHorse.randomizeAttributes
(RandomSource pRandom) private void
Llama.setRandomStrength
(RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.entity.monster
Methods in net.minecraft.world.entity.monster with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic boolean
Monster.checkAnyLightMonsterSpawnRules
(EntityType<? extends Monster> pType, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) Static predicate for determining whether a monster can spawn at the provided location.static boolean
Drowned.checkDrownedSpawnRules
(EntityType<Drowned> pDrowned, ServerLevelAccessor pServerLevel, MobSpawnType pMobSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
Endermite.checkEndermiteSpawnRules
(EntityType<Endermite> pEndermite, LevelAccessor pServerLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
Ghast.checkGhastSpawnRules
(EntityType<Ghast> pGhast, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
Guardian.checkGuardianSpawnRules
(EntityType<? extends Guardian> pGuardian, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
Husk.checkHuskSpawnRules
(EntityType<Husk> pHusk, ServerLevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
MagmaCube.checkMagmaCubeSpawnRules
(EntityType<MagmaCube> pMagmaCube, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
Monster.checkMonsterSpawnRules
(EntityType<? extends Monster> pType, ServerLevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) Static predicate for determining whether a monster can spawn at the provided location, incorporating a check of the current light level at the location.static boolean
PatrollingMonster.checkPatrollingMonsterSpawnRules
(EntityType<? extends PatrollingMonster> pPatrollingMonster, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
Silverfish.checkSilverfishSpawnRules
(EntityType<Silverfish> pSilverfish, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
Slime.checkSlimeSpawnRules
(EntityType<Slime> pSlime, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
Stray.checkStraySpawnRules
(EntityType<Stray> pStray, ServerLevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
Strider.checkStriderSpawnRules
(EntityType<Strider> pStrider, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static boolean
ZombifiedPiglin.checkZombifiedPiglinSpawnRules
(EntityType<ZombifiedPiglin> pZombifiedPiglin, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) protected void
Pillager.enchantSpawnedWeapon
(ServerLevelAccessor pLevel, RandomSource pRandom, DifficultyInstance pDifficulty) static boolean
Zombie.getSpawnAsBabyOdds
(RandomSource pRandom) static boolean
Monster.isDarkEnoughToSpawn
(ServerLevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) Static predicate for determining if the current light level and environmental conditions allow for a monster to spawn.protected void
WitherSkeleton.populateDefaultEquipmentEnchantments
(ServerLevelAccessor pLevel, RandomSource pRandom, DifficultyInstance pDifficulty) protected void
AbstractSkeleton.populateDefaultEquipmentSlots
(RandomSource pRandom, DifficultyInstance pDifficulty) protected void
Drowned.populateDefaultEquipmentSlots
(RandomSource pRandom, DifficultyInstance pDifficulty) protected void
Pillager.populateDefaultEquipmentSlots
(RandomSource pRandom, DifficultyInstance pDifficulty) protected void
Vex.populateDefaultEquipmentSlots
(RandomSource pRandom, DifficultyInstance pDifficulty) protected void
Vindicator.populateDefaultEquipmentSlots
(RandomSource pRandom, DifficultyInstance pDifficulty) protected void
WitherSkeleton.populateDefaultEquipmentSlots
(RandomSource pRandom, DifficultyInstance pDifficulty) protected void
Zombie.populateDefaultEquipmentSlots
(RandomSource pRandom, DifficultyInstance pDifficulty) protected void
ZombifiedPiglin.populateDefaultEquipmentSlots
(RandomSource pRandom, DifficultyInstance pDifficulty) void
Spider.SpiderEffectsGroupData.setRandomEffect
(RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.entity.monster.breeze
Methods in net.minecraft.world.entity.monster.breeze with parameters of type RandomSourceModifier and TypeMethodDescriptionLongJump.calculateOptimalJumpVector
(Breeze pBreeze, RandomSource pRandom, Vec3 pTarget) static Vec3
BreezeUtil.randomPointBehindTarget
(LivingEntity pTarget, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.entity.monster.hoglin
Methods in net.minecraft.world.entity.monster.hoglin with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic boolean
Hoglin.checkHoglinSpawnRules
(EntityType<Hoglin> pHoglin, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.entity.monster.piglin
Methods in net.minecraft.world.entity.monster.piglin with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic boolean
Piglin.checkPiglinSpawnRules
(EntityType<Piglin> pPiglin, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) protected static void
PiglinAi.initMemories
(Piglin pPiglin, RandomSource pRandom) private void
Piglin.maybeWearArmor
(EquipmentSlot pSlot, ItemStack pStack, RandomSource pRandom) protected void
Piglin.populateDefaultEquipmentSlots
(RandomSource pRandom, DifficultyInstance pDifficulty) protected void
PiglinBrute.populateDefaultEquipmentSlots
(RandomSource pRandom, DifficultyInstance pDifficulty) -
Uses of RandomSource in net.minecraft.world.entity.npc
Fields in net.minecraft.world.entity.npc declared as RandomSourceMethods in net.minecraft.world.entity.npc with parameters of type RandomSourceModifier and TypeMethodDescriptionVillagerTrades.DyedArmorForEmeralds.getOffer
(Entity pTrader, RandomSource pRandom) VillagerTrades.EmeraldForItems.getOffer
(Entity pTrader, RandomSource pRandom) VillagerTrades.EmeraldsForVillagerTypeItem.getOffer
(Entity pTrader, RandomSource pRandom) VillagerTrades.EnchantBookForEmeralds.getOffer
(Entity pTrader, RandomSource pRandom) VillagerTrades.EnchantedItemForEmeralds.getOffer
(Entity pTrader, RandomSource pRandom) VillagerTrades.FailureItemListing.getOffer
(Entity p_302036_, RandomSource p_301986_) VillagerTrades.ItemListing.getOffer
(Entity pTrader, RandomSource pRandom) VillagerTrades.ItemsAndEmeraldsToItems.getOffer
(Entity pTrader, RandomSource pRandom) VillagerTrades.ItemsForEmeralds.getOffer
(Entity pTrader, RandomSource pRandom) VillagerTrades.SuspiciousStewForEmerald.getOffer
(Entity pTrader, RandomSource pRandom) VillagerTrades.TippedArrowForItemsAndEmeralds.getOffer
(Entity pTrader, RandomSource pRandom) VillagerTrades.TreasureMapForEmeralds.getOffer
(Entity pTrader, RandomSource pRandom) VillagerTrades.TypeSpecificTrade.getOffer
(Entity pTrader, RandomSource pRandom) private static DyeItem
VillagerTrades.DyedArmorForEmeralds.getRandomDye
(RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.entity.projectile
Fields in net.minecraft.world.entity.projectile declared as RandomSourceMethods in net.minecraft.world.entity.projectile with parameters of type RandomSourceModifier and TypeMethodDescriptionvoid
ProjectileDeflection.deflect
(Projectile pProjectile, Entity pEntity, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.entity.raid
Fields in net.minecraft.world.entity.raid declared as RandomSourceMethods in net.minecraft.world.entity.raid with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate int
Raid.getPotentialBonusSpawns
(Raid.RaiderType pRaiderType, RandomSource pRandom, int pWave, DifficultyInstance pDifficulty, boolean pShouldSpawnBonusGroup) -
Uses of RandomSource in net.minecraft.world.inventory
Fields in net.minecraft.world.inventory declared as RandomSource -
Uses of RandomSource in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate static float
CrossbowItem.getRandomShotPitch
(boolean pIsHighPitched, RandomSource pRandom) private static float
CrossbowItem.getShotPitch
(RandomSource pRandom, int pIndex) static void
InstrumentItem.setRandom
(ItemStack pStack, TagKey<Instrument> pInstrumentTag, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.item.enchantment
Methods in net.minecraft.world.item.enchantment with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic ItemStack
EnchantmentHelper.enchantItem
(RandomSource pRandom, ItemStack pStack, int pLevel, Stream<Holder<Enchantment>> pPossibleEnchantments) static ItemStack
EnchantmentHelper.enchantItem
(RandomSource pRandom, ItemStack pStack, int pLevel, RegistryAccess pRegistryAccess, Optional<? extends HolderSet<Enchantment>> pPossibleEnchantments) static void
EnchantmentHelper.enchantItemFromProvider
(ItemStack pStack, RegistryAccess pRegistries, ResourceKey<EnchantmentProvider> pKey, DifficultyInstance pDifficulty, RandomSource pRandom) static int
EnchantmentHelper.getEnchantmentCost
(RandomSource pRandom, int pEnchantNum, int pPower, ItemStack pStack) Returns the enchantability of itemstack, using a separate calculation for each enchantNum (0, 1 or 2), cutting to the max enchantability power of the table, which is locked to a max of 15.void
Enchantment.modifyCrossbowChargeTime
(RandomSource p_347712_, int p_345448_, org.apache.commons.lang3.mutable.MutableFloat p_345713_) void
Enchantment.modifyTridentSpinAttackStrength
(RandomSource p_347594_, int p_344845_, org.apache.commons.lang3.mutable.MutableFloat p_346377_) void
Enchantment.modifyUnfilteredValue
(DataComponentType<EnchantmentValueEffect> p_347468_, RandomSource p_347513_, int p_347494_, org.apache.commons.lang3.mutable.MutableFloat p_347716_) static List
<EnchantmentInstance> EnchantmentHelper.selectEnchantment
(RandomSource pRandom, ItemStack pStack, int pLevel, Stream<Holder<Enchantment>> pPossibleEnchantments) -
Uses of RandomSource in net.minecraft.world.item.enchantment.effects
Methods in net.minecraft.world.item.enchantment.effects with parameters of type RandomSourceModifier and TypeMethodDescriptiondouble
SpawnParticlesEffect.PositionSource.getCoordinate
(double pPosition, double pCenter, float pSize, RandomSource pRandom) double
SpawnParticlesEffect.PositionSourceType.CoordinateSource.getCoordinate
(double pPosition, double pCenter, float pSize, RandomSource pRandom) double
SpawnParticlesEffect.PositionSourceType.getCoordinate
(double pPosition, double pCenter, float pSize, RandomSource pRandom) double
SpawnParticlesEffect.VelocitySource.getVelocity
(double pScale, RandomSource pRandom) float
AddValue.process
(int pEnchantmentLevel, RandomSource pRandom, float pValue) float
AllOf.ValueEffects.process
(int p_345324_, RandomSource p_345137_, float p_344866_) float
EnchantmentValueEffect.process
(int pEnchantmentLevel, RandomSource pRandom, float pValue) float
MultiplyValue.process
(int pEnchantmentLevel, RandomSource pRandom, float pValue) float
RemoveBinomial.process
(int pEnchantmentLevel, RandomSource pRandom, float pValue) float
SetValue.process
(int pEnchantmentLevel, RandomSource pRandom, float pValue) -
Uses of RandomSource in net.minecraft.world.item.enchantment.providers
Methods in net.minecraft.world.item.enchantment.providers with parameters of type RandomSourceModifier and TypeMethodDescriptionvoid
EnchantmentProvider.enchant
(ItemStack pStack, ItemEnchantments.Mutable pEnchantments, RandomSource pRandom, DifficultyInstance pDifficulty) void
EnchantmentsByCost.enchant
(ItemStack pStack, ItemEnchantments.Mutable pEnchantments, RandomSource pRandom, DifficultyInstance pDifficulty) void
EnchantmentsByCostWithDifficulty.enchant
(ItemStack pStack, ItemEnchantments.Mutable pEnchantments, RandomSource pRandom, DifficultyInstance pDifficulty) void
SingleEnchantment.enchant
(ItemStack pStack, ItemEnchantments.Mutable pEnchantments, RandomSource pRandom, DifficultyInstance pDifficulty) -
Uses of RandomSource in net.minecraft.world.level
Fields in net.minecraft.world.level declared as RandomSourceModifier and TypeFieldDescriptionprivate final RandomSource
Explosion.random
final RandomSource
Level.random
private final RandomSource
Level.threadSafeRandom
Deprecated.Methods in net.minecraft.world.level that return RandomSourceMethods in net.minecraft.world.level with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate SpawnData
BaseSpawner.getOrCreateNextSpawnData
(Level pLevel, RandomSource pRandom, BlockPos pPos) private static Optional
<MobSpawnSettings.SpawnerData> NaturalSpawner.getRandomSpawnMobAt
(ServerLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, MobCategory pCategory, RandomSource pRandom, BlockPos pPos) void
BaseSpawner.setEntityId
(EntityType<?> pType, Level pLevel, RandomSource pRandom, BlockPos pPos) void
Spawner.setEntityId
(EntityType<?> pEntityType, RandomSource pRandom) static void
NaturalSpawner.spawnMobsForChunkGeneration
(ServerLevelAccessor pLevelAccessor, Holder<Biome> pBiome, ChunkPos pChunkPos, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.level.biome
Methods in net.minecraft.world.level.biome with parameters of type RandomSourceModifier and TypeMethodDescriptionboolean
AmbientParticleSettings.canSpawn
(RandomSource pRandom) 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
Methods in net.minecraft.world.level.block with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate static void
AbstractCandleBlock.addParticlesAndSound
(Level pLevel, Vec3 pOffset, RandomSource pRandom) void
SaplingBlock.advanceTree
(ServerLevel pLevel, BlockPos pPos, BlockState pState, RandomSource pRandom) void
AbstractCandleBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BaseFireBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BeehiveBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BlastFurnaceBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
Block.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BrewingStandBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BrushableBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BubbleColumnBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
CampfireBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).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
EnchantingTableBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
EnderChestBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
EndGatewayBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
EndPortalBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
EndRodBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
FallingBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
FurnaceBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
LeavesBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
LeverBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
LightningRodBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
MyceliumBlock.animateTick
(BlockState p_221789_, Level p_221790_, BlockPos p_221791_, RandomSource p_221792_) void
NetherPortalBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
PointedDripstoneBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RedStoneOreBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RedstoneTorchBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RedstoneWallTorchBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RedStoneWireBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RepeaterBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RespawnAnchorBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
SculkSensorBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
SmokerBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
SporeBlossomBlock.animateTick
(BlockState p_222503_, Level p_222504_, BlockPos p_222505_, RandomSource p_222506_) void
TorchBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
WallTorchBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
WetSpongeBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
WitherRoseBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).private boolean
SculkVeinBlock.attemptPlaceSculk
(SculkSpreader pSpreader, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) int
SculkBehaviour.attemptUseCharge
(SculkSpreader.ChargeCursor pCursor, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, SculkSpreader pSpreader, boolean pShouldConvertBlocks) int
SculkBlock.attemptUseCharge
(SculkSpreader.ChargeCursor pCursor, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, SculkSpreader pSpreader, boolean pShouldConvertBlocks) int
SculkVeinBlock.attemptUseCharge
(SculkSpreader.ChargeCursor pCursor, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, SculkSpreader pSpreader, boolean pShouldConvertBlocks) default void
ChangeOverTimeBlock.changeOverTime
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) private void
FireBlock.checkBurnOut
(Level pLevel, BlockPos pPos, int pChance, RandomSource pRandom, int pAge, Direction face) private BlockState
VineBlock.copyRandomFaces
(BlockState pSourceState, BlockState pSpreadState, RandomSource pRandom) default boolean
SculkBehaviour.depositCharge
(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) static void
ChorusFlowerBlock.generatePlant
(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, int pMaxHorizontalDistance) protected int
CaveVinesBlock.getBlocksToGrowWhenBonemealed
(RandomSource p_220928_) protected abstract int
GrowingPlantHeadBlock.getBlocksToGrowWhenBonemealed
(RandomSource pRandom) protected int
KelpBlock.getBlocksToGrowWhenBonemealed
(RandomSource pRandom) static int
NetherVines.getBlocksToGrowWhenBonemealed
(RandomSource pRandom) protected int
TwistingVinesBlock.getBlocksToGrowWhenBonemealed
(RandomSource p_222649_) protected int
WeepingVinesBlock.getBlocksToGrowWhenBonemealed
(RandomSource p_222680_) private static int
FireBlock.getFireTickDelay
(RandomSource pRandom) Gets the delay before this block ticks again (without counting random ticks)private static int
FrogspawnBlock.getFrogspawnHatchDelay
(RandomSource pRandom) protected BlockState
CaveVinesBlock.getGrowIntoState
(BlockState p_220935_, RandomSource p_220936_) protected BlockState
GrowingPlantHeadBlock.getGrowIntoState
(BlockState pState, RandomSource pRandom) default Optional
<BlockState> ChangeOverTimeBlock.getNextState
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) static Rotation
Rotation.getRandom
(RandomSource pRandom) Chooses a random rotation.private BlockState
SculkBlock.getRandomGrowthState
(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, boolean pIsWorldGeneration) SculkSpreader.ChargeCursor.getRandomizedNonCornerNeighbourOffsets
(RandomSource pRandom) private double
FrogspawnBlock.getRandomTadpolePositionOffset
(RandomSource pRandom) Rotation.getShuffled
(RandomSource pRandom) Get a list of all rotations in random order.private static BlockPos
SculkSpreader.ChargeCursor.getValidMovementPos
(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) protected void
BambooStalkBlock.growBamboo
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom, int pAge) boolean
MushroomBlock.growMushroom
(ServerLevel pLevel, BlockPos pPos, BlockState pState, RandomSource pRandom) static void
PointedDripstoneBlock.growStalactiteOrStalagmiteIfPossible
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) private static void
ChorusFlowerBlock.growTreeRecursive
(LevelAccessor pLevel, BlockPos pBranchPos, RandomSource pRandom, BlockPos pOriginalBranchPos, int pMaxHorizontalDistance, int pIterations) private void
FrogspawnBlock.hatchFrogspawn
(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) boolean
AzaleaBlock.isBonemealSuccess
(Level p_220712_, RandomSource p_220713_, BlockPos p_220714_, BlockState p_220715_) boolean
BambooSaplingBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
BambooStalkBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
BigDripleafBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
BigDripleafStemBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
BonemealableBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) 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 pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
CropBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
FungusBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
GlowLichenBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
GrassBlock.isBonemealSuccess
(Level p_221275_, RandomSource p_221276_, BlockPos p_221277_, BlockState p_221278_) boolean
GrowingPlantBodyBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
GrowingPlantHeadBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
MangroveLeavesBlock.isBonemealSuccess
(Level p_221437_, RandomSource p_221438_, BlockPos p_221439_, BlockState p_221440_) boolean
MangrovePropaguleBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
MossBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
MushroomBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
NetherrackBlock.isBonemealSuccess
(Level p_221816_, RandomSource p_221817_, BlockPos p_221818_, BlockState p_221819_) boolean
NyliumBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
PinkPetalsBlock.isBonemealSuccess
(Level p_272604_, RandomSource p_273609_, BlockPos p_272988_, BlockState p_273231_) boolean
PitcherCropBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
RootedDirtBlock.isBonemealSuccess
(Level p_221979_, RandomSource p_221980_, BlockPos p_221981_, BlockState p_221982_) boolean
SaplingBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
SeagrassBlock.isBonemealSuccess
(Level p_222428_, RandomSource p_222429_, BlockPos p_222430_, BlockState p_222431_) boolean
SeaPickleBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
SmallDripleafBlock.isBonemealSuccess
(Level p_222438_, RandomSource p_222439_, BlockPos p_222440_, BlockState p_222441_) boolean
StemBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
SweetBerryBushBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
TallFlowerBlock.isBonemealSuccess
(Level p_222573_, RandomSource p_222574_, BlockPos p_222575_, BlockState p_222576_) boolean
TallGrassBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) default void
SculkBehaviour.onDischarged
(LevelAccessor pLevel, BlockState pState, BlockPos pPos, RandomSource pRandom) void
SculkVeinBlock.onDischarged
(LevelAccessor pLevel, BlockState pState, BlockPos pPos, RandomSource pRandom) void
AzaleaBlock.performBonemeal
(ServerLevel p_220707_, RandomSource p_220708_, BlockPos p_220709_, BlockState p_220710_) void
BambooSaplingBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
BambooStalkBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
BigDripleafBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
BigDripleafStemBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
BonemealableBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) 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 pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
CropBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
FungusBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
GlowLichenBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
GrassBlock.performBonemeal
(ServerLevel p_221270_, RandomSource p_221271_, BlockPos p_221272_, BlockState p_221273_) void
GrowingPlantBodyBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
GrowingPlantHeadBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
MangroveLeavesBlock.performBonemeal
(ServerLevel p_221427_, RandomSource p_221428_, BlockPos p_221429_, BlockState p_221430_) void
MangrovePropaguleBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
MossBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
MushroomBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
NetherrackBlock.performBonemeal
(ServerLevel p_221811_, RandomSource p_221812_, BlockPos p_221813_, BlockState p_221814_) void
NyliumBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
PinkPetalsBlock.performBonemeal
(ServerLevel p_273476_, RandomSource p_273093_, BlockPos p_272601_, BlockState p_272683_) void
PitcherCropBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
RootedDirtBlock.performBonemeal
(ServerLevel p_221974_, RandomSource p_221975_, BlockPos p_221976_, BlockState p_221977_) void
SaplingBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
SeagrassBlock.performBonemeal
(ServerLevel p_222423_, RandomSource p_222424_, BlockPos p_222425_, BlockState p_222426_) void
SeaPickleBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
SmallDripleafBlock.performBonemeal
(ServerLevel p_222433_, RandomSource p_222434_, BlockPos p_222435_, BlockState p_222436_) void
StemBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
SweetBerryBushBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
TallFlowerBlock.performBonemeal
(ServerLevel p_222568_, RandomSource p_222569_, BlockPos p_222570_, BlockState p_222571_) void
TallGrassBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) private void
NyliumBlock.place
(Registry<ConfiguredFeature<?, ?>> pFeatureRegistry, ResourceKey<ConfiguredFeature<?, ?>> pFeatureKey, ServerLevel pLevel, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) static void
BigDripleafBlock.placeWithRandomHeight
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, Direction pDirection) protected void
BambooSaplingBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
BambooStalkBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
BeetrootBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
BuddingAmethystBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
CactusBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
ChorusFlowerBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
CocoaBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
CropBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
FarmBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
GrowingPlantHeadBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
IceBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
LeavesBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
LiquidBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
MangrovePropaguleBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
MushroomBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
NetherPortalBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
NetherWartBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
NyliumBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.void
PitcherCropBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
PointedDripstoneBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
RedStoneOreBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
SaplingBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
SnowLayerBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
SpreadingSnowyDirtBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
StemBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
SugarCaneBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
SweetBerryBushBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.void
TorchflowerCropBlock.randomTick
(BlockState p_273361_, ServerLevel p_273515_, BlockPos p_273546_, RandomSource p_273261_) protected void
TurtleEggBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
VineBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
WeatheringCopperBulbBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
WeatheringCopperDoorBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
WeatheringCopperFullBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
WeatheringCopperGrateBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
WeatheringCopperSlabBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
WeatheringCopperStairBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
WeatheringCopperTrapDoorBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.private void
RedStoneWireBlock.spawnParticlesAlongLine
(Level pLevel, RandomSource pRandom, BlockPos pPos, Vec3 pParticleVec, Direction pXDirection, Direction pZDirection, float pMin, float pMax) private void
FrogspawnBlock.spawnTadpoles
(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) MultifaceSpreader.spreadFromFaceTowardRandomDirection
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, Direction pSpreadDirection, RandomSource pRandom, boolean pMarkForPostprocessing) MultifaceSpreader.spreadFromRandomFaceTowardRandomDirection
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) protected void
AbstractCauldronBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BambooStalkBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BarrelBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BasePressurePlateBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BigDripleafBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BigDripleafStemBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) void
BrushableBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BubbleColumnBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ButtonBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CactusBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ChestBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ChorusFlowerBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ChorusPlantBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CommandBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ComparatorBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ComposterBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CoralBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CoralFanBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CoralPlantBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CoralWallFanBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CrafterBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
DetectorRailBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
DiodeBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
DirtPathBlock.tick
(BlockState p_221070_, ServerLevel p_221071_, BlockPos p_221072_, RandomSource p_221073_) protected void
DispenserBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
EnderChestBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
FallingBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
FarmBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
FireBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
FrogspawnBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
FrostedIceBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
GrowingPlantBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
LeavesBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
LecternBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
LightningRodBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
MagmaBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ObserverBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
PointedDripstoneBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
RedstoneLampBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
RedstoneTorchBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ScaffoldingBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
SculkCatalystBlock.tick
(BlockState p_222104_, ServerLevel p_222105_, BlockPos p_222106_, RandomSource p_222107_) protected void
SculkSensorBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
SculkShriekerBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) void
SnifferEggBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
SoulSandBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
SugarCaneBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
TargetBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
TripWireBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
TripWireHookBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) void
SculkSpreader.ChargeCursor.update
(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, SculkSpreader pSpreader, boolean pShouldConvertBlocks) void
SculkSpreader.updateCursors
(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, boolean pShouldConvertBlocks) -
Uses of RandomSource in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as RandomSourceModifier and TypeFieldDescriptionprivate static final RandomSource
EnchantingTableBlockEntity.RANDOM
Methods in net.minecraft.world.level.block.entity that return RandomSourceModifier and TypeMethodDescriptionstatic RandomSource
StructureBlockEntity.createRandom
(long pSeed) Methods in net.minecraft.world.level.block.entity with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate void
SculkCatalystBlockEntity.CatalystListener.bloom
(ServerLevel pLevel, BlockPos pPos, BlockState pState, RandomSource pRandom) int
DispenserBlockEntity.getRandomSlot
(RandomSource pRandom) void
SpawnerBlockEntity.setEntityId
(EntityType<?> pType, RandomSource pRandom) void
TrialSpawnerBlockEntity.setEntityId
(EntityType<?> pEntityType, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.level.block.entity.trialspawner
Methods in net.minecraft.world.level.block.entity.trialspawner with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic void
TrialSpawner.addBecomeOminousParticles
(Level pLevel, BlockPos pPos, RandomSource pRandom) static void
TrialSpawner.addDetectPlayerParticles
(Level pLevel, BlockPos pPos, RandomSource pRandom, int pType, ParticleOptions pParticle) static void
TrialSpawner.addEjectItemParticles
(Level pLevel, BlockPos pPos, RandomSource pRandom) static void
TrialSpawner.addSpawnParticles
(Level pLevel, BlockPos pPos, RandomSource pRandom, SimpleParticleType pParticleType) void
TrialSpawnerState.ParticleEmission.emit
(Level pLevel, RandomSource pRandom, BlockPos pPos, boolean pIsOminous) protected SpawnData
TrialSpawnerData.getOrCreateNextSpawnData
(TrialSpawner pSpawner, RandomSource pRandom) boolean
TrialSpawnerData.hasMobToSpawn
(TrialSpawner pTrialSpawner, RandomSource pRandom) void
TrialSpawnerData.setEntityId
(TrialSpawner pSpawner, RandomSource pRandom, EntityType<?> pEntityType) -
Uses of RandomSource in net.minecraft.world.level.block.entity.vault
Methods in net.minecraft.world.level.block.entity.vault with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate static Vec3
VaultBlockEntity.Client.randomPosCenterOfCage
(BlockPos pPos, RandomSource pRandom) private static Vec3
VaultBlockEntity.Client.randomPosInsideCage
(BlockPos pPos, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.level.block.grower
Methods in net.minecraft.world.level.block.grower with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate ResourceKey
<ConfiguredFeature<?, ?>> TreeGrower.getConfiguredFeature
(RandomSource pRandom, boolean pFlowers) private ResourceKey
<ConfiguredFeature<?, ?>> TreeGrower.getConfiguredMegaFeature
(RandomSource pRandom) boolean
TreeGrower.growTree
(ServerLevel pLevel, ChunkGenerator pChunkGenerator, BlockPos pPos, BlockState pState, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state with parameters of type RandomSourceModifier and TypeMethodDescriptionvoid
BlockBehaviour.BlockStateBase.randomTick
(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BlockBehaviour.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.void
BlockBehaviour.BlockStateBase.tick
(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BlockBehaviour.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.level.levelgen
Subinterfaces of RandomSource in net.minecraft.world.level.levelgenClasses in net.minecraft.world.level.levelgen that implement RandomSourceModifier and TypeClassDescriptionclass
class
class
Deprecated.class
class
Fields in net.minecraft.world.level.levelgen declared as RandomSourceModifier and TypeFieldDescriptionfinal RandomSource
MarsagliaPolarGaussian.randomSource
private final RandomSource
WorldgenRandom.randomSource
Fields in net.minecraft.world.level.levelgen with type parameters of type RandomSourceModifier and TypeFieldDescriptionprivate final LongFunction
<RandomSource> WorldgenRandom.Algorithm.constructor
Methods in net.minecraft.world.level.levelgen that return RandomSourceModifier and TypeMethodDescriptionLegacyRandomSource.LegacyPositionalRandomFactory.at
(int pX, int pY, int pZ) PositionalRandomFactory.at
(int pX, int pY, int pZ) default RandomSource
XoroshiroRandomSource.XoroshiroPositionalRandomFactory.at
(int pX, int pY, int pZ) LegacyRandomSource.fork()
SingleThreadedRandomSource.fork()
ThreadSafeLegacyRandomSource.fork()
Deprecated.WorldgenRandom.fork()
XoroshiroRandomSource.fork()
LegacyRandomSource.LegacyPositionalRandomFactory.fromHashOf
(String pName) PositionalRandomFactory.fromHashOf
(String pName) default RandomSource
PositionalRandomFactory.fromHashOf
(ResourceLocation pName) XoroshiroRandomSource.XoroshiroPositionalRandomFactory.fromHashOf
(String pName) LegacyRandomSource.LegacyPositionalRandomFactory.fromSeed
(long pSeed) PositionalRandomFactory.fromSeed
(long pSeed) XoroshiroRandomSource.XoroshiroPositionalRandomFactory.fromSeed
(long pSeed) WorldgenRandom.Algorithm.newInstance
(long pSeed) static RandomSource
WorldgenRandom.seedSlimeChunk
(int pChunkX, int pChunkZ, long pLevelSeed, long pSalt) Creates a newRandomSource
, seeded for determining whether a chunk is a slime chunk or not.Methods in net.minecraft.world.level.levelgen with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate static BlockState[]
SurfaceSystem.generateBands
(RandomSource pRandom) private static void
SurfaceSystem.makeBands
(RandomSource pRandom, BlockState[] pOutput, int pMinSize, BlockState pState) private boolean
PatrolSpawner.spawnPatrolMember
(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom, boolean pLeader) Constructors in net.minecraft.world.level.levelgen with parameters of type RandomSourceModifierConstructorDescriptionMarsagliaPolarGaussian
(RandomSource pRandomSource) WorldgenRandom
(RandomSource pRandomSource) Constructor parameters in net.minecraft.world.level.levelgen with type arguments of type RandomSource -
Uses of RandomSource in net.minecraft.world.level.levelgen.carver
Methods in net.minecraft.world.level.levelgen.carver with parameters of type RandomSourceModifier and TypeMethodDescriptionboolean
CanyonWorldCarver.carve
(CarvingContext pContext, CanyonCarverConfiguration pConfig, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, RandomSource pRandom, Aquifer pAquifer, ChunkPos pChunkPos, CarvingMask pCarvingMask) Carves the given chunk with caves that originate from the givenchunkPos
.boolean
CaveWorldCarver.carve
(CarvingContext pContext, CaveCarverConfiguration pConfig, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, RandomSource pRandom, Aquifer pAquifer, ChunkPos pChunkPos, CarvingMask pCarvingMask) Carves the given chunk with caves that originate from the givenchunkPos
.boolean
ConfiguredWorldCarver.carve
(CarvingContext pContext, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, RandomSource pRandom, Aquifer pAquifer, ChunkPos pChunkPos, CarvingMask pCarvingMask) abstract boolean
WorldCarver.carve
(CarvingContext pContext, C pConfig, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, RandomSource pRandom, Aquifer pAquifer, ChunkPos pChunkPos, CarvingMask pCarvingMask) Carves the given chunk with caves that originate from the givenchunkPos
.protected float
CaveWorldCarver.getThickness
(RandomSource pRandom) protected float
NetherWorldCarver.getThickness
(RandomSource p_224907_) private float[]
CanyonWorldCarver.initWidthFactors
(CarvingContext pContext, CanyonCarverConfiguration pConfig, RandomSource pRandom) Generates a random array full of width factors which are used to create the uneven walls of a ravine.boolean
CanyonWorldCarver.isStartChunk
(CanyonCarverConfiguration pConfig, RandomSource pRandom) boolean
CaveWorldCarver.isStartChunk
(CaveCarverConfiguration pConfig, RandomSource pRandom) boolean
ConfiguredWorldCarver.isStartChunk
(RandomSource pRandom) abstract boolean
WorldCarver.isStartChunk
(C pConfig, RandomSource pRandom) private double
CanyonWorldCarver.updateVerticalRadius
(CanyonCarverConfiguration pConfig, RandomSource pRandom, double pVerticalRadius, float pBranchCount, float pCurrentBranch) -
Uses of RandomSource in net.minecraft.world.level.levelgen.feature
Fields in net.minecraft.world.level.levelgen.feature declared as RandomSourceMethods in net.minecraft.world.level.levelgen.feature that return RandomSourceMethods in net.minecraft.world.level.levelgen.feature with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic boolean
OreFeature.canPlaceOre
(BlockState pState, Function<BlockPos, BlockState> pAdjacentStateAccessor, RandomSource pRandom, OreConfiguration pConfig, OreConfiguration.TargetBlockState pTargetState, BlockPos.MutableBlockPos pMutablePos) private static void
PointedDripstoneFeature.createPatchOfDripstoneBlocks
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, PointedDripstoneConfiguration pConfig) protected void
VegetationPatchFeature.distributeVegetation
(FeaturePlaceContext<VegetationPatchConfiguration> pContext, WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, RandomSource pRandom, Set<BlockPos> pPossiblePositions, int pXRadius, int pZRadius) protected boolean
OreFeature.doPlace
(WorldGenLevel pLevel, RandomSource pRandom, OreConfiguration pConfig, double pMinX, double pMaxX, double pMinZ, double pMaxZ, double pMinY, double pMaxY, int pX, int pY, int pZ, int pWidth, int pHeight) private boolean
TreeFeature.doPlace
(WorldGenLevel pLevel, RandomSource pRandom, BlockPos pPos, BiConsumer<BlockPos, BlockState> pRootBlockSetter, BiConsumer<BlockPos, BlockState> pTrunkBlockSetter, FoliagePlacer.FoliageSetter pFoliageBlockSetter, TreeConfiguration pConfig) private void
IcebergFeature.generateCutOut
(RandomSource pRandom, LevelAccessor pLevel, int pMajorAxis, int pHeight, BlockPos pPos, boolean pElliptical, int pEllipseRadius, double pAngle, int pMinorAxis) private void
IcebergFeature.generateIcebergBlock
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, int pHeight, int pLocalX, int pLocalY, int pLocalZ, int pRadius, int pMajorRadius, boolean pElliptical, int pMinorRadius, double pAngle, boolean pPlaceSnow, BlockState pState) private int
DripstoneClusterFeature.getDripstoneHeight
(RandomSource pRandom, int pX, int pZ, float pChance, int pHeight, DripstoneClusterConfiguration pConfig) private int
ScatteredOreFeature.getRandomPlacementInOneAxisRelativeToOrigin
(RandomSource pRandom, int pMagnitude) PointedDripstoneFeature.getTipDirection
(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) protected int
AbstractHugeMushroomFeature.getTreeHeight
(RandomSource pRandom) private int
IcebergFeature.heightDependentRadiusRound
(RandomSource pRandom, int pY, int pHeight, int pMajorAxis) private int
IcebergFeature.heightDependentRadiusSteep
(RandomSource pRandom, int pY, int pHeight, int pMaxRadius) Given a horizontal projection of an iceberg, defines the three-dimensional extrusion by defining a radius at any given y value.protected abstract void
AbstractHugeMushroomFeature.makeCap
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, int pTreeHeight, BlockPos.MutableBlockPos pMutablePos, HugeMushroomFeatureConfiguration pConfig) 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 pRoot, boolean pPointingUp, RandomSource pRandom, int pRadius, FloatProvider pBluntnessBase, FloatProvider pScaleBase) private boolean
BlockPileFeature.mayPlaceOn
(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) private void
ScatteredOreFeature.offsetTargetPos
(BlockPos.MutableBlockPos pMutablePos, RandomSource pRandom, BlockPos pPos, int pMagnitude) boolean
ConfiguredFeature.place
(WorldGenLevel pReader, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) boolean
Feature.place
(FC pConfig, WorldGenLevel pLevel, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pOrigin) boolean
WeightedPlacedFeature.place
(WorldGenLevel pLevel, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) private void
BasaltPillarFeature.placeBaseHangOff
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos) (package private) void
LargeDripstoneFeature.LargeDripstone.placeBlocks
(WorldGenLevel pLevel, RandomSource pRandom, LargeDripstoneFeature.WindOffsetter pWindOffsetter) protected boolean
DiskFeature.placeColumn
(DiskConfiguration pConfig, WorldGenLevel pLevel, RandomSource pRandom, int pMaxY, int pMinY, BlockPos.MutableBlockPos pPos) private void
DripstoneClusterFeature.placeColumn
(WorldGenLevel pLevel, RandomSource pRandom, BlockPos pPos, int pX, int pZ, float pWetness, double pChance, int pHeight, float pDensity, DripstoneClusterConfiguration pConfig) protected boolean
CoralFeature.placeCoralBlock
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) private static void
RootSystemFeature.placeDirt
(BlockPos pPos, int pMaxY, WorldGenLevel pLevel, RootSystemConfiguration pConfig, RandomSource pRandom) private static boolean
RootSystemFeature.placeDirtAndTree
(WorldGenLevel pLevel, ChunkGenerator pChunkGenerator, RootSystemConfiguration pConfig, RandomSource pRandom, BlockPos.MutableBlockPos pMutablePos, BlockPos pBasePos) protected boolean
CoralClawFeature.placeFeature
(LevelAccessor p_224959_, RandomSource p_224960_, BlockPos p_224961_, BlockState p_224962_) protected abstract boolean
CoralFeature.placeFeature
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) 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 pLevel, VegetationPatchConfiguration pConfig, Predicate<BlockState> pReplaceableblocks, RandomSource pRandom, BlockPos.MutableBlockPos pMutablePos, int pMaxDistance) VegetationPatchFeature.placeGroundPatch
(WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, RandomSource pRandom, BlockPos pPos, Predicate<BlockState> pState, int pXRadius, int pZRadius) WaterloggedVegetationPatchFeature.placeGroundPatch
(WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, RandomSource pRandom, BlockPos pPos, Predicate<BlockState> pState, int pXRadius, int pZRadius) static boolean
MultifaceGrowthFeature.placeGrowthIfPossible
(WorldGenLevel pLevel, BlockPos pPos, BlockState pState, MultifaceGrowthConfiguration pConfig, RandomSource pRandom, List<Direction> pDirections) private boolean
BasaltPillarFeature.placeHangOff
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos) private void
HugeFungusFeature.placeHat
(WorldGenLevel pLevel, RandomSource pRandom, HugeFungusConfiguration pConfig, BlockPos pPos, int pHeight, boolean pHuge) private void
HugeFungusFeature.placeHatBlock
(LevelAccessor pLevel, RandomSource pRandom, HugeFungusConfiguration pConfig, BlockPos.MutableBlockPos pPos, float pDecorationChance, float pHatChance, float pWeepingVineChance) private void
HugeFungusFeature.placeHatDropBlock
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState, boolean pWeepingVines) private void
WeepingVinesFeature.placeRoofNetherWart
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos) private void
WeepingVinesFeature.placeRoofWeepingVines
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos) private static void
RootSystemFeature.placeRootedDirt
(WorldGenLevel pLevel, RootSystemConfiguration pConfig, RandomSource pRandom, int pX, int pZ, BlockPos.MutableBlockPos pPos) private static void
RootSystemFeature.placeRoots
(WorldGenLevel pLevel, RootSystemConfiguration pConfig, RandomSource pRandom, BlockPos pBasePos, BlockPos.MutableBlockPos pMutablePos) private void
SpikeFeature.placeSpike
(ServerLevelAccessor pLevel, RandomSource pRandom, SpikeConfiguration pConfig, SpikeFeature.EndSpike pSpike) Places the End Spike in the world.private void
HugeFungusFeature.placeStem
(WorldGenLevel pLevel, RandomSource pRandom, HugeFungusConfiguration pConfig, BlockPos pPos, int pHeight, boolean pHuge) protected void
AbstractHugeMushroomFeature.placeTrunk
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, HugeMushroomFeatureConfiguration pConfig, int pMaxHeight, BlockPos.MutableBlockPos pMutablePos) protected boolean
VegetationPatchFeature.placeVegetation
(WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) protected boolean
WaterloggedVegetationPatchFeature.placeVegetation
(WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) static void
TwistingVinesFeature.placeWeepingVinesColumn
(LevelAccessor pLevel, RandomSource pRandom, BlockPos.MutableBlockPos pPos, int pLength, int pMinAge, int pMaxAge) static void
WeepingVinesFeature.placeWeepingVinesColumn
(LevelAccessor pLevel, RandomSource pRandom, BlockPos.MutableBlockPos pPos, int pHeight, int pMinAge, int pMaxAge) private static float
DripstoneClusterFeature.randomBetweenBiased
(RandomSource pRandom, float pMin, float pMax, float pMean, float pDeviation) private EntityType
<?> MonsterRoomFeature.randomEntityId
(RandomSource pRandom) private void
IcebergFeature.setIcebergBlock
(BlockPos pPos, LevelAccessor pLevel, RandomSource pRandom, int pHeightRemaining, int pHeight, boolean pElliptical, boolean pPlaceSnow, BlockState pState) protected static boolean
OreFeature.shouldSkipAirCheck
(RandomSource pRandom, float pChance) private double
IcebergFeature.signedDistanceCircle
(int pX, int pZ, BlockPos pCenter, int pRadius, RandomSource pRandom) private void
BlockPileFeature.tryPlaceBlock
(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, BlockPileConfiguration pConfig) private static void
HugeFungusFeature.tryPlaceWeepingVines
(BlockPos pPos, LevelAccessor pLevel, RandomSource pRandom) Constructors in net.minecraft.world.level.levelgen.feature with parameters of type RandomSourceModifierConstructorDescriptionFeaturePlaceContext
(Optional<ConfiguredFeature<?, ?>> pTopFeature, WorldGenLevel pLevel, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pOrigin, FC pConfig) (package private)
WindOffsetter
(int pOriginY, RandomSource pRandom, FloatProvider pMagnitude) -
Uses of RandomSource in net.minecraft.world.level.levelgen.feature.configurations
Methods in net.minecraft.world.level.levelgen.feature.configurations with parameters of type RandomSourceModifier and TypeMethodDescriptionMultifaceGrowthConfiguration.getShuffledDirections
(RandomSource pRandom) MultifaceGrowthConfiguration.getShuffledDirectionsExcept
(RandomSource pRandom, Direction pDirection) -
Uses of RandomSource in net.minecraft.world.level.levelgen.feature.foliageplacers
Methods in net.minecraft.world.level.levelgen.feature.foliageplacers with parameters of type RandomSourceModifier 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 pLevel, FoliagePlacer.FoliageSetter pBlockSetter, RandomSource pRandom, TreeConfiguration pConfig, int pMaxFreeTreeHeight, FoliagePlacer.FoliageAttachment pAttachment, int pFoliageHeight, int pFoliageRadius, int pOffset) 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 pLevel, FoliagePlacer.FoliageSetter pBlockSetter, RandomSource pRandom, TreeConfiguration pConfig, int pMaxFreeTreeHeight, FoliagePlacer.FoliageAttachment pAttachment, int pFoliageHeight, int pFoliageRadius, int pOffset) 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 pLevel, FoliagePlacer.FoliageSetter pBlockSetter, RandomSource pRandom, TreeConfiguration pConfig, int pMaxFreeTreeHeight, FoliagePlacer.FoliageAttachment pAttachment, int pFoliageHeight, int pFoliageRadius) protected abstract void
FoliagePlacer.createFoliage
(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pBlockSetter, RandomSource pRandom, TreeConfiguration pConfig, int pMaxFreeTreeHeight, FoliagePlacer.FoliageAttachment pAttachment, int pFoliageHeight, int pFoliageRadius, int pOffset) protected void
MegaJungleFoliagePlacer.createFoliage
(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pBlockSetter, RandomSource pRandom, TreeConfiguration pConfig, int pMaxFreeTreeHeight, FoliagePlacer.FoliageAttachment pAttachment, int pFoliageHeight, int pFoliageRadius, int pOffset) protected void
MegaPineFoliagePlacer.createFoliage
(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pBlockSetter, RandomSource pRandom, TreeConfiguration pConfig, int pMaxFreeTreeHeight, FoliagePlacer.FoliageAttachment pAttachment, int pFoliageHeight, int pFoliageRadius, int pOffset) protected void
PineFoliagePlacer.createFoliage
(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pBlockSetter, RandomSource pRandom, TreeConfiguration pConfig, int pMaxFreeTreeHeight, FoliagePlacer.FoliageAttachment pAttachment, int pFoliageHeight, int pFoliageRadius, int pOffset) protected void
RandomSpreadFoliagePlacer.createFoliage
(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pBlockSetter, RandomSource pRandom, TreeConfiguration pConfig, int pMaxFreeTreeHeight, FoliagePlacer.FoliageAttachment pAttachment, int pFoliageHeight, int pFoliageRadius, int pOffset) protected void
SpruceFoliagePlacer.createFoliage
(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pBlockSetter, RandomSource pRandom, TreeConfiguration pConfig, int pMaxFreeTreeHeight, FoliagePlacer.FoliageAttachment pAttachment, int pFoliageHeight, int pFoliageRadius, int pOffset) int
AcaciaFoliagePlacer.foliageHeight
(RandomSource p_225495_, int p_225496_, TreeConfiguration p_225497_) int
BlobFoliagePlacer.foliageHeight
(RandomSource pRandom, int pHeight, TreeConfiguration pConfig) int
CherryFoliagePlacer.foliageHeight
(RandomSource pRandom, int pHeight, TreeConfiguration pConfig) int
DarkOakFoliagePlacer.foliageHeight
(RandomSource p_225554_, int p_225555_, TreeConfiguration p_225556_) abstract int
FoliagePlacer.foliageHeight
(RandomSource pRandom, int pHeight, TreeConfiguration pConfig) int
MegaJungleFoliagePlacer.foliageHeight
(RandomSource pRandom, int pHeight, TreeConfiguration pConfig) int
MegaPineFoliagePlacer.foliageHeight
(RandomSource pRandom, int pHeight, TreeConfiguration pConfig) int
PineFoliagePlacer.foliageHeight
(RandomSource pRandom, int pHeight, TreeConfiguration pConfig) int
RandomSpreadFoliagePlacer.foliageHeight
(RandomSource pRandom, int pHeight, TreeConfiguration pConfig) int
SpruceFoliagePlacer.foliageHeight
(RandomSource pRandom, int pHeight, TreeConfiguration pConfig) int
FoliagePlacer.foliageRadius
(RandomSource pRandom, int pRadius) int
PineFoliagePlacer.foliageRadius
(RandomSource pRandom, int pRadius) private int
FoliagePlacer.offset
(RandomSource pRandom) protected void
FoliagePlacer.placeLeavesRow
(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pFoliageSetter, RandomSource pRandom, TreeConfiguration pTreeConfiguration, BlockPos pPos, int pRange, int pLocalY, boolean pLarge) protected final void
FoliagePlacer.placeLeavesRowWithHangingLeavesBelow
(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pFoliageSetter, RandomSource pRandom, TreeConfiguration pTreeConfiguration, BlockPos pPos, int pRange, int pLocalY, boolean pLarge, float pHangingLeavesChance, float pHangingLeavesExtensionChance) 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 pRandom, int pLocalX, int pLocalY, int pLocalZ, int pRange, boolean pLarge) Skips certain positions based on the provided shape, such as rounding corners randomly.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 pRandom, int pLocalX, int pLocalY, int pLocalZ, int pRange, boolean pLarge) Skips certain positions based on the provided shape, such as rounding corners randomly.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 pRandom, int pLocalX, int pLocalY, int pLocalZ, int pRange, boolean pLarge) Skips certain positions based on the provided shape, such as rounding corners randomly.protected boolean
MegaJungleFoliagePlacer.shouldSkipLocation
(RandomSource pRandom, int pLocalX, int pLocalY, int pLocalZ, int pRange, boolean pLarge) Skips certain positions based on the provided shape, such as rounding corners randomly.protected boolean
MegaPineFoliagePlacer.shouldSkipLocation
(RandomSource pRandom, int pLocalX, int pLocalY, int pLocalZ, int pRange, boolean pLarge) Skips certain positions based on the provided shape, such as rounding corners randomly.protected boolean
PineFoliagePlacer.shouldSkipLocation
(RandomSource pRandom, int pLocalX, int pLocalY, int pLocalZ, int pRange, boolean pLarge) Skips certain positions based on the provided shape, such as rounding corners randomly.protected boolean
RandomSpreadFoliagePlacer.shouldSkipLocation
(RandomSource pRandom, int pLocalX, int pLocalY, int pLocalZ, int pRange, boolean pLarge) Skips certain positions based on the provided shape, such as rounding corners randomly.protected boolean
SpruceFoliagePlacer.shouldSkipLocation
(RandomSource pRandom, int pLocalX, int pLocalY, int pLocalZ, int pRange, boolean pLarge) Skips certain positions based on the provided shape, such as rounding corners randomly.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 pRandom, int pLocalX, int pLocalY, int pLocalZ, int pRange, boolean pLarge) private static boolean
FoliagePlacer.tryPlaceExtension
(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pFoliageSetter, RandomSource pRandom, TreeConfiguration pTreeConfiguration, float pExtensionChance, BlockPos pLogPos, BlockPos.MutableBlockPos pPos) protected static boolean
FoliagePlacer.tryPlaceLeaf
(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pFoliageSetter, RandomSource pRandom, TreeConfiguration pTreeConfiguration, BlockPos pPos) -
Uses of RandomSource in net.minecraft.world.level.levelgen.feature.rootplacers
Methods in net.minecraft.world.level.levelgen.feature.rootplacers with parameters of type RandomSourceModifier and TypeMethodDescriptionRootPlacer.getTrunkOrigin
(BlockPos pPos, RandomSource pRandom) protected void
MangroveRootPlacer.placeRoot
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pTreeConfig) protected void
RootPlacer.placeRoot
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pTreeConfig) boolean
MangroveRootPlacer.placeRoots
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, BlockPos pTrunkOrigin, TreeConfiguration pTreeConfig) abstract boolean
RootPlacer.placeRoots
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, BlockPos pTrunkOrigin, TreeConfiguration pTreeConfig) MangroveRootPlacer.potentialRootPositions
(BlockPos pPos, Direction pDirection, RandomSource pRandom, BlockPos pTrunkOrigin) private boolean
MangroveRootPlacer.simulateRoots
(LevelSimulatedReader pLevel, RandomSource pRandom, BlockPos pPos, Direction pDirection, BlockPos pTrunkOrigin, List<BlockPos> pRoots, int pLength) -
Uses of RandomSource in net.minecraft.world.level.levelgen.feature.stateproviders
Methods in net.minecraft.world.level.levelgen.feature.stateproviders with parameters of type RandomSourceModifier and TypeMethodDescriptionabstract BlockState
BlockStateProvider.getState
(RandomSource pRandom, BlockPos pPos) DualNoiseProvider.getState
(RandomSource pRandom, BlockPos pPos) NoiseProvider.getState
(RandomSource pRandom, BlockPos pPos) NoiseThresholdProvider.getState
(RandomSource pRandom, BlockPos pPos) RandomizedIntStateProvider.getState
(RandomSource pRandom, BlockPos pPos) RotatedBlockProvider.getState
(RandomSource pRandom, BlockPos pPos) RuleBasedBlockStateProvider.getState
(WorldGenLevel pLevel, RandomSource pRandom, BlockPos pPos) SimpleStateProvider.getState
(RandomSource pRandom, BlockPos pPos) WeightedStateProvider.getState
(RandomSource pRandom, BlockPos pPos) -
Uses of RandomSource in net.minecraft.world.level.levelgen.feature.treedecorators
Fields in net.minecraft.world.level.levelgen.feature.treedecorators declared as RandomSourceMethods in net.minecraft.world.level.levelgen.feature.treedecorators that return RandomSourceConstructors in net.minecraft.world.level.levelgen.feature.treedecorators with parameters of type RandomSourceModifierConstructorDescriptionContext
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pDecorationSetter, RandomSource pRandom, Set<BlockPos> pLogs, Set<BlockPos> pLeaves, Set<BlockPos> pRoots) -
Uses of RandomSource in net.minecraft.world.level.levelgen.feature.trunkplacers
Methods in net.minecraft.world.level.levelgen.feature.trunkplacers with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate FoliagePlacer.FoliageAttachment
CherryTrunkPlacer.generateBranch
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig, Function<BlockState, BlockState> pPropertySetter, Direction pDirection, int pSecondBranchStartOffsetFromTop, boolean pDoubleBranch, BlockPos.MutableBlockPos pCurrentPos) int
TrunkPlacer.getTreeHeight
(RandomSource pRandom) private void
FancyTrunkPlacer.makeBranches
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pMaxHeight, BlockPos pPos, List<FancyTrunkPlacer.FoliageCoords> pFoliageCoords, TreeConfiguration pConfig) private boolean
FancyTrunkPlacer.makeLimb
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pBasePos, BlockPos pOffsetPos, boolean pModifyWorld, TreeConfiguration pConfig) private void
UpwardsBranchingTrunkPlacer.placeBranch
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, TreeConfiguration pTreeConfig, List<FoliagePlacer.FoliageAttachment> pFoliageAttachments, BlockPos.MutableBlockPos pPos, int pY, Direction pDirection, int pExtraBranchLength, int pExtraBranchSteps) protected boolean
TrunkPlacer.placeLog
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pConfig) protected boolean
TrunkPlacer.placeLog
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pConfig, Function<BlockState, BlockState> pPropertySetter) protected void
TrunkPlacer.placeLogIfFree
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos.MutableBlockPos pPos, TreeConfiguration pConfig) private void
GiantTrunkPlacer.placeLogIfFreeWithOffset
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos.MutableBlockPos pPos, TreeConfiguration pConfig, BlockPos pOffsetPos, int pOffsetX, int pOffsetY, int pOffsetZ) BendingTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) CherryTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) DarkOakTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) FancyTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) ForkingTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) GiantTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) MegaJungleTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) StraightTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) abstract List
<FoliagePlacer.FoliageAttachment> TrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) UpwardsBranchingTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) protected static void
TrunkPlacer.setDirtAt
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pConfig) -
Uses of RandomSource in net.minecraft.world.level.levelgen.heightproviders
Methods in net.minecraft.world.level.levelgen.heightproviders with parameters of type RandomSourceModifier and TypeMethodDescriptionint
BiasedToBottomHeight.sample
(RandomSource pRandom, WorldGenerationContext pContext) int
ConstantHeight.sample
(RandomSource pRandom, WorldGenerationContext pContext) abstract int
HeightProvider.sample
(RandomSource pRandom, WorldGenerationContext pContext) int
TrapezoidHeight.sample
(RandomSource pRandom, WorldGenerationContext pContext) int
UniformHeight.sample
(RandomSource pRandom, WorldGenerationContext pContext) int
VeryBiasedToBottomHeight.sample
(RandomSource pRandom, WorldGenerationContext pContext) int
WeightedListHeight.sample
(RandomSource pRandom, WorldGenerationContext pContext) -
Uses of RandomSource in net.minecraft.world.level.levelgen.placement
Methods in net.minecraft.world.level.levelgen.placement with parameters of type RandomSourceModifier and TypeMethodDescriptionprotected int
CountPlacement.count
(RandomSource pRandom, BlockPos pPos) protected int
NoiseBasedCountPlacement.count
(RandomSource pRandom, BlockPos pPos) protected int
NoiseThresholdCountPlacement.count
(RandomSource pRandom, BlockPos pPos) protected abstract int
RepeatingPlacement.count
(RandomSource pRandom, BlockPos pPos) CarvingMaskPlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) CountOnEveryLayerPlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) Deprecated.EnvironmentScanPlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) FixedPlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) HeightmapPlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) HeightRangePlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) InSquarePlacement.getPositions
(PlacementContext p_226348_, RandomSource p_226349_, BlockPos p_226350_) PlacementFilter.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) PlacementModifier.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) RandomOffsetPlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) RepeatingPlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) boolean
PlacedFeature.place
(WorldGenLevel pLevel, ChunkGenerator pGenerator, RandomSource pRandom, BlockPos pPos) boolean
PlacedFeature.placeWithBiomeCheck
(WorldGenLevel pLevel, ChunkGenerator pGenerator, RandomSource pRandom, BlockPos pPos) private boolean
PlacedFeature.placeWithContext
(PlacementContext pContext, RandomSource pSource, BlockPos pPos) protected boolean
BiomeFilter.shouldPlace
(PlacementContext p_226317_, RandomSource p_226318_, BlockPos p_226319_) protected boolean
BlockPredicateFilter.shouldPlace
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) protected abstract boolean
PlacementFilter.shouldPlace
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) protected boolean
RarityFilter.shouldPlace
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) protected boolean
SurfaceRelativeThresholdFilter.shouldPlace
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) protected boolean
SurfaceWaterDepthFilter.shouldPlace
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) -
Uses of RandomSource in net.minecraft.world.level.levelgen.structure
Methods in net.minecraft.world.level.levelgen.structure with parameters of type RandomSourceModifier and TypeMethodDescriptionvoid
StructurePiece.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
PostPlacementProcessor.afterPlace
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, PiecesContainer pPieces) void
Structure.afterPlace
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pChunkGenerator, RandomSource pRandom, BoundingBox pBoundingBox, ChunkPos pChunkPos, PiecesContainer pPieces) protected boolean
StructurePiece.createChest
(ServerLevelAccessor pLevel, BoundingBox pBox, RandomSource pRandom, BlockPos pPos, ResourceKey<LootTable> pLootTable, BlockState pState) protected boolean
StructurePiece.createChest
(WorldGenLevel pLevel, BoundingBox pBox, RandomSource pRandom, int pX, int pY, int pZ, ResourceKey<LootTable> pLootTable) protected boolean
StructurePiece.createDispenser
(WorldGenLevel pLevel, BoundingBox pBox, RandomSource pRandom, int pX, int pY, int pZ, Direction pFacing, ResourceKey<LootTable> pLootTable) protected void
StructurePiece.generateBox
(WorldGenLevel pLevel, BoundingBox pBox, int pMinX, int pMinY, int pMinZ, int pMaxX, int pMaxY, int pMaxZ, boolean pAlwaysReplace, RandomSource pRandom, StructurePiece.BlockSelector pBlockSelector) protected void
StructurePiece.generateBox
(WorldGenLevel pLevel, BoundingBox pBoundingBox, BoundingBox pBox, boolean pAlwaysReplace, RandomSource pRandom, StructurePiece.BlockSelector pBlockSelector) protected void
StructurePiece.generateMaybeBox
(WorldGenLevel pLevel, BoundingBox pBox, RandomSource pRandom, float pChance, int pX1, int pY1, int pZ1, int pX2, int pY2, int pZ2, BlockState pEdgeState, BlockState pState, boolean pRequireNonAir, boolean pRequireSkylight) protected static Direction
StructurePiece.getRandomHorizontalDirection
(RandomSource pRandom) protected abstract void
TemplateStructurePiece.handleDataMarker
(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected void
StructurePiece.maybeGenerateBlock
(WorldGenLevel pLevel, BoundingBox pBox, RandomSource pRandom, float pChance, int pX, int pY, int pZ, BlockState pState) abstract void
StructurePiece.BlockSelector.next
(RandomSource pRandom, int pX, int pY, int pZ, boolean pWall) void
PoolElementStructurePiece.place
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, BlockPos pPos, boolean pKeepJigsaws) void
StructureStart.placeInChunk
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos) void
PoolElementStructurePiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) abstract void
StructurePiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
TemplateStructurePiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) -
Uses of RandomSource in net.minecraft.world.level.levelgen.structure.pieces
Methods in net.minecraft.world.level.levelgen.structure.pieces with parameters of type RandomSourceModifier and TypeMethodDescriptionint
StructurePiecesBuilder.moveBelowSeaLevel
(int pSeaLevel, int pMinY, RandomSource pRandom, int pAmount) Deprecated.void
StructurePiecesBuilder.moveInsideHeights
(RandomSource pRandom, int pMinY, int pMaxY) Deprecated. -
Uses of RandomSource in net.minecraft.world.level.levelgen.structure.placement
Methods in net.minecraft.world.level.levelgen.structure.placement with parameters of type RandomSourceModifier and TypeMethodDescriptionint
RandomSpreadType.evaluate
(RandomSource pRandom, int pBound) -
Uses of RandomSource in net.minecraft.world.level.levelgen.structure.pools
Fields in net.minecraft.world.level.levelgen.structure.pools declared as RandomSourceMethods in net.minecraft.world.level.levelgen.structure.pools with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate static void
JigsawPlacement.addPieces
(RandomState pRandomState, int pMaxDepth, boolean pUseExpansionHack, ChunkGenerator pChunkGenerator, StructureTemplateManager pStructureTemplateManager, LevelHeightAccessor pLevel, RandomSource pRandom, Registry<StructureTemplatePool> pPools, PoolElementStructurePiece pStartPiece, List<PoolElementStructurePiece> pPieces, VoxelShape pFree, PoolAliasLookup pAliasLookup, LiquidSettings pLiquidSettings) StructureTemplatePool.getRandomTemplate
(RandomSource pRandom) EmptyPoolElement.getShuffledJigsawBlocks
(StructureTemplateManager p_227176_, BlockPos p_227177_, Rotation p_227178_, RandomSource p_227179_) FeaturePoolElement.getShuffledJigsawBlocks
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) ListPoolElement.getShuffledJigsawBlocks
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) SinglePoolElement.getShuffledJigsawBlocks
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) abstract List
<StructureTemplate.StructureBlockInfo> StructurePoolElement.getShuffledJigsawBlocks
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) StructureTemplatePool.getShuffledTemplates
(RandomSource pRandom) void
StructurePoolElement.handleDataMarker
(LevelAccessor pLevel, StructureTemplate.StructureBlockInfo pBlockInfo, BlockPos pPos, Rotation pRotation, RandomSource pRandom, BoundingBox pBox) 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_, LiquidSettings p_352245_, boolean p_227167_) boolean
FeaturePoolElement.place
(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) boolean
ListPoolElement.place
(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) boolean
SinglePoolElement.place
(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) abstract boolean
StructurePoolElement.place
(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) Constructors in net.minecraft.world.level.levelgen.structure.pools with parameters of type RandomSourceModifierConstructorDescription(package private)
Placer
(Registry<StructureTemplatePool> pPools, int pMaxDepth, ChunkGenerator pChunkGenerator, StructureTemplateManager pStructureTemplateManager, List<? super PoolElementStructurePiece> pPieces, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.level.levelgen.structure.pools.alias
Methods in net.minecraft.world.level.levelgen.structure.pools.alias with parameters of type RandomSourceModifier and TypeMethodDescriptionvoid
Direct.forEachResolved
(RandomSource pRandom, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> pStucturePoolKey) void
PoolAliasBinding.forEachResolved
(RandomSource pRandom, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> pStucturePoolKey) void
Random.forEachResolved
(RandomSource pRandom, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> pStucturePoolKey) void
RandomGroup.forEachResolved
(RandomSource pRandom, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> pStucturePoolKey) -
Uses of RandomSource in net.minecraft.world.level.levelgen.structure.structures
Fields in net.minecraft.world.level.levelgen.structure.structures declared as RandomSourceModifier and TypeFieldDescriptionprivate final RandomSource
WoodlandMansionPieces.MansionGrid.random
private final RandomSource
WoodlandMansionPieces.MansionPiecePlacer.random
Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type RandomSourceModifier and TypeMethodDescriptionvoid
MineshaftPieces.MineShaftCorridor.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
MineshaftPieces.MineShaftCrossing.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
MineshaftPieces.MineShaftRoom.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
MineshaftPieces.MineShaftStairs.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.BridgeCrossing.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.BridgeStraight.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.CastleCorridorStairsPiece.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.CastleCorridorTBalconyPiece.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.CastleEntrance.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.CastleSmallCorridorCrossingPiece.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.CastleSmallCorridorLeftTurnPiece.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.CastleSmallCorridorPiece.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.CastleSmallCorridorRightTurnPiece.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.CastleStalkRoom.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.RoomCrossing.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.StairsRoom.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
StrongholdPieces.ChestCorridor.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
StrongholdPieces.FiveCrossing.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
StrongholdPieces.LeftTurn.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
StrongholdPieces.PortalRoom.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
StrongholdPieces.PrisonHall.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
StrongholdPieces.RightTurn.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
StrongholdPieces.RoomCrossing.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
StrongholdPieces.StairsDown.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
StrongholdPieces.Straight.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
StrongholdPieces.StraightStairsDown.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) private static void
OceanRuinPieces.addClusterRuins
(StructureTemplateManager pStructureTemplateManager, RandomSource pRandom, Rotation pRotation, BlockPos pPos, OceanRuinStructure pStructure, StructurePieceAccessor pStructurePieceAccessor) private void
RuinedPortalPiece.addNetherrackDripColumn
(RandomSource pRandom, LevelAccessor pLevel, BlockPos pPos) private void
RuinedPortalPiece.addNetherrackDripColumnsBelowPortal
(RandomSource pRandom, LevelAccessor pLevel) private static void
OceanRuinPieces.addPiece
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, StructurePieceAccessor pStructurePieceAccessor, RandomSource pRandom, OceanRuinStructure pStructure, boolean pIsLarge, float pIntegrity) static void
IglooPieces.addPieces
(StructureTemplateManager pStructureTemplateManager, BlockPos pStartPos, Rotation pRotation, StructurePieceAccessor pPieces, RandomSource pRandom) static void
NetherFossilPieces.addPieces
(StructureTemplateManager pStructureManager, StructurePieceAccessor pPieces, RandomSource pRandom, BlockPos pPos) static void
OceanRuinPieces.addPieces
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, StructurePieceAccessor pStructurePieceAccessor, RandomSource pRandom, OceanRuinStructure pStructure) ShipwreckPieces.addRandomPiece
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, StructurePieceAccessor pPieces, RandomSource pRandom, boolean pIsBeached) void
DesertPyramidStructure.afterPlace
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pChunkGenerator, RandomSource pRandom, BoundingBox pBoundingBox, ChunkPos pChunkPos, PiecesContainer pPieces) void
WoodlandMansionStructure.afterPlace
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pChunkGenerator, RandomSource pRandom, BoundingBox pBoundingBox, ChunkPos pChunkPos, PiecesContainer pPieces) OceanRuinPieces.allPositions
(RandomSource pRandom, BlockPos pPos) int
ShipwreckPieces.ShipwreckPiece.calculateBeachedPosition
(int pMaxHeight, RandomSource pRandom) 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 pDirection, OceanMonumentPieces.RoomDefinition pRoom, RandomSource pRandom) protected boolean
MineshaftPieces.MineShaftCorridor.createChest
(WorldGenLevel pLevel, BoundingBox pBox, RandomSource pRandom, int pX, int pY, int pZ, ResourceKey<LootTable> pLootTable) NetherFortressPieces.BridgeEndFiller.createPiece
(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) NetherFortressPieces.BridgeStraight.createPiece
(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) NetherFortressPieces.CastleEntrance.createPiece
(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) NetherFortressPieces.CastleSmallCorridorLeftTurnPiece.createPiece
(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) NetherFortressPieces.CastleSmallCorridorRightTurnPiece.createPiece
(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) StrongholdPieces.ChestCorridor.createPiece
(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) StrongholdPieces.FiveCrossing.createPiece
(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) static StrongholdPieces.LeftTurn
StrongholdPieces.LeftTurn.createPiece
(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) static StrongholdPieces.Library
StrongholdPieces.Library.createPiece
(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) static StrongholdPieces.PrisonHall
StrongholdPieces.PrisonHall.createPiece
(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) static StrongholdPieces.RightTurn
StrongholdPieces.RightTurn.createPiece
(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) StrongholdPieces.RoomCrossing.createPiece
(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) static StrongholdPieces.StairsDown
StrongholdPieces.StairsDown.createPiece
(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) static StrongholdPieces.Straight
StrongholdPieces.Straight.createPiece
(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection, int pGenDepth) StrongholdPieces.StraightStairsDown.createPiece
(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) private static MineshaftPieces.MineShaftPiece
MineshaftPieces.createRandomShaftPiece
(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth, MineshaftStructure.Type pType) (package private) static NetherFortressPieces.NetherBridgePiece
NetherFortressPieces.findAndCreateBridgePieceFactory
(NetherFortressPieces.PieceWeight pWeight, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) private static StrongholdPieces.StrongholdPiece
StrongholdPieces.findAndCreatePieceFactory
(Class<? extends StrongholdPieces.StrongholdPiece> pPieceClass, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection, int pGenDepth) static BoundingBox
MineshaftPieces.MineShaftCorridor.findCorridorSize
(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection) static BoundingBox
MineshaftPieces.MineShaftCrossing.findCrossing
(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection) static BoundingBox
StrongholdPieces.FillerCorridor.findPieceBox
(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation) static BoundingBox
MineshaftPieces.MineShaftStairs.findStairs
(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection) private static int
RuinedPortalStructure.findSuitableY
(RandomSource pRandom, ChunkGenerator pChunkGenerator, RuinedPortalPiece.VerticalPlacement pVerticalPlacement, boolean pAirPocket, int pHeight, int pBlockCountY, BoundingBox pBox, LevelHeightAccessor pLevel, RandomState pRandomState) boolean
EndCityPieces.SectionGenerator.generate
(StructureTemplateManager pStructureTemplateManager, int pCounter, EndCityPieces.EndCityPiece pPiece, BlockPos pStartPos, List<StructurePiece> pPieces, RandomSource pRandom) (package private) static MineshaftPieces.MineShaftPiece
MineshaftPieces.generateAndAddPiece
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection, int pGenDepth) private StructurePiece
NetherFortressPieces.NetherBridgePiece.generateAndAddPiece
(NetherFortressPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth, boolean pCastlePiece) (package private) static StructurePiece
StrongholdPieces.generateAndAddPiece
(StrongholdPieces.StartPiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection, int pGenDepth) protected StructurePiece
NetherFortressPieces.NetherBridgePiece.generateChildForward
(NetherFortressPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetX, int pOffsetY, boolean pCastlePiece) protected StructurePiece
NetherFortressPieces.NetherBridgePiece.generateChildLeft
(NetherFortressPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetY, int pOffsetX, boolean pCastlePiece) protected StructurePiece
NetherFortressPieces.NetherBridgePiece.generateChildRight
(NetherFortressPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetY, int pOffsetX, boolean pCastlePiece) private void
OceanMonumentPieces.MonumentBuilding.generateEntranceArchs
(WorldGenLevel pLevel, RandomSource pRandom, BoundingBox pBox) private void
OceanMonumentPieces.MonumentBuilding.generateEntranceWall
(WorldGenLevel pLevel, RandomSource pRandom, BoundingBox pBox) private void
OceanMonumentPieces.MonumentBuilding.generateLowerWall
(WorldGenLevel pLevel, RandomSource pRandom, BoundingBox pBox) static void
WoodlandMansionPieces.generateMansion
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, RandomSource pRandom) private void
OceanMonumentPieces.MonumentBuilding.generateMiddleWall
(WorldGenLevel pLevel, RandomSource pRandom, BoundingBox pBox) NetherFortressPieces.NetherBridgePiece.generatePiece
(NetherFortressPieces.StartPiece pStartPiece, List<NetherFortressPieces.PieceWeight> pWeights, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) private static StrongholdPieces.StrongholdPiece
StrongholdPieces.generatePieceFromSmallDoor
(StrongholdPieces.StartPiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection, int pGenDepth) private void
OceanMonumentPieces.MonumentBuilding.generateRoofPiece
(WorldGenLevel pLevel, RandomSource pRandom, BoundingBox pBox) private List
<OceanMonumentPieces.RoomDefinition> OceanMonumentPieces.MonumentBuilding.generateRoomGraph
(RandomSource pRandom) protected void
StrongholdPieces.StrongholdPiece.generateSmallDoor
(WorldGenLevel pLevel, RandomSource pRandom, BoundingBox pBox, StrongholdPieces.StrongholdPiece.SmallDoorType pType, int pX, int pY, int pZ) protected StructurePiece
StrongholdPieces.StrongholdPiece.generateSmallDoorChildForward
(StrongholdPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetX, int pOffsetY) protected StructurePiece
StrongholdPieces.StrongholdPiece.generateSmallDoorChildLeft
(StrongholdPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetY, int pOffsetX) protected StructurePiece
StrongholdPieces.StrongholdPiece.generateSmallDoorChildRight
(StrongholdPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetY, int pOffsetX) private void
OceanMonumentPieces.MonumentBuilding.generateUpperWall
(WorldGenLevel pLevel, RandomSource pRandom, BoundingBox pBox) private void
OceanMonumentPieces.MonumentBuilding.generateWing
(boolean pWing, int pX, WorldGenLevel pLevel, RandomSource pRandom, BoundingBox pBox) WoodlandMansionPieces.FirstFloorRoomCollection.get1x1
(RandomSource p_229995_) abstract String
WoodlandMansionPieces.FloorRoomCollection.get1x1
(RandomSource pRandom) WoodlandMansionPieces.SecondFloorRoomCollection.get1x1
(RandomSource p_230144_) WoodlandMansionPieces.FirstFloorRoomCollection.get1x1Secret
(RandomSource p_230000_) abstract String
WoodlandMansionPieces.FloorRoomCollection.get1x1Secret
(RandomSource pRandom) WoodlandMansionPieces.SecondFloorRoomCollection.get1x1Secret
(RandomSource p_230149_) WoodlandMansionPieces.FirstFloorRoomCollection.get1x2FrontEntrance
(RandomSource p_230002_, boolean p_230003_) abstract String
WoodlandMansionPieces.FloorRoomCollection.get1x2FrontEntrance
(RandomSource pRandom, boolean pIsStairs) WoodlandMansionPieces.SecondFloorRoomCollection.get1x2FrontEntrance
(RandomSource p_230151_, boolean p_230152_) WoodlandMansionPieces.FirstFloorRoomCollection.get1x2Secret
(RandomSource p_230005_) abstract String
WoodlandMansionPieces.FloorRoomCollection.get1x2Secret
(RandomSource pRandom) WoodlandMansionPieces.SecondFloorRoomCollection.get1x2Secret
(RandomSource p_230154_) WoodlandMansionPieces.FirstFloorRoomCollection.get1x2SideEntrance
(RandomSource p_229997_, boolean p_229998_) abstract String
WoodlandMansionPieces.FloorRoomCollection.get1x2SideEntrance
(RandomSource pRandom, boolean pIsStairs) WoodlandMansionPieces.SecondFloorRoomCollection.get1x2SideEntrance
(RandomSource p_230146_, boolean p_230147_) WoodlandMansionPieces.FirstFloorRoomCollection.get2x2
(RandomSource p_230007_) abstract String
WoodlandMansionPieces.FloorRoomCollection.get2x2
(RandomSource pRandom) WoodlandMansionPieces.SecondFloorRoomCollection.get2x2
(RandomSource p_230156_) WoodlandMansionPieces.FirstFloorRoomCollection.get2x2Secret
(RandomSource p_230009_) abstract String
WoodlandMansionPieces.FloorRoomCollection.get2x2Secret
(RandomSource pRandom) WoodlandMansionPieces.SecondFloorRoomCollection.get2x2Secret
(RandomSource p_230158_) private static ResourceLocation
OceanRuinPieces.getBigWarmRuin
(RandomSource pRandom) private static int
RuinedPortalStructure.getRandomWithinInterval
(RandomSource pRandom, int pMin, int pMax) private static ResourceLocation
OceanRuinPieces.getSmallWarmRuin
(RandomSource pRandom) protected void
EndCityPieces.EndCityPiece.handleDataMarker
(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected void
IglooPieces.IglooPiece.handleDataMarker
(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected void
NetherFossilPieces.NetherFossilPiece.handleDataMarker
(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected void
OceanRuinPieces.OceanRuinPiece.handleDataMarker
(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected void
RuinedPortalPiece.handleDataMarker
(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected void
ShipwreckPieces.ShipwreckPiece.handleDataMarker
(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected void
WoodlandMansionPieces.WoodlandMansionPiece.handleDataMarker
(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) private void
RuinedPortalPiece.maybeAddLeavesAbove
(RandomSource pRandom, LevelAccessor pLevel, BlockPos pPos) private void
RuinedPortalPiece.maybeAddVines
(RandomSource pRandom, LevelAccessor pLevel, BlockPos pPos) private void
MineshaftPieces.MineShaftCorridor.maybePlaceCobWeb
(WorldGenLevel pLevel, BoundingBox pBox, RandomSource pRandom, float pChance, int pX, int pY, int pZ) 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 pRandom, LevelAccessor pLevel, BlockPos pPos) private void
MineshaftPieces.MineShaftCorridor.placeSupport
(WorldGenLevel pLevel, BoundingBox pBox, int pMinX, int pMinY, int pZ, int pMaxY, int pMaxX, RandomSource pRandom) void
BuriedTreasurePieces.BuriedTreasurePiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
DesertPyramidPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
IglooPieces.IglooPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
JungleTemplePiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
MineshaftPieces.MineShaftCorridor.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
MineshaftPieces.MineShaftCrossing.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
MineshaftPieces.MineShaftRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
MineshaftPieces.MineShaftStairs.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.BridgeCrossing.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.BridgeEndFiller.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.BridgeStraight.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleCorridorStairsPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleCorridorTBalconyPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleEntrance.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleSmallCorridorCrossingPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleSmallCorridorLeftTurnPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleSmallCorridorPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleSmallCorridorRightTurnPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleStalkRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.MonsterThrone.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.RoomCrossing.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.StairsRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFossilPieces.NetherFossilPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.MonumentBuilding.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentCoreRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentDoubleXRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentDoubleXYRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentDoubleYRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentDoubleYZRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentDoubleZRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentEntryRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentPenthouse.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentSimpleRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentSimpleTopRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentWingRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanRuinPieces.OceanRuinPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
RuinedPortalPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
ShipwreckPieces.ShipwreckPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.ChestCorridor.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.FillerCorridor.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.FiveCrossing.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.LeftTurn.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.Library.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.PortalRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.PrisonHall.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.RightTurn.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.RoomCrossing.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.StairsDown.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.Straight.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.StraightStairsDown.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
SwampHutPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) StrongholdPieces.StrongholdPiece.randomSmallDoor
(RandomSource pRandom) (package private) static boolean
EndCityPieces.recursiveChildren
(StructureTemplateManager pStructureTemplateManager, EndCityPieces.SectionGenerator pSectionGenerator, int pCounter, EndCityPieces.EndCityPiece pPiece, BlockPos pStartPos, List<StructurePiece> pPieces, RandomSource pRandom) private void
RuinedPortalPiece.spreadNetherrack
(RandomSource pRandom, LevelAccessor pLevel) static void
EndCityPieces.startHouseTower
(StructureTemplateManager pStructureTemplateManager, BlockPos pStartPos, Rotation pRotation, List<StructurePiece> pPieces, RandomSource pRandom) Constructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type RandomSourceModifierConstructorDescriptionBridgeEndFiller
(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) BridgeStraight
(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) CastleEntrance
(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) CastleSmallCorridorLeftTurnPiece
(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) CastleSmallCorridorRightTurnPiece
(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) ChestCorridor
(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) DesertPyramidPiece
(RandomSource pRandom, int pX, int pZ) FiveCrossing
(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) JungleTemplePiece
(RandomSource pRandom, int pX, int pZ) LeftTurn
(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) Library
(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) MansionGrid
(RandomSource pRandom) MansionPiecePlacer
(StructureTemplateManager pStructureTemplateManager, RandomSource pRandom) MineShaftCorridor
(int pGenDepth, RandomSource pRandom, BoundingBox pBoundingBox, Direction pOrientation, MineshaftStructure.Type pType) MineShaftRoom
(int pGenDepth, RandomSource pRandom, int pX, int pZ, MineshaftStructure.Type pType) MonumentBuilding
(RandomSource pRandom, int pX, int pZ, Direction pOrientation) OceanMonumentSimpleRoom
(Direction pDirection, OceanMonumentPieces.RoomDefinition pRoom, RandomSource pRandom) PrisonHall
(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) RightTurn
(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) RoomCrossing
(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) StairsDown
(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) StartPiece
(RandomSource pRandom, int pX, int pZ) StartPiece
(RandomSource pRandom, int pX, int pZ) Straight
(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) StraightStairsDown
(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) SwampHutPiece
(RandomSource pRandom, int pX, int pZ) -
Uses of RandomSource in net.minecraft.world.level.levelgen.structure.templatesystem
Fields in net.minecraft.world.level.levelgen.structure.templatesystem declared as RandomSourceMethods in net.minecraft.world.level.levelgen.structure.templatesystem that return RandomSourceModifier and TypeMethodDescriptionMethods in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type RandomSourceModifier and TypeMethodDescriptionProcessorRule.getOutputTag
(RandomSource pRandom, CompoundTag pTag) private static BlockState
BlockAgeProcessor.getRandomBlock
(RandomSource pRandom, BlockState[] pStates) private BlockState
BlockAgeProcessor.getRandomBlock
(RandomSource pRandom, BlockState[] pNormalStates, BlockState[] pMossyStates) private static BlockState
BlockAgeProcessor.getRandomFacingStairs
(RandomSource pRandom, Block pStairsBlock) private BlockState
BlockAgeProcessor.maybeReplaceFullStoneBlock
(RandomSource pRandom) private BlockState
BlockAgeProcessor.maybeReplaceObsidian
(RandomSource pRandom) private BlockState
BlockAgeProcessor.maybeReplaceSlab
(RandomSource pRandom) private BlockState
BlockAgeProcessor.maybeReplaceStairs
(RandomSource pRandom, BlockState pState) private BlockState
BlockAgeProcessor.maybeReplaceWall
(RandomSource pRandom) boolean
StructureTemplate.placeInWorld
(ServerLevelAccessor pServerLevel, BlockPos pOffset, BlockPos pPos, StructurePlaceSettings pSettings, RandomSource pRandom, int pFlags) StructurePlaceSettings.setRandom
(RandomSource pRandom) boolean
AlwaysTrueTest.test
(BlockState p_230248_, RandomSource p_230249_) boolean
AxisAlignedLinearPosTest.test
(BlockPos pLocalPos, BlockPos pRelativePos, BlockPos pStructurePos, RandomSource pRandom) boolean
BlockMatchTest.test
(BlockState pState, RandomSource pRandom) boolean
BlockStateMatchTest.test
(BlockState pState, RandomSource pRandom) boolean
LinearPosTest.test
(BlockPos pLocalPos, BlockPos pRelativePos, BlockPos pStructurePos, RandomSource pRandom) boolean
PosAlwaysTrueTest.test
(BlockPos p_230301_, BlockPos p_230302_, BlockPos p_230303_, RandomSource p_230304_) abstract boolean
PosRuleTest.test
(BlockPos pLocalPos, BlockPos pRelativePos, BlockPos pStructurePos, RandomSource pRandom) boolean
ProcessorRule.test
(BlockState pInputState, BlockState pExistingState, BlockPos pLocalPos, BlockPos pRelativePos, BlockPos pStructurePos, RandomSource pRandom) boolean
RandomBlockMatchTest.test
(BlockState pState, RandomSource pRandom) boolean
RandomBlockStateMatchTest.test
(BlockState pState, RandomSource pRandom) abstract boolean
RuleTest.test
(BlockState pState, RandomSource pRandom) boolean
TagMatchTest.test
(BlockState pState, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity
Methods in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity with parameters of type RandomSourceModifier and TypeMethodDescriptionAppendLoot.apply
(RandomSource pRandom, CompoundTag pTag) AppendStatic.apply
(RandomSource pRandom, CompoundTag pTag) Clear.apply
(RandomSource p_277601_, CompoundTag p_277931_) Passthrough.apply
(RandomSource p_277737_, CompoundTag p_277665_) RuleBlockEntityModifier.apply
(RandomSource pRandom, CompoundTag pTag) -
Uses of RandomSource in net.minecraft.world.level.levelgen.synth
Methods in net.minecraft.world.level.levelgen.synth with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic NormalNoise
NormalNoise.create
(RandomSource pRandom, int pFirstOctave, double... pAmplitudes) static NormalNoise
NormalNoise.create
(RandomSource pRandom, NormalNoise.NoiseParameters pParameters) static PerlinNoise
PerlinNoise.create
(RandomSource pRandom, int pFirstOctave, double pFirstAmplitude, double... pAmplitudes) static PerlinNoise
PerlinNoise.create
(RandomSource p_230536_, int p_230537_, it.unimi.dsi.fastutil.doubles.DoubleList p_230538_) static PerlinNoise
PerlinNoise.create
(RandomSource pRandom, List<Integer> pOctaves) static PerlinNoise
PerlinNoise.create
(RandomSource pRandom, IntStream pOctaves) static PerlinNoise
PerlinNoise.createLegacyForBlendedNoise
(RandomSource pRandom, IntStream pOctaves) 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 pRandom, NormalNoise.NoiseParameters pParameters) Deprecated.private static void
PerlinNoise.skipOctave
(RandomSource pRandom) BlendedNoise.withNewRandom
(RandomSource pRandom) Constructors in net.minecraft.world.level.levelgen.synth with parameters of type RandomSourceModifierConstructorDescriptionBlendedNoise
(RandomSource pRandom, double pXzScale, double pYScale, double pXzFactor, double pYFactor, double pSmearScaleMultiplier) ImprovedNoise
(RandomSource pRandom) private
NormalNoise
(RandomSource pRandom, NormalNoise.NoiseParameters pParameters, boolean pUseLegacyNetherBiome) 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 pRandom, List<Integer> pOctaves) SimplexNoise
(RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.level.material
Methods in net.minecraft.world.level.material with parameters of type RandomSourceModifier and TypeMethodDescriptionprotected void
Fluid.animateTick
(Level pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) void
FluidState.animateTick
(Level pLevel, BlockPos pPos, RandomSource pRandom) void
LavaFluid.animateTick
(Level pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) void
WaterFluid.animateTick
(Level pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) protected void
Fluid.randomTick
(Level pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) void
FluidState.randomTick
(Level pLevel, BlockPos pPos, RandomSource pRandom) void
LavaFluid.randomTick
(Level pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot declared as RandomSourceModifier and TypeFieldDescriptionprivate RandomSource
LootContext.Builder.random
private final RandomSource
LootContext.random
Methods in net.minecraft.world.level.storage.loot that return RandomSourceMethods in net.minecraft.world.level.storage.loot with parameters of type RandomSourceModifier and TypeMethodDescriptionLootTable.getAvailableSlots
(Container pInventory, RandomSource pRandom) it.unimi.dsi.fastutil.objects.ObjectArrayList
<ItemStack> LootTable.getRandomItems
(LootParams p_347545_, RandomSource p_347680_) private void
LootTable.shuffleAndSplitItems
(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> p_230925_, int p_230926_, RandomSource p_230927_) LootContext.Builder.withOptionalRandomSource
(RandomSource pRandom) Constructors in net.minecraft.world.level.storage.loot with parameters of type RandomSourceModifierConstructorDescription(package private)
LootContext
(LootParams pParams, RandomSource pRandom, HolderGetter.Provider pLootDataResolver) private
LootContext
(LootParams pParams, RandomSource pRandom, HolderGetter.Provider pLootDataResolver, ResourceLocation queriedLootTableId) -
Uses of RandomSource in net.minecraft.world.level.storage.loot.functions
Methods in net.minecraft.world.level.storage.loot.functions with parameters of type RandomSourceModifier and TypeMethodDescriptionint
ApplyBonusCount.BinomialWithBonusCount.calculateNewCount
(RandomSource pRandom, int pOriginalCount, int pEnchantmentLevel) int
ApplyBonusCount.Formula.calculateNewCount
(RandomSource pRandom, int pOriginalCount, int pEnchantmentLevel) int
ApplyBonusCount.OreDrops.calculateNewCount
(RandomSource pRandom, int pOriginalCount, int pEnchantmentLevel) int
ApplyBonusCount.UniformBonusCount.calculateNewCount
(RandomSource pRandom, int pOriginalCount, int pEnchantmentLevel) private static ItemStack
EnchantRandomlyFunction.enchantItem
(ItemStack pStack, Holder<Enchantment> pEnchantment, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.phys
Methods in net.minecraft.world.phys with parameters of type RandomSource -
Uses of RandomSource in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions with parameters of type RandomSourceModifier and TypeMethodDescriptionIBakedModelExtension.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, 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
IBakedModelExtension.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) Gets the set ofrender types
to use when drawing this block in the level. -
Uses of RandomSource in net.neoforged.neoforge.client.model
Methods in net.neoforged.neoforge.client.model with parameters of type RandomSourceModifier and TypeMethodDescriptionBakedModelWrapper.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand) BakedModelWrapper.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData extraData, @Nullable RenderType renderType) CompositeModel.Baked.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) IDynamicBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand) IDynamicBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData extraData, @Nullable RenderType renderType) SeparateTransformsModel.Baked.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) BakedModelWrapper.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) CompositeModel.Baked.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) SeparateTransformsModel.Baked.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) -
Uses of RandomSource in net.neoforged.neoforge.client.model.lighting
Methods in net.neoforged.neoforge.client.model.lighting with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic boolean
LightPipelineAwareModelBlockRenderer.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
LightPipelineAwareModelBlockRenderer.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
LightPipelineAwareModelBlockRenderer.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.neoforged.neoforge.client.model.renderable
Fields in net.neoforged.neoforge.client.model.renderable declared as RandomSourceModifier and TypeFieldDescriptionprivate final RandomSource
BakedModelRenderable.Context.randomSource
The field for therandomSource
record component.Methods in net.neoforged.neoforge.client.model.renderable that return RandomSourceModifier and TypeMethodDescriptionBakedModelRenderable.Context.randomSource()
Returns the value of therandomSource
record component.Constructors in net.neoforged.neoforge.client.model.renderable with parameters of type RandomSourceModifierConstructorDescriptionContext
(@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.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type RandomSourceModifier and TypeMethodDescription@Nullable MerchantOffer
BasicItemListing.getOffer
(Entity p_219693_, RandomSource p_219694_) static EntityType
<?> MonsterRoomHooks.getRandomMonsterRoomMob
(RandomSource rand) Gets a random entity type from the weighted list. -
Uses of RandomSource in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions with parameters of type RandomSourceModifier and TypeMethodDescriptiondefault boolean
IBlockExtension.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
IBlockStateExtension.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.neoforged.neoforge.debug.block
Methods in net.neoforged.neoforge.debug.block with parameters of type RandomSourceModifier and TypeMethodDescriptionprotected void
BlockTests.CustomBubbleColumnSustainingBlock.tick
(BlockState blockState, ServerLevel serverLevel, BlockPos blockPos, RandomSource randomSource) -
Uses of RandomSource in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic boolean
EventHooks.checkSpawnPlacements
(EntityType<?> entityType, ServerLevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random, boolean defaultResult) static BlockGrowFeatureEvent
EventHooks.fireBlockGrowFeature
(LevelAccessor level, RandomSource rand, BlockPos pos, @Nullable Holder<ConfiguredFeature<?, ?>> holder) Fires theBlockGrowFeatureEvent
and returns the event object. -
Uses of RandomSource in net.neoforged.neoforge.event.entity.living
Fields in net.neoforged.neoforge.event.entity.living declared as RandomSourceModifier and TypeFieldDescriptionprivate final RandomSource
MobSpawnEvent.SpawnPlacementCheck.random
Methods in net.neoforged.neoforge.event.entity.living that return RandomSourceModifier and TypeMethodDescriptionMobSpawnEvent.SpawnPlacementCheck.getRandom()
In all vanilla cases, this is equal toLevelAccessor.getRandom()
.Constructors in net.neoforged.neoforge.event.entity.living with parameters of type RandomSourceModifierConstructorDescriptionSpawnPlacementCheck
(EntityType<?> entityType, ServerLevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random, boolean defaultResult) Internal. -
Uses of RandomSource in net.neoforged.neoforge.event.level
Fields in net.neoforged.neoforge.event.level declared as RandomSourceMethods in net.neoforged.neoforge.event.level that return RandomSourceModifier and TypeMethodDescriptionBlockGrowFeatureEvent.getRandom()
Returns the random source which initiated the sapling growth.Methods in net.neoforged.neoforge.event.level with parameters of type RandomSourceModifier and TypeMethodDescriptionAlterGroundEvent.StateProvider.getState
(RandomSource random, BlockPos state) Gets the BlockState that will be placed at the passed position.Constructors in net.neoforged.neoforge.event.level with parameters of type RandomSourceModifierConstructorDescriptionBlockGrowFeatureEvent
(LevelAccessor level, RandomSource rand, BlockPos pos, @Nullable Holder<ConfiguredFeature<?, ?>> feature) -
Uses of RandomSource in net.neoforged.neoforge.oldtest.block
Methods in net.neoforged.neoforge.oldtest.block with parameters of type RandomSourceModifier and TypeMethodDescriptionFullPotsAccessorDemo.ClientHandler.DioritePotModel.getPlantQuads
(Block plant, @Nullable Direction face, RandomSource rand, @Nullable RenderType renderType) FullPotsAccessorDemo.ClientHandler.DioritePotModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData extraData, @Nullable RenderType renderType) FullPotsAccessorDemo.ClientHandler.DioritePotModel.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) -
Uses of RandomSource in net.neoforged.neoforge.oldtest.client
Fields in net.neoforged.neoforge.oldtest.client declared as RandomSourceModifier and TypeFieldDescription(package private) final RandomSource
CustomSpriteSourceTest.CustomSpriteSource.CustomSpriteContents.Ticker.random
-
Uses of RandomSource in net.neoforged.neoforge.oldtest.client.model
Methods in net.neoforged.neoforge.oldtest.client.model with parameters of type RandomSourceModifier and TypeMethodDescriptionMegaModelTest.TransformingModelWrapper.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) TRSRTransformerTest.MyBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) -
Uses of RandomSource in net.neoforged.neoforge.registries.holdersets
Methods in net.neoforged.neoforge.registries.holdersets with parameters of type RandomSourceModifier and TypeMethodDescriptionAnyHolderSet.getRandomElement
(RandomSource random) CompositeHolderSet.getRandomElement
(RandomSource rand) NotHolderSet.getRandomElement
(RandomSource random)
IBakedModelExtension.getQuads(BlockState, Direction, RandomSource, net.neoforged.neoforge.client.model.data.ModelData, net.minecraft.client.renderer.RenderType)