Uses of Interface
net.minecraft.util.RandomSource
Packages that use RandomSource
Package
Description
Extension interfaces for
client-only classes.-
Uses of RandomSource in net.minecraft
Methods in net.minecraft with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic 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 p_233889_) 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 TypeMethodDescriptionWeatherEffectRenderer.createRainColumnInstance(RandomSource pRandom, int pTicks, int pX, int pBottomY, int pTopY, int pZ, int pLightCoords, float pPartialTick) WeatherEffectRenderer.createSnowColumnInstance(RandomSource pRandom, int pTicks, int pX, int pBottomY, int pTopY, int pZ, int pLightCoords, float pPartialTick) private voidLevelEventHandler.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 RandomSourceModifier and TypeFieldDescriptionprivate final RandomSourceBlockRenderDispatcher.singleThreadRandom -
Uses of RandomSource in net.minecraft.client.renderer.block.model
Methods in net.minecraft.client.renderer.block.model with parameters of type RandomSourceModifier and TypeMethodDescriptiondefault List<BlockModelPart> BlockStateModel.collectParts(RandomSource pRandom) Deprecated.voidBlockStateModel.collectParts(RandomSource pRandom, List<BlockModelPart> pOutput) voidSingleVariant.collectParts(RandomSource p_410554_, List<BlockModelPart> p_410007_) SingleVariant.createGeometryKey(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) -
Uses of RandomSource in net.minecraft.client.renderer.block.model.multipart
Methods in net.minecraft.client.renderer.block.model.multipart with parameters of type RandomSourceModifier and TypeMethodDescriptionvoidMultiPartModel.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource p_410101_, List<BlockModelPart> p_410550_) MultiPartModel.createGeometryKey(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) -
Uses of RandomSource in net.minecraft.client.renderer.blockentity
Fields in net.minecraft.client.renderer.blockentity declared as RandomSource -
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.randomprivate final RandomSourceOminousItemSpawnerRenderer.randomMethods in net.minecraft.client.renderer.entity with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic voidItemEntityRenderer.renderMultipleFromCount(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, ItemClusterRenderState pRenderState, RandomSource pRandom) static voidItemEntityRenderer.renderMultipleFromCount(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, ItemClusterRenderState pRenderState, RandomSource pRandom, AABB pBoundingBox) -
Uses of RandomSource in net.minecraft.client.renderer.item
Methods in net.minecraft.client.renderer.item with parameters of type RandomSource -
Uses of RandomSource in net.minecraft.client.renderer.item.properties.numeric
Fields in net.minecraft.client.renderer.item.properties.numeric declared as RandomSourceModifier and TypeFieldDescriptionprivate final RandomSourceCompassAngleState.randomprivate final RandomSourceTime.randomSourceMethods in net.minecraft.client.renderer.item.properties.numeric with parameters of type RandomSourceModifier and TypeMethodDescription(package private) abstract floatTime.TimeSource.get(ClientLevel pLevel, ItemStack pStack, Entity pEntity, RandomSource pRandom) -
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 TypeMethodDescriptionvoidWeightedVariants.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource p_409649_, List<BlockModelPart> p_410123_) WeightedVariants.createGeometryKey(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) -
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 p_235143_) 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 p_235265_) 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 p_260255_) static Direction.AxisDirection.Axis.getRandom(RandomSource pRandom) static DirectionDirection.getRandom(RandomSource pRandom) MappedRegistry.getRandom(RandomSource p_235716_) 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 TypeMethodDescriptionWeightedList.getRandom(RandomSource pRandom) static <T> Optional<T> WeightedRandom.getRandomItem(RandomSource pRandom, List<T> pElements, int pTotalWeight, ToIntFunction<T> pWeightGetter) static <T> Optional<T> WeightedRandom.getRandomItem(RandomSource pRandom, List<T> pElements, ToIntFunction<T> pWeightGetter) WeightedList.getRandomOrThrow(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 p_216832_) intClampedInt.sample(RandomSource p_216834_) floatClampedNormalFloat.sample(RandomSource p_216836_) static floatClampedNormalFloat.sample(RandomSource pRandom, float pMean, float pDeviation, float pMin, float pMax) intClampedNormalInt.sample(RandomSource p_216844_) static intClampedNormalInt.sample(RandomSource pRandom, float pMean, float pDeviation, float pMinInclusive, float pMaxInclusive) floatConstantFloat.sample(RandomSource p_216852_) intConstantInt.sample(RandomSource p_216854_) abstract intIntProvider.sample(RandomSource pRandom) floatMultipliedFloats.sample(RandomSource p_216860_) floatSampledFloat.sample(RandomSource pRandom) floatTrapezoidFloat.sample(RandomSource p_216864_) floatUniformFloat.sample(RandomSource p_216866_) intUniformInt.sample(RandomSource p_216868_) intWeightedListInt.sample(RandomSource p_216870_) -
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(ServerLevel 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> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanMob.checkMobSpawnRules(EntityType<? extends Mob> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static <T extends Entity>
booleanSpawnPlacements.checkSpawnRules(EntityType<T> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, 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 pLevel, EntitySpawnReason pSpawnReason, 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> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandomSource) -
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> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanFox.checkFoxSpawnRules(EntityType<Fox> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanMushroomCow.checkMushroomSpawnRules(EntityType<MushroomCow> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanOcelot.checkOcelotSpawnRules(EntityType<Ocelot> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanParrot.checkParrotSpawnRules(EntityType<Parrot> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanPolarBear.checkPolarBearSpawnRules(EntityType<PolarBear> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanRabbit.checkRabbitSpawnRules(EntityType<Rabbit> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanAgeableWaterCreature.checkSurfaceAgeableWaterCreatureSpawnRules(EntityType<? extends AgeableWaterCreature> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanWaterAnimal.checkSurfaceWaterAnimalSpawnRules(EntityType<? extends WaterAnimal> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanTropicalFish.checkTropicalFishSpawnRules(EntityType<TropicalFish> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanTurtle.checkTurtleSpawnRules(EntityType<Turtle> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static SoundEventParrot.getAmbient(Level pLevel, RandomSource pRandom) static floatParrot.getPitch(RandomSource pRandom) static Panda.GenePanda.Gene.getRandom(RandomSource pRandom) protected voidFox.populateDefaultEquipmentSlots(RandomSource p_218171_, DifficultyInstance p_218172_) static Optional<Holder.Reference<CatVariant>> CatVariants.selectVariantToSpawn(RandomSource pRandom, RegistryAccess pRegistryAccess, SpawnContext pContext) static Optional<Holder.Reference<ChickenVariant>> ChickenVariants.selectVariantToSpawn(RandomSource pRandom, RegistryAccess pRegistryAccess, SpawnContext pSpawnContext) static Optional<Holder.Reference<CowVariant>> CowVariants.selectVariantToSpawn(RandomSource pRandom, RegistryAccess pRegistryAccess, SpawnContext pContext) static Optional<Holder.Reference<PigVariant>> PigVariants.selectVariantToSpawn(RandomSource pRandom, RegistryAccess pRegistryAccess, SpawnContext pContext) -
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, EntitySpawnReason pSpawnReason, 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> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, 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 TypeMethodDescriptionstatic booleanCamel.checkCamelSpawnRules(EntityType<Camel> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) protected 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> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) protected static voidFrogAi.initMemories(Frog pFrog, RandomSource pRandom) static Optional<Holder.Reference<FrogVariant>> FrogVariants.selectVariantToSpawn(RandomSource pSource, RegistryAccess pRegistryAccess, SpawnContext pContext) -
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> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, 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> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanZombieHorse.checkZombieHorseSpawnRules(EntityType<? extends Animal> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) (package private) static doubleAbstractHorse.createOffspringAttribute(double pValue1, double pValue2, double pMin, double pMax, RandomSource pRandom) protected voidAbstractChestedHorse.randomizeAttributes(RandomSource p_218803_) protected voidAbstractHorse.randomizeAttributes(RandomSource pRandom) protected voidHorse.randomizeAttributes(RandomSource p_218815_) protected voidSkeletonHorse.randomizeAttributes(RandomSource p_218821_) protected voidZombieHorse.randomizeAttributes(RandomSource p_218823_) private voidLlama.setRandomStrength(RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.entity.animal.sheep
Methods in net.minecraft.world.entity.animal.sheep with parameters of type RandomSourceModifier and TypeMethodDescriptionSheepColorSpawnRules.SheepColorProvider.get(RandomSource pRandom) static DyeColorSheepColorSpawnRules.getSheepColor(Holder<Biome> pBiome, RandomSource pRandom) -
Uses of RandomSource in net.minecraft.world.entity.animal.wolf
Methods in net.minecraft.world.entity.animal.wolf with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic booleanWolf.checkWolfSpawnRules(EntityType<Wolf> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static Holder<WolfSoundVariant> WolfSoundVariants.pickRandomSoundVariant(RegistryAccess pRegistryAccess, RandomSource pRandom) static Optional<? extends Holder<WolfVariant>> WolfVariants.selectVariantToSpawn(RandomSource pRandom, RegistryAccess pRegistryAccess, SpawnContext pContext) -
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> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanDrowned.checkDrownedSpawnRules(EntityType<Drowned> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanEndermite.checkEndermiteSpawnRules(EntityType<Endermite> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanGhast.checkGhastSpawnRules(EntityType<Ghast> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanGuardian.checkGuardianSpawnRules(EntityType<? extends Guardian> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanHusk.checkHuskSpawnRules(EntityType<Husk> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanMagmaCube.checkMagmaCubeSpawnRules(EntityType<MagmaCube> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanMonster.checkMonsterSpawnRules(EntityType<? extends Monster> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanPatrollingMonster.checkPatrollingMonsterSpawnRules(EntityType<? extends PatrollingMonster> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandomSource) static booleanSilverfish.checkSilverfishSpawnRules(EntityType<Silverfish> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanSlime.checkSlimeSpawnRules(EntityType<Slime> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanStray.checkStraySpawnRules(EntityType<Stray> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanStrider.checkStriderSpawnRules(EntityType<Strider> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanZombifiedPiglin.checkZombifiedPiglinSpawnRules(EntityType<ZombifiedPiglin> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) protected voidPillager.enchantSpawnedWeapon(ServerLevelAccessor p_348604_, RandomSource p_219056_, DifficultyInstance p_348571_) 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 p_348580_, RandomSource p_219157_, DifficultyInstance p_219158_) protected voidAbstractSkeleton.populateDefaultEquipmentSlots(RandomSource p_218949_, DifficultyInstance p_218950_) protected voidDrowned.populateDefaultEquipmentSlots(RandomSource p_218953_, DifficultyInstance p_218954_) protected voidPillager.populateDefaultEquipmentSlots(RandomSource p_219059_, DifficultyInstance p_219060_) protected voidVex.populateDefaultEquipmentSlots(RandomSource p_219135_, DifficultyInstance p_219136_) protected voidVindicator.populateDefaultEquipmentSlots(RandomSource p_219149_, DifficultyInstance p_219150_) protected voidWitherSkeleton.populateDefaultEquipmentSlots(RandomSource p_219154_, DifficultyInstance p_219155_) protected voidZombie.populateDefaultEquipmentSlots(RandomSource p_219165_, DifficultyInstance p_219166_) protected voidZombifiedPiglin.populateDefaultEquipmentSlots(RandomSource p_219171_, DifficultyInstance p_219172_) 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> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, 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> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, 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 p_219189_, DifficultyInstance p_219190_) protected voidPiglinBrute.populateDefaultEquipmentSlots(RandomSource p_219209_, DifficultyInstance p_219210_) -
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 p_219679_, RandomSource p_219680_) VillagerTrades.EmeraldForItems.getOffer(Entity p_219682_, RandomSource p_219683_) VillagerTrades.EmeraldsForVillagerTypeItem.getOffer(Entity p_219685_, RandomSource p_219686_) VillagerTrades.EnchantBookForEmeralds.getOffer(Entity p_219688_, RandomSource p_219689_) VillagerTrades.EnchantedItemForEmeralds.getOffer(Entity p_219691_, RandomSource p_219692_) VillagerTrades.FailureItemListing.getOffer(Entity p_302036_, RandomSource p_301986_) VillagerTrades.ItemListing.getOffer(Entity pTrader, RandomSource pRandom) VillagerTrades.ItemsAndEmeraldsToItems.getOffer(Entity p_219696_, RandomSource p_219697_) VillagerTrades.ItemsForEmeralds.getOffer(Entity p_219699_, RandomSource p_219700_) VillagerTrades.SuspiciousStewForEmerald.getOffer(Entity p_219702_, RandomSource p_219703_) VillagerTrades.TippedArrowForItemsAndEmeralds.getOffer(Entity p_219705_, RandomSource p_219706_) VillagerTrades.TreasureMapForEmeralds.getOffer(Entity p_219708_, RandomSource p_219709_) VillagerTrades.TypeSpecificTrade.getOffer(Entity p_296480_, RandomSource p_295729_) 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.entity.variant
Methods in net.minecraft.world.entity.variant with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic <C,T> Optional <T> PriorityProvider.pick(Stream<T> pElements, Function<T, PriorityProvider<C, ?>> pEntryGetter, RandomSource pRandom, C pContext) -
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) -
Uses of RandomSource in net.minecraft.world.item.component
Methods in net.minecraft.world.item.component with parameters of type RandomSourceModifier and TypeMethodDescriptionvoidConsumable.emitParticlesAndSounds(RandomSource pRandom, LivingEntity pEntity, ItemStack pStack, int pAmount) -
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 p_345014_, RandomSource p_345344_, float p_344931_) floatAllOf.ValueEffects.process(int p_345324_, RandomSource p_345137_, float p_344866_) floatEnchantmentValueEffect.process(int pEnchantmentLevel, RandomSource pRandom, float pValue) floatMultiplyValue.process(int p_345451_, RandomSource p_346156_, float p_345036_) floatRemoveBinomial.process(int p_345642_, RandomSource p_345903_, float p_345714_) floatSetValue.process(int p_344906_, RandomSource p_345151_, float p_345190_) -
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 p_345483_, ItemEnchantments.Mutable p_346331_, RandomSource p_344794_, DifficultyInstance p_348577_) voidEnchantmentsByCostWithDifficulty.enchant(ItemStack p_344777_, ItemEnchantments.Mutable p_344895_, RandomSource p_346012_, DifficultyInstance p_348635_) voidSingleEnchantment.enchant(ItemStack p_346218_, ItemEnchantments.Mutable p_345570_, RandomSource p_345742_, DifficultyInstance p_348562_) -
Uses of RandomSource in net.minecraft.world.level
Fields in net.minecraft.world.level declared as RandomSourceModifier and TypeFieldDescriptionfinal 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 p_220640_, int p_220641_, int p_220642_, int p_220643_, int p_220644_, Predicate<Holder<Biome>> p_220645_, RandomSource p_220646_, boolean p_220647_, Climate.Sampler p_220648_) -
Uses of RandomSource in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate static voidAbstractCandleBlock.addParticlesAndSound(Level pLevel, Vec3 pOffset, RandomSource pRandom) voidSaplingBlock.advanceTree(ServerLevel pLevel, BlockPos pPos, BlockState pState, RandomSource pRandom) voidAbstractCandleBlock.animateTick(BlockState p_220697_, Level p_220698_, BlockPos p_220699_, RandomSource p_220700_) voidBaseFireBlock.animateTick(BlockState p_220763_, Level p_220764_, BlockPos p_220765_, RandomSource p_220766_) voidBeehiveBlock.animateTick(BlockState p_220773_, Level p_220774_, BlockPos p_220775_, RandomSource p_220776_) voidBlastFurnaceBlock.animateTick(BlockState p_220818_, Level p_220819_, BlockPos p_220820_, RandomSource p_220821_) 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 p_220883_, Level p_220884_, BlockPos p_220885_, RandomSource p_220886_) voidBrushableBlock.animateTick(BlockState p_277390_, Level p_277525_, BlockPos p_278107_, RandomSource p_277574_) voidBubbleColumnBlock.animateTick(BlockState p_220893_, Level p_220894_, BlockPos p_220895_, RandomSource p_220896_) voidCampfireBlock.animateTick(BlockState p_220918_, Level p_220919_, BlockPos p_220920_, RandomSource p_220921_) voidCreakingHeartBlock.animateTick(BlockState p_379556_, Level p_379594_, BlockPos p_379297_, RandomSource p_379301_) voidCryingObsidianBlock.animateTick(BlockState p_221055_, Level p_221056_, BlockPos p_221057_, RandomSource p_221058_) voidDryVegetationBlock.animateTick(BlockState p_401875_, Level p_401809_, BlockPos p_401789_, RandomSource p_401918_) voidEnchantingTableBlock.animateTick(BlockState p_341263_, Level p_341303_, BlockPos p_340983_, RandomSource p_341147_) voidEnderChestBlock.animateTick(BlockState p_221117_, Level p_221118_, BlockPos p_221119_, RandomSource p_221120_) voidEndGatewayBlock.animateTick(BlockState p_221097_, Level p_221098_, BlockPos p_221099_, RandomSource p_221100_) voidEndPortalBlock.animateTick(BlockState p_221102_, Level p_221103_, BlockPos p_221104_, RandomSource p_221105_) voidEndRodBlock.animateTick(BlockState p_221107_, Level p_221108_, BlockPos p_221109_, RandomSource p_221110_) voidEyeblossomBlock.animateTick(BlockState p_382850_, Level p_382933_, BlockPos p_382838_, RandomSource p_383190_) voidFallingBlock.animateTick(BlockState p_221129_, Level p_221130_, BlockPos p_221131_, RandomSource p_221132_) voidFireflyBushBlock.animateTick(BlockState p_401358_, Level p_401092_, BlockPos p_401110_, RandomSource p_401309_) voidFurnaceBlock.animateTick(BlockState p_221253_, Level p_221254_, BlockPos p_221255_, RandomSource p_221256_) voidHangingMossBlock.animateTick(BlockState p_379410_, Level p_379865_, BlockPos p_379365_, RandomSource p_380130_) voidLeavesBlock.animateTick(BlockState p_221374_, Level p_221375_, BlockPos p_221376_, RandomSource p_221377_) voidLeverBlock.animateTick(BlockState p_221395_, Level p_221396_, BlockPos p_221397_, RandomSource p_221398_) voidLightningRodBlock.animateTick(BlockState p_221405_, Level p_221406_, BlockPos p_221407_, RandomSource p_221408_) voidMyceliumBlock.animateTick(BlockState p_221789_, Level p_221790_, BlockPos p_221791_, RandomSource p_221792_) voidNetherPortalBlock.animateTick(BlockState p_221794_, Level p_221795_, BlockPos p_221796_, RandomSource p_221797_) voidPointedDripstoneBlock.animateTick(BlockState p_221870_, Level p_221871_, BlockPos p_221872_, RandomSource p_221873_) voidRedStoneOreBlock.animateTick(BlockState p_221913_, Level p_221914_, BlockPos p_221915_, RandomSource p_221916_) voidRedstoneTorchBlock.animateTick(BlockState p_221954_, Level p_221955_, BlockPos p_221956_, RandomSource p_221957_) voidRedstoneWallTorchBlock.animateTick(BlockState p_221959_, Level p_221960_, BlockPos p_221961_, RandomSource p_221962_) voidRedStoneWireBlock.animateTick(BlockState p_221932_, Level p_221933_, BlockPos p_221934_, RandomSource p_221935_) voidRepeaterBlock.animateTick(BlockState p_221964_, Level p_221965_, BlockPos p_221966_, RandomSource p_221967_) voidRespawnAnchorBlock.animateTick(BlockState p_221969_, Level p_221970_, BlockPos p_221971_, RandomSource p_221972_) voidSandBlock.animateTick(BlockState p_401157_, Level p_401385_, BlockPos p_401240_, RandomSource p_401370_) voidSculkSensorBlock.animateTick(BlockState p_222148_, Level p_222149_, BlockPos p_222150_, RandomSource p_222151_) voidSmokerBlock.animateTick(BlockState p_222443_, Level p_222444_, BlockPos p_222445_, RandomSource p_222446_) voidSporeBlossomBlock.animateTick(BlockState p_222503_, Level p_222504_, BlockPos p_222505_, RandomSource p_222506_) voidTerracottaBlock.animateTick(BlockState p_401378_, Level p_401424_, BlockPos p_401051_, RandomSource p_401214_) voidTorchBlock.animateTick(BlockState p_222593_, Level p_222594_, BlockPos p_222595_, RandomSource p_222596_) voidWallTorchBlock.animateTick(BlockState p_222660_, Level p_222661_, BlockPos p_222662_, RandomSource p_222663_) voidWetSpongeBlock.animateTick(BlockState p_222682_, Level p_222683_, BlockPos p_222684_, RandomSource p_222685_) voidWitherRoseBlock.animateTick(BlockState p_222687_, Level p_222688_, BlockPos p_222689_, RandomSource p_222690_) 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 p_222073_, LevelAccessor p_222074_, BlockPos p_222075_, RandomSource p_222076_, SculkSpreader p_222077_, boolean p_222078_) intSculkVeinBlock.attemptUseCharge(SculkSpreader.ChargeCursor p_222369_, LevelAccessor p_222370_, BlockPos p_222371_, RandomSource p_222372_, SculkSpreader p_222373_, boolean p_222374_) 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 p_221366_) 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.GrowingPlantBlock.getStateForPlacement(RandomSource pRandom) GrowingPlantHeadBlock.getStateForPlacement(RandomSource p_374460_) 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 p_220748_, RandomSource p_220749_, BlockPos p_220750_, BlockState p_220751_) booleanBambooStalkBlock.isBonemealSuccess(Level p_261870_, RandomSource p_261802_, BlockPos p_262123_, BlockState p_261972_) booleanBigDripleafBlock.isBonemealSuccess(Level p_220788_, RandomSource p_220789_, BlockPos p_220790_, BlockState p_220791_) booleanBigDripleafStemBlock.isBonemealSuccess(Level p_220808_, RandomSource p_220809_, BlockPos p_220810_, BlockState p_220811_) booleanBonemealableBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanBonemealableFeaturePlacerBlock.isBonemealSuccess(Level p_379855_, RandomSource p_380339_, BlockPos p_379438_, BlockState p_379693_) booleanBushBlock.isBonemealSuccess(Level p_401200_, RandomSource p_401387_, BlockPos p_401374_, BlockState p_401380_) 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 p_220995_, RandomSource p_220996_, BlockPos p_220997_, BlockState p_220998_) booleanCropBlock.isBonemealSuccess(Level p_221045_, RandomSource p_221046_, BlockPos p_221047_, BlockState p_221048_) booleanFireflyBushBlock.isBonemealSuccess(Level p_401120_, RandomSource p_401417_, BlockPos p_401298_, BlockState p_401423_) booleanFlowerBedBlock.isBonemealSuccess(Level p_393489_, RandomSource p_394493_, BlockPos p_394603_, BlockState p_393700_) booleanFungusBlock.isBonemealSuccess(Level p_221248_, RandomSource p_221249_, BlockPos p_221250_, BlockState p_221251_) booleanGlowLichenBlock.isBonemealSuccess(Level p_221264_, RandomSource p_221265_, BlockPos p_221266_, BlockState p_221267_) booleanGrassBlock.isBonemealSuccess(Level p_221275_, RandomSource p_221276_, BlockPos p_221277_, BlockState p_221278_) booleanGrowingPlantBodyBlock.isBonemealSuccess(Level p_221290_, RandomSource p_221291_, BlockPos p_221292_, BlockState p_221293_) booleanGrowingPlantHeadBlock.isBonemealSuccess(Level p_221343_, RandomSource p_221344_, BlockPos p_221345_, BlockState p_221346_) booleanHangingMossBlock.isBonemealSuccess(Level p_380206_, RandomSource p_380151_, BlockPos p_379719_, BlockState p_379567_) booleanMangroveLeavesBlock.isBonemealSuccess(Level p_221437_, RandomSource p_221438_, BlockPos p_221439_, BlockState p_221440_) booleanMangrovePropaguleBlock.isBonemealSuccess(Level p_221463_, RandomSource p_221464_, BlockPos p_221465_, BlockState p_221466_) booleanMossyCarpetBlock.isBonemealSuccess(Level p_380168_, RandomSource p_380045_, BlockPos p_380299_, BlockState p_379595_) booleanMushroomBlock.isBonemealSuccess(Level p_221779_, RandomSource p_221780_, BlockPos p_221781_, BlockState p_221782_) booleanNetherrackBlock.isBonemealSuccess(Level p_221816_, RandomSource p_221817_, BlockPos p_221818_, BlockState p_221819_) booleanNyliumBlock.isBonemealSuccess(Level p_221830_, RandomSource p_221831_, BlockPos p_221832_, BlockState p_221833_) booleanPitcherCropBlock.isBonemealSuccess(Level p_277920_, RandomSource p_277594_, BlockPos p_277401_, BlockState p_277434_) booleanRootedDirtBlock.isBonemealSuccess(Level p_221979_, RandomSource p_221980_, BlockPos p_221981_, BlockState p_221982_) booleanSaplingBlock.isBonemealSuccess(Level p_222006_, RandomSource p_222007_, BlockPos p_222008_, BlockState p_222009_) booleanSeagrassBlock.isBonemealSuccess(Level p_222428_, RandomSource p_222429_, BlockPos p_222430_, BlockState p_222431_) booleanSeaPickleBlock.isBonemealSuccess(Level p_222418_, RandomSource p_222419_, BlockPos p_222420_, BlockState p_222421_) booleanShortDryGrassBlock.isBonemealSuccess(Level p_401806_, RandomSource p_401772_, BlockPos p_401791_, BlockState p_401942_) booleanSmallDripleafBlock.isBonemealSuccess(Level p_222438_, RandomSource p_222439_, BlockPos p_222440_, BlockState p_222441_) booleanStemBlock.isBonemealSuccess(Level p_222533_, RandomSource p_222534_, BlockPos p_222535_, BlockState p_222536_) booleanSweetBerryBushBlock.isBonemealSuccess(Level p_222558_, RandomSource p_222559_, BlockPos p_222560_, BlockState p_222561_) booleanTallDryGrassBlock.isBonemealSuccess(Level p_401931_, RandomSource p_401815_, BlockPos p_401808_, BlockState p_401935_) booleanTallFlowerBlock.isBonemealSuccess(Level p_222573_, RandomSource p_222574_, BlockPos p_222575_, BlockState p_222576_) booleanTallGrassBlock.isBonemealSuccess(Level p_222583_, RandomSource p_222584_, BlockPos p_222585_, BlockState p_222586_) private static voidLeavesBlock.makeDrippingWaterParticles(Level pLevel, BlockPos pPos, RandomSource pRandom, BlockState pBlockBelow, BlockPos pBelowPos) private voidLeavesBlock.makeFallingLeavesParticles(Level pLevel, BlockPos pPos, RandomSource pRandom, BlockState pBlockBelow, BlockPos pBelowPos) default voidSculkBehaviour.onDischarged(LevelAccessor pLevel, BlockState pState, BlockPos pPos, RandomSource pRandom) voidSculkVeinBlock.onDischarged(LevelAccessor p_222359_, BlockState p_222360_, BlockPos p_222361_, RandomSource p_222362_) voidAzaleaBlock.performBonemeal(ServerLevel p_220707_, RandomSource p_220708_, BlockPos p_220709_, BlockState p_220710_) voidBambooSaplingBlock.performBonemeal(ServerLevel p_220743_, RandomSource p_220744_, BlockPos p_220745_, BlockState p_220746_) voidBambooStalkBlock.performBonemeal(ServerLevel p_261845_, RandomSource p_262034_, BlockPos p_261955_, BlockState p_261685_) voidBigDripleafBlock.performBonemeal(ServerLevel p_220783_, RandomSource p_220784_, BlockPos p_220785_, BlockState p_220786_) voidBigDripleafStemBlock.performBonemeal(ServerLevel p_220803_, RandomSource p_220804_, BlockPos p_220805_, BlockState p_220806_) voidBonemealableBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidBonemealableFeaturePlacerBlock.performBonemeal(ServerLevel p_380244_, RandomSource p_379395_, BlockPos p_380245_, BlockState p_379519_) voidBushBlock.performBonemeal(ServerLevel p_401091_, RandomSource p_401012_, BlockPos p_401218_, BlockState p_401130_) 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 p_220990_, RandomSource p_220991_, BlockPos p_220992_, BlockState p_220993_) voidCropBlock.performBonemeal(ServerLevel p_221040_, RandomSource p_221041_, BlockPos p_221042_, BlockState p_221043_) voidFireflyBushBlock.performBonemeal(ServerLevel p_401415_, RandomSource p_401124_, BlockPos p_401112_, BlockState p_401260_) voidFlowerBedBlock.performBonemeal(ServerLevel p_394140_, RandomSource p_394672_, BlockPos p_393771_, BlockState p_394008_) voidFungusBlock.performBonemeal(ServerLevel p_221243_, RandomSource p_221244_, BlockPos p_221245_, BlockState p_221246_) voidGlowLichenBlock.performBonemeal(ServerLevel p_221259_, RandomSource p_221260_, BlockPos p_221261_, BlockState p_221262_) voidGrassBlock.performBonemeal(ServerLevel p_221270_, RandomSource p_221271_, BlockPos p_221272_, BlockState p_221273_) voidGrowingPlantBodyBlock.performBonemeal(ServerLevel p_221285_, RandomSource p_221286_, BlockPos p_221287_, BlockState p_221288_) voidGrowingPlantHeadBlock.performBonemeal(ServerLevel p_221337_, RandomSource p_221338_, BlockPos p_221339_, BlockState p_221340_) voidHangingMossBlock.performBonemeal(ServerLevel p_379337_, RandomSource p_379974_, BlockPos p_379496_, BlockState p_379559_) voidMangroveLeavesBlock.performBonemeal(ServerLevel p_221427_, RandomSource p_221428_, BlockPos p_221429_, BlockState p_221430_) voidMangrovePropaguleBlock.performBonemeal(ServerLevel p_221451_, RandomSource p_221452_, BlockPos p_221453_, BlockState p_221454_) voidMossyCarpetBlock.performBonemeal(ServerLevel p_379402_, RandomSource p_379670_, BlockPos p_379387_, BlockState p_379934_) voidMushroomBlock.performBonemeal(ServerLevel p_221769_, RandomSource p_221770_, BlockPos p_221771_, BlockState p_221772_) voidNetherrackBlock.performBonemeal(ServerLevel p_221811_, RandomSource p_221812_, BlockPos p_221813_, BlockState p_221814_) voidNyliumBlock.performBonemeal(ServerLevel p_221825_, RandomSource p_221826_, BlockPos p_221827_, BlockState p_221828_) voidPitcherCropBlock.performBonemeal(ServerLevel p_277717_, RandomSource p_277870_, BlockPos p_277836_, BlockState p_278034_) voidRootedDirtBlock.performBonemeal(ServerLevel p_221974_, RandomSource p_221975_, BlockPos p_221976_, BlockState p_221977_) voidSaplingBlock.performBonemeal(ServerLevel p_221996_, RandomSource p_221997_, BlockPos p_221998_, BlockState p_221999_) voidSeagrassBlock.performBonemeal(ServerLevel p_222423_, RandomSource p_222424_, BlockPos p_222425_, BlockState p_222426_) voidSeaPickleBlock.performBonemeal(ServerLevel p_222413_, RandomSource p_222414_, BlockPos p_222415_, BlockState p_222416_) voidShortDryGrassBlock.performBonemeal(ServerLevel p_401950_, RandomSource p_401831_, BlockPos p_401948_, BlockState p_401868_) voidSmallDripleafBlock.performBonemeal(ServerLevel p_222433_, RandomSource p_222434_, BlockPos p_222435_, BlockState p_222436_) voidStemBlock.performBonemeal(ServerLevel p_222528_, RandomSource p_222529_, BlockPos p_222530_, BlockState p_222531_) voidSweetBerryBushBlock.performBonemeal(ServerLevel p_222553_, RandomSource p_222554_, BlockPos p_222555_, BlockState p_222556_) voidTallDryGrassBlock.performBonemeal(ServerLevel p_401804_, RandomSource p_401769_, BlockPos p_401777_, BlockState p_401790_) voidTallFlowerBlock.performBonemeal(ServerLevel p_222568_, RandomSource p_222569_, BlockPos p_222570_, BlockState p_222571_) voidTallGrassBlock.performBonemeal(ServerLevel p_222578_, RandomSource p_222579_, BlockPos p_222580_, BlockState p_222581_) private voidNyliumBlock.place(Registry<ConfiguredFeature<?, ?>> pFeatureRegistry, ResourceKey<ConfiguredFeature<?, ?>> pFeatureKey, ServerLevel pLevel, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) static voidMossyCarpetBlock.placeAt(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, int pFlags) static voidBigDripleafBlock.placeWithRandomHeight(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, Direction pDirection) protected voidBambooSaplingBlock.randomTick(BlockState p_220753_, ServerLevel p_220754_, BlockPos p_220755_, RandomSource p_220756_) protected voidBambooStalkBlock.randomTick(BlockState p_261931_, ServerLevel p_261751_, BlockPos p_261616_, RandomSource p_261766_) protected voidBeetrootBlock.randomTick(BlockState p_220778_, ServerLevel p_220779_, BlockPos p_220780_, RandomSource p_220781_) protected voidBuddingAmethystBlock.randomTick(BlockState p_220898_, ServerLevel p_220899_, BlockPos p_220900_, RandomSource p_220901_) protected voidCactusBlock.randomTick(BlockState p_220913_, ServerLevel p_220914_, BlockPos p_220915_, RandomSource p_220916_) protected voidChorusFlowerBlock.randomTick(BlockState p_220980_, ServerLevel p_220981_, BlockPos p_220982_, RandomSource p_220983_) protected voidCocoaBlock.randomTick(BlockState p_221000_, ServerLevel p_221001_, BlockPos p_221002_, RandomSource p_221003_) protected voidCropBlock.randomTick(BlockState p_221050_, ServerLevel p_221051_, BlockPos p_221052_, RandomSource p_221053_) protected voidEyeblossomBlock.randomTick(BlockState p_382824_, ServerLevel p_382831_, BlockPos p_382957_, RandomSource p_382888_) protected voidFarmBlock.randomTick(BlockState p_221139_, ServerLevel p_221140_, BlockPos p_221141_, RandomSource p_221142_) protected voidFlowerPotBlock.randomTick(BlockState p_382880_, ServerLevel p_383169_, BlockPos p_382955_, RandomSource p_383144_) protected voidGrowingPlantHeadBlock.randomTick(BlockState p_221350_, ServerLevel p_221351_, BlockPos p_221352_, RandomSource p_221353_) protected voidIceBlock.randomTick(BlockState p_221355_, ServerLevel p_221356_, BlockPos p_221357_, RandomSource p_221358_) protected voidLeavesBlock.randomTick(BlockState p_221379_, ServerLevel p_221380_, BlockPos p_221381_, RandomSource p_221382_) protected voidLiquidBlock.randomTick(BlockState p_221410_, ServerLevel p_221411_, BlockPos p_221412_, RandomSource p_221413_) protected voidMangrovePropaguleBlock.randomTick(BlockState p_221488_, ServerLevel p_221489_, BlockPos p_221490_, RandomSource p_221491_) protected voidMushroomBlock.randomTick(BlockState p_221784_, ServerLevel p_221785_, BlockPos p_221786_, RandomSource p_221787_) protected voidNetherPortalBlock.randomTick(BlockState p_221799_, ServerLevel p_221800_, BlockPos p_221801_, RandomSource p_221802_) protected voidNetherWartBlock.randomTick(BlockState p_221806_, ServerLevel p_221807_, BlockPos p_221808_, RandomSource p_221809_) protected voidNyliumBlock.randomTick(BlockState p_221835_, ServerLevel p_221836_, BlockPos p_221837_, RandomSource p_221838_) voidPitcherCropBlock.randomTick(BlockState p_277950_, ServerLevel p_277589_, BlockPos p_277937_, RandomSource p_277887_) protected voidPointedDripstoneBlock.randomTick(BlockState p_221883_, ServerLevel p_221884_, BlockPos p_221885_, RandomSource p_221886_) protected voidRedStoneOreBlock.randomTick(BlockState p_221918_, ServerLevel p_221919_, BlockPos p_221920_, RandomSource p_221921_) protected voidSaplingBlock.randomTick(BlockState p_222011_, ServerLevel p_222012_, BlockPos p_222013_, RandomSource p_222014_) protected voidSnowLayerBlock.randomTick(BlockState p_222448_, ServerLevel p_222449_, BlockPos p_222450_, RandomSource p_222451_) protected voidSpreadingSnowyDirtBlock.randomTick(BlockState p_222508_, ServerLevel p_222509_, BlockPos p_222510_, RandomSource p_222511_) protected voidStemBlock.randomTick(BlockState p_222538_, ServerLevel p_222539_, BlockPos p_222540_, RandomSource p_222541_) protected voidSugarCaneBlock.randomTick(BlockState p_222548_, ServerLevel p_222549_, BlockPos p_222550_, RandomSource p_222551_) protected voidSweetBerryBushBlock.randomTick(BlockState p_222563_, ServerLevel p_222564_, BlockPos p_222565_, RandomSource p_222566_) voidTorchflowerCropBlock.randomTick(BlockState p_273361_, ServerLevel p_273515_, BlockPos p_273546_, RandomSource p_273261_) protected voidTurtleEggBlock.randomTick(BlockState p_222644_, ServerLevel p_222645_, BlockPos p_222646_, RandomSource p_222647_) protected voidVineBlock.randomTick(BlockState p_222655_, ServerLevel p_222656_, BlockPos p_222657_, RandomSource p_222658_) protected voidWeatheringCopperBulbBlock.randomTick(BlockState p_309163_, ServerLevel p_309177_, BlockPos p_309033_, RandomSource p_308946_) protected voidWeatheringCopperDoorBlock.randomTick(BlockState p_308942_, ServerLevel p_309109_, BlockPos p_309034_, RandomSource p_309156_) protected voidWeatheringCopperFullBlock.randomTick(BlockState p_222665_, ServerLevel p_222666_, BlockPos p_222667_, RandomSource p_222668_) protected voidWeatheringCopperGrateBlock.randomTick(BlockState p_309111_, ServerLevel p_309121_, BlockPos p_309090_, RandomSource p_308865_) protected voidWeatheringCopperSlabBlock.randomTick(BlockState p_222670_, ServerLevel p_222671_, BlockPos p_222672_, RandomSource p_222673_) protected voidWeatheringCopperStairBlock.randomTick(BlockState p_222675_, ServerLevel p_222676_, BlockPos p_222677_, RandomSource p_222678_) protected voidWeatheringCopperTrapDoorBlock.randomTick(BlockState p_309138_, ServerLevel p_309005_, BlockPos p_309123_, RandomSource p_309094_) protected abstract voidLeavesBlock.spawnFallingLeavesParticle(Level pLevel, BlockPos pPos, RandomSource pRandom) protected voidTintedParticleLeavesBlock.spawnFallingLeavesParticle(Level p_399553_, BlockPos p_400280_, RandomSource p_400310_) protected voidUntintedParticleLeavesBlock.spawnFallingLeavesParticle(Level p_399654_, BlockPos p_399778_, RandomSource p_400146_) private static voidRedStoneWireBlock.spawnParticlesAlongLine(Level pLevel, RandomSource pRandom, BlockPos pPos, int pColor, Direction pDirection, Direction pPerpendicularDirection, float pStart, float pEnd) private voidFrogspawnBlock.spawnTadpoles(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) voidEyeblossomBlock.Type.spawnTransformParticle(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 p_220702_, ServerLevel p_220703_, BlockPos p_220704_, RandomSource p_220705_) protected voidBambooStalkBlock.tick(BlockState p_261612_, ServerLevel p_261527_, BlockPos p_261846_, RandomSource p_261638_) protected voidBarrelBlock.tick(BlockState p_220758_, ServerLevel p_220759_, BlockPos p_220760_, RandomSource p_220761_) protected voidBasePressurePlateBlock.tick(BlockState p_220768_, ServerLevel p_220769_, BlockPos p_220770_, RandomSource p_220771_) protected voidBigDripleafBlock.tick(BlockState p_220798_, ServerLevel p_220799_, BlockPos p_220800_, RandomSource p_220801_) protected voidBigDripleafStemBlock.tick(BlockState p_220813_, ServerLevel p_220814_, BlockPos p_220815_, RandomSource p_220816_) voidBrushableBlock.tick(BlockState p_277544_, ServerLevel p_277779_, BlockPos p_278019_, RandomSource p_277471_) protected voidBubbleColumnBlock.tick(BlockState p_220888_, ServerLevel p_220889_, BlockPos p_220890_, RandomSource p_220891_) protected voidButtonBlock.tick(BlockState p_220903_, ServerLevel p_220904_, BlockPos p_220905_, RandomSource p_220906_) protected voidCactusBlock.tick(BlockState p_220908_, ServerLevel p_220909_, BlockPos p_220910_, RandomSource p_220911_) protected voidChestBlock.tick(BlockState p_220958_, ServerLevel p_220959_, BlockPos p_220960_, RandomSource p_220961_) protected voidChorusFlowerBlock.tick(BlockState p_220975_, ServerLevel p_220976_, BlockPos p_220977_, RandomSource p_220978_) protected voidChorusPlantBlock.tick(BlockState p_220985_, ServerLevel p_220986_, BlockPos p_220987_, RandomSource p_220988_) protected voidCommandBlock.tick(BlockState p_221005_, ServerLevel p_221006_, BlockPos p_221007_, RandomSource p_221008_) protected voidComparatorBlock.tick(BlockState p_221010_, ServerLevel p_221011_, BlockPos p_221012_, RandomSource p_221013_) protected voidComposterBlock.tick(BlockState p_221015_, ServerLevel p_221016_, BlockPos p_221017_, RandomSource p_221018_) protected voidCoralBlock.tick(BlockState p_221020_, ServerLevel p_221021_, BlockPos p_221022_, RandomSource p_221023_) protected voidCoralFanBlock.tick(BlockState p_221025_, ServerLevel p_221026_, BlockPos p_221027_, RandomSource p_221028_) protected voidCoralPlantBlock.tick(BlockState p_221030_, ServerLevel p_221031_, BlockPos p_221032_, RandomSource p_221033_) protected voidCoralWallFanBlock.tick(BlockState p_221035_, ServerLevel p_221036_, BlockPos p_221037_, RandomSource p_221038_) protected voidCrafterBlock.tick(BlockState p_307471_, ServerLevel p_307641_, BlockPos p_307339_, RandomSource p_307565_) protected voidCreakingHeartBlock.tick(BlockState p_394029_, ServerLevel p_394479_, BlockPos p_394306_, RandomSource p_393870_) protected voidDetectorRailBlock.tick(BlockState p_221060_, ServerLevel p_221061_, BlockPos p_221062_, RandomSource p_221063_) protected voidDiodeBlock.tick(BlockState p_221065_, ServerLevel p_221066_, BlockPos p_221067_, RandomSource p_221068_) protected voidDirtPathBlock.tick(BlockState p_221070_, ServerLevel p_221071_, BlockPos p_221072_, RandomSource p_221073_) protected voidDispenserBlock.tick(BlockState p_221075_, ServerLevel p_221076_, BlockPos p_221077_, RandomSource p_221078_) protected voidEnderChestBlock.tick(BlockState p_221112_, ServerLevel p_221113_, BlockPos p_221114_, RandomSource p_221115_) protected voidEyeblossomBlock.tick(BlockState p_382808_, ServerLevel p_383005_, BlockPos p_383211_, RandomSource p_383088_) protected voidFallingBlock.tick(BlockState p_221124_, ServerLevel p_221125_, BlockPos p_221126_, RandomSource p_221127_) protected voidFarmBlock.tick(BlockState p_221134_, ServerLevel p_221135_, BlockPos p_221136_, RandomSource p_221137_) protected voidFireBlock.tick(BlockState p_221160_, ServerLevel p_221161_, BlockPos p_221162_, RandomSource p_221163_) protected voidFrogspawnBlock.tick(BlockState p_221194_, ServerLevel p_221195_, BlockPos p_221196_, RandomSource p_221197_) protected voidFrostedIceBlock.tick(BlockState p_221233_, ServerLevel p_221234_, BlockPos p_221235_, RandomSource p_221236_) protected voidGrowingPlantBlock.tick(BlockState p_221280_, ServerLevel p_221281_, BlockPos p_221282_, RandomSource p_221283_) protected voidHangingMossBlock.tick(BlockState p_381085_, ServerLevel p_381014_, BlockPos p_381010_, RandomSource p_380962_) protected voidLeavesBlock.tick(BlockState p_221369_, ServerLevel p_221370_, BlockPos p_221371_, RandomSource p_221372_) protected voidLecternBlock.tick(BlockState p_221388_, ServerLevel p_221389_, BlockPos p_221390_, RandomSource p_221391_) protected voidLightningRodBlock.tick(BlockState p_221400_, ServerLevel p_221401_, BlockPos p_221402_, RandomSource p_221403_) protected voidMagmaBlock.tick(BlockState p_221415_, ServerLevel p_221416_, BlockPos p_221417_, RandomSource p_221418_) protected voidObserverBlock.tick(BlockState p_221840_, ServerLevel p_221841_, BlockPos p_221842_, RandomSource p_221843_) protected voidPointedDripstoneBlock.tick(BlockState p_221865_, ServerLevel p_221866_, BlockPos p_221867_, RandomSource p_221868_) protected voidRedstoneLampBlock.tick(BlockState p_221937_, ServerLevel p_221938_, BlockPos p_221939_, RandomSource p_221940_) protected voidRedstoneTorchBlock.tick(BlockState p_221949_, ServerLevel p_221950_, BlockPos p_221951_, RandomSource p_221952_) protected voidScaffoldingBlock.tick(BlockState p_222019_, ServerLevel p_222020_, BlockPos p_222021_, RandomSource p_222022_) protected voidSculkCatalystBlock.tick(BlockState p_222104_, ServerLevel p_222105_, BlockPos p_222106_, RandomSource p_222107_) protected voidSculkSensorBlock.tick(BlockState p_222137_, ServerLevel p_222138_, BlockPos p_222139_, RandomSource p_222140_) protected voidSculkShriekerBlock.tick(BlockState p_222187_, ServerLevel p_222188_, BlockPos p_222189_, RandomSource p_222190_) voidSnifferEggBlock.tick(BlockState p_277841_, ServerLevel p_277739_, BlockPos p_277692_, RandomSource p_277973_) protected voidSoulSandBlock.tick(BlockState p_222457_, ServerLevel p_222458_, BlockPos p_222459_, RandomSource p_222460_) protected voidSugarCaneBlock.tick(BlockState p_222543_, ServerLevel p_222544_, BlockPos p_222545_, RandomSource p_222546_) protected voidTargetBlock.tick(BlockState p_222588_, ServerLevel p_222589_, BlockPos p_222590_, RandomSource p_222591_) protected voidTestBlock.tick(BlockState p_397712_, ServerLevel p_397112_, BlockPos p_397466_, RandomSource p_397531_) protected voidTripWireBlock.tick(BlockState p_222598_, ServerLevel p_222599_, BlockPos p_222600_, RandomSource p_222601_) protected voidTripWireHookBlock.tick(BlockState p_222610_, ServerLevel p_222611_, BlockPos p_222612_, RandomSource p_222613_) private booleanEyeblossomBlock.tryChangingState(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidBaseCoralPlantTypeBlock.tryScheduleDieTick(BlockState pState, BlockGetter pLevel, ScheduledTickAccess pScheduledTickAccess, RandomSource pRandom, BlockPos pPos) voidSculkSpreader.ChargeCursor.update(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, SculkSpreader pSpreader, boolean pShouldConvertBlocks) voidSculkSpreader.updateCursors(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, boolean pShouldConvertBlocks) protected BlockStateAmethystClusterBlock.updateShape(BlockState p_152036_, LevelReader p_374202_, ScheduledTickAccess p_374490_, BlockPos p_152040_, Direction p_152037_, BlockPos p_152041_, BlockState p_152038_, RandomSource p_374353_) protected BlockStateAttachedStemBlock.updateShape(BlockState p_48848_, LevelReader p_374143_, ScheduledTickAccess p_374241_, BlockPos p_48852_, Direction p_48849_, BlockPos p_48853_, BlockState p_48850_, RandomSource p_374410_) protected BlockStateBambooSaplingBlock.updateShape(BlockState p_48990_, LevelReader p_374098_, ScheduledTickAccess p_374342_, BlockPos p_48994_, Direction p_48991_, BlockPos p_48995_, BlockState p_48992_, RandomSource p_374069_) protected BlockStateBambooStalkBlock.updateShape(BlockState p_261476_, LevelReader p_374219_, ScheduledTickAccess p_374048_, BlockPos p_261876_, Direction p_261512_, BlockPos p_262140_, BlockState p_262167_, RandomSource p_374194_) protected BlockStateBannerBlock.updateShape(BlockState p_49029_, LevelReader p_374424_, ScheduledTickAccess p_374052_, BlockPos p_49033_, Direction p_49030_, BlockPos p_49034_, BlockState p_49031_, RandomSource p_374142_) protected BlockStateBarrierBlock.updateShape(BlockState p_296123_, LevelReader p_374369_, ScheduledTickAccess p_374403_, BlockPos p_294499_, Direction p_294509_, BlockPos p_295044_, BlockState p_296367_, RandomSource p_374441_) protected BlockStateBaseCoralPlantTypeBlock.updateShape(BlockState p_49173_, LevelReader p_374072_, ScheduledTickAccess p_374103_, BlockPos p_49177_, Direction p_49174_, BlockPos p_49178_, BlockState p_49175_, RandomSource p_374124_) protected BlockStateBaseCoralWallFanBlock.updateShape(BlockState p_49210_, LevelReader p_374317_, ScheduledTickAccess p_374285_, BlockPos p_49214_, Direction p_49211_, BlockPos p_49215_, BlockState p_49212_, RandomSource p_374146_) protected BlockStateBasePressurePlateBlock.updateShape(BlockState p_49329_, LevelReader p_374394_, ScheduledTickAccess p_374263_, BlockPos p_49333_, Direction p_49330_, BlockPos p_49334_, BlockState p_49331_, RandomSource p_374547_) protected BlockStateBaseRailBlock.updateShape(BlockState p_152151_, LevelReader p_374498_, ScheduledTickAccess p_374379_, BlockPos p_152155_, Direction p_152152_, BlockPos p_152156_, BlockState p_152153_, RandomSource p_374573_) protected BlockStateBaseTorchBlock.updateShape(BlockState p_304418_, LevelReader p_374159_, ScheduledTickAccess p_374152_, BlockPos p_304633_, Direction p_304475_, BlockPos p_304603_, BlockState p_304669_, RandomSource p_374111_) protected BlockStateBedBlock.updateShape(BlockState p_49525_, LevelReader p_374508_, ScheduledTickAccess p_374420_, BlockPos p_49529_, Direction p_49526_, BlockPos p_49530_, BlockState p_49527_, RandomSource p_374423_) protected BlockStateBeehiveBlock.updateShape(BlockState p_49639_, LevelReader p_374043_, ScheduledTickAccess p_374351_, BlockPos p_49643_, Direction p_49640_, BlockPos p_49644_, BlockState p_49641_, RandomSource p_374258_) protected BlockStateBellBlock.updateShape(BlockState p_49744_, LevelReader p_374108_, ScheduledTickAccess p_374552_, BlockPos p_49748_, Direction p_49745_, BlockPos p_49749_, BlockState p_49746_, RandomSource p_374282_) protected BlockStateBigDripleafBlock.updateShape(BlockState p_152293_, LevelReader p_374459_, ScheduledTickAccess p_374181_, BlockPos p_152297_, Direction p_152294_, BlockPos p_152298_, BlockState p_152295_, RandomSource p_374504_) protected BlockStateBigDripleafStemBlock.updateShape(BlockState p_152369_, LevelReader p_374512_, ScheduledTickAccess p_374089_, BlockPos p_152373_, Direction p_152370_, BlockPos p_152374_, BlockState p_152371_, RandomSource p_374360_) BrushableBlock.updateShape(BlockState p_277801_, LevelReader p_374239_, ScheduledTickAccess p_374044_, BlockPos p_278111_, Direction p_277455_, BlockPos p_277904_, BlockState p_277832_, RandomSource p_374558_) protected BlockStateBubbleColumnBlock.updateShape(BlockState p_50990_, LevelReader p_374232_, ScheduledTickAccess p_374471_, BlockPos p_50994_, Direction p_50991_, BlockPos p_50995_, BlockState p_50992_, RandomSource p_374033_) protected BlockStateCactusBlock.updateShape(BlockState p_51157_, LevelReader p_374196_, ScheduledTickAccess p_374319_, BlockPos p_51161_, Direction p_51158_, BlockPos p_51162_, BlockState p_51159_, RandomSource p_374070_) protected BlockStateCakeBlock.updateShape(BlockState p_51213_, LevelReader p_374144_, ScheduledTickAccess p_374554_, BlockPos p_51217_, Direction p_51214_, BlockPos p_51218_, BlockState p_51215_, RandomSource p_374177_) protected BlockStateCampfireBlock.updateShape(BlockState p_51298_, LevelReader p_374562_, ScheduledTickAccess p_374439_, BlockPos p_51302_, Direction p_51299_, BlockPos p_51303_, BlockState p_51300_, RandomSource p_374147_) protected BlockStateCandleBlock.updateShape(BlockState p_152833_, LevelReader p_374497_, ScheduledTickAccess p_374340_, BlockPos p_152837_, Direction p_152834_, BlockPos p_152838_, BlockState p_152835_, RandomSource p_374318_) protected BlockStateCandleCakeBlock.updateShape(BlockState p_152898_, LevelReader p_374136_, ScheduledTickAccess p_374358_, BlockPos p_152902_, Direction p_152899_, BlockPos p_152903_, BlockState p_152900_, RandomSource p_374518_) protected BlockStateCarpetBlock.updateShape(BlockState p_152926_, LevelReader p_374550_, ScheduledTickAccess p_374188_, BlockPos p_152930_, Direction p_152927_, BlockPos p_152931_, BlockState p_152928_, RandomSource p_374375_) protected BlockStateCeilingHangingSignBlock.updateShape(BlockState p_251270_, LevelReader p_374479_, ScheduledTickAccess p_374489_, BlockPos p_249685_, Direction p_250331_, BlockPos p_251506_, BlockState p_249591_, RandomSource p_374041_) protected BlockStateChainBlock.updateShape(BlockState p_51461_, LevelReader p_374312_, ScheduledTickAccess p_374505_, BlockPos p_51465_, Direction p_51462_, BlockPos p_51466_, BlockState p_51463_, RandomSource p_374235_) protected BlockStateChestBlock.updateShape(BlockState p_51555_, LevelReader p_374487_, ScheduledTickAccess p_374060_, BlockPos p_51559_, Direction p_51556_, BlockPos p_51560_, BlockState p_51557_, RandomSource p_374212_) protected BlockStateChorusFlowerBlock.updateShape(BlockState p_51687_, LevelReader p_374269_, ScheduledTickAccess p_374493_, BlockPos p_51691_, Direction p_51688_, BlockPos p_51692_, BlockState p_51689_, RandomSource p_374130_) protected BlockStateChorusPlantBlock.updateShape(BlockState p_51728_, LevelReader p_374320_, ScheduledTickAccess p_374500_, BlockPos p_51732_, Direction p_51729_, BlockPos p_51733_, BlockState p_51730_, RandomSource p_374170_) protected BlockStateCocoaBlock.updateShape(BlockState p_51771_, LevelReader p_374569_, ScheduledTickAccess p_374118_, BlockPos p_51775_, Direction p_51772_, BlockPos p_51776_, BlockState p_51773_, RandomSource p_374448_) ComparatorBlock.updateShape(BlockState p_301069_, LevelReader p_374094_, ScheduledTickAccess p_374252_, BlockPos p_301025_, Direction p_301249_, BlockPos p_301045_, BlockState p_301318_, RandomSource p_374228_) protected BlockStateConcretePowderBlock.updateShape(BlockState p_52074_, LevelReader p_374245_, ScheduledTickAccess p_374286_, BlockPos p_52078_, Direction p_52075_, BlockPos p_52079_, BlockState p_52076_, RandomSource p_374119_) protected BlockStateConduitBlock.updateShape(BlockState p_52111_, LevelReader p_374404_, ScheduledTickAccess p_374238_, BlockPos p_52115_, Direction p_52112_, BlockPos p_52116_, BlockState p_52113_, RandomSource p_374453_) protected BlockStateCoralBlock.updateShape(BlockState p_52143_, LevelReader p_374246_, ScheduledTickAccess p_374434_, BlockPos p_52147_, Direction p_52144_, BlockPos p_52148_, BlockState p_52145_, RandomSource p_374050_) protected BlockStateCoralFanBlock.updateShape(BlockState p_52159_, LevelReader p_374555_, ScheduledTickAccess p_374197_, BlockPos p_52163_, Direction p_52160_, BlockPos p_52164_, BlockState p_52161_, RandomSource p_374083_) protected BlockStateCoralPlantBlock.updateShape(BlockState p_52183_, LevelReader p_374499_, ScheduledTickAccess p_374397_, BlockPos p_52187_, Direction p_52184_, BlockPos p_52188_, BlockState p_52185_, RandomSource p_374079_) protected BlockStateCoralWallFanBlock.updateShape(BlockState p_52210_, LevelReader p_374445_, ScheduledTickAccess p_374341_, BlockPos p_52214_, Direction p_52211_, BlockPos p_52215_, BlockState p_52212_, RandomSource p_374523_) protected BlockStateCreakingHeartBlock.updateShape(BlockState p_379552_, LevelReader p_379446_, ScheduledTickAccess p_379318_, BlockPos p_379343_, Direction p_380340_, BlockPos p_380150_, BlockState p_379791_, RandomSource p_379888_) protected BlockStateDecoratedPotBlock.updateShape(BlockState p_276307_, LevelReader p_374037_, ScheduledTickAccess p_374267_, BlockPos p_276270_, Direction p_276322_, BlockPos p_276312_, BlockState p_276280_, RandomSource p_374464_) protected BlockStateDirtPathBlock.updateShape(BlockState p_153152_, LevelReader p_374225_, ScheduledTickAccess p_374127_, BlockPos p_153156_, Direction p_153153_, BlockPos p_153157_, BlockState p_153154_, RandomSource p_374236_) protected BlockStateDoorBlock.updateShape(BlockState p_52796_, LevelReader p_374501_, ScheduledTickAccess p_374380_, BlockPos p_52800_, Direction p_52797_, BlockPos p_52801_, BlockState p_52798_, RandomSource p_374395_) protected BlockStateDoublePlantBlock.updateShape(BlockState p_52894_, LevelReader p_374107_, ScheduledTickAccess p_374359_, BlockPos p_52898_, Direction p_52895_, BlockPos p_52899_, BlockState p_52896_, RandomSource p_374454_) protected BlockStateEnderChestBlock.updateShape(BlockState p_53160_, LevelReader p_374322_, ScheduledTickAccess p_374149_, BlockPos p_53164_, Direction p_53161_, BlockPos p_53165_, BlockState p_53162_, RandomSource p_374199_) protected BlockStateFaceAttachedHorizontalDirectionalBlock.updateShape(BlockState p_53190_, LevelReader p_374233_, ScheduledTickAccess p_374169_, BlockPos p_53194_, Direction p_53191_, BlockPos p_53195_, BlockState p_53192_, RandomSource p_374040_) protected BlockStateFallingBlock.updateShape(BlockState p_53226_, LevelReader p_374327_, ScheduledTickAccess p_374521_, BlockPos p_53230_, Direction p_53227_, BlockPos p_53231_, BlockState p_53228_, RandomSource p_374287_) protected BlockStateFarmBlock.updateShape(BlockState p_53276_, LevelReader p_374411_, ScheduledTickAccess p_374221_, BlockPos p_53280_, Direction p_53277_, BlockPos p_53281_, BlockState p_53278_, RandomSource p_374244_) protected BlockStateFenceBlock.updateShape(BlockState p_53323_, LevelReader p_374492_, ScheduledTickAccess p_374576_, BlockPos p_53327_, Direction p_53324_, BlockPos p_53328_, BlockState p_53325_, RandomSource p_374530_) protected BlockStateFenceGateBlock.updateShape(BlockState p_53382_, LevelReader p_374250_, ScheduledTickAccess p_374455_, BlockPos p_53386_, Direction p_53383_, BlockPos p_53387_, BlockState p_53384_, RandomSource p_374522_) protected BlockStateFireBlock.updateShape(BlockState p_53458_, LevelReader p_374288_, ScheduledTickAccess p_374582_, BlockPos p_53462_, Direction p_53459_, BlockPos p_53463_, BlockState p_53460_, RandomSource p_374484_) protected BlockStateFlowerPotBlock.updateShape(BlockState p_53547_, LevelReader p_374311_, ScheduledTickAccess p_374506_, BlockPos p_53551_, Direction p_53548_, BlockPos p_53552_, BlockState p_53549_, RandomSource p_374435_) protected BlockStateFrogspawnBlock.updateShape(BlockState p_221213_, LevelReader p_374087_, ScheduledTickAccess p_374429_, BlockPos p_221217_, Direction p_221214_, BlockPos p_221218_, BlockState p_221215_, RandomSource p_374092_) protected BlockStateGrowingPlantBodyBlock.updateShape(BlockState p_53913_, LevelReader p_374366_, ScheduledTickAccess p_374173_, BlockPos p_53917_, Direction p_53914_, BlockPos p_53918_, BlockState p_53915_, RandomSource p_374442_) protected BlockStateGrowingPlantHeadBlock.updateShape(BlockState p_53951_, LevelReader p_374080_, ScheduledTickAccess p_374450_, BlockPos p_53955_, Direction p_53952_, BlockPos p_53956_, BlockState p_53953_, RandomSource p_374560_) protected BlockStateHangingMossBlock.updateShape(BlockState p_380182_, LevelReader p_380219_, ScheduledTickAccess p_380011_, BlockPos p_380024_, Direction p_380101_, BlockPos p_380258_, BlockState p_379654_, RandomSource p_379547_) protected BlockStateHangingRootsBlock.updateShape(BlockState p_153351_, LevelReader p_374138_, ScheduledTickAccess p_374229_, BlockPos p_153355_, Direction p_153352_, BlockPos p_153356_, BlockState p_153353_, RandomSource p_374467_) protected BlockStateHeavyCoreBlock.updateShape(BlockState p_338756_, LevelReader p_374371_, ScheduledTickAccess p_374063_, BlockPos p_338346_, Direction p_338189_, BlockPos p_338401_, BlockState p_338723_, RandomSource p_374262_) protected BlockStateHugeMushroomBlock.updateShape(BlockState p_54146_, LevelReader p_374323_, ScheduledTickAccess p_374514_, BlockPos p_54150_, Direction p_54147_, BlockPos p_54151_, BlockState p_54148_, RandomSource p_374091_) protected BlockStateIronBarsBlock.updateShape(BlockState p_54211_, LevelReader p_374527_, ScheduledTickAccess p_374556_, BlockPos p_54215_, Direction p_54212_, BlockPos p_54216_, BlockState p_54213_, RandomSource p_374254_) protected BlockStateLadderBlock.updateShape(BlockState p_54363_, LevelReader p_374096_, ScheduledTickAccess p_374237_, BlockPos p_54367_, Direction p_54364_, BlockPos p_54368_, BlockState p_54365_, RandomSource p_374476_) protected BlockStateLanternBlock.updateShape(BlockState p_153483_, LevelReader p_374491_, ScheduledTickAccess p_374260_, BlockPos p_153487_, Direction p_153484_, BlockPos p_153488_, BlockState p_153485_, RandomSource p_374175_) protected BlockStateLeavesBlock.updateShape(BlockState p_54440_, LevelReader p_374064_, ScheduledTickAccess p_374538_, BlockPos p_54444_, Direction p_54441_, BlockPos p_54445_, BlockState p_54442_, RandomSource p_374122_) protected BlockStateLightBlock.updateShape(BlockState p_153680_, LevelReader p_374432_, ScheduledTickAccess p_374195_, BlockPos p_153684_, Direction p_153681_, BlockPos p_153685_, BlockState p_153682_, RandomSource p_374328_) protected BlockStateLightningRodBlock.updateShape(BlockState p_153739_, LevelReader p_374261_, ScheduledTickAccess p_374456_, BlockPos p_153743_, Direction p_153740_, BlockPos p_153744_, BlockState p_153741_, RandomSource p_374086_) protected BlockStateLiquidBlock.updateShape(BlockState p_54723_, LevelReader p_374418_, ScheduledTickAccess p_374542_, BlockPos p_54727_, Direction p_54724_, BlockPos p_54728_, BlockState p_54725_, RandomSource p_374563_) protected BlockStateMagmaBlock.updateShape(BlockState p_54811_, LevelReader p_374494_, ScheduledTickAccess p_374388_, BlockPos p_54815_, Direction p_54812_, BlockPos p_54816_, BlockState p_54813_, RandomSource p_374472_) protected BlockStateMangrovePropaguleBlock.updateShape(BlockState p_221477_, LevelReader p_374145_, ScheduledTickAccess p_374362_, BlockPos p_221481_, Direction p_221478_, BlockPos p_221482_, BlockState p_221479_, RandomSource p_374203_) protected BlockStateMangroveRootsBlock.updateShape(BlockState p_221514_, LevelReader p_374345_, ScheduledTickAccess p_374139_, BlockPos p_221518_, Direction p_221515_, BlockPos p_221519_, BlockState p_221516_, RandomSource p_374100_) protected BlockStateMossyCarpetBlock.updateShape(BlockState p_379698_, LevelReader p_379600_, ScheduledTickAccess p_380394_, BlockPos p_380051_, Direction p_380408_, BlockPos p_380380_, BlockState p_379613_, RandomSource p_379309_) protected BlockStateMultifaceBlock.updateShape(BlockState p_153904_, LevelReader p_374463_, ScheduledTickAccess p_374073_, BlockPos p_153908_, Direction p_153905_, BlockPos p_153909_, BlockState p_153906_, RandomSource p_374390_) protected BlockStateNetherPortalBlock.updateShape(BlockState p_54928_, LevelReader p_374413_, ScheduledTickAccess p_374339_, BlockPos p_54932_, Direction p_54929_, BlockPos p_54933_, BlockState p_54930_, RandomSource p_374242_) protected BlockStateNoteBlock.updateShape(BlockState p_55048_, LevelReader p_374298_, ScheduledTickAccess p_374153_, BlockPos p_55052_, Direction p_55049_, BlockPos p_55053_, BlockState p_55050_, RandomSource p_374540_) protected BlockStateObserverBlock.updateShape(BlockState p_55118_, LevelReader p_374557_, ScheduledTickAccess p_374458_, BlockPos p_55122_, Direction p_55119_, BlockPos p_55123_, BlockState p_55120_, RandomSource p_374161_) PitcherCropBlock.updateShape(BlockState p_277518_, LevelReader p_374059_, ScheduledTickAccess p_374076_, BlockPos p_277982_, Direction p_277700_, BlockPos p_278106_, BlockState p_277660_, RandomSource p_374409_) protected BlockStatePointedDripstoneBlock.updateShape(BlockState p_154147_, LevelReader p_374104_, ScheduledTickAccess p_374078_, BlockPos p_154151_, Direction p_154148_, BlockPos p_154152_, BlockState p_154149_, RandomSource p_374393_) protected BlockStateRedstoneWallTorchBlock.updateShape(BlockState p_55772_, LevelReader p_374227_, ScheduledTickAccess p_374302_, BlockPos p_55776_, Direction p_55773_, BlockPos p_55777_, BlockState p_55774_, RandomSource p_374372_) protected BlockStateRedStoneWireBlock.updateShape(BlockState p_55598_, LevelReader p_374191_, ScheduledTickAccess p_374077_, BlockPos p_55602_, Direction p_55599_, BlockPos p_55603_, BlockState p_55600_, RandomSource p_374364_) protected BlockStateRepeaterBlock.updateShape(BlockState p_55821_, LevelReader p_374255_, ScheduledTickAccess p_374035_, BlockPos p_55825_, Direction p_55822_, BlockPos p_55826_, BlockState p_55823_, RandomSource p_374140_) protected BlockStateScaffoldingBlock.updateShape(BlockState p_56044_, LevelReader p_374031_, ScheduledTickAccess p_374303_, BlockPos p_56048_, Direction p_56045_, BlockPos p_56049_, BlockState p_56046_, RandomSource p_374574_) protected BlockStateSculkSensorBlock.updateShape(BlockState p_154457_, LevelReader p_374292_, ScheduledTickAccess p_374575_, BlockPos p_154461_, Direction p_154458_, BlockPos p_154462_, BlockState p_154459_, RandomSource p_374248_) protected BlockStateSculkShriekerBlock.updateShape(BlockState p_222204_, LevelReader p_374289_, ScheduledTickAccess p_374095_, BlockPos p_222208_, Direction p_222205_, BlockPos p_222209_, BlockState p_222206_, RandomSource p_374058_) protected BlockStateSeagrassBlock.updateShape(BlockState p_154530_, LevelReader p_374421_, ScheduledTickAccess p_374071_, BlockPos p_154534_, Direction p_154531_, BlockPos p_154535_, BlockState p_154532_, RandomSource p_374406_) protected BlockStateSeaPickleBlock.updateShape(BlockState p_56113_, LevelReader p_374408_, ScheduledTickAccess p_374099_, BlockPos p_56117_, Direction p_56114_, BlockPos p_56118_, BlockState p_56115_, RandomSource p_374294_) protected BlockStateSignBlock.updateShape(BlockState p_56285_, LevelReader p_374509_, ScheduledTickAccess p_374520_, BlockPos p_56289_, Direction p_56286_, BlockPos p_56290_, BlockState p_56287_, RandomSource p_374213_) protected BlockStateSlabBlock.updateShape(BlockState p_56381_, LevelReader p_374541_, ScheduledTickAccess p_374470_, BlockPos p_56385_, Direction p_56382_, BlockPos p_56386_, BlockState p_56383_, RandomSource p_374101_) protected BlockStateSmallDripleafBlock.updateShape(BlockState p_154625_, LevelReader p_374488_, ScheduledTickAccess p_374525_, BlockPos p_154629_, Direction p_154626_, BlockPos p_154630_, BlockState p_154627_, RandomSource p_374277_) protected BlockStateSnowLayerBlock.updateShape(BlockState p_56606_, LevelReader p_374469_, ScheduledTickAccess p_374526_, BlockPos p_56610_, Direction p_56607_, BlockPos p_56611_, BlockState p_56608_, RandomSource p_374113_) protected BlockStateSnowyDirtBlock.updateShape(BlockState p_56644_, LevelReader p_374564_, ScheduledTickAccess p_374201_, BlockPos p_56648_, Direction p_56645_, BlockPos p_56649_, BlockState p_56646_, RandomSource p_374447_) protected BlockStateSoulFireBlock.updateShape(BlockState p_56659_, LevelReader p_374511_, ScheduledTickAccess p_374567_, BlockPos p_56663_, Direction p_56660_, BlockPos p_56664_, BlockState p_56661_, RandomSource p_374480_) protected BlockStateSoulSandBlock.updateShape(BlockState p_56689_, LevelReader p_374561_, ScheduledTickAccess p_374416_, BlockPos p_56693_, Direction p_56690_, BlockPos p_56694_, BlockState p_56691_, RandomSource p_374114_) protected BlockStateSporeBlossomBlock.updateShape(BlockState p_154713_, LevelReader p_374047_, ScheduledTickAccess p_374543_, BlockPos p_154717_, Direction p_154714_, BlockPos p_154718_, BlockState p_154715_, RandomSource p_374461_) protected BlockStateStairBlock.updateShape(BlockState p_56925_, LevelReader p_374183_, ScheduledTickAccess p_374352_, BlockPos p_56929_, Direction p_56926_, BlockPos p_56930_, BlockState p_56927_, RandomSource p_374581_) protected BlockStateStandingSignBlock.updateShape(BlockState p_57005_, LevelReader p_374220_, ScheduledTickAccess p_374377_, BlockPos p_57009_, Direction p_57006_, BlockPos p_57010_, BlockState p_57007_, RandomSource p_374251_) protected BlockStateSugarCaneBlock.updateShape(BlockState p_57179_, LevelReader p_374168_, ScheduledTickAccess p_374217_, BlockPos p_57183_, Direction p_57180_, BlockPos p_57184_, BlockState p_57181_, RandomSource p_374240_) protected BlockStateTrapDoorBlock.updateShape(BlockState p_57554_, LevelReader p_374386_, ScheduledTickAccess p_374038_, BlockPos p_57558_, Direction p_57555_, BlockPos p_57559_, BlockState p_57556_, RandomSource p_374093_) protected BlockStateTripWireBlock.updateShape(BlockState p_57645_, LevelReader p_374437_, ScheduledTickAccess p_374214_, BlockPos p_57649_, Direction p_57646_, BlockPos p_57650_, BlockState p_57647_, RandomSource p_374065_) protected BlockStateTripWireHookBlock.updateShape(BlockState p_57731_, LevelReader p_374415_, ScheduledTickAccess p_374046_, BlockPos p_57735_, Direction p_57732_, BlockPos p_57736_, BlockState p_57733_, RandomSource p_374155_) protected BlockStateVegetationBlock.updateShape(BlockState p_401118_, LevelReader p_401198_, ScheduledTickAccess p_401107_, BlockPos p_401142_, Direction p_401236_, BlockPos p_401082_, BlockState p_401336_, RandomSource p_401169_) protected BlockStateVineBlock.updateShape(BlockState p_57875_, LevelReader p_374150_, ScheduledTickAccess p_374192_, BlockPos p_57879_, Direction p_57876_, BlockPos p_57880_, BlockState p_57877_, RandomSource p_374278_) protected BlockStateWallBannerBlock.updateShape(BlockState p_57935_, LevelReader p_374553_, ScheduledTickAccess p_374106_, BlockPos p_57939_, Direction p_57936_, BlockPos p_57940_, BlockState p_57937_, RandomSource p_374162_) protected BlockStateWallBlock.updateShape(BlockState p_58014_, LevelReader p_374577_, ScheduledTickAccess p_374176_, BlockPos p_58018_, Direction p_58015_, BlockPos p_58019_, BlockState p_58016_, RandomSource p_374535_) protected BlockStateWallHangingSignBlock.updateShape(BlockState p_249879_, LevelReader p_374368_, ScheduledTickAccess p_374179_, BlockPos p_252327_, Direction p_249939_, BlockPos p_251853_, BlockState p_250767_, RandomSource p_374570_) protected BlockStateWallSignBlock.updateShape(BlockState p_58083_, LevelReader p_374417_, ScheduledTickAccess p_374151_, BlockPos p_58087_, Direction p_58084_, BlockPos p_58088_, BlockState p_58085_, RandomSource p_374032_) protected BlockStateWallTorchBlock.updateShape(BlockState p_58143_, LevelReader p_374329_, ScheduledTickAccess p_374207_, BlockPos p_58147_, Direction p_58144_, BlockPos p_58148_, BlockState p_58145_, RandomSource p_374234_) protected BlockStateWaterloggedTransparentBlock.updateShape(BlockState p_313906_, LevelReader p_374178_, ScheduledTickAccess p_374293_, BlockPos p_313842_, Direction p_313739_, BlockPos p_313843_, BlockState p_313829_, RandomSource p_374433_) -
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<?> p_311807_, RandomSource p_311976_) -
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) -
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.piston
Methods in net.minecraft.world.level.block.piston with parameters of type RandomSourceModifier and TypeMethodDescriptionprotected BlockStatePistonHeadBlock.updateShape(BlockState p_60301_, LevelReader p_374256_, ScheduledTickAccess p_374426_, BlockPos p_60305_, Direction p_60302_, BlockPos p_60306_, BlockState p_60303_, RandomSource p_374478_) -
Uses of RandomSource in net.minecraft.world.level.block.sounds
Methods in net.minecraft.world.level.block.sounds with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic voidAmbientDesertBlockSoundsPlayer.playAmbientBlockSounds(BlockState pState, Level pLevel, BlockPos pPos, 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) BlockBehaviour.BlockStateBase.updateShape(LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockStateBlockBehaviour.updateShape(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, 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 p_224198_, int p_224199_, int p_224200_) PositionalRandomFactory.at(int pX, int pY, int pZ) default RandomSourceXoroshiroRandomSource.XoroshiroPositionalRandomFactory.at(int p_224691_, int p_224692_, int p_224693_) LegacyRandomSource.fork()SingleThreadedRandomSource.fork()ThreadSafeLegacyRandomSource.fork()Deprecated.WorldgenRandom.fork()XoroshiroRandomSource.fork()LegacyRandomSource.LegacyPositionalRandomFactory.fromHashOf(String p_224202_) PositionalRandomFactory.fromHashOf(String pName) default RandomSourcePositionalRandomFactory.fromHashOf(ResourceLocation pName) XoroshiroRandomSource.XoroshiroPositionalRandomFactory.fromHashOf(String p_224695_) LegacyRandomSource.LegacyPositionalRandomFactory.fromSeed(long p_348617_) PositionalRandomFactory.fromSeed(long pSeed) XoroshiroRandomSource.XoroshiroPositionalRandomFactory.fromSeed(long p_348665_) 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 p_224813_, CanyonCarverConfiguration p_224814_, ChunkAccess p_224815_, Function<BlockPos, Holder<Biome>> p_224816_, RandomSource p_224817_, Aquifer p_224818_, ChunkPos p_224819_, CarvingMask p_224820_) booleanCaveWorldCarver.carve(CarvingContext p_224885_, CaveCarverConfiguration p_224886_, ChunkAccess p_224887_, Function<BlockPos, Holder<Biome>> p_224888_, RandomSource p_224889_, Aquifer p_224890_, ChunkPos p_224891_, CarvingMask p_224892_) 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 p_224797_, RandomSource p_224798_) booleanCaveWorldCarver.isStartChunk(CaveCarverConfiguration p_224894_, RandomSource p_224895_) 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) private voidFallenTreeFeature.decorateLogs(WorldGenLevel pLevel, RandomSource pRandom, Set<BlockPos> pLogPositions, List<TreeDecorator> pDecorators) 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) private voidFallenTreeFeature.placeFallenLog(FallenTreeConfiguration pConfig, WorldGenLevel pLevel, RandomSource pRandom, int pLogLength, BlockPos.MutableBlockPos pPos, Direction pDirection) private voidFallenTreeFeature.placeFallenTree(FallenTreeConfiguration pConfig, BlockPos pOrigin, WorldGenLevel pLevel, RandomSource pRandom) 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 p_225339_, VegetationPatchConfiguration p_225340_, RandomSource p_225341_, BlockPos p_225342_, Predicate<BlockState> p_225343_, int p_225344_, int p_225345_) 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 BlockPosFallenTreeFeature.placeLogBlock(FallenTreeConfiguration pConfig, WorldGenLevel pLevel, RandomSource pRandom, BlockPos.MutableBlockPos pPos, Function<BlockState, BlockState> pStateModifier) 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) private voidFallenTreeFeature.placeStump(FallenTreeConfiguration pConfig, WorldGenLevel pLevel, RandomSource pRandom, BlockPos.MutableBlockPos pPos) 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 p_225347_, VegetationPatchConfiguration p_225348_, ChunkGenerator p_225349_, RandomSource p_225350_, BlockPos p_225351_) 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 p_273066_, FoliagePlacer.FoliageSetter p_272716_, RandomSource p_273178_, TreeConfiguration p_272850_, int p_273067_, FoliagePlacer.FoliageAttachment p_273711_, int p_273580_, int p_273511_, int p_273685_) protected 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 p_272723_, FoliagePlacer.FoliageSetter p_273410_, RandomSource p_273057_, TreeConfiguration p_273220_, int p_272975_, FoliagePlacer.FoliageAttachment p_273037_, int p_273647_, int p_273700_, int p_273188_) protected 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 p_225657_, FoliagePlacer.FoliageSetter p_273447_, RandomSource p_225659_, TreeConfiguration p_225660_, int p_225661_, FoliagePlacer.FoliageAttachment p_225662_, int p_225663_, int p_225664_, int p_225665_) protected voidMegaPineFoliagePlacer.createFoliage(LevelSimulatedReader p_225678_, FoliagePlacer.FoliageSetter p_273345_, RandomSource p_225680_, TreeConfiguration p_225681_, int p_225682_, FoliagePlacer.FoliageAttachment p_225683_, int p_225684_, int p_225685_, int p_225686_) protected voidPineFoliagePlacer.createFoliage(LevelSimulatedReader p_225702_, FoliagePlacer.FoliageSetter p_272791_, RandomSource p_225704_, TreeConfiguration p_225705_, int p_225706_, FoliagePlacer.FoliageAttachment p_225707_, int p_225708_, int p_225709_, int p_225710_) protected voidRandomSpreadFoliagePlacer.createFoliage(LevelSimulatedReader p_225723_, FoliagePlacer.FoliageSetter p_272842_, RandomSource p_225725_, TreeConfiguration p_225726_, int p_225727_, FoliagePlacer.FoliageAttachment p_225728_, int p_225729_, int p_225730_, int p_225731_) protected voidSpruceFoliagePlacer.createFoliage(LevelSimulatedReader p_225744_, FoliagePlacer.FoliageSetter p_273256_, RandomSource p_225746_, TreeConfiguration p_225747_, int p_225748_, FoliagePlacer.FoliageAttachment p_225749_, int p_225750_, int p_225751_, int p_225752_) intAcaciaFoliagePlacer.foliageHeight(RandomSource p_225495_, int p_225496_, TreeConfiguration p_225497_) intBlobFoliagePlacer.foliageHeight(RandomSource p_225516_, int p_225517_, TreeConfiguration p_225518_) intCherryFoliagePlacer.foliageHeight(RandomSource p_273679_, int p_273336_, TreeConfiguration p_273643_) intDarkOakFoliagePlacer.foliageHeight(RandomSource p_225554_, int p_225555_, TreeConfiguration p_225556_) abstract intFoliagePlacer.foliageHeight(RandomSource pRandom, int pHeight, TreeConfiguration pConfig) intMegaJungleFoliagePlacer.foliageHeight(RandomSource p_225653_, int p_225654_, TreeConfiguration p_225655_) intMegaPineFoliagePlacer.foliageHeight(RandomSource p_225674_, int p_225675_, TreeConfiguration p_225676_) intPineFoliagePlacer.foliageHeight(RandomSource p_225698_, int p_225699_, TreeConfiguration p_225700_) intRandomSpreadFoliagePlacer.foliageHeight(RandomSource p_225719_, int p_225720_, TreeConfiguration p_225721_) intSpruceFoliagePlacer.foliageHeight(RandomSource p_225740_, int p_225741_, TreeConfiguration p_225742_) intFoliagePlacer.foliageRadius(RandomSource pRandom, int pRadius) intPineFoliagePlacer.foliageRadius(RandomSource p_225688_, int p_225689_) 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 p_225509_, int p_225510_, int p_225511_, int p_225512_, int p_225513_, boolean p_225514_) 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 p_273294_, int p_273380_, int p_272865_, int p_272853_, int p_272631_, boolean p_273432_) 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 p_225646_, int p_225647_, int p_225648_, int p_225649_, int p_225650_, boolean p_225651_) protected booleanMegaPineFoliagePlacer.shouldSkipLocation(RandomSource p_225667_, int p_225668_, int p_225669_, int p_225670_, int p_225671_, boolean p_225672_) protected booleanPineFoliagePlacer.shouldSkipLocation(RandomSource p_225691_, int p_225692_, int p_225693_, int p_225694_, int p_225695_, boolean p_225696_) protected booleanRandomSpreadFoliagePlacer.shouldSkipLocation(RandomSource p_225712_, int p_225713_, int p_225714_, int p_225715_, int p_225716_, boolean p_225717_) protected booleanSpruceFoliagePlacer.shouldSkipLocation(RandomSource p_225733_, int p_225734_, int p_225735_, int p_225736_, int p_225737_, boolean p_225738_) 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 p_225834_, BiConsumer<BlockPos, BlockState> p_225835_, RandomSource p_225836_, BlockPos p_225837_, TreeConfiguration p_225838_) protected voidRootPlacer.placeRoot(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pTreeConfig) booleanMangroveRootPlacer.placeRoots(LevelSimulatedReader p_225840_, BiConsumer<BlockPos, BlockState> p_225841_, RandomSource p_225842_, BlockPos p_225843_, BlockPos p_225844_, TreeConfiguration p_225845_) 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 p_225910_, BlockPos p_225911_) NoiseProvider.getState(RandomSource p_225913_, BlockPos p_225914_) NoiseThresholdProvider.getState(RandomSource p_225916_, BlockPos p_225917_) RandomizedIntStateProvider.getState(RandomSource p_225919_, BlockPos p_225920_) RotatedBlockProvider.getState(RandomSource p_225922_, BlockPos p_225923_) RuleBasedBlockStateProvider.getState(WorldGenLevel pLevel, RandomSource pRandom, BlockPos pPos) SimpleStateProvider.getState(RandomSource p_225963_, BlockPos p_225964_) WeightedStateProvider.getState(RandomSource p_225966_, BlockPos p_225967_) -
Uses of RandomSource in net.minecraft.world.level.levelgen.feature.treedecorators
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 p_226079_, BiConsumer<BlockPos, BlockState> p_226080_, RandomSource p_226081_, int p_226082_, BlockPos p_226083_, TreeConfiguration p_226084_) CherryTrunkPlacer.placeTrunk(LevelSimulatedReader p_272827_, BiConsumer<BlockPos, BlockState> p_272650_, RandomSource p_272993_, int p_272990_, BlockPos p_273471_, TreeConfiguration p_273355_) DarkOakTrunkPlacer.placeTrunk(LevelSimulatedReader p_226086_, BiConsumer<BlockPos, BlockState> p_226087_, RandomSource p_226088_, int p_226089_, BlockPos p_226090_, TreeConfiguration p_226091_) FancyTrunkPlacer.placeTrunk(LevelSimulatedReader p_226093_, BiConsumer<BlockPos, BlockState> p_226094_, RandomSource p_226095_, int p_226096_, BlockPos p_226097_, TreeConfiguration p_226098_) ForkingTrunkPlacer.placeTrunk(LevelSimulatedReader p_226116_, BiConsumer<BlockPos, BlockState> p_226117_, RandomSource p_226118_, int p_226119_, BlockPos p_226120_, TreeConfiguration p_226121_) GiantTrunkPlacer.placeTrunk(LevelSimulatedReader p_226123_, BiConsumer<BlockPos, BlockState> p_226124_, RandomSource p_226125_, int p_226126_, BlockPos p_226127_, TreeConfiguration p_226128_) MegaJungleTrunkPlacer.placeTrunk(LevelSimulatedReader p_226140_, BiConsumer<BlockPos, BlockState> p_226141_, RandomSource p_226142_, int p_226143_, BlockPos p_226144_, TreeConfiguration p_226145_) StraightTrunkPlacer.placeTrunk(LevelSimulatedReader p_226147_, BiConsumer<BlockPos, BlockState> p_226148_, RandomSource p_226149_, int p_226150_, BlockPos p_226151_, TreeConfiguration p_226152_) abstract List<FoliagePlacer.FoliageAttachment> TrunkPlacer.placeTrunk(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) UpwardsBranchingTrunkPlacer.placeTrunk(LevelSimulatedReader p_226225_, BiConsumer<BlockPos, BlockState> p_226226_, RandomSource p_226227_, int p_226228_, BlockPos p_226229_, TreeConfiguration p_226230_) 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 p_226297_, WorldGenerationContext p_226298_) intConstantHeight.sample(RandomSource p_226300_, WorldGenerationContext p_226301_) abstract intHeightProvider.sample(RandomSource pRandom, WorldGenerationContext pContext) intTrapezoidHeight.sample(RandomSource p_226305_, WorldGenerationContext p_226306_) intUniformHeight.sample(RandomSource p_226308_, WorldGenerationContext p_226309_) intVeryBiasedToBottomHeight.sample(RandomSource p_226311_, WorldGenerationContext p_226312_) intWeightedListHeight.sample(RandomSource p_226314_, WorldGenerationContext p_226315_) -
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 p_226333_, BlockPos p_226334_) protected intNoiseBasedCountPlacement.count(RandomSource p_226352_, BlockPos p_226353_) protected intNoiseThresholdCountPlacement.count(RandomSource p_226355_, BlockPos p_226356_) protected abstract intRepeatingPlacement.count(RandomSource pRandom, BlockPos pPos) CountOnEveryLayerPlacement.getPositions(PlacementContext p_226329_, RandomSource p_226330_, BlockPos p_226331_) Deprecated.EnvironmentScanPlacement.getPositions(PlacementContext p_226336_, RandomSource p_226337_, BlockPos p_226338_) FixedPlacement.getPositions(PlacementContext p_352915_, RandomSource p_352928_, BlockPos p_352899_) HeightmapPlacement.getPositions(PlacementContext p_226344_, RandomSource p_226345_, BlockPos p_226346_) HeightRangePlacement.getPositions(PlacementContext p_226340_, RandomSource p_226341_, BlockPos p_226342_) InSquarePlacement.getPositions(PlacementContext p_226348_, RandomSource p_226349_, BlockPos p_226350_) PlacementFilter.getPositions(PlacementContext p_226386_, RandomSource p_226387_, BlockPos p_226388_) PlacementModifier.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) RandomOffsetPlacement.getPositions(PlacementContext p_226393_, RandomSource p_226394_, BlockPos p_226395_) RepeatingPlacement.getPositions(PlacementContext p_226403_, RandomSource p_226404_, BlockPos p_226405_) 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 p_226321_, RandomSource p_226322_, BlockPos p_226323_) protected abstract booleanPlacementFilter.shouldPlace(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) protected booleanRarityFilter.shouldPlace(PlacementContext p_226397_, RandomSource p_226398_, BlockPos p_226399_) protected booleanSurfaceRelativeThresholdFilter.shouldPlace(PlacementContext p_226407_, RandomSource p_226408_, BlockPos p_226409_) protected booleanSurfaceWaterDepthFilter.shouldPlace(PlacementContext p_226411_, RandomSource p_226412_, BlockPos p_226413_) -
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 p_226502_, StructureManager p_226503_, ChunkGenerator p_226504_, RandomSource p_226505_, BoundingBox p_226506_, ChunkPos p_226507_, BlockPos p_226508_) abstract voidStructurePiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidTemplateStructurePiece.postProcess(WorldGenLevel p_226899_, StructureManager p_226900_, ChunkGenerator p_226901_, RandomSource p_226902_, BoundingBox p_226903_, ChunkPos p_226904_, BlockPos p_226905_) -
Uses of RandomSource in net.minecraft.world.level.levelgen.structure.pieces
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 p_227199_, BlockPos p_227200_, Rotation p_227201_, RandomSource p_227202_) ListPoolElement.getShuffledJigsawBlocks(StructureTemplateManager p_227290_, BlockPos p_227291_, Rotation p_227292_, RandomSource p_227293_) SinglePoolElement.getShuffledJigsawBlocks(StructureTemplateManager p_227320_, BlockPos p_227321_, Rotation p_227322_, RandomSource p_227323_) abstract List<StructureTemplate.JigsawBlockInfo> 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 p_227181_, WorldGenLevel p_227182_, StructureManager p_227183_, ChunkGenerator p_227184_, BlockPos p_227185_, BlockPos p_227186_, Rotation p_227187_, BoundingBox p_227188_, RandomSource p_227189_, LiquidSettings p_352143_, boolean p_227190_) booleanListPoolElement.place(StructureTemplateManager p_227272_, WorldGenLevel p_227273_, StructureManager p_227274_, ChunkGenerator p_227275_, BlockPos p_227276_, BlockPos p_227277_, Rotation p_227278_, BoundingBox p_227279_, RandomSource p_227280_, LiquidSettings p_352445_, boolean p_227281_) booleanSinglePoolElement.place(StructureTemplateManager p_227302_, WorldGenLevel p_227303_, StructureManager p_227304_, ChunkGenerator p_227305_, BlockPos p_227306_, BlockPos p_227307_, Rotation p_227308_, BoundingBox p_227309_, RandomSource p_227310_, LiquidSettings p_352088_, boolean p_227311_) 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 TypeMethodDescriptionvoidDirectPoolAlias.forEachResolved(RandomSource p_405543_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_405626_) voidPoolAliasBinding.forEachResolved(RandomSource pRandom, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> pStucturePoolKey) voidRandomGroupPoolAlias.forEachResolved(RandomSource p_404851_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_405752_) voidRandomPoolAlias.forEachResolved(RandomSource p_405862_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_404739_) -
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 p_227795_, StructurePieceAccessor p_227796_, RandomSource p_227797_) voidMineshaftPieces.MineShaftCrossing.addChildren(StructurePiece p_227851_, StructurePieceAccessor p_227852_, RandomSource p_227853_) voidMineshaftPieces.MineShaftRoom.addChildren(StructurePiece p_227922_, StructurePieceAccessor p_227923_, RandomSource p_227924_) voidMineshaftPieces.MineShaftStairs.addChildren(StructurePiece p_227947_, StructurePieceAccessor p_227948_, RandomSource p_227949_) voidNetherFortressPieces.BridgeCrossing.addChildren(StructurePiece p_228043_, StructurePieceAccessor p_228044_, RandomSource p_228045_) voidNetherFortressPieces.BridgeStraight.addChildren(StructurePiece p_228102_, StructurePieceAccessor p_228103_, RandomSource p_228104_) voidNetherFortressPieces.CastleCorridorStairsPiece.addChildren(StructurePiece p_228131_, StructurePieceAccessor p_228132_, RandomSource p_228133_) voidNetherFortressPieces.CastleCorridorTBalconyPiece.addChildren(StructurePiece p_228159_, StructurePieceAccessor p_228160_, RandomSource p_228161_) voidNetherFortressPieces.CastleEntrance.addChildren(StructurePiece p_228188_, StructurePieceAccessor p_228189_, RandomSource p_228190_) voidNetherFortressPieces.CastleSmallCorridorCrossingPiece.addChildren(StructurePiece p_228217_, StructurePieceAccessor p_228218_, RandomSource p_228219_) voidNetherFortressPieces.CastleSmallCorridorLeftTurnPiece.addChildren(StructurePiece p_228247_, StructurePieceAccessor p_228248_, RandomSource p_228249_) voidNetherFortressPieces.CastleSmallCorridorPiece.addChildren(StructurePiece p_228279_, StructurePieceAccessor p_228280_, RandomSource p_228281_) voidNetherFortressPieces.CastleSmallCorridorRightTurnPiece.addChildren(StructurePiece p_228309_, StructurePieceAccessor p_228310_, RandomSource p_228311_) voidNetherFortressPieces.CastleStalkRoom.addChildren(StructurePiece p_228341_, StructurePieceAccessor p_228342_, RandomSource p_228343_) voidNetherFortressPieces.RoomCrossing.addChildren(StructurePiece p_228469_, StructurePieceAccessor p_228470_, RandomSource p_228471_) voidNetherFortressPieces.StairsRoom.addChildren(StructurePiece p_228497_, StructurePieceAccessor p_228498_, RandomSource p_228499_) voidStrongholdPieces.ChestCorridor.addChildren(StructurePiece p_229480_, StructurePieceAccessor p_229481_, RandomSource p_229482_) voidStrongholdPieces.FiveCrossing.addChildren(StructurePiece p_229542_, StructurePieceAccessor p_229543_, RandomSource p_229544_) voidStrongholdPieces.LeftTurn.addChildren(StructurePiece p_229572_, StructurePieceAccessor p_229573_, RandomSource p_229574_) voidStrongholdPieces.PortalRoom.addChildren(StructurePiece p_229643_, StructurePieceAccessor p_229644_, RandomSource p_229645_) voidStrongholdPieces.PrisonHall.addChildren(StructurePiece p_229675_, StructurePieceAccessor p_229676_, RandomSource p_229677_) voidStrongholdPieces.RightTurn.addChildren(StructurePiece p_229702_, StructurePieceAccessor p_229703_, RandomSource p_229704_) voidStrongholdPieces.RoomCrossing.addChildren(StructurePiece p_229733_, StructurePieceAccessor p_229734_, RandomSource p_229735_) voidStrongholdPieces.StairsDown.addChildren(StructurePiece p_229783_, StructurePieceAccessor p_229784_, RandomSource p_229785_) voidStrongholdPieces.Straight.addChildren(StructurePiece p_229828_, StructurePieceAccessor p_229829_, RandomSource p_229830_) voidStrongholdPieces.StraightStairsDown.addChildren(StructurePiece p_229861_, StructurePieceAccessor p_229862_, RandomSource p_229863_) 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 p_273644_, StructureManager p_272615_, ChunkGenerator p_273655_, RandomSource p_272939_, BoundingBox p_273179_, ChunkPos p_273334_, PiecesContainer p_273575_) voidWoodlandMansionStructure.afterPlace(WorldGenLevel p_230227_, StructureManager p_230228_, ChunkGenerator p_230229_, RandomSource p_230230_, BoundingBox p_230231_, ChunkPos p_230232_, PiecesContainer p_230233_) OceanRuinPieces.allPositions(RandomSource 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 p_227787_, BoundingBox p_227788_, RandomSource p_227789_, int p_227790_, int p_227791_, int p_227792_, ResourceKey<LootTable> p_335869_) 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 p_227505_, BlockPos p_227506_, ServerLevelAccessor p_227507_, RandomSource p_227508_, BoundingBox p_227509_) protected voidIglooPieces.IglooPiece.handleDataMarker(String p_227582_, BlockPos p_227583_, ServerLevelAccessor p_227584_, RandomSource p_227585_, BoundingBox p_227586_) protected voidNetherFossilPieces.NetherFossilPiece.handleDataMarker(String p_228561_, BlockPos p_228562_, ServerLevelAccessor p_228563_, RandomSource p_228564_, BoundingBox p_228565_) protected voidOceanRuinPieces.OceanRuinPiece.handleDataMarker(String p_229046_, BlockPos p_229047_, ServerLevelAccessor p_229048_, RandomSource p_229049_, BoundingBox p_229050_) protected voidRuinedPortalPiece.handleDataMarker(String p_229170_, BlockPos p_229171_, ServerLevelAccessor p_229172_, RandomSource p_229173_, BoundingBox p_229174_) protected voidShipwreckPieces.ShipwreckPiece.handleDataMarker(String p_229376_, BlockPos p_229377_, ServerLevelAccessor p_229378_, RandomSource p_229379_, BoundingBox p_229380_) protected voidWoodlandMansionPieces.WoodlandMansionPiece.handleDataMarker(String p_230213_, BlockPos p_230214_, ServerLevelAccessor p_230215_, RandomSource p_230216_, BoundingBox p_230217_) 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 p_227370_, StructureManager p_227371_, ChunkGenerator p_227372_, RandomSource p_227373_, BoundingBox p_227374_, ChunkPos p_227375_, BlockPos p_227376_) voidDesertPyramidPiece.postProcess(WorldGenLevel p_227405_, StructureManager p_227406_, ChunkGenerator p_227407_, RandomSource p_227408_, BoundingBox p_227409_, ChunkPos p_227410_, BlockPos p_227411_) voidIglooPieces.IglooPiece.postProcess(WorldGenLevel p_227568_, StructureManager p_227569_, ChunkGenerator p_227570_, RandomSource p_227571_, BoundingBox p_227572_, ChunkPos p_227573_, BlockPos p_227574_) voidJungleTemplePiece.postProcess(WorldGenLevel p_227674_, StructureManager p_227675_, ChunkGenerator p_227676_, RandomSource p_227677_, BoundingBox p_227678_, ChunkPos p_227679_, BlockPos p_227680_) voidMineshaftPieces.MineShaftCorridor.postProcess(WorldGenLevel p_227743_, StructureManager p_227744_, ChunkGenerator p_227745_, RandomSource p_227746_, BoundingBox p_227747_, ChunkPos p_227748_, BlockPos p_227749_) voidMineshaftPieces.MineShaftCrossing.postProcess(WorldGenLevel p_227836_, StructureManager p_227837_, ChunkGenerator p_227838_, RandomSource p_227839_, BoundingBox p_227840_, ChunkPos p_227841_, BlockPos p_227842_) voidMineshaftPieces.MineShaftRoom.postProcess(WorldGenLevel p_227914_, StructureManager p_227915_, ChunkGenerator p_227916_, RandomSource p_227917_, BoundingBox p_227918_, ChunkPos p_227919_, BlockPos p_227920_) voidMineshaftPieces.MineShaftStairs.postProcess(WorldGenLevel p_227939_, StructureManager p_227940_, ChunkGenerator p_227941_, RandomSource p_227942_, BoundingBox p_227943_, ChunkPos p_227944_, BlockPos p_227945_) voidNetherFortressPieces.BridgeCrossing.postProcess(WorldGenLevel p_228035_, StructureManager p_228036_, ChunkGenerator p_228037_, RandomSource p_228038_, BoundingBox p_228039_, ChunkPos p_228040_, BlockPos p_228041_) voidNetherFortressPieces.BridgeEndFiller.postProcess(WorldGenLevel p_228065_, StructureManager p_228066_, ChunkGenerator p_228067_, RandomSource p_228068_, BoundingBox p_228069_, ChunkPos p_228070_, BlockPos p_228071_) voidNetherFortressPieces.BridgeStraight.postProcess(WorldGenLevel p_228094_, StructureManager p_228095_, ChunkGenerator p_228096_, RandomSource p_228097_, BoundingBox p_228098_, ChunkPos p_228099_, BlockPos p_228100_) voidNetherFortressPieces.CastleCorridorStairsPiece.postProcess(WorldGenLevel p_228123_, StructureManager p_228124_, ChunkGenerator p_228125_, RandomSource p_228126_, BoundingBox p_228127_, ChunkPos p_228128_, BlockPos p_228129_) voidNetherFortressPieces.CastleCorridorTBalconyPiece.postProcess(WorldGenLevel p_228151_, StructureManager p_228152_, ChunkGenerator p_228153_, RandomSource p_228154_, BoundingBox p_228155_, ChunkPos p_228156_, BlockPos p_228157_) voidNetherFortressPieces.CastleEntrance.postProcess(WorldGenLevel p_228180_, StructureManager p_228181_, ChunkGenerator p_228182_, RandomSource p_228183_, BoundingBox p_228184_, ChunkPos p_228185_, BlockPos p_228186_) voidNetherFortressPieces.CastleSmallCorridorCrossingPiece.postProcess(WorldGenLevel p_228209_, StructureManager p_228210_, ChunkGenerator p_228211_, RandomSource p_228212_, BoundingBox p_228213_, ChunkPos p_228214_, BlockPos p_228215_) voidNetherFortressPieces.CastleSmallCorridorLeftTurnPiece.postProcess(WorldGenLevel p_228239_, StructureManager p_228240_, ChunkGenerator p_228241_, RandomSource p_228242_, BoundingBox p_228243_, ChunkPos p_228244_, BlockPos p_228245_) voidNetherFortressPieces.CastleSmallCorridorPiece.postProcess(WorldGenLevel p_228271_, StructureManager p_228272_, ChunkGenerator p_228273_, RandomSource p_228274_, BoundingBox p_228275_, ChunkPos p_228276_, BlockPos p_228277_) voidNetherFortressPieces.CastleSmallCorridorRightTurnPiece.postProcess(WorldGenLevel p_228301_, StructureManager p_228302_, ChunkGenerator p_228303_, RandomSource p_228304_, BoundingBox p_228305_, ChunkPos p_228306_, BlockPos p_228307_) voidNetherFortressPieces.CastleStalkRoom.postProcess(WorldGenLevel p_228333_, StructureManager p_228334_, ChunkGenerator p_228335_, RandomSource p_228336_, BoundingBox p_228337_, ChunkPos p_228338_, BlockPos p_228339_) voidNetherFortressPieces.MonsterThrone.postProcess(WorldGenLevel p_228362_, StructureManager p_228363_, ChunkGenerator p_228364_, RandomSource p_228365_, BoundingBox p_228366_, ChunkPos p_228367_, BlockPos p_228368_) voidNetherFortressPieces.RoomCrossing.postProcess(WorldGenLevel p_228461_, StructureManager p_228462_, ChunkGenerator p_228463_, RandomSource p_228464_, BoundingBox p_228465_, ChunkPos p_228466_, BlockPos p_228467_) voidNetherFortressPieces.StairsRoom.postProcess(WorldGenLevel p_228489_, StructureManager p_228490_, ChunkGenerator p_228491_, RandomSource p_228492_, BoundingBox p_228493_, ChunkPos p_228494_, BlockPos p_228495_) voidNetherFossilPieces.NetherFossilPiece.postProcess(WorldGenLevel p_228548_, StructureManager p_228549_, ChunkGenerator p_228550_, RandomSource p_228551_, BoundingBox p_228552_, ChunkPos p_228553_, BlockPos p_228554_) voidOceanMonumentPieces.MonumentBuilding.postProcess(WorldGenLevel p_228659_, StructureManager p_228660_, ChunkGenerator p_228661_, RandomSource p_228662_, BoundingBox p_228663_, ChunkPos p_228664_, BlockPos p_228665_) voidOceanMonumentPieces.OceanMonumentCoreRoom.postProcess(WorldGenLevel p_228704_, StructureManager p_228705_, ChunkGenerator p_228706_, RandomSource p_228707_, BoundingBox p_228708_, ChunkPos p_228709_, BlockPos p_228710_) voidOceanMonumentPieces.OceanMonumentDoubleXRoom.postProcess(WorldGenLevel p_228717_, StructureManager p_228718_, ChunkGenerator p_228719_, RandomSource p_228720_, BoundingBox p_228721_, ChunkPos p_228722_, BlockPos p_228723_) voidOceanMonumentPieces.OceanMonumentDoubleXYRoom.postProcess(WorldGenLevel p_228730_, StructureManager p_228731_, ChunkGenerator p_228732_, RandomSource p_228733_, BoundingBox p_228734_, ChunkPos p_228735_, BlockPos p_228736_) voidOceanMonumentPieces.OceanMonumentDoubleYRoom.postProcess(WorldGenLevel p_228743_, StructureManager p_228744_, ChunkGenerator p_228745_, RandomSource p_228746_, BoundingBox p_228747_, ChunkPos p_228748_, BlockPos p_228749_) voidOceanMonumentPieces.OceanMonumentDoubleYZRoom.postProcess(WorldGenLevel p_228756_, StructureManager p_228757_, ChunkGenerator p_228758_, RandomSource p_228759_, BoundingBox p_228760_, ChunkPos p_228761_, BlockPos p_228762_) voidOceanMonumentPieces.OceanMonumentDoubleZRoom.postProcess(WorldGenLevel p_228769_, StructureManager p_228770_, ChunkGenerator p_228771_, RandomSource p_228772_, BoundingBox p_228773_, ChunkPos p_228774_, BlockPos p_228775_) voidOceanMonumentPieces.OceanMonumentEntryRoom.postProcess(WorldGenLevel p_228782_, StructureManager p_228783_, ChunkGenerator p_228784_, RandomSource p_228785_, BoundingBox p_228786_, ChunkPos p_228787_, BlockPos p_228788_) voidOceanMonumentPieces.OceanMonumentPenthouse.postProcess(WorldGenLevel p_228795_, StructureManager p_228796_, ChunkGenerator p_228797_, RandomSource p_228798_, BoundingBox p_228799_, ChunkPos p_228800_, BlockPos p_228801_) voidOceanMonumentPieces.OceanMonumentSimpleRoom.postProcess(WorldGenLevel p_228901_, StructureManager p_228902_, ChunkGenerator p_228903_, RandomSource p_228904_, BoundingBox p_228905_, ChunkPos p_228906_, BlockPos p_228907_) voidOceanMonumentPieces.OceanMonumentSimpleTopRoom.postProcess(WorldGenLevel p_228914_, StructureManager p_228915_, ChunkGenerator p_228916_, RandomSource p_228917_, BoundingBox p_228918_, ChunkPos p_228919_, BlockPos p_228920_) voidOceanMonumentPieces.OceanMonumentWingRoom.postProcess(WorldGenLevel p_228929_, StructureManager p_228930_, ChunkGenerator p_228931_, RandomSource p_228932_, BoundingBox p_228933_, ChunkPos p_228934_, BlockPos p_228935_) voidOceanRuinPieces.OceanRuinPiece.postProcess(WorldGenLevel p_229029_, StructureManager p_229030_, ChunkGenerator p_229031_, RandomSource p_229032_, BoundingBox p_229033_, ChunkPos p_229034_, BlockPos p_229035_) voidRuinedPortalPiece.postProcess(WorldGenLevel p_229137_, StructureManager p_229138_, ChunkGenerator p_229139_, RandomSource p_229140_, BoundingBox p_229141_, ChunkPos p_229142_, BlockPos p_229143_) voidShipwreckPieces.ShipwreckPiece.postProcess(WorldGenLevel p_229363_, StructureManager p_229364_, ChunkGenerator p_229365_, RandomSource p_229366_, BoundingBox p_229367_, ChunkPos p_229368_, BlockPos p_229369_) voidStrongholdPieces.ChestCorridor.postProcess(WorldGenLevel p_229472_, StructureManager p_229473_, ChunkGenerator p_229474_, RandomSource p_229475_, BoundingBox p_229476_, ChunkPos p_229477_, BlockPos p_229478_) voidStrongholdPieces.FillerCorridor.postProcess(WorldGenLevel p_229502_, StructureManager p_229503_, ChunkGenerator p_229504_, RandomSource p_229505_, BoundingBox p_229506_, ChunkPos p_229507_, BlockPos p_229508_) voidStrongholdPieces.FiveCrossing.postProcess(WorldGenLevel p_229534_, StructureManager p_229535_, ChunkGenerator p_229536_, RandomSource p_229537_, BoundingBox p_229538_, ChunkPos p_229539_, BlockPos p_229540_) voidStrongholdPieces.LeftTurn.postProcess(WorldGenLevel p_229564_, StructureManager p_229565_, ChunkGenerator p_229566_, RandomSource p_229567_, BoundingBox p_229568_, ChunkPos p_229569_, BlockPos p_229570_) voidStrongholdPieces.Library.postProcess(WorldGenLevel p_229596_, StructureManager p_229597_, ChunkGenerator p_229598_, RandomSource p_229599_, BoundingBox p_229600_, ChunkPos p_229601_, BlockPos p_229602_) voidStrongholdPieces.PortalRoom.postProcess(WorldGenLevel p_229635_, StructureManager p_229636_, ChunkGenerator p_229637_, RandomSource p_229638_, BoundingBox p_229639_, ChunkPos p_229640_, BlockPos p_229641_) voidStrongholdPieces.PrisonHall.postProcess(WorldGenLevel p_229667_, StructureManager p_229668_, ChunkGenerator p_229669_, RandomSource p_229670_, BoundingBox p_229671_, ChunkPos p_229672_, BlockPos p_229673_) voidStrongholdPieces.RightTurn.postProcess(WorldGenLevel p_229694_, StructureManager p_229695_, ChunkGenerator p_229696_, RandomSource p_229697_, BoundingBox p_229698_, ChunkPos p_229699_, BlockPos p_229700_) voidStrongholdPieces.RoomCrossing.postProcess(WorldGenLevel p_229725_, StructureManager p_229726_, ChunkGenerator p_229727_, RandomSource p_229728_, BoundingBox p_229729_, ChunkPos p_229730_, BlockPos p_229731_) voidStrongholdPieces.StairsDown.postProcess(WorldGenLevel p_229775_, StructureManager p_229776_, ChunkGenerator p_229777_, RandomSource p_229778_, BoundingBox p_229779_, ChunkPos p_229780_, BlockPos p_229781_) voidStrongholdPieces.Straight.postProcess(WorldGenLevel p_229820_, StructureManager p_229821_, ChunkGenerator p_229822_, RandomSource p_229823_, BoundingBox p_229824_, ChunkPos p_229825_, BlockPos p_229826_) voidStrongholdPieces.StraightStairsDown.postProcess(WorldGenLevel p_229853_, StructureManager p_229854_, ChunkGenerator p_229855_, RandomSource p_229856_, BoundingBox p_229857_, ChunkPos p_229858_, BlockPos p_229859_) voidSwampHutPiece.postProcess(WorldGenLevel p_229961_, StructureManager p_229962_, ChunkGenerator p_229963_, RandomSource p_229964_, BoundingBox p_229965_, ChunkPos p_229966_, BlockPos p_229967_) StrongholdPieces.StrongholdPiece.randomSmallDoor(RandomSource 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 p_230251_, BlockPos p_230252_, BlockPos p_230253_, RandomSource p_230254_) booleanBlockMatchTest.test(BlockState p_230277_, RandomSource p_230278_) booleanBlockStateMatchTest.test(BlockState p_230293_, RandomSource p_230294_) booleanLinearPosTest.test(BlockPos p_230296_, BlockPos p_230297_, BlockPos p_230298_, RandomSource p_230299_) 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 p_230317_, RandomSource p_230318_) booleanRandomBlockStateMatchTest.test(BlockState p_230320_, RandomSource p_230321_) abstract booleanRuleTest.test(BlockState pState, RandomSource pRandom) booleanTagMatchTest.test(BlockState p_230452_, RandomSource p_230453_) -
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 p_277994_, CompoundTag p_277854_) AppendStatic.apply(RandomSource p_277835_, CompoundTag p_277892_) Clear.apply(RandomSource p_277601_, CompoundTag p_277931_) Passthrough.apply(RandomSource p_277737_, CompoundTag p_277665_) RuleBlockEntityModifier.apply(RandomSource 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 p_230567_, BlockPos p_230568_, FluidState p_230569_, RandomSource p_230570_) voidWaterFluid.animateTick(Level p_230606_, BlockPos p_230607_, FluidState p_230608_, RandomSource p_230609_) protected voidFluid.randomTick(ServerLevel pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) voidFluidState.randomTick(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) voidLavaFluid.randomTick(ServerLevel p_376493_, BlockPos p_230573_, FluidState p_230574_, RandomSource p_230575_) -
Uses of RandomSource in net.minecraft.world.level.redstone
Methods in net.minecraft.world.level.redstone with parameters of type RandomSource -
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 p_230965_, int p_230966_, int p_230967_) intApplyBonusCount.Formula.calculateNewCount(RandomSource pRandom, int pOriginalCount, int pEnchantmentLevel) intApplyBonusCount.OreDrops.calculateNewCount(RandomSource p_230972_, int p_230973_, int p_230974_) intApplyBonusCount.UniformBonusCount.calculateNewCount(RandomSource p_230976_, int p_230977_, int p_230978_) 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
Fields in net.neoforged.neoforge.client declared as RandomSourceModifier and TypeFieldDescriptionprivate static final RandomSourceClientHooks.OUTLINE_PASS_RANDOM -
Uses of RandomSource in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions with parameters of type RandomSourceModifier and TypeMethodDescriptiondefault List<BlockModelPart> BlockStateModelExtension.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) Helper to collects the parts of the model into a new list.default voidBlockStateModelExtension.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockModelPart> parts) Collects the parts of the model that should be rendered.default @Nullable ObjectBlockStateModelExtension.createGeometryKey(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) Collects all the data used by the model to produce renderable geometry. -
Uses of RandomSource in net.neoforged.neoforge.client.model
Methods in net.neoforged.neoforge.client.model with parameters of type RandomSourceModifier and TypeMethodDescriptionvoidDelegateBlockStateModel.collectParts(RandomSource random, List<BlockModelPart> parts) Deprecated.voidDelegateBlockStateModel.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockModelPart> parts) default voidDynamicBlockStateModel.collectParts(RandomSource random, List<BlockModelPart> parts) Deprecated.voidDynamicBlockStateModel.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockModelPart> parts) -
Uses of RandomSource in net.neoforged.neoforge.client.model.block
Methods in net.neoforged.neoforge.client.model.block with parameters of type RandomSourceModifier and TypeMethodDescriptionvoidCompositeBlockModel.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockModelPart> parts) @Nullable ObjectCompositeBlockModel.createGeometryKey(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) -
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, EntitySpawnReason 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, EntitySpawnReason 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)
BlockStateModelExtension.collectParts(net.minecraft.world.level.BlockAndTintGetter, net.minecraft.core.BlockPos, net.minecraft.world.level.block.state.BlockState, RandomSource).