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[] selections, RandomSource random) static <T> TUtil.getRandom(List<T> selections, RandomSource random) static <T> TUtil.getRandom(T[] selections, RandomSource random) static <T> Optional<T> Util.getRandomSafe(List<T> selections, RandomSource random) static <T> voidUtil.shuffle(List<T> list, RandomSource random) static <T> List<T> Util.shuffledCopy(it.unimi.dsi.fastutil.objects.ObjectArrayList<T> list, RandomSource random) static <T> List<T> Util.shuffledCopy(T[] array, RandomSource random) static it.unimi.dsi.fastutil.ints.IntArrayListUtil.toShuffledList(IntStream stream, RandomSource random) static <T> List<T> Util.toShuffledList(Stream<T> stream, RandomSource random) -
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 posX, int posY, int posZ, int range, RandomSource random, Block block, BlockPos.MutableBlockPos blockPos) -
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 random) SpriteSet.get(RandomSource random) -
Uses of RandomSource in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as RandomSourceMethods in net.minecraft.client.renderer with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate voidLevelRenderer.shootParticles(int p_direction, BlockPos pos, RandomSource random, SimpleParticleType particleType) -
Uses of RandomSource in net.minecraft.client.renderer.block
Fields in net.minecraft.client.renderer.block declared as RandomSourceMethods in net.minecraft.client.renderer.block with parameters of type RandomSourceModifier and TypeMethodDescriptionvoidBlockRenderDispatcher.renderBatched(BlockState state, BlockPos pos, BlockAndTintGetter level, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random) voidBlockRenderDispatcher.renderBatched(BlockState state, BlockPos pos, BlockAndTintGetter level, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random, ModelData modelData, RenderType renderType) voidModelBlockRenderer.tesselateBlock(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random, long seed, int packedOverlay) Deprecated.voidModelBlockRenderer.tesselateBlock(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random, long seed, int packedOverlay, ModelData modelData, RenderType renderType) voidModelBlockRenderer.tesselateWithAO(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random, long seed, int packedOverlay) Deprecated.voidModelBlockRenderer.tesselateWithAO(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random, long seed, int packedOverlay, ModelData modelData, RenderType renderType) voidModelBlockRenderer.tesselateWithoutAO(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random, long seed, int packedOverlay) Deprecated.voidModelBlockRenderer.tesselateWithoutAO(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random, long seed, int packedOverlay, ModelData modelData, RenderType renderType) -
Uses of RandomSource in net.minecraft.client.renderer.blockentity
Fields in net.minecraft.client.renderer.blockentity declared as RandomSourceMethods in net.minecraft.client.renderer.blockentity with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic voidVaultRenderer.renderItemInside(float partialTick, Level level, PoseStack poseStack, MultiBufferSource buffer, int packedLight, ItemStack item, ItemRenderer itemRenderer, float previousSpin, float currentSpin, RandomSource random) -
Uses of RandomSource in net.minecraft.client.renderer.entity
Fields in net.minecraft.client.renderer.entity declared as RandomSourceModifier and TypeFieldDescriptionprivate final RandomSourceEndermanRenderer.randomprivate final RandomSourceItemEntityRenderer.randomMethods in net.minecraft.client.renderer.entity with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic voidItemEntityRenderer.renderMultipleFromCount(ItemRenderer itemRenderer, PoseStack poseStack, MultiBufferSource buffer, int packedLight, ItemStack item, BakedModel model, boolean isGui3d, RandomSource random) static voidItemEntityRenderer.renderMultipleFromCount(ItemRenderer itemRenderer, PoseStack poseStack, MultiBufferSource buffer, int packedLight, ItemStack item, RandomSource random, Level level) -
Uses of RandomSource in net.minecraft.client.resources
Fields in net.minecraft.client.resources declared as RandomSource -
Uses of RandomSource in net.minecraft.client.resources.model
Methods in net.minecraft.client.resources.model with parameters of type RandomSourceModifier and TypeMethodDescriptionBakedModel.getQuads(BlockState state, Direction direction, RandomSource random) Deprecated.BuiltInModel.getQuads(BlockState state, Direction direction, RandomSource random) MultiPartBakedModel.getQuads(BlockState state, Direction direction, RandomSource random, ModelData modelData, RenderType renderType) SimpleBakedModel.getQuads(BlockState state, Direction direction, RandomSource random) WeightedBakedModel.getQuads(BlockState state, Direction direction, RandomSource random, ModelData modelData, RenderType renderType) MultiPartBakedModel.getRenderTypes(BlockState state, RandomSource rand, ModelData data) SimpleBakedModel.getRenderTypes(BlockState state, RandomSource rand, ModelData data) WeightedBakedModel.getRenderTypes(BlockState state, RandomSource rand, ModelData data) -
Uses of RandomSource in net.minecraft.client.resources.sounds
Fields in net.minecraft.client.resources.sounds declared as RandomSourceModifier and TypeFieldDescriptionprotected RandomSourceAbstractSoundInstance.randomprivate final RandomSourceBiomeAmbientSoundsHandler.randomMethods in net.minecraft.client.resources.sounds that return RandomSourceMethods in net.minecraft.client.resources.sounds with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic SimpleSoundInstanceSimpleSoundInstance.forAmbientMood(SoundEvent soundEvent, RandomSource random, double x, double y, double z) Sound.getSound(RandomSource randomSource) Retrieves the sound associated with the element.Constructors in net.minecraft.client.resources.sounds with parameters of type RandomSourceModifierConstructorDescriptionprotectedAbstractSoundInstance(ResourceLocation location, SoundSource source, RandomSource random) protectedAbstractSoundInstance(SoundEvent soundEvent, SoundSource source, RandomSource random) protectedAbstractTickableSoundInstance(SoundEvent p_235076_, SoundSource p_235077_, RandomSource p_235078_) SimpleSoundInstance(ResourceLocation location, SoundSource source, float volume, float pitch, RandomSource random, boolean looping, int delay, SoundInstance.Attenuation attenuation, double x, double y, double z, boolean relative) privateSimpleSoundInstance(SoundEvent soundEvent, SoundSource source, float volume, float pitch, RandomSource random, boolean looping, int delay, SoundInstance.Attenuation attenuation, double x, double y, double z) SimpleSoundInstance(SoundEvent soundEvent, SoundSource source, float volume, float pitch, RandomSource random, double x, double y, double z) SimpleSoundInstance(SoundEvent soundEvent, SoundSource source, float volume, float pitch, RandomSource random, BlockPos entity) -
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 randomSource) Retrieves a randomly selected sound from the sound events based on their weights.Weighted.getSound(RandomSource randomSource) 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 random) DefaultedMappedRegistry.getRandom(RandomSource random) static Direction.AxisDirection.Axis.getRandom(RandomSource random) static DirectionDirection.getRandom(RandomSource random) MappedRegistry.getRandom(RandomSource random) Registry.getRandom(RandomSource random) Direction.Plane.getRandomAxis(RandomSource random) Direction.Plane.getRandomDirection(RandomSource random) HolderSet.getRandomElement(RandomSource random) HolderSet.ListBacked.getRandomElement(RandomSource p_235714_) Registry.getRandomElementOf(TagKey<T> key, RandomSource random) BlockPos.randomBetweenClosed(RandomSource random, int amount, int minX, int minY, int minZ, int maxX, int maxY, int maxZ) BlockPos.randomInCube(RandomSource random, int amount, BlockPos center, int radius) Direction.Plane.shuffledCopy(RandomSource random) -
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 random, String[] strings) -
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 random, int count, double minX, double minZ, double maxX, double maxZ) voidSpreadPlayersCommand.Position.randomize(RandomSource random, double minX, double minZ, double maxX, double maxZ) private static voidSpreadPlayersCommand.spreadPositions(Vec2 center, double spreadDistance, ServerLevel level, RandomSource random, double minX, double minZ, double maxX, double maxZ, int maxHeight, SpreadPlayersCommand.Position[] positions, boolean respectTeams) -
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 location) -
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 seed) static RandomSourceRandomSource.createNewThreadLocalInstance()static RandomSourceRandomSource.createThreadSafe()Deprecated.RandomSource.fork()Methods in net.minecraft.util with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic UUIDMth.createInsecureUUID(RandomSource random) private static Vec3ParticleUtils.getRandomSpeedRanges(RandomSource random) static doubleMth.nextDouble(RandomSource random, double minimum, double maximum) static floatMth.nextFloat(RandomSource random, float minimum, float maximum) static intMth.nextInt(RandomSource random, int minimum, int maximum) static floatMth.normal(RandomSource random, float mean, float deviation) Generates a value from a normal distribution with the given mean and deviation.static floatMth.randomBetween(RandomSource random, float minInclusive, float maxExclusive) static intMth.randomBetweenInclusive(RandomSource random, int minInclusive, int maxInclusive) static voidParticleUtils.spawnParticleBelow(Level level, BlockPos pos, RandomSource random, ParticleOptions particle) -
Uses of RandomSource in net.minecraft.util.random
Methods in net.minecraft.util.random with parameters of type RandomSourceModifier and TypeMethodDescriptionWeightedRandomList.getRandom(RandomSource random) static <T extends WeightedEntry>
Optional<T> WeightedRandom.getRandomItem(RandomSource random, List<T> entries) static <T extends WeightedEntry>
Optional<T> WeightedRandom.getRandomItem(RandomSource random, List<T> entries, int totalWeight) SimpleWeightedRandomList.getRandomValue(RandomSource random) -
Uses of RandomSource in net.minecraft.util.valueproviders
Methods in net.minecraft.util.valueproviders with parameters of type RandomSourceModifier and TypeMethodDescriptionintBiasedToBottomInt.sample(RandomSource random) intClampedInt.sample(RandomSource random) floatClampedNormalFloat.sample(RandomSource random) static floatClampedNormalFloat.sample(RandomSource random, float mean, float deviation, float min, float max) intClampedNormalInt.sample(RandomSource random) static intClampedNormalInt.sample(RandomSource random, float mean, float deviation, float minInclusive, float maxInclusive) floatConstantFloat.sample(RandomSource random) intConstantInt.sample(RandomSource random) abstract intIntProvider.sample(RandomSource random) floatMultipliedFloats.sample(RandomSource random) floatSampledFloat.sample(RandomSource random) floatTrapezoidFloat.sample(RandomSource random) floatUniformFloat.sample(RandomSource random) intUniformInt.sample(RandomSource random) intWeightedListInt.sample(RandomSource random) -
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 location) RandomSequence.random()Methods in net.minecraft.world with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic voidRandomizableContainer.setBlockEntityLootTable(BlockGetter level, RandomSource random, BlockPos ps, ResourceKey<LootTable> lootTable) Constructors in net.minecraft.world with parameters of type RandomSource -
Uses of RandomSource in net.minecraft.world.effect
Fields in net.minecraft.world.effect with type parameters of type RandomSourceModifier and TypeFieldDescriptionprivate final ToIntFunction<RandomSource> WeavingMobEffect.maxCobwebsprivate final ToIntFunction<RandomSource> InfestedMobEffect.spawnedCountprivate final ToIntFunction<RandomSource> OozingMobEffect.spawnedCountMethods in net.minecraft.world.effect with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate voidWeavingMobEffect.spawnCobwebsRandomlyAround(Level level, RandomSource random, BlockPos pos) Constructor parameters in net.minecraft.world.effect with type arguments of type RandomSourceModifierConstructorDescriptionprotectedInfestedMobEffect(MobEffectCategory category, int color, float chanceToSpawn, ToIntFunction<RandomSource> spawnedCount) protectedOozingMobEffect(MobEffectCategory category, int color, ToIntFunction<RandomSource> spawnedCount) protectedWeavingMobEffect(MobEffectCategory category, int color, ToIntFunction<RandomSource> maxCobwebs) -
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 random) static booleanGlowSquid.checkGlowSquidSpawnRules(EntityType<? extends LivingEntity> glowSquid, ServerLevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanMob.checkMobSpawnRules(EntityType<? extends Mob> type, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static <T extends Entity>
booleanSpawnPlacements.checkSpawnRules(EntityType<T> entityType, ServerLevelAccessor serverLevel, MobSpawnType spawnType, BlockPos pos, RandomSource random) protected voidMob.enchantSpawnedArmor(ServerLevelAccessor level, RandomSource random, EquipmentSlot slot, DifficultyInstance difficulty) private voidMob.enchantSpawnedEquipment(ServerLevelAccessor level, EquipmentSlot slot, RandomSource random, float enchantChance, DifficultyInstance difficulty) protected voidMob.enchantSpawnedWeapon(ServerLevelAccessor level, RandomSource random, DifficultyInstance difficulty) protected voidMob.populateDefaultEquipmentEnchantments(ServerLevelAccessor level, RandomSource random, DifficultyInstance difficulty) protected voidMob.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) booleanSpawnPlacements.SpawnPredicate.test(EntityType<T> entityType, ServerLevelAccessor serverLevel, MobSpawnType spawnType, BlockPos pos, RandomSource random) -
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 random) booleanSetEntityLookTargetSometimes.Ticker.tickDownAndCheck(RandomSource random) Constructors in net.minecraft.world.entity.ai.behavior with parameters of type RandomSourceModifierConstructorDescription(package private)JitteredLinearRetry(RandomSource random, long timestamp) -
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 random, int amount) voidGossipContainer.transferFrom(GossipContainer container, RandomSource randomSource, int amount) -
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 random, int horizontalDistance, int verticalDistance) Gets a random position within a certain distance.static BlockPosRandomPos.generateRandomDirectionWithinRadians(RandomSource random, int maxHorizontalDifference, int yRange, int y, double x, double z, double maxAngleDelta) static BlockPosRandomPos.generateRandomPosTowardDirection(PathfinderMob mob, int range, RandomSource random, BlockPos pos) -
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> bat, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) -
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> animal, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanFox.checkFoxSpawnRules(EntityType<Fox> fox, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanMushroomCow.checkMushroomSpawnRules(EntityType<MushroomCow> mushroomCow, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource randomSource) static booleanOcelot.checkOcelotSpawnRules(EntityType<Ocelot> ocelot, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanParrot.checkParrotSpawnRules(EntityType<Parrot> parrot, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanPolarBear.checkPolarBearSpawnRules(EntityType<PolarBear> polarBear, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanRabbit.checkRabbitSpawnRules(EntityType<Rabbit> rabbit, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanWaterAnimal.checkSurfaceWaterAnimalSpawnRules(EntityType<? extends WaterAnimal> waterAnimal, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanTropicalFish.checkTropicalFishSpawnRules(EntityType<TropicalFish> tropicalFish, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanTurtle.checkTurtleSpawnRules(EntityType<Turtle> turtle, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanWolf.checkWolfSpawnRules(EntityType<Wolf> wolf, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static SoundEventParrot.getAmbient(Level level, RandomSource random) static floatParrot.getPitch(RandomSource random) static Panda.GenePanda.Gene.getRandom(RandomSource random) static DyeColorSheep.getRandomSheepColor(RandomSource random) protected voidFox.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) -
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> entityType, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) -
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> axolotl, ServerLevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static Axolotl.VariantAxolotl.Variant.getCommonSpawnVariant(RandomSource random) static Axolotl.VariantAxolotl.Variant.getRareSpawnVariant(RandomSource random) private static Axolotl.VariantAxolotl.Variant.getSpawnVariant(RandomSource random, boolean common) Axolotl.AxolotlGroupData.getVariant(RandomSource random) private static booleanAxolotl.useRareVariant(RandomSource random) -
Uses of RandomSource in net.minecraft.world.entity.animal.camel
Methods in net.minecraft.world.entity.animal.camel with parameters of type RandomSourceModifier and TypeMethodDescriptionprotected static voidCamelAi.initMemories(Camel camel, RandomSource random) -
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> animal, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) protected static voidFrogAi.initMemories(Frog frog, RandomSource random) -
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> goat, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) protected static voidGoatAi.initMemories(Goat goat, RandomSource random) -
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> animal, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanZombieHorse.checkZombieHorseSpawnRules(EntityType<? extends Animal> animal, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) (package private) static doubleAbstractHorse.createOffspringAttribute(double value1, double value2, double min, double max, RandomSource random) protected voidAbstractChestedHorse.randomizeAttributes(RandomSource random) protected voidAbstractHorse.randomizeAttributes(RandomSource random) protected voidHorse.randomizeAttributes(RandomSource random) protected voidSkeletonHorse.randomizeAttributes(RandomSource random) protected voidZombieHorse.randomizeAttributes(RandomSource random) private voidLlama.setRandomStrength(RandomSource random) -
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> type, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) Static predicate for determining whether a monster can spawn at the provided location.static booleanDrowned.checkDrownedSpawnRules(EntityType<Drowned> drowned, ServerLevelAccessor serverLevel, MobSpawnType mobSpawnType, BlockPos pos, RandomSource random) static booleanEndermite.checkEndermiteSpawnRules(EntityType<Endermite> endermite, LevelAccessor serverLevel, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanGhast.checkGhastSpawnRules(EntityType<Ghast> ghast, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanGuardian.checkGuardianSpawnRules(EntityType<? extends Guardian> guardian, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanHusk.checkHuskSpawnRules(EntityType<Husk> husk, ServerLevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanMagmaCube.checkMagmaCubeSpawnRules(EntityType<MagmaCube> magmaCube, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanMonster.checkMonsterSpawnRules(EntityType<? extends Monster> type, ServerLevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) Static predicate for determining whether a monster can spawn at the provided location, incorporating a check of the current light level at the location.static booleanPatrollingMonster.checkPatrollingMonsterSpawnRules(EntityType<? extends PatrollingMonster> patrollingMonster, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanSilverfish.checkSilverfishSpawnRules(EntityType<Silverfish> silverfish, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanSlime.checkSlimeSpawnRules(EntityType<Slime> slime, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanStray.checkStraySpawnRules(EntityType<Stray> stray, ServerLevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanStrider.checkStriderSpawnRules(EntityType<Strider> strider, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanZombifiedPiglin.checkZombifiedPiglinSpawnRules(EntityType<ZombifiedPiglin> zombifiedPiglin, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) protected voidPillager.enchantSpawnedWeapon(ServerLevelAccessor level, RandomSource random, DifficultyInstance difficulty) static booleanZombie.getSpawnAsBabyOdds(RandomSource random) static booleanMonster.isDarkEnoughToSpawn(ServerLevelAccessor level, BlockPos pos, RandomSource random) Static predicate for determining if the current light level and environmental conditions allow for a monster to spawn.protected voidWitherSkeleton.populateDefaultEquipmentEnchantments(ServerLevelAccessor level, RandomSource random, DifficultyInstance difficulty) protected voidAbstractSkeleton.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) protected voidDrowned.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) protected voidPillager.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) protected voidVex.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) protected voidVindicator.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) protected voidWitherSkeleton.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) protected voidZombie.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) protected voidZombifiedPiglin.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) voidSpider.SpiderEffectsGroupData.setRandomEffect(RandomSource random) -
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 breeze, RandomSource random, Vec3 target) static Vec3BreezeUtil.randomPointBehindTarget(LivingEntity target, RandomSource random) -
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> hoglin, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) -
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> piglin, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) protected static voidPiglinAi.initMemories(Piglin piglin, RandomSource random) private voidPiglin.maybeWearArmor(EquipmentSlot slot, ItemStack stack, RandomSource random) protected voidPiglin.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) protected voidPiglinBrute.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) -
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 trader, RandomSource random) VillagerTrades.EmeraldForItems.getOffer(Entity trader, RandomSource random) VillagerTrades.EmeraldsForVillagerTypeItem.getOffer(Entity trader, RandomSource random) VillagerTrades.EnchantBookForEmeralds.getOffer(Entity trader, RandomSource random) VillagerTrades.EnchantedItemForEmeralds.getOffer(Entity trader, RandomSource random) VillagerTrades.FailureItemListing.getOffer(Entity p_302036_, RandomSource p_301986_) VillagerTrades.ItemListing.getOffer(Entity trader, RandomSource random) VillagerTrades.ItemsAndEmeraldsToItems.getOffer(Entity trader, RandomSource random) VillagerTrades.ItemsForEmeralds.getOffer(Entity trader, RandomSource random) VillagerTrades.SuspiciousStewForEmerald.getOffer(Entity trader, RandomSource random) VillagerTrades.TippedArrowForItemsAndEmeralds.getOffer(Entity trader, RandomSource random) VillagerTrades.TreasureMapForEmeralds.getOffer(Entity trader, RandomSource random) VillagerTrades.TypeSpecificTrade.getOffer(Entity trader, RandomSource random) private static DyeItemVillagerTrades.DyedArmorForEmeralds.getRandomDye(RandomSource random) -
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 projectile, Entity entity, RandomSource random) -
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 raiderType, RandomSource random, int wave, DifficultyInstance p_difficulty, boolean shouldSpawnBonusGroup) -
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 isHighPitched, RandomSource random) private static floatCrossbowItem.getShotPitch(RandomSource random, int index) static voidInstrumentItem.setRandom(ItemStack stack, TagKey<Instrument> instrumentTag, RandomSource random) -
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 random, ItemStack stack, int level, Stream<Holder<Enchantment>> possibleEnchantments) static ItemStackEnchantmentHelper.enchantItem(RandomSource random, ItemStack stack, int level, RegistryAccess registryAccess, Optional<? extends HolderSet<Enchantment>> possibleEnchantments) static voidEnchantmentHelper.enchantItemFromProvider(ItemStack stack, RegistryAccess registries, ResourceKey<EnchantmentProvider> key, DifficultyInstance difficulty, RandomSource random) static intEnchantmentHelper.getEnchantmentCost(RandomSource random, int enchantNum, int power, ItemStack stack) 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 random, int enchantmentLevel, org.apache.commons.lang3.mutable.MutableFloat value) voidEnchantment.modifyTridentSpinAttackStrength(RandomSource random, int enchantmentLevel, org.apache.commons.lang3.mutable.MutableFloat value) voidEnchantment.modifyUnfilteredValue(DataComponentType<EnchantmentValueEffect> componentType, RandomSource random, int enchantmentLevel, org.apache.commons.lang3.mutable.MutableFloat value) static List<EnchantmentInstance> EnchantmentHelper.selectEnchantment(RandomSource random, ItemStack stack, int level, Stream<Holder<Enchantment>> possibleEnchantments) -
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 position, double center, float size, RandomSource random) doubleSpawnParticlesEffect.PositionSourceType.CoordinateSource.getCoordinate(double position, double center, float size, RandomSource random) doubleSpawnParticlesEffect.PositionSourceType.getCoordinate(double position, double center, float size, RandomSource random) doubleSpawnParticlesEffect.VelocitySource.getVelocity(double scale, RandomSource random) floatAddValue.process(int enchantmentLevel, RandomSource random, float value) floatAllOf.ValueEffects.process(int p_345324_, RandomSource p_345137_, float p_344866_) floatEnchantmentValueEffect.process(int enchantmentLevel, RandomSource random, float value) floatMultiplyValue.process(int enchantmentLevel, RandomSource random, float value) floatRemoveBinomial.process(int enchantmentLevel, RandomSource random, float value) floatSetValue.process(int enchantmentLevel, RandomSource random, float value) -
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 stack, ItemEnchantments.Mutable enchantments, RandomSource random, DifficultyInstance difficulty) voidEnchantmentsByCost.enchant(ItemStack stack, ItemEnchantments.Mutable enchantments, RandomSource random, DifficultyInstance difficulty) voidEnchantmentsByCostWithDifficulty.enchant(ItemStack stack, ItemEnchantments.Mutable enchantments, RandomSource random, DifficultyInstance difficulty) voidSingleEnchantment.enchant(ItemStack stack, ItemEnchantments.Mutable enchantments, RandomSource random, DifficultyInstance difficulty) -
Uses of RandomSource in net.minecraft.world.level
Fields in net.minecraft.world.level declared as RandomSourceModifier and TypeFieldDescriptionprivate final RandomSourceExplosion.randomfinal RandomSourceLevel.randomprivate final RandomSourceLevel.threadSafeRandomDeprecated.Methods in net.minecraft.world.level that return RandomSourceMethods in net.minecraft.world.level with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate SpawnDataBaseSpawner.getOrCreateNextSpawnData(Level level, RandomSource random, BlockPos pos) private static Optional<MobSpawnSettings.SpawnerData> NaturalSpawner.getRandomSpawnMobAt(ServerLevel level, StructureManager structureManager, ChunkGenerator generator, MobCategory category, RandomSource random, BlockPos pos) voidBaseSpawner.setEntityId(EntityType<?> type, Level level, RandomSource random, BlockPos pos) voidSpawner.setEntityId(EntityType<?> entityType, RandomSource random) static voidNaturalSpawner.spawnMobsForChunkGeneration(ServerLevelAccessor levelAccessor, Holder<Biome> biome, ChunkPos chunkPos, RandomSource random) -
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 random) BiomeSource.findBiomeHorizontal(int x, int y, int z, int radius, int increment, Predicate<Holder<Biome>> biomePredicate, RandomSource random, boolean findClosest, Climate.Sampler sampler) BiomeSource.findBiomeHorizontal(int x, int y, int z, int radius, Predicate<Holder<Biome>> biomePredicate, RandomSource random, Climate.Sampler sampler) FixedBiomeSource.findBiomeHorizontal(int x, int y, int z, int radius, int increment, Predicate<Holder<Biome>> biomePredicate, RandomSource random, boolean findClosest, Climate.Sampler sampler) -
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 level, Vec3 offset, RandomSource random) voidSaplingBlock.advanceTree(ServerLevel level, BlockPos pos, BlockState state, RandomSource random) voidAbstractCandleBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBaseFireBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBeehiveBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBlastFurnaceBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBrewingStandBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBrushableBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBubbleColumnBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidCampfireBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidCherryLeavesBlock.animateTick(BlockState p_272714_, Level p_272837_, BlockPos p_273218_, RandomSource p_273360_) voidCryingObsidianBlock.animateTick(BlockState p_221055_, Level p_221056_, BlockPos p_221057_, RandomSource p_221058_) voidEnchantingTableBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidEnderChestBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidEndGatewayBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidEndPortalBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidEndRodBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidFallingBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidFurnaceBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidLeavesBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidLeverBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidLightningRodBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidMyceliumBlock.animateTick(BlockState p_221789_, Level p_221790_, BlockPos p_221791_, RandomSource p_221792_) voidNetherPortalBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidPointedDripstoneBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRedStoneOreBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRedstoneTorchBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRedstoneWallTorchBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRedStoneWireBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRepeaterBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRespawnAnchorBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidSculkSensorBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidSmokerBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidSporeBlossomBlock.animateTick(BlockState p_222503_, Level p_222504_, BlockPos p_222505_, RandomSource p_222506_) voidTorchBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidWallTorchBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidWetSpongeBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidWitherRoseBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).private booleanSculkVeinBlock.attemptPlaceSculk(SculkSpreader spreader, LevelAccessor level, BlockPos pos, RandomSource random) intSculkBehaviour.attemptUseCharge(SculkSpreader.ChargeCursor cursor, LevelAccessor level, BlockPos pos, RandomSource random, SculkSpreader spreader, boolean shouldConvertBlocks) intSculkBlock.attemptUseCharge(SculkSpreader.ChargeCursor cursor, LevelAccessor level, BlockPos pos, RandomSource random, SculkSpreader spreader, boolean shouldConvertBlocks) intSculkVeinBlock.attemptUseCharge(SculkSpreader.ChargeCursor cursor, LevelAccessor level, BlockPos pos, RandomSource random, SculkSpreader spreader, boolean shouldConvertBlocks) default voidChangeOverTimeBlock.changeOverTime(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) private voidFireBlock.checkBurnOut(Level level, BlockPos pos, int chance, RandomSource random, int age, Direction face) private BlockStateVineBlock.copyRandomFaces(BlockState sourceState, BlockState spreadState, RandomSource random) default booleanSculkBehaviour.depositCharge(LevelAccessor level, BlockPos pos, RandomSource random) static voidChorusFlowerBlock.generatePlant(LevelAccessor level, BlockPos pos, RandomSource random, int maxHorizontalDistance) protected intCaveVinesBlock.getBlocksToGrowWhenBonemealed(RandomSource p_220928_) protected abstract intGrowingPlantHeadBlock.getBlocksToGrowWhenBonemealed(RandomSource random) protected intKelpBlock.getBlocksToGrowWhenBonemealed(RandomSource random) static intNetherVines.getBlocksToGrowWhenBonemealed(RandomSource random) protected intTwistingVinesBlock.getBlocksToGrowWhenBonemealed(RandomSource p_222649_) protected intWeepingVinesBlock.getBlocksToGrowWhenBonemealed(RandomSource p_222680_) private static intFireBlock.getFireTickDelay(RandomSource random) Gets the delay before this block ticks again (without counting random ticks)private static intFrogspawnBlock.getFrogspawnHatchDelay(RandomSource random) protected BlockStateCaveVinesBlock.getGrowIntoState(BlockState p_220935_, RandomSource p_220936_) protected BlockStateGrowingPlantHeadBlock.getGrowIntoState(BlockState state, RandomSource random) default Optional<BlockState> ChangeOverTimeBlock.getNextState(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) static RotationRotation.getRandom(RandomSource random) Chooses a random rotation.private BlockStateSculkBlock.getRandomGrowthState(LevelAccessor level, BlockPos pos, RandomSource random, boolean isWorldGeneration) SculkSpreader.ChargeCursor.getRandomizedNonCornerNeighbourOffsets(RandomSource random) private doubleFrogspawnBlock.getRandomTadpolePositionOffset(RandomSource random) Rotation.getShuffled(RandomSource random) Get a list of all rotations in random order.private static BlockPosSculkSpreader.ChargeCursor.getValidMovementPos(LevelAccessor level, BlockPos pos, RandomSource random) protected voidBambooStalkBlock.growBamboo(BlockState state, Level level, BlockPos pos, RandomSource random, int age) booleanMushroomBlock.growMushroom(ServerLevel level, BlockPos pos, BlockState state, RandomSource random) static voidPointedDripstoneBlock.growStalactiteOrStalagmiteIfPossible(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) private static voidChorusFlowerBlock.growTreeRecursive(LevelAccessor level, BlockPos branchPos, RandomSource random, BlockPos originalBranchPos, int maxHorizontalDistance, int iterations) private voidFrogspawnBlock.hatchFrogspawn(ServerLevel level, BlockPos pos, RandomSource random) booleanAzaleaBlock.isBonemealSuccess(Level p_220712_, RandomSource p_220713_, BlockPos p_220714_, BlockState p_220715_) booleanBambooSaplingBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanBambooStalkBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanBigDripleafBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanBigDripleafStemBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanBonemealableBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) 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 level, RandomSource random, BlockPos pos, BlockState state) booleanCropBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanFungusBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanGlowLichenBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanGrassBlock.isBonemealSuccess(Level p_221275_, RandomSource p_221276_, BlockPos p_221277_, BlockState p_221278_) booleanGrowingPlantBodyBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanGrowingPlantHeadBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanMangroveLeavesBlock.isBonemealSuccess(Level p_221437_, RandomSource p_221438_, BlockPos p_221439_, BlockState p_221440_) booleanMangrovePropaguleBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanMossBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanMushroomBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanNetherrackBlock.isBonemealSuccess(Level p_221816_, RandomSource p_221817_, BlockPos p_221818_, BlockState p_221819_) booleanNyliumBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanPinkPetalsBlock.isBonemealSuccess(Level p_272604_, RandomSource p_273609_, BlockPos p_272988_, BlockState p_273231_) booleanPitcherCropBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanRootedDirtBlock.isBonemealSuccess(Level p_221979_, RandomSource p_221980_, BlockPos p_221981_, BlockState p_221982_) booleanSaplingBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanSeagrassBlock.isBonemealSuccess(Level p_222428_, RandomSource p_222429_, BlockPos p_222430_, BlockState p_222431_) booleanSeaPickleBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanSmallDripleafBlock.isBonemealSuccess(Level p_222438_, RandomSource p_222439_, BlockPos p_222440_, BlockState p_222441_) booleanStemBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanSweetBerryBushBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanTallFlowerBlock.isBonemealSuccess(Level p_222573_, RandomSource p_222574_, BlockPos p_222575_, BlockState p_222576_) booleanTallGrassBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) default voidSculkBehaviour.onDischarged(LevelAccessor level, BlockState state, BlockPos pos, RandomSource random) voidSculkVeinBlock.onDischarged(LevelAccessor level, BlockState state, BlockPos pos, RandomSource random) voidAzaleaBlock.performBonemeal(ServerLevel p_220707_, RandomSource p_220708_, BlockPos p_220709_, BlockState p_220710_) voidBambooSaplingBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidBambooStalkBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidBigDripleafBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidBigDripleafStemBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidBonemealableBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) 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 level, RandomSource random, BlockPos pos, BlockState state) voidCropBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidFungusBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidGlowLichenBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidGrassBlock.performBonemeal(ServerLevel p_221270_, RandomSource p_221271_, BlockPos p_221272_, BlockState p_221273_) voidGrowingPlantBodyBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidGrowingPlantHeadBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidMangroveLeavesBlock.performBonemeal(ServerLevel p_221427_, RandomSource p_221428_, BlockPos p_221429_, BlockState p_221430_) voidMangrovePropaguleBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidMossBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidMushroomBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidNetherrackBlock.performBonemeal(ServerLevel p_221811_, RandomSource p_221812_, BlockPos p_221813_, BlockState p_221814_) voidNyliumBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidPinkPetalsBlock.performBonemeal(ServerLevel p_273476_, RandomSource p_273093_, BlockPos p_272601_, BlockState p_272683_) voidPitcherCropBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidRootedDirtBlock.performBonemeal(ServerLevel p_221974_, RandomSource p_221975_, BlockPos p_221976_, BlockState p_221977_) voidSaplingBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidSeagrassBlock.performBonemeal(ServerLevel p_222423_, RandomSource p_222424_, BlockPos p_222425_, BlockState p_222426_) voidSeaPickleBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidSmallDripleafBlock.performBonemeal(ServerLevel p_222433_, RandomSource p_222434_, BlockPos p_222435_, BlockState p_222436_) voidStemBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidSweetBerryBushBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidTallFlowerBlock.performBonemeal(ServerLevel p_222568_, RandomSource p_222569_, BlockPos p_222570_, BlockState p_222571_) voidTallGrassBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) private voidNyliumBlock.place(Registry<ConfiguredFeature<?, ?>> featureRegistry, ResourceKey<ConfiguredFeature<?, ?>> featureKey, ServerLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos pos) static voidBigDripleafBlock.placeWithRandomHeight(LevelAccessor level, RandomSource random, BlockPos pos, Direction direction) protected voidBambooSaplingBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidBambooStalkBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidBeetrootBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidBuddingAmethystBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidCactusBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidChorusFlowerBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidCocoaBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidCropBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidFarmBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidGrowingPlantHeadBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidIceBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidLeavesBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidLiquidBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidMangrovePropaguleBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidMushroomBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidNetherPortalBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidNetherWartBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidNyliumBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.voidPitcherCropBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidPointedDripstoneBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidRedStoneOreBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidSaplingBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidSnowLayerBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidSpreadingSnowyDirtBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidStemBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidSugarCaneBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidSweetBerryBushBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.voidTorchflowerCropBlock.randomTick(BlockState p_273361_, ServerLevel p_273515_, BlockPos p_273546_, RandomSource p_273261_) protected voidTurtleEggBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidVineBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidWeatheringCopperBulbBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidWeatheringCopperDoorBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidWeatheringCopperFullBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidWeatheringCopperGrateBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidWeatheringCopperSlabBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidWeatheringCopperStairBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidWeatheringCopperTrapDoorBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.private voidRedStoneWireBlock.spawnParticlesAlongLine(Level level, RandomSource random, BlockPos pos, Vec3 particleVec, Direction xDirection, Direction zDirection, float min, float max) private voidFrogspawnBlock.spawnTadpoles(ServerLevel level, BlockPos pos, RandomSource random) MultifaceSpreader.spreadFromFaceTowardRandomDirection(BlockState state, LevelAccessor level, BlockPos pos, Direction spreadDirection, RandomSource random, boolean markForPostprocessing) MultifaceSpreader.spreadFromRandomFaceTowardRandomDirection(BlockState state, LevelAccessor level, BlockPos pos, RandomSource random) protected voidAbstractCauldronBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBambooStalkBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBarrelBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBasePressurePlateBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBigDripleafBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBigDripleafStemBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) voidBrushableBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBubbleColumnBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidButtonBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCactusBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidChestBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidChorusFlowerBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidChorusPlantBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCommandBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidComparatorBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidComposterBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCoralBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCoralFanBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCoralPlantBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCoralWallFanBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCrafterBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidDetectorRailBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidDiodeBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidDirtPathBlock.tick(BlockState p_221070_, ServerLevel p_221071_, BlockPos p_221072_, RandomSource p_221073_) protected voidDispenserBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidEnderChestBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidFallingBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidFarmBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidFireBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidFrogspawnBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidFrostedIceBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidGrowingPlantBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidLeavesBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidLecternBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidLightningRodBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidMagmaBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidObserverBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidPointedDripstoneBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidRedstoneLampBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidRedstoneTorchBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidScaffoldingBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidSculkCatalystBlock.tick(BlockState p_222104_, ServerLevel p_222105_, BlockPos p_222106_, RandomSource p_222107_) protected voidSculkSensorBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidSculkShriekerBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) voidSnifferEggBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidSoulSandBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidSugarCaneBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidTargetBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidTripWireBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidTripWireHookBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) voidSculkSpreader.ChargeCursor.update(LevelAccessor level, BlockPos pos, RandomSource random, SculkSpreader spreader, boolean shouldConvertBlocks) voidSculkSpreader.updateCursors(LevelAccessor level, BlockPos pos, RandomSource random, boolean shouldConvertBlocks) -
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 seed) Methods in net.minecraft.world.level.block.entity with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate voidSculkCatalystBlockEntity.CatalystListener.bloom(ServerLevel level, BlockPos pos, BlockState state, RandomSource random) intDispenserBlockEntity.getRandomSlot(RandomSource random) voidSpawnerBlockEntity.setEntityId(EntityType<?> type, RandomSource random) voidTrialSpawnerBlockEntity.setEntityId(EntityType<?> entityType, RandomSource random) -
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 level, BlockPos pos, RandomSource random) static voidTrialSpawner.addDetectPlayerParticles(Level level, BlockPos pos, RandomSource random, int type, ParticleOptions particle) static voidTrialSpawner.addEjectItemParticles(Level level, BlockPos pos, RandomSource random) static voidTrialSpawner.addSpawnParticles(Level level, BlockPos pos, RandomSource random, SimpleParticleType particleType) voidTrialSpawnerState.ParticleEmission.emit(Level level, RandomSource random, BlockPos pos, boolean isOminous) protected SpawnDataTrialSpawnerData.getOrCreateNextSpawnData(TrialSpawner spawner, RandomSource random) booleanTrialSpawnerData.hasMobToSpawn(TrialSpawner trialSpawner, RandomSource random) voidTrialSpawnerData.setEntityId(TrialSpawner spawner, RandomSource random, EntityType<?> entityType) -
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 pos, RandomSource random) private static Vec3VaultBlockEntity.Client.randomPosInsideCage(BlockPos pos, RandomSource random) -
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 random, boolean flowers) private ResourceKey<ConfiguredFeature<?, ?>> TreeGrower.getConfiguredMegaFeature(RandomSource random) booleanTreeGrower.growTree(ServerLevel level, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, RandomSource random) -
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 level, BlockPos pos, RandomSource random) protected voidBlockBehaviour.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.voidBlockBehaviour.BlockStateBase.tick(ServerLevel level, BlockPos pos, RandomSource random) protected voidBlockBehaviour.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) -
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 x, int y, int z) PositionalRandomFactory.at(int x, int y, int z) default RandomSourceXoroshiroRandomSource.XoroshiroPositionalRandomFactory.at(int x, int y, int z) LegacyRandomSource.fork()SingleThreadedRandomSource.fork()ThreadSafeLegacyRandomSource.fork()Deprecated.WorldgenRandom.fork()XoroshiroRandomSource.fork()LegacyRandomSource.LegacyPositionalRandomFactory.fromHashOf(String name) PositionalRandomFactory.fromHashOf(String name) default RandomSourcePositionalRandomFactory.fromHashOf(ResourceLocation name) XoroshiroRandomSource.XoroshiroPositionalRandomFactory.fromHashOf(String name) LegacyRandomSource.LegacyPositionalRandomFactory.fromSeed(long seed) PositionalRandomFactory.fromSeed(long seed) XoroshiroRandomSource.XoroshiroPositionalRandomFactory.fromSeed(long seed) WorldgenRandom.Algorithm.newInstance(long seed) static RandomSourceWorldgenRandom.seedSlimeChunk(int chunkX, int chunkZ, long levelSeed, long salt) 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 random) private static voidSurfaceSystem.makeBands(RandomSource random, BlockState[] output, int minSize, BlockState state) private booleanPatrolSpawner.spawnPatrolMember(ServerLevel level, BlockPos pos, RandomSource random, boolean leader) Constructors in net.minecraft.world.level.levelgen with parameters of type RandomSourceModifierConstructorDescriptionMarsagliaPolarGaussian(RandomSource randomSource) WorldgenRandom(RandomSource randomSource) 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 context, CanyonCarverConfiguration config, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeAccessor, RandomSource random, Aquifer aquifer, ChunkPos chunkPos, CarvingMask carvingMask) Carves the given chunk with caves that originate from the givenchunkPos.booleanCaveWorldCarver.carve(CarvingContext context, CaveCarverConfiguration config, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeAccessor, RandomSource random, Aquifer aquifer, ChunkPos chunkPos, CarvingMask carvingMask) Carves the given chunk with caves that originate from the givenchunkPos.booleanConfiguredWorldCarver.carve(CarvingContext context, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeAccessor, RandomSource random, Aquifer aquifer, ChunkPos chunkPos, CarvingMask carvingMask) abstract booleanWorldCarver.carve(CarvingContext context, C config, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeAccessor, RandomSource random, Aquifer aquifer, ChunkPos chunkPos, CarvingMask carvingMask) Carves the given chunk with caves that originate from the givenchunkPos.protected floatCaveWorldCarver.getThickness(RandomSource random) protected floatNetherWorldCarver.getThickness(RandomSource p_224907_) private float[]CanyonWorldCarver.initWidthFactors(CarvingContext context, CanyonCarverConfiguration config, RandomSource random) Generates a random array full of width factors which are used to create the uneven walls of a ravine.booleanCanyonWorldCarver.isStartChunk(CanyonCarverConfiguration config, RandomSource random) booleanCaveWorldCarver.isStartChunk(CaveCarverConfiguration config, RandomSource random) booleanConfiguredWorldCarver.isStartChunk(RandomSource random) abstract booleanWorldCarver.isStartChunk(C config, RandomSource random) private doubleCanyonWorldCarver.updateVerticalRadius(CanyonCarverConfiguration config, RandomSource random, double verticalRadius, float branchCount, float currentBranch) -
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 state, Function<BlockPos, BlockState> adjacentStateAccessor, RandomSource random, OreConfiguration config, OreConfiguration.TargetBlockState targetState, BlockPos.MutableBlockPos mutablePos) private static voidPointedDripstoneFeature.createPatchOfDripstoneBlocks(LevelAccessor level, RandomSource random, BlockPos pos, PointedDripstoneConfiguration config) protected voidVegetationPatchFeature.distributeVegetation(FeaturePlaceContext<VegetationPatchConfiguration> context, WorldGenLevel level, VegetationPatchConfiguration config, RandomSource random, Set<BlockPos> possiblePositions, int xRadius, int zRadius) protected booleanOreFeature.doPlace(WorldGenLevel level, RandomSource random, OreConfiguration config, double minX, double maxX, double minZ, double maxZ, double minY, double maxY, int x, int y, int z, int width, int height) private booleanTreeFeature.doPlace(WorldGenLevel level, RandomSource random, BlockPos pos, BiConsumer<BlockPos, BlockState> rootBlockSetter, BiConsumer<BlockPos, BlockState> trunkBlockSetter, FoliagePlacer.FoliageSetter foliageBlockSetter, TreeConfiguration config) private voidIcebergFeature.generateCutOut(RandomSource random, LevelAccessor level, int majorAxis, int height, BlockPos pos, boolean elliptical, int ellipseRadius, double angle, int minorAxis) private voidIcebergFeature.generateIcebergBlock(LevelAccessor level, RandomSource random, BlockPos pos, int height, int localX, int localY, int localZ, int radius, int majorRadius, boolean elliptical, int minorRadius, double angle, boolean placeSnow, BlockState state) private intDripstoneClusterFeature.getDripstoneHeight(RandomSource random, int x, int z, float chance, int height, DripstoneClusterConfiguration config) private intScatteredOreFeature.getRandomPlacementInOneAxisRelativeToOrigin(RandomSource random, int magnitude) PointedDripstoneFeature.getTipDirection(LevelAccessor level, BlockPos pos, RandomSource random) protected intAbstractHugeMushroomFeature.getTreeHeight(RandomSource random) private intIcebergFeature.heightDependentRadiusRound(RandomSource random, int y, int height, int majorAxis) private intIcebergFeature.heightDependentRadiusSteep(RandomSource random, int y, int height, int maxRadius) 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 level, RandomSource random, BlockPos pos, int treeHeight, BlockPos.MutableBlockPos mutablePos, HugeMushroomFeatureConfiguration config) 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 root, boolean pointingUp, RandomSource random, int radius, FloatProvider bluntnessBase, FloatProvider scaleBase) private booleanBlockPileFeature.mayPlaceOn(LevelAccessor level, BlockPos pos, RandomSource random) private voidScatteredOreFeature.offsetTargetPos(BlockPos.MutableBlockPos mutablePos, RandomSource random, BlockPos pos, int magnitude) booleanConfiguredFeature.place(WorldGenLevel reader, ChunkGenerator chunkGenerator, RandomSource random, BlockPos pos) booleanFeature.place(FC config, WorldGenLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos origin) booleanWeightedPlacedFeature.place(WorldGenLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos pos) private voidBasaltPillarFeature.placeBaseHangOff(LevelAccessor level, RandomSource random, BlockPos pos) (package private) voidLargeDripstoneFeature.LargeDripstone.placeBlocks(WorldGenLevel level, RandomSource random, LargeDripstoneFeature.WindOffsetter windOffsetter) protected booleanDiskFeature.placeColumn(DiskConfiguration config, WorldGenLevel level, RandomSource random, int maxY, int minY, BlockPos.MutableBlockPos pos) private voidDripstoneClusterFeature.placeColumn(WorldGenLevel level, RandomSource random, BlockPos pos, int x, int z, float wetness, double chance, int height, float density, DripstoneClusterConfiguration config) protected booleanCoralFeature.placeCoralBlock(LevelAccessor level, RandomSource random, BlockPos pos, BlockState state) private static voidRootSystemFeature.placeDirt(BlockPos pos, int maxY, WorldGenLevel level, RootSystemConfiguration config, RandomSource random) private static booleanRootSystemFeature.placeDirtAndTree(WorldGenLevel level, ChunkGenerator chunkGenerator, RootSystemConfiguration config, RandomSource random, BlockPos.MutableBlockPos mutablePos, BlockPos basePos) protected booleanCoralClawFeature.placeFeature(LevelAccessor p_224959_, RandomSource p_224960_, BlockPos p_224961_, BlockState p_224962_) protected abstract booleanCoralFeature.placeFeature(LevelAccessor level, RandomSource random, BlockPos pos, BlockState state) 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 level, VegetationPatchConfiguration config, Predicate<BlockState> replaceableblocks, RandomSource random, BlockPos.MutableBlockPos mutablePos, int maxDistance) VegetationPatchFeature.placeGroundPatch(WorldGenLevel level, VegetationPatchConfiguration config, RandomSource random, BlockPos pos, Predicate<BlockState> state, int xRadius, int zRadius) WaterloggedVegetationPatchFeature.placeGroundPatch(WorldGenLevel level, VegetationPatchConfiguration config, RandomSource random, BlockPos pos, Predicate<BlockState> state, int xRadius, int zRadius) static booleanMultifaceGrowthFeature.placeGrowthIfPossible(WorldGenLevel level, BlockPos pos, BlockState state, MultifaceGrowthConfiguration config, RandomSource random, List<Direction> directions) private booleanBasaltPillarFeature.placeHangOff(LevelAccessor level, RandomSource random, BlockPos pos) private voidHugeFungusFeature.placeHat(WorldGenLevel level, RandomSource random, HugeFungusConfiguration config, BlockPos pos, int height, boolean huge) private voidHugeFungusFeature.placeHatBlock(LevelAccessor level, RandomSource random, HugeFungusConfiguration config, BlockPos.MutableBlockPos pos, float decorationChance, float hatChance, float weepingVineChance) private voidHugeFungusFeature.placeHatDropBlock(LevelAccessor level, RandomSource random, BlockPos pos, BlockState state, boolean weepingVines) private voidWeepingVinesFeature.placeRoofNetherWart(LevelAccessor level, RandomSource random, BlockPos pos) private voidWeepingVinesFeature.placeRoofWeepingVines(LevelAccessor level, RandomSource random, BlockPos pos) private static voidRootSystemFeature.placeRootedDirt(WorldGenLevel level, RootSystemConfiguration config, RandomSource random, int x, int z, BlockPos.MutableBlockPos pos) private static voidRootSystemFeature.placeRoots(WorldGenLevel level, RootSystemConfiguration config, RandomSource random, BlockPos basePos, BlockPos.MutableBlockPos mutablePos) private voidSpikeFeature.placeSpike(ServerLevelAccessor level, RandomSource random, SpikeConfiguration config, SpikeFeature.EndSpike spike) Places the End Spike in the world.private voidHugeFungusFeature.placeStem(WorldGenLevel level, RandomSource random, HugeFungusConfiguration config, BlockPos pos, int height, boolean huge) protected voidAbstractHugeMushroomFeature.placeTrunk(LevelAccessor level, RandomSource random, BlockPos pos, HugeMushroomFeatureConfiguration config, int maxHeight, BlockPos.MutableBlockPos mutablePos) protected booleanVegetationPatchFeature.placeVegetation(WorldGenLevel level, VegetationPatchConfiguration config, ChunkGenerator chunkGenerator, RandomSource random, BlockPos pos) protected booleanWaterloggedVegetationPatchFeature.placeVegetation(WorldGenLevel level, VegetationPatchConfiguration config, ChunkGenerator chunkGenerator, RandomSource random, BlockPos pos) static voidTwistingVinesFeature.placeWeepingVinesColumn(LevelAccessor level, RandomSource random, BlockPos.MutableBlockPos pos, int length, int minAge, int maxAge) static voidWeepingVinesFeature.placeWeepingVinesColumn(LevelAccessor level, RandomSource random, BlockPos.MutableBlockPos pos, int height, int minAge, int maxAge) private static floatDripstoneClusterFeature.randomBetweenBiased(RandomSource random, float min, float max, float mean, float deviation) private EntityType<?> MonsterRoomFeature.randomEntityId(RandomSource random) private voidIcebergFeature.setIcebergBlock(BlockPos pos, LevelAccessor level, RandomSource random, int heightRemaining, int height, boolean elliptical, boolean placeSnow, BlockState state) protected static booleanOreFeature.shouldSkipAirCheck(RandomSource random, float chance) private doubleIcebergFeature.signedDistanceCircle(int x, int z, BlockPos center, int radius, RandomSource random) private voidBlockPileFeature.tryPlaceBlock(LevelAccessor level, BlockPos pos, RandomSource random, BlockPileConfiguration config) private static voidHugeFungusFeature.tryPlaceWeepingVines(BlockPos pos, LevelAccessor level, RandomSource random) Constructors in net.minecraft.world.level.levelgen.feature with parameters of type RandomSourceModifierConstructorDescriptionFeaturePlaceContext(Optional<ConfiguredFeature<?, ?>> topFeature, WorldGenLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos origin, FC config) (package private)WindOffsetter(int originY, RandomSource random, FloatProvider magnitude) -
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 random) MultifaceGrowthConfiguration.getShuffledDirectionsExcept(RandomSource random, Direction direction) -
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 level, FoliagePlacer.FoliageSetter blockSetter, RandomSource random, TreeConfiguration config, int maxFreeTreeHeight, FoliagePlacer.FoliageAttachment attachment, int foliageHeight, int foliageRadius, int offset) 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 level, FoliagePlacer.FoliageSetter blockSetter, RandomSource random, TreeConfiguration config, int maxFreeTreeHeight, FoliagePlacer.FoliageAttachment attachment, int foliageHeight, int foliageRadius, int offset) 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 level, FoliagePlacer.FoliageSetter blockSetter, RandomSource random, TreeConfiguration config, int maxFreeTreeHeight, FoliagePlacer.FoliageAttachment attachment, int foliageHeight, int foliageRadius) protected abstract voidFoliagePlacer.createFoliage(LevelSimulatedReader level, FoliagePlacer.FoliageSetter blockSetter, RandomSource random, TreeConfiguration config, int maxFreeTreeHeight, FoliagePlacer.FoliageAttachment attachment, int foliageHeight, int foliageRadius, int offset) protected voidMegaJungleFoliagePlacer.createFoliage(LevelSimulatedReader level, FoliagePlacer.FoliageSetter blockSetter, RandomSource random, TreeConfiguration config, int maxFreeTreeHeight, FoliagePlacer.FoliageAttachment attachment, int foliageHeight, int foliageRadius, int offset) protected voidMegaPineFoliagePlacer.createFoliage(LevelSimulatedReader level, FoliagePlacer.FoliageSetter blockSetter, RandomSource random, TreeConfiguration config, int maxFreeTreeHeight, FoliagePlacer.FoliageAttachment attachment, int foliageHeight, int foliageRadius, int offset) protected voidPineFoliagePlacer.createFoliage(LevelSimulatedReader level, FoliagePlacer.FoliageSetter blockSetter, RandomSource random, TreeConfiguration config, int maxFreeTreeHeight, FoliagePlacer.FoliageAttachment attachment, int foliageHeight, int foliageRadius, int offset) protected voidRandomSpreadFoliagePlacer.createFoliage(LevelSimulatedReader level, FoliagePlacer.FoliageSetter blockSetter, RandomSource random, TreeConfiguration config, int maxFreeTreeHeight, FoliagePlacer.FoliageAttachment attachment, int foliageHeight, int foliageRadius, int offset) protected voidSpruceFoliagePlacer.createFoliage(LevelSimulatedReader level, FoliagePlacer.FoliageSetter blockSetter, RandomSource random, TreeConfiguration config, int maxFreeTreeHeight, FoliagePlacer.FoliageAttachment attachment, int foliageHeight, int foliageRadius, int offset) intAcaciaFoliagePlacer.foliageHeight(RandomSource p_225495_, int p_225496_, TreeConfiguration p_225497_) intBlobFoliagePlacer.foliageHeight(RandomSource random, int height, TreeConfiguration config) intCherryFoliagePlacer.foliageHeight(RandomSource random, int height, TreeConfiguration config) intDarkOakFoliagePlacer.foliageHeight(RandomSource p_225554_, int p_225555_, TreeConfiguration p_225556_) abstract intFoliagePlacer.foliageHeight(RandomSource random, int height, TreeConfiguration config) intMegaJungleFoliagePlacer.foliageHeight(RandomSource random, int height, TreeConfiguration config) intMegaPineFoliagePlacer.foliageHeight(RandomSource random, int height, TreeConfiguration config) intPineFoliagePlacer.foliageHeight(RandomSource random, int height, TreeConfiguration config) intRandomSpreadFoliagePlacer.foliageHeight(RandomSource random, int height, TreeConfiguration config) intSpruceFoliagePlacer.foliageHeight(RandomSource random, int height, TreeConfiguration config) intFoliagePlacer.foliageRadius(RandomSource random, int radius) intPineFoliagePlacer.foliageRadius(RandomSource random, int radius) private intFoliagePlacer.offset(RandomSource random) protected voidFoliagePlacer.placeLeavesRow(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration treeConfiguration, BlockPos pos, int range, int localY, boolean large) protected final voidFoliagePlacer.placeLeavesRowWithHangingLeavesBelow(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration treeConfiguration, BlockPos pos, int range, int localY, boolean large, float hangingLeavesChance, float hangingLeavesExtensionChance) 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 random, int localX, int localY, int localZ, int range, boolean large) Skips certain positions based on the provided shape, such as rounding corners randomly.protected booleanBushFoliagePlacer.shouldSkipLocation(RandomSource p_225530_, int p_225531_, int p_225532_, int p_225533_, int p_225534_, boolean p_225535_) protected booleanCherryFoliagePlacer.shouldSkipLocation(RandomSource random, int localX, int localY, int localZ, int range, boolean large) Skips certain positions based on the provided shape, such as rounding corners randomly.protected booleanDarkOakFoliagePlacer.shouldSkipLocation(RandomSource p_225547_, int p_225548_, int p_225549_, int p_225550_, int p_225551_, boolean p_225552_) protected booleanFancyFoliagePlacer.shouldSkipLocation(RandomSource p_225575_, int p_225576_, int p_225577_, int p_225578_, int p_225579_, boolean p_225580_) protected abstract booleanFoliagePlacer.shouldSkipLocation(RandomSource random, int localX, int localY, int localZ, int range, boolean large) Skips certain positions based on the provided shape, such as rounding corners randomly.protected booleanMegaJungleFoliagePlacer.shouldSkipLocation(RandomSource random, int localX, int localY, int localZ, int range, boolean large) Skips certain positions based on the provided shape, such as rounding corners randomly.protected booleanMegaPineFoliagePlacer.shouldSkipLocation(RandomSource random, int localX, int localY, int localZ, int range, boolean large) Skips certain positions based on the provided shape, such as rounding corners randomly.protected booleanPineFoliagePlacer.shouldSkipLocation(RandomSource random, int localX, int localY, int localZ, int range, boolean large) Skips certain positions based on the provided shape, such as rounding corners randomly.protected booleanRandomSpreadFoliagePlacer.shouldSkipLocation(RandomSource random, int localX, int localY, int localZ, int range, boolean large) Skips certain positions based on the provided shape, such as rounding corners randomly.protected booleanSpruceFoliagePlacer.shouldSkipLocation(RandomSource random, int localX, int localY, int localZ, int range, boolean large) Skips certain positions based on the provided shape, such as rounding corners randomly.protected booleanDarkOakFoliagePlacer.shouldSkipLocationSigned(RandomSource p_225568_, int p_225569_, int p_225570_, int p_225571_, int p_225572_, boolean p_225573_) protected booleanFoliagePlacer.shouldSkipLocationSigned(RandomSource random, int localX, int localY, int localZ, int range, boolean large) private static booleanFoliagePlacer.tryPlaceExtension(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration treeConfiguration, float extensionChance, BlockPos logPos, BlockPos.MutableBlockPos pos) protected static booleanFoliagePlacer.tryPlaceLeaf(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration treeConfiguration, BlockPos pos) -
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 pos, RandomSource random) protected voidMangroveRootPlacer.placeRoot(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration treeConfig) protected voidRootPlacer.placeRoot(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration treeConfig) booleanMangroveRootPlacer.placeRoots(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, BlockPos trunkOrigin, TreeConfiguration treeConfig) abstract booleanRootPlacer.placeRoots(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, BlockPos trunkOrigin, TreeConfiguration treeConfig) MangroveRootPlacer.potentialRootPositions(BlockPos pos, Direction direction, RandomSource random, BlockPos trunkOrigin) private booleanMangroveRootPlacer.simulateRoots(LevelSimulatedReader level, RandomSource random, BlockPos pos, Direction direction, BlockPos trunkOrigin, List<BlockPos> roots, int length) -
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 random, BlockPos pos) DualNoiseProvider.getState(RandomSource random, BlockPos pos) NoiseProvider.getState(RandomSource random, BlockPos pos) NoiseThresholdProvider.getState(RandomSource random, BlockPos pos) RandomizedIntStateProvider.getState(RandomSource random, BlockPos pos) RotatedBlockProvider.getState(RandomSource random, BlockPos pos) RuleBasedBlockStateProvider.getState(WorldGenLevel level, RandomSource random, BlockPos pos) SimpleStateProvider.getState(RandomSource random, BlockPos pos) WeightedStateProvider.getState(RandomSource random, BlockPos pos) -
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 level, BiConsumer<BlockPos, BlockState> decorationSetter, RandomSource random, Set<BlockPos> logs, Set<BlockPos> leaves, Set<BlockPos> roots) -
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 level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config, Function<BlockState, BlockState> propertySetter, Direction p_direction, int secondBranchStartOffsetFromTop, boolean doubleBranch, BlockPos.MutableBlockPos currentPos) intTrunkPlacer.getTreeHeight(RandomSource random) private voidFancyTrunkPlacer.makeBranches(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int maxHeight, BlockPos pos, List<FancyTrunkPlacer.FoliageCoords> foliageCoords, TreeConfiguration config) private booleanFancyTrunkPlacer.makeLimb(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos basePos, BlockPos offsetPos, boolean modifyWorld, TreeConfiguration config) private voidUpwardsBranchingTrunkPlacer.placeBranch(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, TreeConfiguration treeConfig, List<FoliagePlacer.FoliageAttachment> foliageAttachments, BlockPos.MutableBlockPos pos, int y, Direction direction, int extraBranchLength, int extraBranchSteps) protected booleanTrunkPlacer.placeLog(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration config) protected booleanTrunkPlacer.placeLog(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration config, Function<BlockState, BlockState> propertySetter) protected voidTrunkPlacer.placeLogIfFree(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos.MutableBlockPos pos, TreeConfiguration config) private voidGiantTrunkPlacer.placeLogIfFreeWithOffset(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos.MutableBlockPos pos, TreeConfiguration config, BlockPos offsetPos, int offsetX, int offsetY, int offsetZ) BendingTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) CherryTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) DarkOakTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) FancyTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) ForkingTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) GiantTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) MegaJungleTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) StraightTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) abstract List<FoliagePlacer.FoliageAttachment> TrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) UpwardsBranchingTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) protected static voidTrunkPlacer.setDirtAt(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration config) -
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 random, WorldGenerationContext context) intConstantHeight.sample(RandomSource random, WorldGenerationContext context) abstract intHeightProvider.sample(RandomSource random, WorldGenerationContext context) intTrapezoidHeight.sample(RandomSource random, WorldGenerationContext context) intUniformHeight.sample(RandomSource random, WorldGenerationContext context) intVeryBiasedToBottomHeight.sample(RandomSource random, WorldGenerationContext context) intWeightedListHeight.sample(RandomSource random, WorldGenerationContext context) -
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 random, BlockPos pos) protected intNoiseBasedCountPlacement.count(RandomSource random, BlockPos pos) protected intNoiseThresholdCountPlacement.count(RandomSource random, BlockPos pos) protected abstract intRepeatingPlacement.count(RandomSource random, BlockPos pos) CarvingMaskPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) CountOnEveryLayerPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) Deprecated.EnvironmentScanPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) FixedPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) HeightmapPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) HeightRangePlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) InSquarePlacement.getPositions(PlacementContext p_226348_, RandomSource p_226349_, BlockPos p_226350_) PlacementFilter.getPositions(PlacementContext context, RandomSource random, BlockPos pos) PlacementModifier.getPositions(PlacementContext context, RandomSource random, BlockPos pos) RandomOffsetPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) RepeatingPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) booleanPlacedFeature.place(WorldGenLevel level, ChunkGenerator generator, RandomSource random, BlockPos pos) booleanPlacedFeature.placeWithBiomeCheck(WorldGenLevel level, ChunkGenerator generator, RandomSource random, BlockPos pos) private booleanPlacedFeature.placeWithContext(PlacementContext context, RandomSource source, BlockPos pos) protected booleanBiomeFilter.shouldPlace(PlacementContext p_226317_, RandomSource p_226318_, BlockPos p_226319_) protected booleanBlockPredicateFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos pos) protected abstract booleanPlacementFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos pos) protected booleanRarityFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos pos) protected booleanSurfaceRelativeThresholdFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos pos) protected booleanSurfaceWaterDepthFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos pos) -
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 piece, StructurePieceAccessor pieces, RandomSource random) voidPostPlacementProcessor.afterPlace(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, PiecesContainer pieces) voidStructure.afterPlace(WorldGenLevel level, StructureManager structureManager, ChunkGenerator chunkGenerator, RandomSource random, BoundingBox boundingBox, ChunkPos chunkPos, PiecesContainer pieces) protected booleanStructurePiece.createChest(ServerLevelAccessor level, BoundingBox box, RandomSource random, BlockPos pos, ResourceKey<LootTable> lootTable, BlockState state) protected booleanStructurePiece.createChest(WorldGenLevel level, BoundingBox box, RandomSource random, int x, int y, int z, ResourceKey<LootTable> lootTable) protected booleanStructurePiece.createDispenser(WorldGenLevel level, BoundingBox box, RandomSource random, int x, int y, int z, Direction facing, ResourceKey<LootTable> lootTable) protected voidStructurePiece.generateBox(WorldGenLevel level, BoundingBox box, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, boolean alwaysReplace, RandomSource random, StructurePiece.BlockSelector blockSelector) protected voidStructurePiece.generateBox(WorldGenLevel level, BoundingBox boundingBox, BoundingBox box, boolean alwaysReplace, RandomSource random, StructurePiece.BlockSelector blockSelector) protected voidStructurePiece.generateMaybeBox(WorldGenLevel level, BoundingBox box, RandomSource random, float chance, int x1, int y1, int z1, int x2, int y2, int z2, BlockState edgeState, BlockState state, boolean requireNonAir, boolean requireSkylight) protected static DirectionStructurePiece.getRandomHorizontalDirection(RandomSource random) protected abstract voidTemplateStructurePiece.handleDataMarker(String name, BlockPos pos, ServerLevelAccessor level, RandomSource random, BoundingBox box) protected voidStructurePiece.maybeGenerateBlock(WorldGenLevel level, BoundingBox box, RandomSource random, float chance, int x, int y, int z, BlockState state) abstract voidStructurePiece.BlockSelector.next(RandomSource random, int x, int y, int z, boolean wall) voidPoolElementStructurePiece.place(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, BlockPos pos, boolean keepJigsaws) voidStructureStart.placeInChunk(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos) voidPoolElementStructurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) abstract voidStructurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidTemplateStructurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) -
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 seaLevel, int minY, RandomSource random, int amount) Deprecated.voidStructurePiecesBuilder.moveInsideHeights(RandomSource random, int minY, int maxY) 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 RandomSource -
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 randomState, int maxDepth, boolean useExpansionHack, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, LevelHeightAccessor level, RandomSource random, Registry<StructureTemplatePool> pools, PoolElementStructurePiece startPiece, List<PoolElementStructurePiece> pieces, VoxelShape free, PoolAliasLookup aliasLookup, LiquidSettings liquidSettings) StructureTemplatePool.getRandomTemplate(RandomSource random) EmptyPoolElement.getShuffledJigsawBlocks(StructureTemplateManager p_227176_, BlockPos p_227177_, Rotation p_227178_, RandomSource p_227179_) FeaturePoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, RandomSource random) ListPoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, RandomSource random) SinglePoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, RandomSource random) abstract List<StructureTemplate.StructureBlockInfo> StructurePoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, RandomSource random) StructureTemplatePool.getShuffledTemplates(RandomSource random) voidStructurePoolElement.handleDataMarker(LevelAccessor level, StructureTemplate.StructureBlockInfo blockInfo, BlockPos pos, Rotation rotation, RandomSource random, BoundingBox box) 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 structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos offset, BlockPos pos, Rotation rotation, BoundingBox box, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) booleanListPoolElement.place(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos offset, BlockPos pos, Rotation rotation, BoundingBox box, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) booleanSinglePoolElement.place(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos offset, BlockPos pos, Rotation rotation, BoundingBox box, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) abstract booleanStructurePoolElement.place(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos offset, BlockPos pos, Rotation rotation, BoundingBox box, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) Constructors in net.minecraft.world.level.levelgen.structure.pools with parameters of type RandomSourceModifierConstructorDescription(package private)Placer(Registry<StructureTemplatePool> pools, int maxDepth, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, List<? super PoolElementStructurePiece> pieces, RandomSource random) -
Uses of RandomSource in net.minecraft.world.level.levelgen.structure.pools.alias
Methods in net.minecraft.world.level.levelgen.structure.pools.alias with parameters of type RandomSourceModifier and TypeMethodDescriptionvoidDirect.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> stucturePoolKey) voidPoolAliasBinding.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> stucturePoolKey) voidRandom.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> stucturePoolKey) voidRandomGroup.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> stucturePoolKey) -
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 piece, StructurePieceAccessor pieces, RandomSource random) voidMineshaftPieces.MineShaftCrossing.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidMineshaftPieces.MineShaftRoom.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidMineshaftPieces.MineShaftStairs.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidNetherFortressPieces.BridgeCrossing.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidNetherFortressPieces.BridgeStraight.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidNetherFortressPieces.CastleCorridorStairsPiece.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidNetherFortressPieces.CastleCorridorTBalconyPiece.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidNetherFortressPieces.CastleEntrance.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidNetherFortressPieces.CastleSmallCorridorCrossingPiece.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidNetherFortressPieces.CastleSmallCorridorLeftTurnPiece.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidNetherFortressPieces.CastleSmallCorridorPiece.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidNetherFortressPieces.CastleSmallCorridorRightTurnPiece.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidNetherFortressPieces.CastleStalkRoom.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidNetherFortressPieces.RoomCrossing.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidNetherFortressPieces.StairsRoom.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidStrongholdPieces.ChestCorridor.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidStrongholdPieces.FiveCrossing.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidStrongholdPieces.LeftTurn.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidStrongholdPieces.PortalRoom.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidStrongholdPieces.PrisonHall.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidStrongholdPieces.RightTurn.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidStrongholdPieces.RoomCrossing.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidStrongholdPieces.StairsDown.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidStrongholdPieces.Straight.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) voidStrongholdPieces.StraightStairsDown.addChildren(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) private static voidOceanRuinPieces.addClusterRuins(StructureTemplateManager structureTemplateManager, RandomSource random, Rotation p_rotation, BlockPos pos, OceanRuinStructure structure, StructurePieceAccessor structurePieceAccessor) private voidRuinedPortalPiece.addNetherrackDripColumn(RandomSource random, LevelAccessor level, BlockPos pos) private voidRuinedPortalPiece.addNetherrackDripColumnsBelowPortal(RandomSource random, LevelAccessor level) private static voidOceanRuinPieces.addPiece(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random, OceanRuinStructure structure, boolean isLarge, float integrity) static voidIglooPieces.addPieces(StructureTemplateManager structureTemplateManager, BlockPos startPos, Rotation rotation, StructurePieceAccessor pieces, RandomSource random) static voidNetherFossilPieces.addPieces(StructureTemplateManager structureManager, StructurePieceAccessor pieces, RandomSource random, BlockPos pos) static voidOceanRuinPieces.addPieces(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random, OceanRuinStructure structure) ShipwreckPieces.addRandomPiece(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, StructurePieceAccessor pieces, RandomSource random, boolean isBeached) voidDesertPyramidStructure.afterPlace(WorldGenLevel level, StructureManager structureManager, ChunkGenerator chunkGenerator, RandomSource random, BoundingBox boundingBox, ChunkPos chunkPos, PiecesContainer pieces) voidWoodlandMansionStructure.afterPlace(WorldGenLevel level, StructureManager structureManager, ChunkGenerator chunkGenerator, RandomSource random, BoundingBox boundingBox, ChunkPos chunkPos, PiecesContainer pieces) OceanRuinPieces.allPositions(RandomSource random, BlockPos pos) intShipwreckPieces.ShipwreckPiece.calculateBeachedPosition(int maxHeight, RandomSource random) 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 direction, OceanMonumentPieces.RoomDefinition room, RandomSource random) protected booleanMineshaftPieces.MineShaftCorridor.createChest(WorldGenLevel level, BoundingBox box, RandomSource random, int x, int y, int z, ResourceKey<LootTable> lootTable) NetherFortressPieces.BridgeEndFiller.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) NetherFortressPieces.BridgeStraight.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) NetherFortressPieces.CastleEntrance.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) NetherFortressPieces.CastleSmallCorridorLeftTurnPiece.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) NetherFortressPieces.CastleSmallCorridorRightTurnPiece.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) StrongholdPieces.ChestCorridor.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) StrongholdPieces.FiveCrossing.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) static StrongholdPieces.LeftTurnStrongholdPieces.LeftTurn.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) static StrongholdPieces.LibraryStrongholdPieces.Library.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) static StrongholdPieces.PrisonHallStrongholdPieces.PrisonHall.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) static StrongholdPieces.RightTurnStrongholdPieces.RightTurn.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) StrongholdPieces.RoomCrossing.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) static StrongholdPieces.StairsDownStrongholdPieces.StairsDown.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) static StrongholdPieces.StraightStrongholdPieces.Straight.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction direction, int genDepth) StrongholdPieces.StraightStairsDown.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) private static MineshaftPieces.MineShaftPieceMineshaftPieces.createRandomShaftPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth, MineshaftStructure.Type type) (package private) static NetherFortressPieces.NetherBridgePieceNetherFortressPieces.findAndCreateBridgePieceFactory(NetherFortressPieces.PieceWeight weight, StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) private static StrongholdPieces.StrongholdPieceStrongholdPieces.findAndCreatePieceFactory(Class<? extends StrongholdPieces.StrongholdPiece> pieceClass, StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction direction, int genDepth) static BoundingBoxMineshaftPieces.MineShaftCorridor.findCorridorSize(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction direction) static BoundingBoxMineshaftPieces.MineShaftCrossing.findCrossing(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction direction) static BoundingBoxStrongholdPieces.FillerCorridor.findPieceBox(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation) static BoundingBoxMineshaftPieces.MineShaftStairs.findStairs(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction direction) private static intRuinedPortalStructure.findSuitableY(RandomSource random, ChunkGenerator chunkGenerator, RuinedPortalPiece.VerticalPlacement verticalPlacement, boolean airPocket, int height, int blockCountY, BoundingBox box, LevelHeightAccessor level, RandomState randomState) booleanEndCityPieces.SectionGenerator.generate(StructureTemplateManager structureTemplateManager, int counter, EndCityPieces.EndCityPiece piece, BlockPos startPos, List<StructurePiece> pieces, RandomSource random) (package private) static MineshaftPieces.MineShaftPieceMineshaftPieces.generateAndAddPiece(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction direction, int genDepth) private StructurePieceNetherFortressPieces.NetherBridgePiece.generateAndAddPiece(NetherFortressPieces.StartPiece startPiece, StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth, boolean castlePiece) (package private) static StructurePieceStrongholdPieces.generateAndAddPiece(StrongholdPieces.StartPiece piece, StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction direction, int genDepth) protected StructurePieceNetherFortressPieces.NetherBridgePiece.generateChildForward(NetherFortressPieces.StartPiece startPiece, StructurePieceAccessor pieces, RandomSource random, int offsetX, int offsetY, boolean castlePiece) protected StructurePieceNetherFortressPieces.NetherBridgePiece.generateChildLeft(NetherFortressPieces.StartPiece startPiece, StructurePieceAccessor pieces, RandomSource random, int offsetY, int offsetX, boolean castlePiece) protected StructurePieceNetherFortressPieces.NetherBridgePiece.generateChildRight(NetherFortressPieces.StartPiece startPiece, StructurePieceAccessor pieces, RandomSource random, int offsetY, int offsetX, boolean castlePiece) private voidOceanMonumentPieces.MonumentBuilding.generateEntranceArchs(WorldGenLevel level, RandomSource random, BoundingBox box) private voidOceanMonumentPieces.MonumentBuilding.generateEntranceWall(WorldGenLevel level, RandomSource random, BoundingBox box) private voidOceanMonumentPieces.MonumentBuilding.generateLowerWall(WorldGenLevel level, RandomSource random, BoundingBox box) static voidWoodlandMansionPieces.generateMansion(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, RandomSource random) private voidOceanMonumentPieces.MonumentBuilding.generateMiddleWall(WorldGenLevel level, RandomSource random, BoundingBox box) NetherFortressPieces.NetherBridgePiece.generatePiece(NetherFortressPieces.StartPiece startPiece, List<NetherFortressPieces.PieceWeight> weights, StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) private static StrongholdPieces.StrongholdPieceStrongholdPieces.generatePieceFromSmallDoor(StrongholdPieces.StartPiece piece, StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction direction, int genDepth) private voidOceanMonumentPieces.MonumentBuilding.generateRoofPiece(WorldGenLevel level, RandomSource random, BoundingBox box) private List<OceanMonumentPieces.RoomDefinition> OceanMonumentPieces.MonumentBuilding.generateRoomGraph(RandomSource random) protected voidStrongholdPieces.StrongholdPiece.generateSmallDoor(WorldGenLevel level, RandomSource random, BoundingBox box, StrongholdPieces.StrongholdPiece.SmallDoorType type, int x, int y, int z) protected StructurePieceStrongholdPieces.StrongholdPiece.generateSmallDoorChildForward(StrongholdPieces.StartPiece startPiece, StructurePieceAccessor pieces, RandomSource random, int offsetX, int offsetY) protected StructurePieceStrongholdPieces.StrongholdPiece.generateSmallDoorChildLeft(StrongholdPieces.StartPiece startPiece, StructurePieceAccessor pieces, RandomSource random, int offsetY, int offsetX) protected StructurePieceStrongholdPieces.StrongholdPiece.generateSmallDoorChildRight(StrongholdPieces.StartPiece startPiece, StructurePieceAccessor pieces, RandomSource random, int offsetY, int offsetX) private voidOceanMonumentPieces.MonumentBuilding.generateUpperWall(WorldGenLevel level, RandomSource random, BoundingBox box) private voidOceanMonumentPieces.MonumentBuilding.generateWing(boolean wing, int x, WorldGenLevel level, RandomSource random, BoundingBox box) WoodlandMansionPieces.FirstFloorRoomCollection.get1x1(RandomSource p_229995_) abstract StringWoodlandMansionPieces.FloorRoomCollection.get1x1(RandomSource random) WoodlandMansionPieces.SecondFloorRoomCollection.get1x1(RandomSource p_230144_) WoodlandMansionPieces.FirstFloorRoomCollection.get1x1Secret(RandomSource p_230000_) abstract StringWoodlandMansionPieces.FloorRoomCollection.get1x1Secret(RandomSource random) WoodlandMansionPieces.SecondFloorRoomCollection.get1x1Secret(RandomSource p_230149_) WoodlandMansionPieces.FirstFloorRoomCollection.get1x2FrontEntrance(RandomSource p_230002_, boolean p_230003_) abstract StringWoodlandMansionPieces.FloorRoomCollection.get1x2FrontEntrance(RandomSource random, boolean isStairs) WoodlandMansionPieces.SecondFloorRoomCollection.get1x2FrontEntrance(RandomSource p_230151_, boolean p_230152_) WoodlandMansionPieces.FirstFloorRoomCollection.get1x2Secret(RandomSource p_230005_) abstract StringWoodlandMansionPieces.FloorRoomCollection.get1x2Secret(RandomSource random) WoodlandMansionPieces.SecondFloorRoomCollection.get1x2Secret(RandomSource p_230154_) WoodlandMansionPieces.FirstFloorRoomCollection.get1x2SideEntrance(RandomSource p_229997_, boolean p_229998_) abstract StringWoodlandMansionPieces.FloorRoomCollection.get1x2SideEntrance(RandomSource random, boolean isStairs) WoodlandMansionPieces.SecondFloorRoomCollection.get1x2SideEntrance(RandomSource p_230146_, boolean p_230147_) WoodlandMansionPieces.FirstFloorRoomCollection.get2x2(RandomSource p_230007_) abstract StringWoodlandMansionPieces.FloorRoomCollection.get2x2(RandomSource random) WoodlandMansionPieces.SecondFloorRoomCollection.get2x2(RandomSource p_230156_) WoodlandMansionPieces.FirstFloorRoomCollection.get2x2Secret(RandomSource p_230009_) abstract StringWoodlandMansionPieces.FloorRoomCollection.get2x2Secret(RandomSource random) WoodlandMansionPieces.SecondFloorRoomCollection.get2x2Secret(RandomSource p_230158_) private static ResourceLocationOceanRuinPieces.getBigWarmRuin(RandomSource random) private static intRuinedPortalStructure.getRandomWithinInterval(RandomSource random, int min, int max) private static ResourceLocationOceanRuinPieces.getSmallWarmRuin(RandomSource random) protected voidEndCityPieces.EndCityPiece.handleDataMarker(String name, BlockPos pos, ServerLevelAccessor level, RandomSource random, BoundingBox box) protected voidIglooPieces.IglooPiece.handleDataMarker(String name, BlockPos pos, ServerLevelAccessor level, RandomSource random, BoundingBox box) protected voidNetherFossilPieces.NetherFossilPiece.handleDataMarker(String name, BlockPos pos, ServerLevelAccessor level, RandomSource random, BoundingBox box) protected voidOceanRuinPieces.OceanRuinPiece.handleDataMarker(String name, BlockPos pos, ServerLevelAccessor level, RandomSource random, BoundingBox box) protected voidRuinedPortalPiece.handleDataMarker(String name, BlockPos pos, ServerLevelAccessor level, RandomSource random, BoundingBox box) protected voidShipwreckPieces.ShipwreckPiece.handleDataMarker(String name, BlockPos pos, ServerLevelAccessor level, RandomSource random, BoundingBox box) protected voidWoodlandMansionPieces.WoodlandMansionPiece.handleDataMarker(String name, BlockPos pos, ServerLevelAccessor level, RandomSource random, BoundingBox box) private voidRuinedPortalPiece.maybeAddLeavesAbove(RandomSource random, LevelAccessor level, BlockPos pos) private voidRuinedPortalPiece.maybeAddVines(RandomSource random, LevelAccessor level, BlockPos pos) private voidMineshaftPieces.MineShaftCorridor.maybePlaceCobWeb(WorldGenLevel level, BoundingBox box, RandomSource random, float chance, int x, int y, int z) 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 random, LevelAccessor level, BlockPos pos) private voidMineshaftPieces.MineShaftCorridor.placeSupport(WorldGenLevel level, BoundingBox box, int minX, int minY, int z, int maxY, int maxX, RandomSource random) voidBuriedTreasurePieces.BuriedTreasurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidDesertPyramidPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidIglooPieces.IglooPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidJungleTemplePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidMineshaftPieces.MineShaftCorridor.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidMineshaftPieces.MineShaftCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidMineshaftPieces.MineShaftRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidMineshaftPieces.MineShaftStairs.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.BridgeCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.BridgeEndFiller.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.BridgeStraight.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleCorridorStairsPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleCorridorTBalconyPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleEntrance.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleSmallCorridorCrossingPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleSmallCorridorLeftTurnPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleSmallCorridorPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleSmallCorridorRightTurnPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleStalkRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.MonsterThrone.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.RoomCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.StairsRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFossilPieces.NetherFossilPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.MonumentBuilding.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentCoreRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentDoubleXRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentDoubleXYRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentDoubleYRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentDoubleYZRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentDoubleZRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentEntryRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentPenthouse.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentSimpleRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentSimpleTopRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentWingRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanRuinPieces.OceanRuinPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidRuinedPortalPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidShipwreckPieces.ShipwreckPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.ChestCorridor.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.FillerCorridor.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.FiveCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.LeftTurn.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.Library.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.PortalRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.PrisonHall.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.RightTurn.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.RoomCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.StairsDown.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.Straight.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.StraightStairsDown.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidSwampHutPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) StrongholdPieces.StrongholdPiece.randomSmallDoor(RandomSource random) (package private) static booleanEndCityPieces.recursiveChildren(StructureTemplateManager structureTemplateManager, EndCityPieces.SectionGenerator sectionGenerator, int counter, EndCityPieces.EndCityPiece piece, BlockPos startPos, List<StructurePiece> pieces, RandomSource random) private voidRuinedPortalPiece.spreadNetherrack(RandomSource random, LevelAccessor level) static voidEndCityPieces.startHouseTower(StructureTemplateManager structureTemplateManager, BlockPos startPos, Rotation rotation, List<StructurePiece> pieces, RandomSource random) Constructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type RandomSourceModifierConstructorDescriptionBridgeEndFiller(int genDepth, RandomSource random, BoundingBox box, Direction orientation) BridgeStraight(int genDepth, RandomSource random, BoundingBox box, Direction orientation) CastleEntrance(int genDepth, RandomSource random, BoundingBox box, Direction orientation) CastleSmallCorridorLeftTurnPiece(int genDepth, RandomSource random, BoundingBox box, Direction orientation) CastleSmallCorridorRightTurnPiece(int genDepth, RandomSource random, BoundingBox box, Direction orientation) ChestCorridor(int genDepth, RandomSource random, BoundingBox box, Direction orientation) DesertPyramidPiece(RandomSource random, int x, int z) FiveCrossing(int genDepth, RandomSource random, BoundingBox box, Direction orientation) JungleTemplePiece(RandomSource random, int x, int z) LeftTurn(int genDepth, RandomSource random, BoundingBox box, Direction orientation) Library(int genDepth, RandomSource random, BoundingBox box, Direction orientation) MansionGrid(RandomSource random) MansionPiecePlacer(StructureTemplateManager structureTemplateManager, RandomSource random) MineShaftCorridor(int genDepth, RandomSource random, BoundingBox boundingBox, Direction orientation, MineshaftStructure.Type type) MineShaftRoom(int genDepth, RandomSource random, int x, int z, MineshaftStructure.Type type) MonumentBuilding(RandomSource random, int x, int z, Direction orientation) OceanMonumentSimpleRoom(Direction direction, OceanMonumentPieces.RoomDefinition room, RandomSource random) PrisonHall(int genDepth, RandomSource random, BoundingBox box, Direction orientation) RightTurn(int genDepth, RandomSource random, BoundingBox box, Direction orientation) RoomCrossing(int genDepth, RandomSource random, BoundingBox box, Direction orientation) StairsDown(int genDepth, RandomSource random, BoundingBox box, Direction orientation) StartPiece(RandomSource random, int x, int z) StartPiece(RandomSource random, int x, int z) Straight(int genDepth, RandomSource random, BoundingBox box, Direction orientation) StraightStairsDown(int genDepth, RandomSource random, BoundingBox box, Direction orientation) SwampHutPiece(RandomSource random, int x, int z) -
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 random, CompoundTag tag) private static BlockStateBlockAgeProcessor.getRandomBlock(RandomSource random, BlockState[] states) private BlockStateBlockAgeProcessor.getRandomBlock(RandomSource random, BlockState[] normalStates, BlockState[] mossyStates) private static BlockStateBlockAgeProcessor.getRandomFacingStairs(RandomSource random, Block stairsBlock) private BlockStateBlockAgeProcessor.maybeReplaceFullStoneBlock(RandomSource random) private BlockStateBlockAgeProcessor.maybeReplaceObsidian(RandomSource random) private BlockStateBlockAgeProcessor.maybeReplaceSlab(RandomSource random) private BlockStateBlockAgeProcessor.maybeReplaceStairs(RandomSource random, BlockState state) private BlockStateBlockAgeProcessor.maybeReplaceWall(RandomSource random) booleanStructureTemplate.placeInWorld(ServerLevelAccessor serverLevel, BlockPos offset, BlockPos pos, StructurePlaceSettings settings, RandomSource random, int flags) StructurePlaceSettings.setRandom(RandomSource random) booleanAlwaysTrueTest.test(BlockState p_230248_, RandomSource p_230249_) booleanAxisAlignedLinearPosTest.test(BlockPos localPos, BlockPos relativePos, BlockPos structurePos, RandomSource random) booleanBlockMatchTest.test(BlockState state, RandomSource random) booleanBlockStateMatchTest.test(BlockState state, RandomSource random) booleanLinearPosTest.test(BlockPos localPos, BlockPos relativePos, BlockPos structurePos, RandomSource random) booleanPosAlwaysTrueTest.test(BlockPos p_230301_, BlockPos p_230302_, BlockPos p_230303_, RandomSource p_230304_) abstract booleanPosRuleTest.test(BlockPos localPos, BlockPos relativePos, BlockPos structurePos, RandomSource random) booleanProcessorRule.test(BlockState inputState, BlockState existingState, BlockPos localPos, BlockPos relativePos, BlockPos structurePos, RandomSource random) booleanRandomBlockMatchTest.test(BlockState state, RandomSource random) booleanRandomBlockStateMatchTest.test(BlockState state, RandomSource random) abstract booleanRuleTest.test(BlockState state, RandomSource random) booleanTagMatchTest.test(BlockState state, RandomSource random) -
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 random, CompoundTag tag) AppendStatic.apply(RandomSource random, CompoundTag tag) Clear.apply(RandomSource p_277601_, CompoundTag p_277931_) Passthrough.apply(RandomSource p_277737_, CompoundTag p_277665_) RuleBlockEntityModifier.apply(RandomSource random, CompoundTag tag) -
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 random, int firstOctave, double... amplitudes) static NormalNoiseNormalNoise.create(RandomSource random, NormalNoise.NoiseParameters parameters) static PerlinNoisePerlinNoise.create(RandomSource random, int firstOctave, double firstAmplitude, double... amplitudes) static PerlinNoisePerlinNoise.create(RandomSource random, int firstOctave, it.unimi.dsi.fastutil.doubles.DoubleList amplitudes) static PerlinNoisePerlinNoise.create(RandomSource random, List<Integer> octaves) static PerlinNoisePerlinNoise.create(RandomSource random, IntStream octaves) static PerlinNoisePerlinNoise.createLegacyForBlendedNoise(RandomSource random, IntStream octaves) Deprecated.static PerlinNoisePerlinNoise.createLegacyForLegacyNetherBiome(RandomSource random, int firstOctave, it.unimi.dsi.fastutil.doubles.DoubleList amplitudes) Deprecated.static NormalNoiseNormalNoise.createLegacyNetherBiome(RandomSource random, NormalNoise.NoiseParameters parameters) Deprecated.private static voidPerlinNoise.skipOctave(RandomSource random) BlendedNoise.withNewRandom(RandomSource random) Constructors in net.minecraft.world.level.levelgen.synth with parameters of type RandomSourceModifierConstructorDescriptionBlendedNoise(RandomSource random, double xzScale, double yScale, double xzFactor, double yFactor, double smearScaleMultiplier) ImprovedNoise(RandomSource random) privateNormalNoise(RandomSource random, NormalNoise.NoiseParameters parameters, boolean useLegacyNetherBiome) protectedPerlinNoise(RandomSource random, com.mojang.datafixers.util.Pair<Integer, it.unimi.dsi.fastutil.doubles.DoubleList> octavesAndAmplitudes, boolean useNewFactory) privatePerlinSimplexNoise(RandomSource random, it.unimi.dsi.fastutil.ints.IntSortedSet octaves) PerlinSimplexNoise(RandomSource random, List<Integer> octaves) SimplexNoise(RandomSource random) -
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 level, BlockPos pos, FluidState state, RandomSource random) voidFluidState.animateTick(Level level, BlockPos pos, RandomSource random) voidLavaFluid.animateTick(Level level, BlockPos pos, FluidState state, RandomSource random) voidWaterFluid.animateTick(Level level, BlockPos pos, FluidState state, RandomSource random) protected voidFluid.randomTick(Level level, BlockPos pos, FluidState state, RandomSource random) voidFluidState.randomTick(Level level, BlockPos pos, RandomSource random) voidLavaFluid.randomTick(Level level, BlockPos pos, FluidState state, RandomSource random) -
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 inventory, RandomSource random) it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> LootTable.getRandomItems(LootParams params, RandomSource random) private voidLootTable.shuffleAndSplitItems(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> stacks, int emptySlotsCount, RandomSource random) Shuffles items by changing their order and splitting stacksLootContext.Builder.withOptionalRandomSource(RandomSource random) Constructors in net.minecraft.world.level.storage.loot with parameters of type RandomSourceModifierConstructorDescription(package private)LootContext(LootParams params, RandomSource random, HolderGetter.Provider lootDataResolver) privateLootContext(LootParams params, RandomSource random, HolderGetter.Provider lootDataResolver, 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 random, int originalCount, int enchantmentLevel) intApplyBonusCount.Formula.calculateNewCount(RandomSource random, int originalCount, int enchantmentLevel) intApplyBonusCount.OreDrops.calculateNewCount(RandomSource random, int originalCount, int enchantmentLevel) intApplyBonusCount.UniformBonusCount.calculateNewCount(RandomSource random, int originalCount, int enchantmentLevel) private static ItemStackEnchantRandomlyFunction.enchantItem(ItemStack stack, Holder<Enchantment> enchantment, RandomSource random) -
Uses of RandomSource in net.minecraft.world.phys
Methods in net.minecraft.world.phys with parameters of type RandomSource -
Uses of RandomSource in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions with parameters of type RandomSourceModifier and TypeMethodDescriptionIBakedModelExtension.getQuads(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) A nullRenderTypeis used for the breaking overlay as well as non-standard rendering, so models should return all their quads.default ChunkRenderTypeSetIBakedModelExtension.getRenderTypes(BlockState state, RandomSource rand, ModelData data) Gets the set ofrender typesto use when drawing this block in the level. -
Uses of RandomSource in net.neoforged.neoforge.client.model
Methods in net.neoforged.neoforge.client.model with parameters of type RandomSourceModifier and TypeMethodDescriptionBakedModelWrapper.getQuads(@Nullable BlockState state, @Nullable Direction side, RandomSource rand) BakedModelWrapper.getQuads(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData extraData, @Nullable RenderType renderType) CompositeModel.Baked.getQuads(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) IDynamicBakedModel.getQuads(@Nullable BlockState state, @Nullable Direction side, RandomSource rand) IDynamicBakedModel.getQuads(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData extraData, @Nullable RenderType renderType) SeparateTransformsModel.Baked.getQuads(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) BakedModelWrapper.getRenderTypes(BlockState state, RandomSource rand, ModelData data) CompositeModel.Baked.getRenderTypes(BlockState state, RandomSource rand, ModelData data) SeparateTransformsModel.Baked.getRenderTypes(BlockState state, RandomSource rand, ModelData data) -
Uses of RandomSource in net.neoforged.neoforge.client.model.lighting
Methods in net.neoforged.neoforge.client.model.lighting with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic booleanLightPipelineAwareModelBlockRenderer.render(VertexConsumer vertexConsumer, QuadLighter lighter, BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, boolean checkSides, RandomSource rand, long seed, int packedOverlay, ModelData modelData, RenderType renderType) voidLightPipelineAwareModelBlockRenderer.tesselateWithAO(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer vertexConsumer, boolean checkSides, RandomSource rand, long seed, int packedOverlay, ModelData modelData, RenderType renderType) voidLightPipelineAwareModelBlockRenderer.tesselateWithoutAO(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer vertexConsumer, boolean checkSides, RandomSource rand, long seed, int packedOverlay, ModelData modelData, RenderType renderType) -
Uses of RandomSource in net.neoforged.neoforge.client.model.renderable
Fields in net.neoforged.neoforge.client.model.renderable declared as RandomSourceModifier and TypeFieldDescriptionprivate final RandomSourceBakedModelRenderable.Context.randomSourceThe field for therandomSourcerecord component.Methods in net.neoforged.neoforge.client.model.renderable that return RandomSourceModifier and TypeMethodDescriptionBakedModelRenderable.Context.randomSource()Returns the value of therandomSourcerecord component.Constructors in net.neoforged.neoforge.client.model.renderable with parameters of type RandomSourceModifierConstructorDescriptionContext(@Nullable BlockState state, Direction[] faces, RandomSource randomSource, long seed, ModelData data, org.joml.Vector4f tint) Creates an instance of aContextrecord class. -
Uses of RandomSource in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type RandomSourceModifier and TypeMethodDescription@Nullable MerchantOfferBasicItemListing.getOffer(Entity p_219693_, RandomSource p_219694_) static EntityType<?> MonsterRoomHooks.getRandomMonsterRoomMob(RandomSource rand) Gets a random entity type from the weighted list. -
Uses of RandomSource in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions with parameters of type RandomSourceModifier and TypeMethodDescriptiondefault booleanIBlockExtension.onTreeGrow(BlockState state, LevelReader level, BiConsumer<BlockPos, BlockState> placeFunction, RandomSource randomSource, BlockPos pos, TreeConfiguration config) Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer.default booleanIBlockStateExtension.onTreeGrow(LevelReader level, BiConsumer<BlockPos, BlockState> placeFunction, RandomSource randomSource, BlockPos pos, TreeConfiguration config) Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer. -
Uses of RandomSource in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic booleanEventHooks.checkSpawnPlacements(EntityType<?> entityType, ServerLevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random, boolean defaultResult) static BlockGrowFeatureEventEventHooks.fireBlockGrowFeature(LevelAccessor level, RandomSource rand, BlockPos pos, @Nullable Holder<ConfiguredFeature<?, ?>> holder) Fires theBlockGrowFeatureEventand returns the event object. -
Uses of RandomSource in net.neoforged.neoforge.event.entity.living
Fields in net.neoforged.neoforge.event.entity.living declared as RandomSourceModifier and TypeFieldDescriptionprivate final RandomSourceMobSpawnEvent.SpawnPlacementCheck.randomMethods in net.neoforged.neoforge.event.entity.living that return RandomSourceModifier and TypeMethodDescriptionMobSpawnEvent.SpawnPlacementCheck.getRandom()In all vanilla cases, this is equal toLevelAccessor.getRandom().Constructors in net.neoforged.neoforge.event.entity.living with parameters of type RandomSourceModifierConstructorDescriptionSpawnPlacementCheck(EntityType<?> entityType, ServerLevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random, boolean defaultResult) Internal. -
Uses of RandomSource in net.neoforged.neoforge.event.level
Fields in net.neoforged.neoforge.event.level declared as RandomSourceMethods in net.neoforged.neoforge.event.level that return RandomSourceModifier and TypeMethodDescriptionBlockGrowFeatureEvent.getRandom()Returns the random source which initiated the sapling growth.Methods in net.neoforged.neoforge.event.level with parameters of type RandomSourceModifier and TypeMethodDescriptionAlterGroundEvent.StateProvider.getState(RandomSource random, BlockPos state) Gets the BlockState that will be placed at the passed position.Constructors in net.neoforged.neoforge.event.level with parameters of type RandomSourceModifierConstructorDescriptionBlockGrowFeatureEvent(LevelAccessor level, RandomSource rand, BlockPos pos, @Nullable Holder<ConfiguredFeature<?, ?>> feature) -
Uses of RandomSource in net.neoforged.neoforge.registries.holdersets
Methods in net.neoforged.neoforge.registries.holdersets with parameters of type RandomSourceModifier and TypeMethodDescriptionAnyHolderSet.getRandomElement(RandomSource random) CompositeHolderSet.getRandomElement(RandomSource rand) NotHolderSet.getRandomElement(RandomSource random)
IBakedModelExtension.getQuads(BlockState, Direction, RandomSource, net.neoforged.neoforge.client.model.data.ModelData, net.minecraft.client.renderer.RenderType)