Uses of Interface
net.minecraft.util.RandomSource
Packages that use RandomSource
Package
Description
-
Uses of RandomSource in net.minecraft
Methods in net.minecraft with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic intUtil.getRandom(int[] pSelections, RandomSource pRandom) static <T> TUtil.getRandom(List<T> pSelections, RandomSource pRandom) static <T> TUtil.getRandom(T[] pSelections, RandomSource pRandom) static <T> Optional<T> Util.getRandomSafe(List<T> pSelections, RandomSource pRandom) static <T> voidUtil.shuffle(List<T> pList, RandomSource pRandom) static <T> List<T> Util.shuffledCopy(it.unimi.dsi.fastutil.objects.ObjectArrayList<T> pList, RandomSource pRandom) static <T> List<T> Util.shuffledCopy(T[] pArray, RandomSource pRandom) static it.unimi.dsi.fastutil.ints.IntArrayListUtil.toShuffledList(IntStream pStream, RandomSource pRandom) 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 RandomSourceFont.randomprivate final RandomSourceGui.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 RandomSourceEnchantmentNames.randomprivate final RandomSourceEnchantmentScreen.randomA 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 RandomSourceClientPacketListener.randomJust 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 TypeMethodDescriptionvoidClientLevel.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 RandomSourceParticle.randomprivate final RandomSourceParticleEngine.random(package private) static final RandomSourceGlowParticle.RANDOMprivate static final RandomSourceSpellParticle.RANDOMMethods 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 voidLevelRenderer.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 TypeMethodDescriptionvoidBlockRenderDispatcher.renderBatched(BlockState pState, BlockPos pPos, BlockAndTintGetter pLevel, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom) voidBlockRenderDispatcher.renderBatched(BlockState pState, BlockPos pPos, BlockAndTintGetter pLevel, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, ModelData modelData, RenderType renderType) voidModelBlockRenderer.tesselateBlock(BlockAndTintGetter pLevel, BakedModel pModel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, long pSeed, int pPackedOverlay) Deprecated.voidModelBlockRenderer.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) voidModelBlockRenderer.tesselateWithAO(BlockAndTintGetter pLevel, BakedModel pModel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, long pSeed, int pPackedOverlay) Deprecated.voidModelBlockRenderer.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) voidModelBlockRenderer.tesselateWithoutAO(BlockAndTintGetter pLevel, BakedModel pModel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, long pSeed, int pPackedOverlay) Deprecated.voidModelBlockRenderer.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 voidVaultRenderer.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 RandomSourceEndermanRenderer.randomprivate final RandomSourceItemEntityRenderer.randomMethods in net.minecraft.client.renderer.entity with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic voidItemEntityRenderer.renderMultipleFromCount(ItemRenderer pItemRenderer, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, ItemStack pItem, BakedModel pModel, boolean pIsGui3d, RandomSource pRandom) static voidItemEntityRenderer.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 RandomSourceAbstractSoundInstance.randomprivate final RandomSourceBiomeAmbientSoundsHandler.randomMethods in net.minecraft.client.resources.sounds that return RandomSourceMethods in net.minecraft.client.resources.sounds with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic SimpleSoundInstanceSimpleSoundInstance.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 RandomSourceModifierConstructorDescriptionprotectedAbstractSoundInstance(ResourceLocation pLocation, SoundSource pSource, RandomSource pRandom) protectedAbstractSoundInstance(SoundEvent pSoundEvent, SoundSource pSource, RandomSource pRandom) protectedAbstractTickableSoundInstance(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) privateSimpleSoundInstance(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.AxisDirection.Axis.getRandom(RandomSource pRandom) static DirectionDirection.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 StringDebugEntityNameGenerator.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) voidSpreadPlayersCommand.Position.randomize(RandomSource pRandom, double pMinX, double pMinZ, double pMaxX, double pMaxZ) private static voidSpreadPlayersCommand.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 RandomSourceRandomSource.create()static RandomSourceRandomSource.create(long pSeed) static RandomSourceRandomSource.createNewThreadLocalInstance()static RandomSourceRandomSource.createThreadSafe()Deprecated.RandomSource.fork()Methods in net.minecraft.util with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic UUIDMth.createInsecureUUID(RandomSource pRandom) private static Vec3ParticleUtils.getRandomSpeedRanges(RandomSource pRandom) static doubleMth.nextDouble(RandomSource pRandom, double pMinimum, double pMaximum) static floatMth.nextFloat(RandomSource pRandom, float pMinimum, float pMaximum) static intMth.nextInt(RandomSource pRandom, int pMinimum, int pMaximum) static floatMth.normal(RandomSource pRandom, float pMean, float pDeviation) Generates a value from a normal distribution with the given mean and deviation.static floatMth.randomBetween(RandomSource pRandom, float pMinInclusive, float pMaxExclusive) static intMth.randomBetweenInclusive(RandomSource pRandom, int pMinInclusive, int pMaxInclusive) static voidParticleUtils.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 TypeMethodDescriptionintBiasedToBottomInt.sample(RandomSource pRandom) intClampedInt.sample(RandomSource pRandom) floatClampedNormalFloat.sample(RandomSource pRandom) static floatClampedNormalFloat.sample(RandomSource pRandom, float pMean, float pDeviation, float pMin, float pMax) intClampedNormalInt.sample(RandomSource pRandom) static intClampedNormalInt.sample(RandomSource pRandom, float pMean, float pDeviation, float pMinInclusive, float pMaxInclusive) floatConstantFloat.sample(RandomSource pRandom) intConstantInt.sample(RandomSource pRandom) abstract intIntProvider.sample(RandomSource pRandom) floatMultipliedFloats.sample(RandomSource pRandom) floatSampledFloat.sample(RandomSource pRandom) floatTrapezoidFloat.sample(RandomSource pRandom) floatUniformFloat.sample(RandomSource pRandom) intUniformInt.sample(RandomSource pRandom) intWeightedListInt.sample(RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world
Classes in net.minecraft.world that implement RandomSourceModifier and TypeClassDescription(package private) classFields in net.minecraft.world declared as RandomSourceModifier and TypeFieldDescriptionprivate final RandomSourceRandomSequences.DirtyMarkingRandomSource.randomMethods 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 voidRandomizableContainer.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.maxCobwebsprivate final ToIntFunction<RandomSource> InfestedMobEffect.spawnedCountprivate final ToIntFunction<RandomSource> OozingMobEffect.spawnedCountMethods in net.minecraft.world.effect with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate voidWeavingMobEffect.spawnCobwebsRandomlyAround(Level pLevel, RandomSource pRandom, BlockPos pPos) Constructor parameters in net.minecraft.world.effect with type arguments of type RandomSourceModifierConstructorDescriptionprotectedInfestedMobEffect(MobEffectCategory pCategory, int pColor, float pChanceToSpawn, ToIntFunction<RandomSource> pSpawnedCount) protectedOozingMobEffect(MobEffectCategory pCategory, int pColor, ToIntFunction<RandomSource> pSpawnedCount) protectedWeavingMobEffect(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 TypeMethodDescriptionbooleanItemBasedSteering.boost(RandomSource pRandom) static booleanGlowSquid.checkGlowSquidSpawnRules(EntityType<? extends LivingEntity> pGlowSquid, ServerLevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanMob.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 voidMob.enchantSpawnedArmor(ServerLevelAccessor pLevel, RandomSource pRandom, EquipmentSlot pSlot, DifficultyInstance pDifficulty) private voidMob.enchantSpawnedEquipment(ServerLevelAccessor pLevel, EquipmentSlot pSlot, RandomSource pRandom, float pEnchantChance, DifficultyInstance pDifficulty) protected voidMob.enchantSpawnedWeapon(ServerLevelAccessor pLevel, RandomSource pRandom, DifficultyInstance pDifficulty) protected voidMob.populateDefaultEquipmentEnchantments(ServerLevelAccessor pLevel, RandomSource pRandom, DifficultyInstance pDifficulty) protected voidMob.populateDefaultEquipmentSlots(RandomSource pRandom, DifficultyInstance pDifficulty) booleanSpawnPlacements.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 RandomSourceAcquirePoi.JitteredLinearRetry.randomprivate final RandomSourceShufflingList.randomMethods in net.minecraft.world.entity.ai.behavior with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate static intGoToTargetLocation.getRandomOffset(RandomSource pRandom) booleanSetEntityLookTargetSometimes.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) voidGossipContainer.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 BlockPosRandomPos.generateRandomDirection(RandomSource pRandom, int pHorizontalDistance, int pVerticalDistance) Gets a random position within a certain distance.static BlockPosRandomPos.generateRandomDirectionWithinRadians(RandomSource pRandom, int pMaxHorizontalDifference, int pYRange, int pY, double pX, double pZ, double pMaxAngleDelta) static BlockPosRandomPos.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 booleanBat.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 booleanAnimal.checkAnimalSpawnRules(EntityType<? extends Animal> pAnimal, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanFox.checkFoxSpawnRules(EntityType<Fox> pFox, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanMushroomCow.checkMushroomSpawnRules(EntityType<MushroomCow> pMushroomCow, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandomSource) static booleanOcelot.checkOcelotSpawnRules(EntityType<Ocelot> pOcelot, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanParrot.checkParrotSpawnRules(EntityType<Parrot> pParrot, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanPolarBear.checkPolarBearSpawnRules(EntityType<PolarBear> pPolarBear, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanRabbit.checkRabbitSpawnRules(EntityType<Rabbit> pRabbit, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanWaterAnimal.checkSurfaceWaterAnimalSpawnRules(EntityType<? extends WaterAnimal> pWaterAnimal, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanTropicalFish.checkTropicalFishSpawnRules(EntityType<TropicalFish> pTropicalFish, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanTurtle.checkTurtleSpawnRules(EntityType<Turtle> pTurtle, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanWolf.checkWolfSpawnRules(EntityType<Wolf> pWolf, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static SoundEventParrot.getAmbient(Level pLevel, RandomSource pRandom) static floatParrot.getPitch(RandomSource pRandom) static Panda.GenePanda.Gene.getRandom(RandomSource pRandom) static DyeColorSheep.getRandomSheepColor(RandomSource pRandom) protected voidFox.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 booleanArmadillo.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 booleanAxolotl.checkAxolotlSpawnRules(EntityType<? extends LivingEntity> pAxolotl, ServerLevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static Axolotl.VariantAxolotl.Variant.getCommonSpawnVariant(RandomSource pRandom) static Axolotl.VariantAxolotl.Variant.getRareSpawnVariant(RandomSource pRandom) private static Axolotl.VariantAxolotl.Variant.getSpawnVariant(RandomSource pRandom, boolean pCommon) Axolotl.AxolotlGroupData.getVariant(RandomSource pRandom) private static booleanAxolotl.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 voidCamelAi.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 booleanFrog.checkFrogSpawnRules(EntityType<? extends Animal> pAnimal, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) protected static voidFrogAi.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 booleanGoat.checkGoatSpawnRules(EntityType<? extends Animal> pGoat, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) protected static voidGoatAi.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 booleanSkeletonHorse.checkSkeletonHorseSpawnRules(EntityType<? extends Animal> pAnimal, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanZombieHorse.checkZombieHorseSpawnRules(EntityType<? extends Animal> pAnimal, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) (package private) static doubleAbstractHorse.createOffspringAttribute(double pValue1, double pValue2, double pMin, double pMax, RandomSource pRandom) protected voidAbstractChestedHorse.randomizeAttributes(RandomSource pRandom) protected voidAbstractHorse.randomizeAttributes(RandomSource pRandom) protected voidHorse.randomizeAttributes(RandomSource pRandom) protected voidSkeletonHorse.randomizeAttributes(RandomSource pRandom) protected voidZombieHorse.randomizeAttributes(RandomSource pRandom) private voidLlama.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 booleanMonster.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 booleanDrowned.checkDrownedSpawnRules(EntityType<Drowned> pDrowned, ServerLevelAccessor pServerLevel, MobSpawnType pMobSpawnType, BlockPos pPos, RandomSource pRandom) static booleanEndermite.checkEndermiteSpawnRules(EntityType<Endermite> pEndermite, LevelAccessor pServerLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanGhast.checkGhastSpawnRules(EntityType<Ghast> pGhast, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanGuardian.checkGuardianSpawnRules(EntityType<? extends Guardian> pGuardian, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanHusk.checkHuskSpawnRules(EntityType<Husk> pHusk, ServerLevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanMagmaCube.checkMagmaCubeSpawnRules(EntityType<MagmaCube> pMagmaCube, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanMonster.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 booleanPatrollingMonster.checkPatrollingMonsterSpawnRules(EntityType<? extends PatrollingMonster> pPatrollingMonster, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanSilverfish.checkSilverfishSpawnRules(EntityType<Silverfish> pSilverfish, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanSlime.checkSlimeSpawnRules(EntityType<Slime> pSlime, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanStray.checkStraySpawnRules(EntityType<Stray> pStray, ServerLevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanStrider.checkStriderSpawnRules(EntityType<Strider> pStrider, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanZombifiedPiglin.checkZombifiedPiglinSpawnRules(EntityType<ZombifiedPiglin> pZombifiedPiglin, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) protected voidPillager.enchantSpawnedWeapon(ServerLevelAccessor pLevel, RandomSource pRandom, DifficultyInstance pDifficulty) static booleanZombie.getSpawnAsBabyOdds(RandomSource pRandom) static booleanMonster.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 voidWitherSkeleton.populateDefaultEquipmentEnchantments(ServerLevelAccessor pLevel, RandomSource pRandom, DifficultyInstance pDifficulty) protected voidAbstractSkeleton.populateDefaultEquipmentSlots(RandomSource pRandom, DifficultyInstance pDifficulty) protected voidDrowned.populateDefaultEquipmentSlots(RandomSource pRandom, DifficultyInstance pDifficulty) protected voidPillager.populateDefaultEquipmentSlots(RandomSource pRandom, DifficultyInstance pDifficulty) protected voidVex.populateDefaultEquipmentSlots(RandomSource pRandom, DifficultyInstance pDifficulty) protected voidVindicator.populateDefaultEquipmentSlots(RandomSource pRandom, DifficultyInstance pDifficulty) protected voidWitherSkeleton.populateDefaultEquipmentSlots(RandomSource pRandom, DifficultyInstance pDifficulty) protected voidZombie.populateDefaultEquipmentSlots(RandomSource pRandom, DifficultyInstance pDifficulty) protected voidZombifiedPiglin.populateDefaultEquipmentSlots(RandomSource pRandom, DifficultyInstance pDifficulty) voidSpider.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 Vec3BreezeUtil.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 booleanHoglin.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 booleanPiglin.checkPiglinSpawnRules(EntityType<Piglin> pPiglin, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) protected static voidPiglinAi.initMemories(Piglin pPiglin, RandomSource pRandom) private voidPiglin.maybeWearArmor(EquipmentSlot pSlot, ItemStack pStack, RandomSource pRandom) protected voidPiglin.populateDefaultEquipmentSlots(RandomSource pRandom, DifficultyInstance pDifficulty) protected voidPiglinBrute.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 DyeItemVillagerTrades.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 TypeMethodDescriptionvoidProjectileDeflection.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 intRaid.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 floatCrossbowItem.getRandomShotPitch(boolean pIsHighPitched, RandomSource pRandom) private static floatCrossbowItem.getShotPitch(RandomSource pRandom, int pIndex) static voidInstrumentItem.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 ItemStackEnchantmentHelper.enchantItem(RandomSource pRandom, ItemStack pStack, int pLevel, Stream<Holder<Enchantment>> pPossibleEnchantments) static ItemStackEnchantmentHelper.enchantItem(RandomSource pRandom, ItemStack pStack, int pLevel, RegistryAccess pRegistryAccess, Optional<? extends HolderSet<Enchantment>> pPossibleEnchantments) static voidEnchantmentHelper.enchantItemFromProvider(ItemStack pStack, RegistryAccess pRegistries, ResourceKey<EnchantmentProvider> pKey, DifficultyInstance pDifficulty, RandomSource pRandom) static intEnchantmentHelper.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.voidEnchantment.modifyCrossbowChargeTime(RandomSource pRandom, int pEnchantmentLevel, org.apache.commons.lang3.mutable.MutableFloat pValue) voidEnchantment.modifyTridentSpinAttackStrength(RandomSource pRandom, int pEnchantmentLevel, org.apache.commons.lang3.mutable.MutableFloat pValue) voidEnchantment.modifyUnfilteredValue(DataComponentType<EnchantmentValueEffect> pComponentType, RandomSource pRandom, int pEnchantmentLevel, org.apache.commons.lang3.mutable.MutableFloat pValue) 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 TypeMethodDescriptiondoubleSpawnParticlesEffect.PositionSource.getCoordinate(double pPosition, double pCenter, float pSize, RandomSource pRandom) doubleSpawnParticlesEffect.PositionSourceType.CoordinateSource.getCoordinate(double pPosition, double pCenter, float pSize, RandomSource pRandom) doubleSpawnParticlesEffect.PositionSourceType.getCoordinate(double pPosition, double pCenter, float pSize, RandomSource pRandom) doubleSpawnParticlesEffect.VelocitySource.getVelocity(double pScale, RandomSource pRandom) floatAddValue.process(int pEnchantmentLevel, RandomSource pRandom, float pValue) floatAllOf.ValueEffects.process(int p_345324_, RandomSource p_345137_, float p_344866_) floatEnchantmentValueEffect.process(int pEnchantmentLevel, RandomSource pRandom, float pValue) floatMultiplyValue.process(int pEnchantmentLevel, RandomSource pRandom, float pValue) floatRemoveBinomial.process(int pEnchantmentLevel, RandomSource pRandom, float pValue) floatSetValue.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 TypeMethodDescriptionvoidEnchantmentProvider.enchant(ItemStack pStack, ItemEnchantments.Mutable pEnchantments, RandomSource pRandom, DifficultyInstance pDifficulty) voidEnchantmentsByCost.enchant(ItemStack pStack, ItemEnchantments.Mutable pEnchantments, RandomSource pRandom, DifficultyInstance pDifficulty) voidEnchantmentsByCostWithDifficulty.enchant(ItemStack pStack, ItemEnchantments.Mutable pEnchantments, RandomSource pRandom, DifficultyInstance pDifficulty) voidSingleEnchantment.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 RandomSourceExplosion.randomfinal RandomSourceLevel.randomprivate final RandomSourceLevel.threadSafeRandomDeprecated.Methods in net.minecraft.world.level that return RandomSourceMethods in net.minecraft.world.level with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate SpawnDataBaseSpawner.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) voidBaseSpawner.setEntityId(EntityType<?> pType, Level pLevel, RandomSource pRandom, BlockPos pPos) voidSpawner.setEntityId(EntityType<?> pEntityType, RandomSource pRandom) static voidNaturalSpawner.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 TypeMethodDescriptionbooleanAmbientParticleSettings.canSpawn(RandomSource pRandom) BiomeSource.findBiomeHorizontal(int pX, int pY, int pZ, int pRadius, int pIncrement, Predicate<Holder<Biome>> pBiomePredicate, RandomSource pRandom, boolean pFindClosest, Climate.Sampler pSampler) BiomeSource.findBiomeHorizontal(int pX, int pY, int pZ, int pRadius, Predicate<Holder<Biome>> pBiomePredicate, RandomSource pRandom, Climate.Sampler pSampler) FixedBiomeSource.findBiomeHorizontal(int pX, int pY, int pZ, int pRadius, int pIncrement, Predicate<Holder<Biome>> pBiomePredicate, RandomSource pRandom, boolean pFindClosest, Climate.Sampler pSampler) -
Uses of RandomSource in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate static voidAbstractCandleBlock.addParticlesAndSound(Level pLevel, Vec3 pOffset, RandomSource pRandom) voidSaplingBlock.advanceTree(ServerLevel pLevel, BlockPos pPos, BlockState pState, RandomSource pRandom) voidAbstractCandleBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBaseFireBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBeehiveBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBlastFurnaceBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBrewingStandBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBrushableBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBubbleColumnBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidCampfireBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidCherryLeavesBlock.animateTick(BlockState p_272714_, Level p_272837_, BlockPos p_273218_, RandomSource p_273360_) voidCryingObsidianBlock.animateTick(BlockState p_221055_, Level p_221056_, BlockPos p_221057_, RandomSource p_221058_) voidEnchantingTableBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidEnderChestBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidEndGatewayBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidEndPortalBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidEndRodBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidFallingBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidFurnaceBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidLeavesBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidLeverBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidLightningRodBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidMyceliumBlock.animateTick(BlockState p_221789_, Level p_221790_, BlockPos p_221791_, RandomSource p_221792_) voidNetherPortalBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidPointedDripstoneBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRedStoneOreBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRedstoneTorchBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRedstoneWallTorchBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRedStoneWireBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRepeaterBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRespawnAnchorBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidSculkSensorBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidSmokerBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidSporeBlossomBlock.animateTick(BlockState p_222503_, Level p_222504_, BlockPos p_222505_, RandomSource p_222506_) voidTorchBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidWallTorchBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidWetSpongeBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidWitherRoseBlock.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 booleanSculkVeinBlock.attemptPlaceSculk(SculkSpreader pSpreader, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) intSculkBehaviour.attemptUseCharge(SculkSpreader.ChargeCursor pCursor, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, SculkSpreader pSpreader, boolean pShouldConvertBlocks) intSculkBlock.attemptUseCharge(SculkSpreader.ChargeCursor pCursor, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, SculkSpreader pSpreader, boolean pShouldConvertBlocks) intSculkVeinBlock.attemptUseCharge(SculkSpreader.ChargeCursor pCursor, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, SculkSpreader pSpreader, boolean pShouldConvertBlocks) default voidChangeOverTimeBlock.changeOverTime(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) private voidFireBlock.checkBurnOut(Level pLevel, BlockPos pPos, int pChance, RandomSource pRandom, int pAge, Direction face) private BlockStateVineBlock.copyRandomFaces(BlockState pSourceState, BlockState pSpreadState, RandomSource pRandom) default booleanSculkBehaviour.depositCharge(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) static voidChorusFlowerBlock.generatePlant(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, int pMaxHorizontalDistance) protected intCaveVinesBlock.getBlocksToGrowWhenBonemealed(RandomSource p_220928_) protected abstract intGrowingPlantHeadBlock.getBlocksToGrowWhenBonemealed(RandomSource pRandom) protected intKelpBlock.getBlocksToGrowWhenBonemealed(RandomSource pRandom) static intNetherVines.getBlocksToGrowWhenBonemealed(RandomSource pRandom) protected intTwistingVinesBlock.getBlocksToGrowWhenBonemealed(RandomSource p_222649_) protected intWeepingVinesBlock.getBlocksToGrowWhenBonemealed(RandomSource p_222680_) private static intFireBlock.getFireTickDelay(RandomSource pRandom) Gets the delay before this block ticks again (without counting random ticks)private static intFrogspawnBlock.getFrogspawnHatchDelay(RandomSource pRandom) protected BlockStateCaveVinesBlock.getGrowIntoState(BlockState p_220935_, RandomSource p_220936_) protected BlockStateGrowingPlantHeadBlock.getGrowIntoState(BlockState pState, RandomSource pRandom) default Optional<BlockState> ChangeOverTimeBlock.getNextState(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) static RotationRotation.getRandom(RandomSource pRandom) Chooses a random rotation.private BlockStateSculkBlock.getRandomGrowthState(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, boolean pIsWorldGeneration) SculkSpreader.ChargeCursor.getRandomizedNonCornerNeighbourOffsets(RandomSource pRandom) private doubleFrogspawnBlock.getRandomTadpolePositionOffset(RandomSource pRandom) Rotation.getShuffled(RandomSource pRandom) Get a list of all rotations in random order.private static BlockPosSculkSpreader.ChargeCursor.getValidMovementPos(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) protected voidBambooStalkBlock.growBamboo(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom, int pAge) booleanMushroomBlock.growMushroom(ServerLevel pLevel, BlockPos pPos, BlockState pState, RandomSource pRandom) static voidPointedDripstoneBlock.growStalactiteOrStalagmiteIfPossible(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) private static voidChorusFlowerBlock.growTreeRecursive(LevelAccessor pLevel, BlockPos pBranchPos, RandomSource pRandom, BlockPos pOriginalBranchPos, int pMaxHorizontalDistance, int pIterations) private voidFrogspawnBlock.hatchFrogspawn(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) booleanAzaleaBlock.isBonemealSuccess(Level p_220712_, RandomSource p_220713_, BlockPos p_220714_, BlockState p_220715_) booleanBambooSaplingBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanBambooStalkBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanBigDripleafBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanBigDripleafStemBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanBonemealableBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanCaveVinesBlock.isBonemealSuccess(Level p_220930_, RandomSource p_220931_, BlockPos p_220932_, BlockState p_220933_) booleanCaveVinesPlantBlock.isBonemealSuccess(Level p_220943_, RandomSource p_220944_, BlockPos p_220945_, BlockState p_220946_) booleanCocoaBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanCropBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanFungusBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanGlowLichenBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanGrassBlock.isBonemealSuccess(Level p_221275_, RandomSource p_221276_, BlockPos p_221277_, BlockState p_221278_) booleanGrowingPlantBodyBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanGrowingPlantHeadBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanMangroveLeavesBlock.isBonemealSuccess(Level p_221437_, RandomSource p_221438_, BlockPos p_221439_, BlockState p_221440_) booleanMangrovePropaguleBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanMossBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanMushroomBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanNetherrackBlock.isBonemealSuccess(Level p_221816_, RandomSource p_221817_, BlockPos p_221818_, BlockState p_221819_) booleanNyliumBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanPinkPetalsBlock.isBonemealSuccess(Level p_272604_, RandomSource p_273609_, BlockPos p_272988_, BlockState p_273231_) booleanPitcherCropBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanRootedDirtBlock.isBonemealSuccess(Level p_221979_, RandomSource p_221980_, BlockPos p_221981_, BlockState p_221982_) booleanSaplingBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanSeagrassBlock.isBonemealSuccess(Level p_222428_, RandomSource p_222429_, BlockPos p_222430_, BlockState p_222431_) booleanSeaPickleBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanSmallDripleafBlock.isBonemealSuccess(Level p_222438_, RandomSource p_222439_, BlockPos p_222440_, BlockState p_222441_) booleanStemBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanSweetBerryBushBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanTallFlowerBlock.isBonemealSuccess(Level p_222573_, RandomSource p_222574_, BlockPos p_222575_, BlockState p_222576_) booleanTallGrassBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) default voidSculkBehaviour.onDischarged(LevelAccessor pLevel, BlockState pState, BlockPos pPos, RandomSource pRandom) voidSculkVeinBlock.onDischarged(LevelAccessor pLevel, BlockState pState, BlockPos pPos, RandomSource pRandom) voidAzaleaBlock.performBonemeal(ServerLevel p_220707_, RandomSource p_220708_, BlockPos p_220709_, BlockState p_220710_) voidBambooSaplingBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidBambooStalkBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidBigDripleafBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidBigDripleafStemBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidBonemealableBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidCaveVinesBlock.performBonemeal(ServerLevel p_220923_, RandomSource p_220924_, BlockPos p_220925_, BlockState p_220926_) voidCaveVinesPlantBlock.performBonemeal(ServerLevel p_220938_, RandomSource p_220939_, BlockPos p_220940_, BlockState p_220941_) voidCocoaBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidCropBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidFungusBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidGlowLichenBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidGrassBlock.performBonemeal(ServerLevel p_221270_, RandomSource p_221271_, BlockPos p_221272_, BlockState p_221273_) voidGrowingPlantBodyBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidGrowingPlantHeadBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidMangroveLeavesBlock.performBonemeal(ServerLevel p_221427_, RandomSource p_221428_, BlockPos p_221429_, BlockState p_221430_) voidMangrovePropaguleBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidMossBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidMushroomBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidNetherrackBlock.performBonemeal(ServerLevel p_221811_, RandomSource p_221812_, BlockPos p_221813_, BlockState p_221814_) voidNyliumBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidPinkPetalsBlock.performBonemeal(ServerLevel p_273476_, RandomSource p_273093_, BlockPos p_272601_, BlockState p_272683_) voidPitcherCropBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidRootedDirtBlock.performBonemeal(ServerLevel p_221974_, RandomSource p_221975_, BlockPos p_221976_, BlockState p_221977_) voidSaplingBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidSeagrassBlock.performBonemeal(ServerLevel p_222423_, RandomSource p_222424_, BlockPos p_222425_, BlockState p_222426_) voidSeaPickleBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidSmallDripleafBlock.performBonemeal(ServerLevel p_222433_, RandomSource p_222434_, BlockPos p_222435_, BlockState p_222436_) voidStemBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidSweetBerryBushBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidTallFlowerBlock.performBonemeal(ServerLevel p_222568_, RandomSource p_222569_, BlockPos p_222570_, BlockState p_222571_) voidTallGrassBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) private voidNyliumBlock.place(Registry<ConfiguredFeature<?, ?>> pFeatureRegistry, ResourceKey<ConfiguredFeature<?, ?>> pFeatureKey, ServerLevel pLevel, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) static voidBigDripleafBlock.placeWithRandomHeight(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, Direction pDirection) protected voidBambooSaplingBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidBambooStalkBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidBeetrootBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidBuddingAmethystBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidCactusBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidChorusFlowerBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidCocoaBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidCropBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidFarmBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidGrowingPlantHeadBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidIceBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidLeavesBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidLiquidBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidMangrovePropaguleBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidMushroomBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidNetherPortalBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidNetherWartBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidNyliumBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.voidPitcherCropBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidPointedDripstoneBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidRedStoneOreBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidSaplingBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidSnowLayerBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidSpreadingSnowyDirtBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidStemBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidSugarCaneBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidSweetBerryBushBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.voidTorchflowerCropBlock.randomTick(BlockState p_273361_, ServerLevel p_273515_, BlockPos p_273546_, RandomSource p_273261_) protected voidTurtleEggBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidVineBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidWeatheringCopperBulbBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidWeatheringCopperDoorBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidWeatheringCopperFullBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidWeatheringCopperGrateBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidWeatheringCopperSlabBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidWeatheringCopperStairBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidWeatheringCopperTrapDoorBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.private voidRedStoneWireBlock.spawnParticlesAlongLine(Level pLevel, RandomSource pRandom, BlockPos pPos, Vec3 pParticleVec, Direction pXDirection, Direction pZDirection, float pMin, float pMax) private voidFrogspawnBlock.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 voidAbstractCauldronBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidBambooStalkBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidBarrelBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidBasePressurePlateBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidBigDripleafBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidBigDripleafStemBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) voidBrushableBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidBubbleColumnBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidButtonBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidCactusBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidChestBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidChorusFlowerBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidChorusPlantBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidCommandBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidComparatorBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidComposterBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidCoralBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidCoralFanBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidCoralPlantBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidCoralWallFanBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidCrafterBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidDetectorRailBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidDiodeBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidDirtPathBlock.tick(BlockState p_221070_, ServerLevel p_221071_, BlockPos p_221072_, RandomSource p_221073_) protected voidDispenserBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidEnderChestBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidFallingBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidFarmBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidFireBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidFrogspawnBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidFrostedIceBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidGrowingPlantBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidLeavesBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidLecternBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidLightningRodBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidMagmaBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidObserverBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidPointedDripstoneBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidRedstoneLampBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidRedstoneTorchBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidScaffoldingBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidSculkCatalystBlock.tick(BlockState p_222104_, ServerLevel p_222105_, BlockPos p_222106_, RandomSource p_222107_) protected voidSculkSensorBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidSculkShriekerBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) voidSnifferEggBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidSoulSandBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidSugarCaneBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidTargetBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidTripWireBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidTripWireHookBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) voidSculkSpreader.ChargeCursor.update(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, SculkSpreader pSpreader, boolean pShouldConvertBlocks) voidSculkSpreader.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 RandomSourceEnchantingTableBlockEntity.RANDOMMethods in net.minecraft.world.level.block.entity that return RandomSourceModifier and TypeMethodDescriptionstatic RandomSourceStructureBlockEntity.createRandom(long pSeed) Methods in net.minecraft.world.level.block.entity with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate voidSculkCatalystBlockEntity.CatalystListener.bloom(ServerLevel pLevel, BlockPos pPos, BlockState pState, RandomSource pRandom) intDispenserBlockEntity.getRandomSlot(RandomSource pRandom) voidSpawnerBlockEntity.setEntityId(EntityType<?> pType, RandomSource pRandom) voidTrialSpawnerBlockEntity.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 voidTrialSpawner.addBecomeOminousParticles(Level pLevel, BlockPos pPos, RandomSource pRandom) static voidTrialSpawner.addDetectPlayerParticles(Level pLevel, BlockPos pPos, RandomSource pRandom, int pType, ParticleOptions pParticle) static voidTrialSpawner.addEjectItemParticles(Level pLevel, BlockPos pPos, RandomSource pRandom) static voidTrialSpawner.addSpawnParticles(Level pLevel, BlockPos pPos, RandomSource pRandom, SimpleParticleType pParticleType) voidTrialSpawnerState.ParticleEmission.emit(Level pLevel, RandomSource pRandom, BlockPos pPos, boolean pIsOminous) protected SpawnDataTrialSpawnerData.getOrCreateNextSpawnData(TrialSpawner pSpawner, RandomSource pRandom) booleanTrialSpawnerData.hasMobToSpawn(TrialSpawner pTrialSpawner, RandomSource pRandom) voidTrialSpawnerData.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 Vec3VaultBlockEntity.Client.randomPosCenterOfCage(BlockPos pPos, RandomSource pRandom) private static Vec3VaultBlockEntity.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) booleanTreeGrower.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 TypeMethodDescriptionvoidBlockBehaviour.BlockStateBase.randomTick(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidBlockBehaviour.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.voidBlockBehaviour.BlockStateBase.tick(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidBlockBehaviour.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 TypeClassDescriptionclassclassclassDeprecated.classclassFields in net.minecraft.world.level.levelgen declared as RandomSourceModifier and TypeFieldDescriptionfinal RandomSourceMarsagliaPolarGaussian.randomSourceprivate final RandomSourceWorldgenRandom.randomSourceFields in net.minecraft.world.level.levelgen with type parameters of type RandomSourceModifier and TypeFieldDescriptionprivate final LongFunction<RandomSource> WorldgenRandom.Algorithm.constructorMethods 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 RandomSourceXoroshiroRandomSource.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 RandomSourcePositionalRandomFactory.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 RandomSourceWorldgenRandom.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 voidSurfaceSystem.makeBands(RandomSource pRandom, BlockState[] pOutput, int pMinSize, BlockState pState) private booleanPatrolSpawner.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 TypeMethodDescriptionbooleanCanyonWorldCarver.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.booleanCaveWorldCarver.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.booleanConfiguredWorldCarver.carve(CarvingContext pContext, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, RandomSource pRandom, Aquifer pAquifer, ChunkPos pChunkPos, CarvingMask pCarvingMask) abstract booleanWorldCarver.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 floatCaveWorldCarver.getThickness(RandomSource pRandom) protected floatNetherWorldCarver.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.booleanCanyonWorldCarver.isStartChunk(CanyonCarverConfiguration pConfig, RandomSource pRandom) booleanCaveWorldCarver.isStartChunk(CaveCarverConfiguration pConfig, RandomSource pRandom) booleanConfiguredWorldCarver.isStartChunk(RandomSource pRandom) abstract booleanWorldCarver.isStartChunk(C pConfig, RandomSource pRandom) private doubleCanyonWorldCarver.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 booleanOreFeature.canPlaceOre(BlockState pState, Function<BlockPos, BlockState> pAdjacentStateAccessor, RandomSource pRandom, OreConfiguration pConfig, OreConfiguration.TargetBlockState pTargetState, BlockPos.MutableBlockPos pMutablePos) private static voidPointedDripstoneFeature.createPatchOfDripstoneBlocks(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, PointedDripstoneConfiguration pConfig) protected voidVegetationPatchFeature.distributeVegetation(FeaturePlaceContext<VegetationPatchConfiguration> pContext, WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, RandomSource pRandom, Set<BlockPos> pPossiblePositions, int pXRadius, int pZRadius) protected booleanOreFeature.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 booleanTreeFeature.doPlace(WorldGenLevel pLevel, RandomSource pRandom, BlockPos pPos, BiConsumer<BlockPos, BlockState> pRootBlockSetter, BiConsumer<BlockPos, BlockState> pTrunkBlockSetter, FoliagePlacer.FoliageSetter pFoliageBlockSetter, TreeConfiguration pConfig) private voidIcebergFeature.generateCutOut(RandomSource pRandom, LevelAccessor pLevel, int pMajorAxis, int pHeight, BlockPos pPos, boolean pElliptical, int pEllipseRadius, double pAngle, int pMinorAxis) private voidIcebergFeature.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 intDripstoneClusterFeature.getDripstoneHeight(RandomSource pRandom, int pX, int pZ, float pChance, int pHeight, DripstoneClusterConfiguration pConfig) private intScatteredOreFeature.getRandomPlacementInOneAxisRelativeToOrigin(RandomSource pRandom, int pMagnitude) PointedDripstoneFeature.getTipDirection(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) protected intAbstractHugeMushroomFeature.getTreeHeight(RandomSource pRandom) private intIcebergFeature.heightDependentRadiusRound(RandomSource pRandom, int pY, int pHeight, int pMajorAxis) private intIcebergFeature.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 voidAbstractHugeMushroomFeature.makeCap(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, int pTreeHeight, BlockPos.MutableBlockPos pMutablePos, HugeMushroomFeatureConfiguration pConfig) protected voidHugeBrownMushroomFeature.makeCap(LevelAccessor p_225043_, RandomSource p_225044_, BlockPos p_225045_, int p_225046_, BlockPos.MutableBlockPos p_225047_, HugeMushroomFeatureConfiguration p_225048_) protected voidHugeRedMushroomFeature.makeCap(LevelAccessor p_225082_, RandomSource p_225083_, BlockPos p_225084_, int p_225085_, BlockPos.MutableBlockPos p_225086_, HugeMushroomFeatureConfiguration p_225087_) private static LargeDripstoneFeature.LargeDripstoneLargeDripstoneFeature.makeDripstone(BlockPos pRoot, boolean pPointingUp, RandomSource pRandom, int pRadius, FloatProvider pBluntnessBase, FloatProvider pScaleBase) private booleanBlockPileFeature.mayPlaceOn(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) private voidScatteredOreFeature.offsetTargetPos(BlockPos.MutableBlockPos pMutablePos, RandomSource pRandom, BlockPos pPos, int pMagnitude) booleanConfiguredFeature.place(WorldGenLevel pReader, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) booleanFeature.place(FC pConfig, WorldGenLevel pLevel, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pOrigin) booleanWeightedPlacedFeature.place(WorldGenLevel pLevel, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) private voidBasaltPillarFeature.placeBaseHangOff(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos) (package private) voidLargeDripstoneFeature.LargeDripstone.placeBlocks(WorldGenLevel pLevel, RandomSource pRandom, LargeDripstoneFeature.WindOffsetter pWindOffsetter) protected booleanDiskFeature.placeColumn(DiskConfiguration pConfig, WorldGenLevel pLevel, RandomSource pRandom, int pMaxY, int pMinY, BlockPos.MutableBlockPos pPos) private voidDripstoneClusterFeature.placeColumn(WorldGenLevel pLevel, RandomSource pRandom, BlockPos pPos, int pX, int pZ, float pWetness, double pChance, int pHeight, float pDensity, DripstoneClusterConfiguration pConfig) protected booleanCoralFeature.placeCoralBlock(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) private static voidRootSystemFeature.placeDirt(BlockPos pPos, int pMaxY, WorldGenLevel pLevel, RootSystemConfiguration pConfig, RandomSource pRandom) private static booleanRootSystemFeature.placeDirtAndTree(WorldGenLevel pLevel, ChunkGenerator pChunkGenerator, RootSystemConfiguration pConfig, RandomSource pRandom, BlockPos.MutableBlockPos pMutablePos, BlockPos pBasePos) protected booleanCoralClawFeature.placeFeature(LevelAccessor p_224959_, RandomSource p_224960_, BlockPos p_224961_, BlockState p_224962_) protected abstract booleanCoralFeature.placeFeature(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) protected booleanCoralMushroomFeature.placeFeature(LevelAccessor p_224982_, RandomSource p_224983_, BlockPos p_224984_, BlockState p_224985_) protected booleanCoralTreeFeature.placeFeature(LevelAccessor p_224987_, RandomSource p_224988_, BlockPos p_224989_, BlockState p_224990_) protected booleanVegetationPatchFeature.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 booleanMultifaceGrowthFeature.placeGrowthIfPossible(WorldGenLevel pLevel, BlockPos pPos, BlockState pState, MultifaceGrowthConfiguration pConfig, RandomSource pRandom, List<Direction> pDirections) private booleanBasaltPillarFeature.placeHangOff(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos) private voidHugeFungusFeature.placeHat(WorldGenLevel pLevel, RandomSource pRandom, HugeFungusConfiguration pConfig, BlockPos pPos, int pHeight, boolean pHuge) private voidHugeFungusFeature.placeHatBlock(LevelAccessor pLevel, RandomSource pRandom, HugeFungusConfiguration pConfig, BlockPos.MutableBlockPos pPos, float pDecorationChance, float pHatChance, float pWeepingVineChance) private voidHugeFungusFeature.placeHatDropBlock(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState, boolean pWeepingVines) private voidWeepingVinesFeature.placeRoofNetherWart(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos) private voidWeepingVinesFeature.placeRoofWeepingVines(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos) private static voidRootSystemFeature.placeRootedDirt(WorldGenLevel pLevel, RootSystemConfiguration pConfig, RandomSource pRandom, int pX, int pZ, BlockPos.MutableBlockPos pPos) private static voidRootSystemFeature.placeRoots(WorldGenLevel pLevel, RootSystemConfiguration pConfig, RandomSource pRandom, BlockPos pBasePos, BlockPos.MutableBlockPos pMutablePos) private voidSpikeFeature.placeSpike(ServerLevelAccessor pLevel, RandomSource pRandom, SpikeConfiguration pConfig, SpikeFeature.EndSpike pSpike) Places the End Spike in the world.private voidHugeFungusFeature.placeStem(WorldGenLevel pLevel, RandomSource pRandom, HugeFungusConfiguration pConfig, BlockPos pPos, int pHeight, boolean pHuge) protected voidAbstractHugeMushroomFeature.placeTrunk(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, HugeMushroomFeatureConfiguration pConfig, int pMaxHeight, BlockPos.MutableBlockPos pMutablePos) protected booleanVegetationPatchFeature.placeVegetation(WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) protected booleanWaterloggedVegetationPatchFeature.placeVegetation(WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) static voidTwistingVinesFeature.placeWeepingVinesColumn(LevelAccessor pLevel, RandomSource pRandom, BlockPos.MutableBlockPos pPos, int pLength, int pMinAge, int pMaxAge) static voidWeepingVinesFeature.placeWeepingVinesColumn(LevelAccessor pLevel, RandomSource pRandom, BlockPos.MutableBlockPos pPos, int pHeight, int pMinAge, int pMaxAge) private static floatDripstoneClusterFeature.randomBetweenBiased(RandomSource pRandom, float pMin, float pMax, float pMean, float pDeviation) private EntityType<?> MonsterRoomFeature.randomEntityId(RandomSource pRandom) private voidIcebergFeature.setIcebergBlock(BlockPos pPos, LevelAccessor pLevel, RandomSource pRandom, int pHeightRemaining, int pHeight, boolean pElliptical, boolean pPlaceSnow, BlockState pState) protected static booleanOreFeature.shouldSkipAirCheck(RandomSource pRandom, float pChance) private doubleIcebergFeature.signedDistanceCircle(int pX, int pZ, BlockPos pCenter, int pRadius, RandomSource pRandom) private voidBlockPileFeature.tryPlaceBlock(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, BlockPileConfiguration pConfig) private static voidHugeFungusFeature.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 voidAcaciaFoliagePlacer.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 voidBlobFoliagePlacer.createFoliage(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pBlockSetter, RandomSource pRandom, TreeConfiguration pConfig, int pMaxFreeTreeHeight, FoliagePlacer.FoliageAttachment pAttachment, int pFoliageHeight, int pFoliageRadius, int pOffset) protected voidBushFoliagePlacer.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 voidCherryFoliagePlacer.createFoliage(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pBlockSetter, RandomSource pRandom, TreeConfiguration pConfig, int pMaxFreeTreeHeight, FoliagePlacer.FoliageAttachment pAttachment, int pFoliageHeight, int pFoliageRadius, int pOffset) protected voidDarkOakFoliagePlacer.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 voidFancyFoliagePlacer.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_) voidFoliagePlacer.createFoliage(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pBlockSetter, RandomSource pRandom, TreeConfiguration pConfig, int pMaxFreeTreeHeight, FoliagePlacer.FoliageAttachment pAttachment, int pFoliageHeight, int pFoliageRadius) protected abstract voidFoliagePlacer.createFoliage(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pBlockSetter, RandomSource pRandom, TreeConfiguration pConfig, int pMaxFreeTreeHeight, FoliagePlacer.FoliageAttachment pAttachment, int pFoliageHeight, int pFoliageRadius, int pOffset) protected voidMegaJungleFoliagePlacer.createFoliage(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pBlockSetter, RandomSource pRandom, TreeConfiguration pConfig, int pMaxFreeTreeHeight, FoliagePlacer.FoliageAttachment pAttachment, int pFoliageHeight, int pFoliageRadius, int pOffset) protected voidMegaPineFoliagePlacer.createFoliage(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pBlockSetter, RandomSource pRandom, TreeConfiguration pConfig, int pMaxFreeTreeHeight, FoliagePlacer.FoliageAttachment pAttachment, int pFoliageHeight, int pFoliageRadius, int pOffset) protected voidPineFoliagePlacer.createFoliage(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pBlockSetter, RandomSource pRandom, TreeConfiguration pConfig, int pMaxFreeTreeHeight, FoliagePlacer.FoliageAttachment pAttachment, int pFoliageHeight, int pFoliageRadius, int pOffset) protected voidRandomSpreadFoliagePlacer.createFoliage(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pBlockSetter, RandomSource pRandom, TreeConfiguration pConfig, int pMaxFreeTreeHeight, FoliagePlacer.FoliageAttachment pAttachment, int pFoliageHeight, int pFoliageRadius, int pOffset) protected voidSpruceFoliagePlacer.createFoliage(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pBlockSetter, RandomSource pRandom, TreeConfiguration pConfig, int pMaxFreeTreeHeight, FoliagePlacer.FoliageAttachment pAttachment, int pFoliageHeight, int pFoliageRadius, int pOffset) intAcaciaFoliagePlacer.foliageHeight(RandomSource p_225495_, int p_225496_, TreeConfiguration p_225497_) intBlobFoliagePlacer.foliageHeight(RandomSource pRandom, int pHeight, TreeConfiguration pConfig) intCherryFoliagePlacer.foliageHeight(RandomSource pRandom, int pHeight, TreeConfiguration pConfig) intDarkOakFoliagePlacer.foliageHeight(RandomSource p_225554_, int p_225555_, TreeConfiguration p_225556_) abstract intFoliagePlacer.foliageHeight(RandomSource pRandom, int pHeight, TreeConfiguration pConfig) intMegaJungleFoliagePlacer.foliageHeight(RandomSource pRandom, int pHeight, TreeConfiguration pConfig) intMegaPineFoliagePlacer.foliageHeight(RandomSource pRandom, int pHeight, TreeConfiguration pConfig) intPineFoliagePlacer.foliageHeight(RandomSource pRandom, int pHeight, TreeConfiguration pConfig) intRandomSpreadFoliagePlacer.foliageHeight(RandomSource pRandom, int pHeight, TreeConfiguration pConfig) intSpruceFoliagePlacer.foliageHeight(RandomSource pRandom, int pHeight, TreeConfiguration pConfig) intFoliagePlacer.foliageRadius(RandomSource pRandom, int pRadius) intPineFoliagePlacer.foliageRadius(RandomSource pRandom, int pRadius) private intFoliagePlacer.offset(RandomSource pRandom) protected voidFoliagePlacer.placeLeavesRow(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pFoliageSetter, RandomSource pRandom, TreeConfiguration pTreeConfiguration, BlockPos pPos, int pRange, int pLocalY, boolean pLarge) protected final voidFoliagePlacer.placeLeavesRowWithHangingLeavesBelow(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pFoliageSetter, RandomSource pRandom, TreeConfiguration pTreeConfiguration, BlockPos pPos, int pRange, int pLocalY, boolean pLarge, float pHangingLeavesChance, float pHangingLeavesExtensionChance) protected booleanAcaciaFoliagePlacer.shouldSkipLocation(RandomSource p_225488_, int p_225489_, int p_225490_, int p_225491_, int p_225492_, boolean p_225493_) protected booleanBlobFoliagePlacer.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 booleanBushFoliagePlacer.shouldSkipLocation(RandomSource p_225530_, int p_225531_, int p_225532_, int p_225533_, int p_225534_, boolean p_225535_) protected booleanCherryFoliagePlacer.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 booleanDarkOakFoliagePlacer.shouldSkipLocation(RandomSource p_225547_, int p_225548_, int p_225549_, int p_225550_, int p_225551_, boolean p_225552_) protected booleanFancyFoliagePlacer.shouldSkipLocation(RandomSource p_225575_, int p_225576_, int p_225577_, int p_225578_, int p_225579_, boolean p_225580_) protected abstract booleanFoliagePlacer.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 booleanMegaJungleFoliagePlacer.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 booleanMegaPineFoliagePlacer.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 booleanPineFoliagePlacer.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 booleanRandomSpreadFoliagePlacer.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 booleanSpruceFoliagePlacer.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 booleanDarkOakFoliagePlacer.shouldSkipLocationSigned(RandomSource p_225568_, int p_225569_, int p_225570_, int p_225571_, int p_225572_, boolean p_225573_) protected booleanFoliagePlacer.shouldSkipLocationSigned(RandomSource pRandom, int pLocalX, int pLocalY, int pLocalZ, int pRange, boolean pLarge) private static booleanFoliagePlacer.tryPlaceExtension(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pFoliageSetter, RandomSource pRandom, TreeConfiguration pTreeConfiguration, float pExtensionChance, BlockPos pLogPos, BlockPos.MutableBlockPos pPos) protected static booleanFoliagePlacer.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 voidMangroveRootPlacer.placeRoot(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pTreeConfig) protected voidRootPlacer.placeRoot(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pTreeConfig) booleanMangroveRootPlacer.placeRoots(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, BlockPos pTrunkOrigin, TreeConfiguration pTreeConfig) abstract booleanRootPlacer.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 booleanMangroveRootPlacer.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 BlockStateBlockStateProvider.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.FoliageAttachmentCherryTrunkPlacer.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) intTrunkPlacer.getTreeHeight(RandomSource pRandom) private voidFancyTrunkPlacer.makeBranches(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pMaxHeight, BlockPos pPos, List<FancyTrunkPlacer.FoliageCoords> pFoliageCoords, TreeConfiguration pConfig) private booleanFancyTrunkPlacer.makeLimb(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pBasePos, BlockPos pOffsetPos, boolean pModifyWorld, TreeConfiguration pConfig) private voidUpwardsBranchingTrunkPlacer.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 booleanTrunkPlacer.placeLog(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pConfig) protected booleanTrunkPlacer.placeLog(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pConfig, Function<BlockState, BlockState> pPropertySetter) protected voidTrunkPlacer.placeLogIfFree(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos.MutableBlockPos pPos, TreeConfiguration pConfig) private voidGiantTrunkPlacer.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 voidTrunkPlacer.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 TypeMethodDescriptionintBiasedToBottomHeight.sample(RandomSource pRandom, WorldGenerationContext pContext) intConstantHeight.sample(RandomSource pRandom, WorldGenerationContext pContext) abstract intHeightProvider.sample(RandomSource pRandom, WorldGenerationContext pContext) intTrapezoidHeight.sample(RandomSource pRandom, WorldGenerationContext pContext) intUniformHeight.sample(RandomSource pRandom, WorldGenerationContext pContext) intVeryBiasedToBottomHeight.sample(RandomSource pRandom, WorldGenerationContext pContext) intWeightedListHeight.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 intCountPlacement.count(RandomSource pRandom, BlockPos pPos) protected intNoiseBasedCountPlacement.count(RandomSource pRandom, BlockPos pPos) protected intNoiseThresholdCountPlacement.count(RandomSource pRandom, BlockPos pPos) protected abstract intRepeatingPlacement.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) booleanPlacedFeature.place(WorldGenLevel pLevel, ChunkGenerator pGenerator, RandomSource pRandom, BlockPos pPos) booleanPlacedFeature.placeWithBiomeCheck(WorldGenLevel pLevel, ChunkGenerator pGenerator, RandomSource pRandom, BlockPos pPos) private booleanPlacedFeature.placeWithContext(PlacementContext pContext, RandomSource pSource, BlockPos pPos) protected booleanBiomeFilter.shouldPlace(PlacementContext p_226317_, RandomSource p_226318_, BlockPos p_226319_) protected booleanBlockPredicateFilter.shouldPlace(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) protected abstract booleanPlacementFilter.shouldPlace(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) protected booleanRarityFilter.shouldPlace(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) protected booleanSurfaceRelativeThresholdFilter.shouldPlace(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) protected booleanSurfaceWaterDepthFilter.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 TypeMethodDescriptionvoidStructurePiece.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidPostPlacementProcessor.afterPlace(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, PiecesContainer pPieces) voidStructure.afterPlace(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pChunkGenerator, RandomSource pRandom, BoundingBox pBoundingBox, ChunkPos pChunkPos, PiecesContainer pPieces) protected booleanStructurePiece.createChest(ServerLevelAccessor pLevel, BoundingBox pBox, RandomSource pRandom, BlockPos pPos, ResourceKey<LootTable> pLootTable, BlockState pState) protected booleanStructurePiece.createChest(WorldGenLevel pLevel, BoundingBox pBox, RandomSource pRandom, int pX, int pY, int pZ, ResourceKey<LootTable> pLootTable) protected booleanStructurePiece.createDispenser(WorldGenLevel pLevel, BoundingBox pBox, RandomSource pRandom, int pX, int pY, int pZ, Direction pFacing, ResourceKey<LootTable> pLootTable) protected voidStructurePiece.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 voidStructurePiece.generateBox(WorldGenLevel pLevel, BoundingBox pBoundingBox, BoundingBox pBox, boolean pAlwaysReplace, RandomSource pRandom, StructurePiece.BlockSelector pBlockSelector) protected voidStructurePiece.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 DirectionStructurePiece.getRandomHorizontalDirection(RandomSource pRandom) protected abstract voidTemplateStructurePiece.handleDataMarker(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected voidStructurePiece.maybeGenerateBlock(WorldGenLevel pLevel, BoundingBox pBox, RandomSource pRandom, float pChance, int pX, int pY, int pZ, BlockState pState) abstract voidStructurePiece.BlockSelector.next(RandomSource pRandom, int pX, int pY, int pZ, boolean pWall) voidPoolElementStructurePiece.place(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, BlockPos pPos, boolean pKeepJigsaws) voidStructureStart.placeInChunk(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos) voidPoolElementStructurePiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) abstract voidStructurePiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidTemplateStructurePiece.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 TypeMethodDescriptionintStructurePiecesBuilder.moveBelowSeaLevel(int pSeaLevel, int pMinY, RandomSource pRandom, int pAmount) Deprecated.voidStructurePiecesBuilder.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 TypeMethodDescriptionintRandomSpreadType.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 voidJigsawPlacement.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) voidStructurePoolElement.handleDataMarker(LevelAccessor pLevel, StructureTemplate.StructureBlockInfo pBlockInfo, BlockPos pPos, Rotation pRotation, RandomSource pRandom, BoundingBox pBox) booleanEmptyPoolElement.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_) booleanFeaturePoolElement.place(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) booleanListPoolElement.place(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) booleanSinglePoolElement.place(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) abstract booleanStructurePoolElement.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 TypeMethodDescriptionvoidDirect.forEachResolved(RandomSource pRandom, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> pStucturePoolKey) voidPoolAliasBinding.forEachResolved(RandomSource pRandom, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> pStucturePoolKey) voidRandom.forEachResolved(RandomSource pRandom, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> pStucturePoolKey) voidRandomGroup.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 RandomSourceWoodlandMansionPieces.MansionGrid.randomprivate final RandomSourceWoodlandMansionPieces.MansionPiecePlacer.randomMethods in net.minecraft.world.level.levelgen.structure.structures with parameters of type RandomSourceModifier and TypeMethodDescriptionvoidMineshaftPieces.MineShaftCorridor.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidMineshaftPieces.MineShaftCrossing.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidMineshaftPieces.MineShaftRoom.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidMineshaftPieces.MineShaftStairs.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidNetherFortressPieces.BridgeCrossing.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidNetherFortressPieces.BridgeStraight.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidNetherFortressPieces.CastleCorridorStairsPiece.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidNetherFortressPieces.CastleCorridorTBalconyPiece.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidNetherFortressPieces.CastleEntrance.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidNetherFortressPieces.CastleSmallCorridorCrossingPiece.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidNetherFortressPieces.CastleSmallCorridorLeftTurnPiece.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidNetherFortressPieces.CastleSmallCorridorPiece.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidNetherFortressPieces.CastleSmallCorridorRightTurnPiece.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidNetherFortressPieces.CastleStalkRoom.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidNetherFortressPieces.RoomCrossing.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidNetherFortressPieces.StairsRoom.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidStrongholdPieces.ChestCorridor.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidStrongholdPieces.FiveCrossing.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidStrongholdPieces.LeftTurn.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidStrongholdPieces.PortalRoom.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidStrongholdPieces.PrisonHall.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidStrongholdPieces.RightTurn.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidStrongholdPieces.RoomCrossing.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidStrongholdPieces.StairsDown.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidStrongholdPieces.Straight.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) voidStrongholdPieces.StraightStairsDown.addChildren(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) private static voidOceanRuinPieces.addClusterRuins(StructureTemplateManager pStructureTemplateManager, RandomSource pRandom, Rotation pRotation, BlockPos pPos, OceanRuinStructure pStructure, StructurePieceAccessor pStructurePieceAccessor) private voidRuinedPortalPiece.addNetherrackDripColumn(RandomSource pRandom, LevelAccessor pLevel, BlockPos pPos) private voidRuinedPortalPiece.addNetherrackDripColumnsBelowPortal(RandomSource pRandom, LevelAccessor pLevel) private static voidOceanRuinPieces.addPiece(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, StructurePieceAccessor pStructurePieceAccessor, RandomSource pRandom, OceanRuinStructure pStructure, boolean pIsLarge, float pIntegrity) static voidIglooPieces.addPieces(StructureTemplateManager pStructureTemplateManager, BlockPos pStartPos, Rotation pRotation, StructurePieceAccessor pPieces, RandomSource pRandom) static voidNetherFossilPieces.addPieces(StructureTemplateManager pStructureManager, StructurePieceAccessor pPieces, RandomSource pRandom, BlockPos pPos) static voidOceanRuinPieces.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) voidDesertPyramidStructure.afterPlace(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pChunkGenerator, RandomSource pRandom, BoundingBox pBoundingBox, ChunkPos pChunkPos, PiecesContainer pPieces) voidWoodlandMansionStructure.afterPlace(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pChunkGenerator, RandomSource pRandom, BoundingBox pBoundingBox, ChunkPos pChunkPos, PiecesContainer pPieces) OceanRuinPieces.allPositions(RandomSource pRandom, BlockPos pPos) intShipwreckPieces.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 booleanMineshaftPieces.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.LeftTurnStrongholdPieces.LeftTurn.createPiece(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) static StrongholdPieces.LibraryStrongholdPieces.Library.createPiece(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) static StrongholdPieces.PrisonHallStrongholdPieces.PrisonHall.createPiece(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) static StrongholdPieces.RightTurnStrongholdPieces.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.StairsDownStrongholdPieces.StairsDown.createPiece(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) static StrongholdPieces.StraightStrongholdPieces.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.MineShaftPieceMineshaftPieces.createRandomShaftPiece(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth, MineshaftStructure.Type pType) (package private) static NetherFortressPieces.NetherBridgePieceNetherFortressPieces.findAndCreateBridgePieceFactory(NetherFortressPieces.PieceWeight pWeight, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) private static StrongholdPieces.StrongholdPieceStrongholdPieces.findAndCreatePieceFactory(Class<? extends StrongholdPieces.StrongholdPiece> pPieceClass, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection, int pGenDepth) static BoundingBoxMineshaftPieces.MineShaftCorridor.findCorridorSize(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection) static BoundingBoxMineshaftPieces.MineShaftCrossing.findCrossing(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection) static BoundingBoxStrongholdPieces.FillerCorridor.findPieceBox(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation) static BoundingBoxMineshaftPieces.MineShaftStairs.findStairs(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection) private static intRuinedPortalStructure.findSuitableY(RandomSource pRandom, ChunkGenerator pChunkGenerator, RuinedPortalPiece.VerticalPlacement pVerticalPlacement, boolean pAirPocket, int pHeight, int pBlockCountY, BoundingBox pBox, LevelHeightAccessor pLevel, RandomState pRandomState) booleanEndCityPieces.SectionGenerator.generate(StructureTemplateManager pStructureTemplateManager, int pCounter, EndCityPieces.EndCityPiece pPiece, BlockPos pStartPos, List<StructurePiece> pPieces, RandomSource pRandom) (package private) static MineshaftPieces.MineShaftPieceMineshaftPieces.generateAndAddPiece(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection, int pGenDepth) private StructurePieceNetherFortressPieces.NetherBridgePiece.generateAndAddPiece(NetherFortressPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth, boolean pCastlePiece) (package private) static StructurePieceStrongholdPieces.generateAndAddPiece(StrongholdPieces.StartPiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection, int pGenDepth) protected StructurePieceNetherFortressPieces.NetherBridgePiece.generateChildForward(NetherFortressPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetX, int pOffsetY, boolean pCastlePiece) protected StructurePieceNetherFortressPieces.NetherBridgePiece.generateChildLeft(NetherFortressPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetY, int pOffsetX, boolean pCastlePiece) protected StructurePieceNetherFortressPieces.NetherBridgePiece.generateChildRight(NetherFortressPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetY, int pOffsetX, boolean pCastlePiece) private voidOceanMonumentPieces.MonumentBuilding.generateEntranceArchs(WorldGenLevel pLevel, RandomSource pRandom, BoundingBox pBox) private voidOceanMonumentPieces.MonumentBuilding.generateEntranceWall(WorldGenLevel pLevel, RandomSource pRandom, BoundingBox pBox) private voidOceanMonumentPieces.MonumentBuilding.generateLowerWall(WorldGenLevel pLevel, RandomSource pRandom, BoundingBox pBox) static voidWoodlandMansionPieces.generateMansion(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, RandomSource pRandom) private voidOceanMonumentPieces.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.StrongholdPieceStrongholdPieces.generatePieceFromSmallDoor(StrongholdPieces.StartPiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection, int pGenDepth) private voidOceanMonumentPieces.MonumentBuilding.generateRoofPiece(WorldGenLevel pLevel, RandomSource pRandom, BoundingBox pBox) private List<OceanMonumentPieces.RoomDefinition> OceanMonumentPieces.MonumentBuilding.generateRoomGraph(RandomSource pRandom) protected voidStrongholdPieces.StrongholdPiece.generateSmallDoor(WorldGenLevel pLevel, RandomSource pRandom, BoundingBox pBox, StrongholdPieces.StrongholdPiece.SmallDoorType pType, int pX, int pY, int pZ) protected StructurePieceStrongholdPieces.StrongholdPiece.generateSmallDoorChildForward(StrongholdPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetX, int pOffsetY) protected StructurePieceStrongholdPieces.StrongholdPiece.generateSmallDoorChildLeft(StrongholdPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetY, int pOffsetX) protected StructurePieceStrongholdPieces.StrongholdPiece.generateSmallDoorChildRight(StrongholdPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetY, int pOffsetX) private voidOceanMonumentPieces.MonumentBuilding.generateUpperWall(WorldGenLevel pLevel, RandomSource pRandom, BoundingBox pBox) private voidOceanMonumentPieces.MonumentBuilding.generateWing(boolean pWing, int pX, WorldGenLevel pLevel, RandomSource pRandom, BoundingBox pBox) WoodlandMansionPieces.FirstFloorRoomCollection.get1x1(RandomSource p_229995_) abstract StringWoodlandMansionPieces.FloorRoomCollection.get1x1(RandomSource pRandom) WoodlandMansionPieces.SecondFloorRoomCollection.get1x1(RandomSource p_230144_) WoodlandMansionPieces.FirstFloorRoomCollection.get1x1Secret(RandomSource p_230000_) abstract StringWoodlandMansionPieces.FloorRoomCollection.get1x1Secret(RandomSource pRandom) WoodlandMansionPieces.SecondFloorRoomCollection.get1x1Secret(RandomSource p_230149_) WoodlandMansionPieces.FirstFloorRoomCollection.get1x2FrontEntrance(RandomSource p_230002_, boolean p_230003_) abstract StringWoodlandMansionPieces.FloorRoomCollection.get1x2FrontEntrance(RandomSource pRandom, boolean pIsStairs) WoodlandMansionPieces.SecondFloorRoomCollection.get1x2FrontEntrance(RandomSource p_230151_, boolean p_230152_) WoodlandMansionPieces.FirstFloorRoomCollection.get1x2Secret(RandomSource p_230005_) abstract StringWoodlandMansionPieces.FloorRoomCollection.get1x2Secret(RandomSource pRandom) WoodlandMansionPieces.SecondFloorRoomCollection.get1x2Secret(RandomSource p_230154_) WoodlandMansionPieces.FirstFloorRoomCollection.get1x2SideEntrance(RandomSource p_229997_, boolean p_229998_) abstract StringWoodlandMansionPieces.FloorRoomCollection.get1x2SideEntrance(RandomSource pRandom, boolean pIsStairs) WoodlandMansionPieces.SecondFloorRoomCollection.get1x2SideEntrance(RandomSource p_230146_, boolean p_230147_) WoodlandMansionPieces.FirstFloorRoomCollection.get2x2(RandomSource p_230007_) abstract StringWoodlandMansionPieces.FloorRoomCollection.get2x2(RandomSource pRandom) WoodlandMansionPieces.SecondFloorRoomCollection.get2x2(RandomSource p_230156_) WoodlandMansionPieces.FirstFloorRoomCollection.get2x2Secret(RandomSource p_230009_) abstract StringWoodlandMansionPieces.FloorRoomCollection.get2x2Secret(RandomSource pRandom) WoodlandMansionPieces.SecondFloorRoomCollection.get2x2Secret(RandomSource p_230158_) private static ResourceLocationOceanRuinPieces.getBigWarmRuin(RandomSource pRandom) private static intRuinedPortalStructure.getRandomWithinInterval(RandomSource pRandom, int pMin, int pMax) private static ResourceLocationOceanRuinPieces.getSmallWarmRuin(RandomSource pRandom) protected voidEndCityPieces.EndCityPiece.handleDataMarker(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected voidIglooPieces.IglooPiece.handleDataMarker(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected voidNetherFossilPieces.NetherFossilPiece.handleDataMarker(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected voidOceanRuinPieces.OceanRuinPiece.handleDataMarker(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected voidRuinedPortalPiece.handleDataMarker(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected voidShipwreckPieces.ShipwreckPiece.handleDataMarker(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected voidWoodlandMansionPieces.WoodlandMansionPiece.handleDataMarker(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) private voidRuinedPortalPiece.maybeAddLeavesAbove(RandomSource pRandom, LevelAccessor pLevel, BlockPos pPos) private voidRuinedPortalPiece.maybeAddVines(RandomSource pRandom, LevelAccessor pLevel, BlockPos pPos) private voidMineshaftPieces.MineShaftCorridor.maybePlaceCobWeb(WorldGenLevel pLevel, BoundingBox pBox, RandomSource pRandom, float pChance, int pX, int pY, int pZ) voidJungleTemplePiece.MossStoneSelector.next(RandomSource p_227686_, int p_227687_, int p_227688_, int p_227689_, boolean p_227690_) voidStrongholdPieces.SmoothStoneSelector.next(RandomSource p_229749_, int p_229750_, int p_229751_, int p_229752_, boolean p_229753_) private voidRuinedPortalPiece.placeNetherrackOrMagma(RandomSource pRandom, LevelAccessor pLevel, BlockPos pPos) private voidMineshaftPieces.MineShaftCorridor.placeSupport(WorldGenLevel pLevel, BoundingBox pBox, int pMinX, int pMinY, int pZ, int pMaxY, int pMaxX, RandomSource pRandom) voidBuriedTreasurePieces.BuriedTreasurePiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidDesertPyramidPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidIglooPieces.IglooPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidJungleTemplePiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidMineshaftPieces.MineShaftCorridor.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidMineshaftPieces.MineShaftCrossing.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidMineshaftPieces.MineShaftRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidMineshaftPieces.MineShaftStairs.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.BridgeCrossing.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.BridgeEndFiller.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.BridgeStraight.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.CastleCorridorStairsPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.CastleCorridorTBalconyPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.CastleEntrance.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.CastleSmallCorridorCrossingPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.CastleSmallCorridorLeftTurnPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.CastleSmallCorridorPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.CastleSmallCorridorRightTurnPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.CastleStalkRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.MonsterThrone.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.RoomCrossing.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.StairsRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFossilPieces.NetherFossilPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.MonumentBuilding.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentCoreRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentDoubleXRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentDoubleXYRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentDoubleYRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentDoubleYZRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentDoubleZRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentEntryRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentPenthouse.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentSimpleRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentSimpleTopRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentWingRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanRuinPieces.OceanRuinPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidRuinedPortalPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidShipwreckPieces.ShipwreckPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.ChestCorridor.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.FillerCorridor.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.FiveCrossing.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.LeftTurn.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.Library.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.PortalRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.PrisonHall.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.RightTurn.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.RoomCrossing.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.StairsDown.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.Straight.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.StraightStairsDown.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidSwampHutPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) StrongholdPieces.StrongholdPiece.randomSmallDoor(RandomSource pRandom) (package private) static booleanEndCityPieces.recursiveChildren(StructureTemplateManager pStructureTemplateManager, EndCityPieces.SectionGenerator pSectionGenerator, int pCounter, EndCityPieces.EndCityPiece pPiece, BlockPos pStartPos, List<StructurePiece> pPieces, RandomSource pRandom) private voidRuinedPortalPiece.spreadNetherrack(RandomSource pRandom, LevelAccessor pLevel) static voidEndCityPieces.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 BlockStateBlockAgeProcessor.getRandomBlock(RandomSource pRandom, BlockState[] pStates) private BlockStateBlockAgeProcessor.getRandomBlock(RandomSource pRandom, BlockState[] pNormalStates, BlockState[] pMossyStates) private static BlockStateBlockAgeProcessor.getRandomFacingStairs(RandomSource pRandom, Block pStairsBlock) private BlockStateBlockAgeProcessor.maybeReplaceFullStoneBlock(RandomSource pRandom) private BlockStateBlockAgeProcessor.maybeReplaceObsidian(RandomSource pRandom) private BlockStateBlockAgeProcessor.maybeReplaceSlab(RandomSource pRandom) private BlockStateBlockAgeProcessor.maybeReplaceStairs(RandomSource pRandom, BlockState pState) private BlockStateBlockAgeProcessor.maybeReplaceWall(RandomSource pRandom) booleanStructureTemplate.placeInWorld(ServerLevelAccessor pServerLevel, BlockPos pOffset, BlockPos pPos, StructurePlaceSettings pSettings, RandomSource pRandom, int pFlags) StructurePlaceSettings.setRandom(RandomSource pRandom) booleanAlwaysTrueTest.test(BlockState p_230248_, RandomSource p_230249_) booleanAxisAlignedLinearPosTest.test(BlockPos pLocalPos, BlockPos pRelativePos, BlockPos pStructurePos, RandomSource pRandom) booleanBlockMatchTest.test(BlockState pState, RandomSource pRandom) booleanBlockStateMatchTest.test(BlockState pState, RandomSource pRandom) booleanLinearPosTest.test(BlockPos pLocalPos, BlockPos pRelativePos, BlockPos pStructurePos, RandomSource pRandom) booleanPosAlwaysTrueTest.test(BlockPos p_230301_, BlockPos p_230302_, BlockPos p_230303_, RandomSource p_230304_) abstract booleanPosRuleTest.test(BlockPos pLocalPos, BlockPos pRelativePos, BlockPos pStructurePos, RandomSource pRandom) booleanProcessorRule.test(BlockState pInputState, BlockState pExistingState, BlockPos pLocalPos, BlockPos pRelativePos, BlockPos pStructurePos, RandomSource pRandom) booleanRandomBlockMatchTest.test(BlockState pState, RandomSource pRandom) booleanRandomBlockStateMatchTest.test(BlockState pState, RandomSource pRandom) abstract booleanRuleTest.test(BlockState pState, RandomSource pRandom) booleanTagMatchTest.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 NormalNoiseNormalNoise.create(RandomSource pRandom, int pFirstOctave, double... pAmplitudes) static NormalNoiseNormalNoise.create(RandomSource pRandom, NormalNoise.NoiseParameters pParameters) static PerlinNoisePerlinNoise.create(RandomSource pRandom, int pFirstOctave, double pFirstAmplitude, double... pAmplitudes) static PerlinNoisePerlinNoise.create(RandomSource pRandom, int pFirstOctave, it.unimi.dsi.fastutil.doubles.DoubleList pAmplitudes) static PerlinNoisePerlinNoise.create(RandomSource pRandom, List<Integer> pOctaves) static PerlinNoisePerlinNoise.create(RandomSource pRandom, IntStream pOctaves) static PerlinNoisePerlinNoise.createLegacyForBlendedNoise(RandomSource pRandom, IntStream pOctaves) Deprecated.static PerlinNoisePerlinNoise.createLegacyForLegacyNetherBiome(RandomSource pRandom, int pFirstOctave, it.unimi.dsi.fastutil.doubles.DoubleList pAmplitudes) Deprecated.static NormalNoiseNormalNoise.createLegacyNetherBiome(RandomSource pRandom, NormalNoise.NoiseParameters pParameters) Deprecated.private static voidPerlinNoise.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) privateNormalNoise(RandomSource pRandom, NormalNoise.NoiseParameters pParameters, boolean pUseLegacyNetherBiome) protectedPerlinNoise(RandomSource pRandom, com.mojang.datafixers.util.Pair<Integer, it.unimi.dsi.fastutil.doubles.DoubleList> pOctavesAndAmplitudes, boolean pUseNewFactory) privatePerlinSimplexNoise(RandomSource pRandom, it.unimi.dsi.fastutil.ints.IntSortedSet pOctaves) 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 voidFluid.animateTick(Level pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) voidFluidState.animateTick(Level pLevel, BlockPos pPos, RandomSource pRandom) voidLavaFluid.animateTick(Level pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) voidWaterFluid.animateTick(Level pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) protected voidFluid.randomTick(Level pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) voidFluidState.randomTick(Level pLevel, BlockPos pPos, RandomSource pRandom) voidLavaFluid.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 RandomSourceLootContext.Builder.randomprivate final RandomSourceLootContext.randomMethods 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 pParams, RandomSource pRandom) private voidLootTable.shuffleAndSplitItems(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> pStacks, int pEmptySlotsCount, RandomSource pRandom) Shuffles items by changing their order and splitting stacksLootContext.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) privateLootContext(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 TypeMethodDescriptionintApplyBonusCount.BinomialWithBonusCount.calculateNewCount(RandomSource pRandom, int pOriginalCount, int pEnchantmentLevel) intApplyBonusCount.Formula.calculateNewCount(RandomSource pRandom, int pOriginalCount, int pEnchantmentLevel) intApplyBonusCount.OreDrops.calculateNewCount(RandomSource pRandom, int pOriginalCount, int pEnchantmentLevel) intApplyBonusCount.UniformBonusCount.calculateNewCount(RandomSource pRandom, int pOriginalCount, int pEnchantmentLevel) private static ItemStackEnchantRandomlyFunction.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 nullRenderTypeis used for the breaking overlay as well as non-standard rendering, so models should return all their quads.default ChunkRenderTypeSetIBakedModelExtension.getRenderTypes(BlockState state, RandomSource rand, ModelData data) Gets the set ofrender typesto 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 booleanLightPipelineAwareModelBlockRenderer.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) voidLightPipelineAwareModelBlockRenderer.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) voidLightPipelineAwareModelBlockRenderer.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 RandomSourceBakedModelRenderable.Context.randomSourceThe field for therandomSourcerecord component.Methods in net.neoforged.neoforge.client.model.renderable that return RandomSourceModifier and TypeMethodDescriptionBakedModelRenderable.Context.randomSource()Returns the value of therandomSourcerecord 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 aContextrecord class. -
Uses of RandomSource in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type RandomSourceModifier and TypeMethodDescription@Nullable MerchantOfferBasicItemListing.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 booleanIBlockExtension.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 booleanIBlockStateExtension.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.event
Methods in net.neoforged.neoforge.event with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic booleanEventHooks.checkSpawnPlacements(EntityType<?> entityType, ServerLevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random, boolean defaultResult) static BlockGrowFeatureEventEventHooks.fireBlockGrowFeature(LevelAccessor level, RandomSource rand, BlockPos pos, @Nullable Holder<ConfiguredFeature<?, ?>> holder) Fires theBlockGrowFeatureEventand 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 RandomSourceMobSpawnEvent.SpawnPlacementCheck.randomMethods 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.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)