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