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.client.gui
Fields in net.minecraft.client.gui declared as RandomSourceModifier and TypeFieldDescriptionprivate final RandomSourceFont.randomprivate final RandomSourceGui.randomMethods in net.minecraft.client.gui with parameters of type RandomSource -
Uses of RandomSource in net.minecraft.client.gui.font
Methods in net.minecraft.client.gui.font with parameters of type RandomSourceModifier and TypeMethodDescriptionFontSet.getRandomGlyph(RandomSource random, int width) FontSet.Source.getRandomGlyph(RandomSource random, int width) SingleSpriteSource.getRandomGlyph(RandomSource random, int width) -
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.geom
Methods in net.minecraft.client.model.geom with parameters of type RandomSource -
Uses of RandomSource in net.minecraft.client.model.player
Methods in net.minecraft.client.model.player 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 xt, int yt, int zt, int r, RandomSource animateRandom, @Nullable Block markerParticleTarget, BlockPos.MutableBlockPos pos) -
Uses of RandomSource in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as RandomSourceModifier and TypeFieldDescriptionprotected final RandomSourceParticle.randomprivate final RandomSourceParticleEngine.randomprivate static final RandomSourceSpellParticle.RANDOMMethods in net.minecraft.client.particle with parameters of type RandomSourceModifier and TypeMethodDescriptionAshParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) AttackSweepParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) BlockMarker.Provider.createParticle(BlockParticleOption option, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) BreakingItemParticle.CobwebProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) BreakingItemParticle.Provider.createParticle(ItemParticleOption options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) BreakingItemParticle.SlimeProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) BreakingItemParticle.SnowballProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) BubbleColumnUpParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) BubbleParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) BubblePopParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) CampfireSmokeParticle.CosyProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) CampfireSmokeParticle.SignalProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) CritParticle.DamageIndicatorProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) CritParticle.MagicProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) CritParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) DragonBreathParticle.Provider.createParticle(PowerParticleOption options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) DripParticle.DripstoneLavaFallProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) DripParticle.DripstoneLavaHangProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) DripParticle.DripstoneWaterFallProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) DripParticle.DripstoneWaterHangProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) DripParticle.HoneyFallProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) DripParticle.HoneyHangProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) DripParticle.HoneyLandProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) DripParticle.LavaFallProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) DripParticle.LavaHangProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) DripParticle.LavaLandProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) DripParticle.NectarFallProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) DripParticle.ObsidianTearFallProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) DripParticle.ObsidianTearHangProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) DripParticle.ObsidianTearLandProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) DripParticle.SporeBlossomFallProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) DripParticle.WaterFallProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) DripParticle.WaterHangProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) DustColorTransitionParticle.Provider.createParticle(DustColorTransitionOptions options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) DustParticle.Provider.createParticle(DustParticleOptions options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) DustPlumeParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) ElderGuardianParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) EndRodParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) ExplodeParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) @Nullable ParticleFallingDustParticle.Provider.createParticle(BlockParticleOption options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) FallingLeavesParticle.CherryProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) FallingLeavesParticle.PaleOakProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) FallingLeavesParticle.TintedLeavesProvider.createParticle(ColorParticleOption options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) FireflyParticle.FireflyProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) FireworkParticles.FlashProvider.createParticle(ColorParticleOption options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) FireworkParticles.SparkProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) FlameParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) FlameParticle.SmallFlameProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) FlyStraightTowardsParticle.OminousSpawnProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) FlyTowardsPositionParticle.EnchantProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) FlyTowardsPositionParticle.NautilusProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) FlyTowardsPositionParticle.VaultConnectionProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) GlowParticle.ElectricSparkProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) GlowParticle.GlowSquidProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) GlowParticle.ScrapeProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) GlowParticle.WaxOffProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) GlowParticle.WaxOnProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) GustParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) GustParticle.SmallProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) GustSeedParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) HeartParticle.AngryVillagerProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) HeartParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) HugeExplosionParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) HugeExplosionSeedParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) LargeSmokeParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) LavaParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) NoteParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) @Nullable ParticleParticleProvider.createParticle(T options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) @Nullable SingleQuadParticleParticleProvider.Sprite.createParticle(T options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) PlayerCloudParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) PlayerCloudParticle.SneezeProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) PortalParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) ReversePortalParticle.ReversePortalProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SculkChargeParticle.Provider.createParticle(SculkChargeParticleOptions options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SculkChargePopParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) ShriekParticle.Provider.createParticle(ShriekParticleOption options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SmokeParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SnowflakeParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SonicBoomParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SoulParticle.EmissiveProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SoulParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SpellParticle.InstantProvider.createParticle(SpellParticleOption options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SpellParticle.MobEffectProvider.createParticle(ColorParticleOption options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SpellParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SpellParticle.WitchProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SpitParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SplashParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SquidInkParticle.GlowInkProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SquidInkParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SuspendedParticle.CrimsonSporeProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SuspendedParticle.SporeBlossomAirProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SuspendedParticle.UnderwaterProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SuspendedParticle.WarpedSporeProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SuspendedTownParticle.ComposterFillProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SuspendedTownParticle.DolphinSpeedProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SuspendedTownParticle.EggCrackProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SuspendedTownParticle.HappyVillagerProvider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) SuspendedTownParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) @Nullable ParticleTerrainParticle.CrumblingProvider.createParticle(BlockParticleOption options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) @Nullable ParticleTerrainParticle.DustPillarProvider.createParticle(BlockParticleOption options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) @Nullable ParticleTerrainParticle.Provider.createParticle(BlockParticleOption options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) TotemParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) TrailParticle.Provider.createParticle(TrailParticleOption options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) TrialSpawnerDetectionParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) VibrationSignalParticle.Provider.createParticle(VibrationParticleOption options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) WakeParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) WaterCurrentDownParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) WaterDropParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) WhiteAshParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) WhiteSmokeParticle.Provider.createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) ParticleResources.MutableSpriteSet.get(RandomSource random) SpriteSet.get(RandomSource random) protected TextureAtlasSpriteBreakingItemParticle.ItemParticleProvider.getSprite(ItemStackTemplate item, ClientLevel level, RandomSource random) -
Uses of RandomSource in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as RandomSourceModifier and TypeFieldDescriptionprivate final RandomSourceGameRenderer.randomprivate final RandomSourceLightmapRenderStateExtractor.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 partialTicks) WeatherEffectRenderer.createSnowColumnInstance(RandomSource random, int ticks, int x, int bottomY, int topY, int z, int lightCoords, float partialTicks) voidScreenEffectRenderer.displayItemActivation(ItemStack itemStack, RandomSource random) private voidLevelEventHandler.shootParticles(int data, BlockPos pos, RandomSource random, SimpleParticleType particle) -
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 random, List<BlockModelPart> output) 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 random, List<BlockModelPart> output) @Nullable ObjectMultiPartModel.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, SubmitNodeCollector submitNodeCollector, int lightCoords, ItemClusterRenderState state, RandomSource random) static voidItemEntityRenderer.submitMultipleFromCount(PoseStack poseStack, SubmitNodeCollector submitNodeCollector, int lightCoords, ItemClusterRenderState state, RandomSource random) static voidItemEntityRenderer.submitMultipleFromCount(PoseStack poseStack, SubmitNodeCollector submitNodeCollector, int lightCoords, ItemClusterRenderState state, RandomSource random, AABB modelBoundingBox) -
Uses of RandomSource in net.minecraft.client.renderer.item
Methods in net.minecraft.client.renderer.item with parameters of type RandomSourceModifier and TypeMethodDescription@Nullable Material.BakedItemStackRenderState.pickParticleMaterial(RandomSource 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 itemStack, ItemOwner owner, 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 random, List<BlockModelPart> output) @Nullable ObjectWeightedVariants.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 final 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 sound, RandomSource random, double x, double y, double z) Sound.getSound(RandomSource random) Constructors in net.minecraft.client.resources.sounds with parameters of type RandomSourceModifierConstructorDescriptionprotectedAbstractSoundInstance(Identifier identifier, SoundSource source, RandomSource random) protectedAbstractSoundInstance(SoundEvent event, SoundSource source, RandomSource random) protectedAbstractTickableSoundInstance(SoundEvent event, SoundSource source, RandomSource random) DirectionalSoundInstance(SoundEvent event, SoundSource source, RandomSource random, Camera camera, float xAngle, float yAngle) SimpleSoundInstance(Identifier 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 sound, SoundSource source, float volume, float pitch, RandomSource random, boolean looping, int delay, SoundInstance.Attenuation attenuation, double x, double y, double z) SimpleSoundInstance(SoundEvent sound, SoundSource source, float volume, float pitch, RandomSource random, double x, double y, double z) SimpleSoundInstance(SoundEvent sound, SoundSource source, float volume, float pitch, RandomSource random, BlockPos pos) -
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 TypeMethodDescriptionprivate intMusicManager.MusicFrequency.getNextSongDelay(@Nullable Music music, RandomSource random) WeighedSoundEvents.getSound(RandomSource random) Retrieves a randomly selected sound from the sound events based on their weights.Weighted.getSound(RandomSource random) Retrieves the sound associated with the element. -
Uses of RandomSource in net.minecraft.core
Methods in net.minecraft.core with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic Collection<Direction> Direction.allShuffled(RandomSource random) DefaultedMappedRegistry.getRandom(RandomSource random) static Direction.AxisDirection.Axis.getRandom(RandomSource random) static DirectionDirection.getRandom(RandomSource random) MappedRegistry.getRandom(RandomSource random) Registry.getRandom(RandomSource random) Direction.Plane.getRandomAxis(RandomSource random) Direction.Plane.getRandomDirection(RandomSource random) HolderSet.getRandomElement(RandomSource random) HolderSet.ListBacked.getRandomElement(RandomSource random) HolderGetter.getRandomElementOf(TagKey<T> tag, RandomSource random) BlockPos.randomBetweenClosed(RandomSource random, int limit, int minX, int minY, int minZ, int maxX, int maxY, int maxZ) BlockPos.randomInCube(RandomSource random, int limit, BlockPos center, int sizeToScanInAllDirections) 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[] names) -
Uses of RandomSource in net.minecraft.server
Fields in net.minecraft.server declared as RandomSourceMethods in net.minecraft.server that return RandomSource -
Uses of RandomSource in net.minecraft.server.bossevents
Methods in net.minecraft.server.bossevents with parameters of type RandomSourceModifier and TypeMethodDescriptionCustomBossEvents.create(RandomSource random, Identifier id, Component name) -
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 spreadDist, 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 RandomSource -
Uses of RandomSource in net.minecraft.util
Methods 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) static intUtil.getRandom(int[] array, RandomSource random) static <T> TUtil.getRandom(List<T> list, RandomSource random) static <T> TUtil.getRandom(T[] array, RandomSource random) static <T> Optional<T> Util.getRandomSafe(List<T> list, RandomSource random) private static Vec3ParticleUtils.getRandomSpeedRanges(RandomSource random) static doubleMth.nextDouble(RandomSource random, double min, double max) static floatMth.nextFloat(RandomSource random, float min, float max) static intMth.nextInt(RandomSource random, int minInclusive, int maxInclusive) 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 min, float maxExclusive) static intMth.randomBetweenInclusive(RandomSource random, int min, int maxInclusive) 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 voidParticleUtils.spawnParticleBelow(Level level, BlockPos pos, RandomSource random, ParticleOptions particle) 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.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> items, int totalWeight, ToIntFunction<T> weightGetter) static <T> Optional<T> WeightedRandom.getRandomItem(RandomSource random, List<T> items, 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 random) intClampedInt.sample(RandomSource random) floatClampedNormalFloat.sample(RandomSource random) static floatClampedNormalFloat.sample(RandomSource random, float mean, float deviation, float min, float max) intClampedNormalInt.sample(RandomSource random) static intClampedNormalInt.sample(RandomSource random, float mean, float deviation, float min_inclusive, float max_inclusive) floatConstantFloat.sample(RandomSource random) intConstantInt.sample(RandomSource random) abstract intIntProvider.sample(RandomSource random) floatMultipliedFloats.sample(RandomSource random) floatSampledFloat.sample(RandomSource random) floatTrapezoidFloat.sample(RandomSource random) floatUniformFloat.sample(RandomSource random) intUniformInt.sample(RandomSource random) intWeightedListInt.sample(RandomSource random) -
Uses of RandomSource in net.minecraft.world
Classes in net.minecraft.world that implement RandomSourceFields 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(Identifier key, long worldSeed) RandomSequence.random()Methods in net.minecraft.world with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic voidRandomizableContainer.setBlockEntityLootTable(BlockGetter level, RandomSource random, BlockPos blockEntityPos, ResourceKey<LootTable> lootTable) Constructors in net.minecraft.world with parameters of type RandomSource -
Uses of RandomSource in net.minecraft.world.attribute
Methods in net.minecraft.world.attribute 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 booleanMob.checkMobSpawnRules(EntityType<? extends Mob> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static <T extends Entity>
booleanSpawnPlacements.checkSpawnRules(EntityType<T> type, 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 chance, DifficultyInstance difficulty) protected voidMob.enchantSpawnedWeapon(ServerLevelAccessor level, RandomSource random, DifficultyInstance difficulty) protected voidMob.populateDefaultEquipmentEnchantments(ServerLevelAccessor level, RandomSource random, DifficultyInstance localDifficulty) protected voidMob.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) booleanSpawnPlacements.SpawnPredicate.test(EntityType<T> type, ServerLevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
Uses of RandomSource in net.minecraft.world.entity.ai
Constructors in net.minecraft.world.entity.ai with parameters of type RandomSourceModifierConstructorDescriptionprotectedBrain(Collection<? extends MemoryModuleType<?>> memoryTypes, Collection<? extends SensorType<? extends Sensor<? super E>>> sensorTypes, List<ActivityData<E>> activities, MemoryMap memories, RandomSource randomSource) -
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 firstAttemptTimestamp) -
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 maxCount) voidGossipContainer.transferFrom(GossipContainer source, RandomSource random, int maxCount) -
Uses of RandomSource in net.minecraft.world.entity.ai.sensing
Methods in net.minecraft.world.entity.ai.sensing with parameters of type 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 horizontalDist, int verticalDist) Gets a random position within a certain distance.static @Nullable BlockPosRandomPos.generateRandomDirectionWithinRadians(RandomSource random, double minHorizontalDist, double maxHorizontalDist, int verticalDist, int flyingHeight, double xDir, double zDir, double maxXzRadiansFromDir) static BlockPosRandomPos.generateRandomPosTowardDirection(PathfinderMob mob, double xzDist, RandomSource random, BlockPos direction) -
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> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
Uses of RandomSource in net.minecraft.world.entity.animal
Methods in net.minecraft.world.entity.animal with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic booleanAnimal.checkAnimalSpawnRules(EntityType<? extends Animal> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanAgeableWaterCreature.checkSurfaceAgeableWaterCreatureSpawnRules(EntityType<? extends AgeableWaterCreature> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
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> type, 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> type, 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> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) protected static voidCamelAi.initMemories(Camel body, RandomSource random) -
Uses of RandomSource in net.minecraft.world.entity.animal.chicken
Methods in net.minecraft.world.entity.animal.chicken with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic Holder<ChickenSoundVariant> ChickenSoundVariants.pickRandomSoundVariant(RegistryAccess registryAccess, RandomSource random) -
Uses of RandomSource in net.minecraft.world.entity.animal.cow
Methods in net.minecraft.world.entity.animal.cow with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic booleanMushroomCow.checkMushroomSpawnRules(EntityType<MushroomCow> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static Holder<CowSoundVariant> CowSoundVariants.pickRandomSoundVariant(RegistryAccess registryAccess, RandomSource random) -
Uses of RandomSource in net.minecraft.world.entity.animal.equine
Methods in net.minecraft.world.entity.animal.equine with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic booleanSkeletonHorse.checkSkeletonHorseSpawnRules(EntityType<? extends Animal> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) (package private) static doubleAbstractHorse.createOffspringAttribute(double parentAValue, double parentBValue, double attributeRangeMin, double attributeRangeMax, RandomSource random) protected voidAbstractChestedHorse.randomizeAttributes(RandomSource random) protected voidAbstractHorse.randomizeAttributes(RandomSource random) protected voidHorse.randomizeAttributes(RandomSource random) protected voidSkeletonHorse.randomizeAttributes(RandomSource random) protected voidZombieHorse.randomizeAttributes(RandomSource random) private voidLlama.setRandomStrength(RandomSource random) -
Uses of RandomSource in net.minecraft.world.entity.animal.feline
Methods in net.minecraft.world.entity.animal.feline with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic booleanOcelot.checkOcelotSpawnRules(EntityType<Ocelot> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static Holder<CatSoundVariant> CatSoundVariants.pickRandomSoundVariant(RegistryAccess registryAccess, RandomSource random) -
Uses of RandomSource in net.minecraft.world.entity.animal.fish
Methods in net.minecraft.world.entity.animal.fish with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic booleanWaterAnimal.checkSurfaceWaterAnimalSpawnRules(EntityType<? extends WaterAnimal> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanTropicalFish.checkTropicalFishSpawnRules(EntityType<TropicalFish> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
Uses of RandomSource in net.minecraft.world.entity.animal.fox
Methods in net.minecraft.world.entity.animal.fox with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic booleanFox.checkFoxSpawnRules(EntityType<Fox> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) protected voidFox.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) -
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> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) protected static voidFrogAi.initMemories(Frog body, RandomSource random) -
Uses of RandomSource in net.minecraft.world.entity.animal.goat
Methods in net.minecraft.world.entity.animal.goat with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic booleanGoat.checkGoatSpawnRules(EntityType<? extends Animal> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) protected static voidGoatAi.initMemories(Goat body, RandomSource random) -
Uses of RandomSource in net.minecraft.world.entity.animal.golem
Methods in net.minecraft.world.entity.animal.golem with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate voidCopperGolem.updateWeathering(ServerLevel level, RandomSource random, long gameTime) -
Uses of RandomSource in net.minecraft.world.entity.animal.nautilus
Methods in net.minecraft.world.entity.animal.nautilus with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic booleanAbstractNautilus.checkNautilusSpawnRules(EntityType<? extends AbstractNautilus> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) protected static voidNautilusAi.initMemories(AbstractNautilus body, RandomSource random) -
Uses of RandomSource in net.minecraft.world.entity.animal.panda
Methods in net.minecraft.world.entity.animal.panda with parameters of type RandomSource -
Uses of RandomSource in net.minecraft.world.entity.animal.parrot
Methods in net.minecraft.world.entity.animal.parrot with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic booleanParrot.checkParrotSpawnRules(EntityType<Parrot> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static SoundEventParrot.getAmbient(Level level, RandomSource random) static floatParrot.getPitch(RandomSource random) -
Uses of RandomSource in net.minecraft.world.entity.animal.pig
Methods in net.minecraft.world.entity.animal.pig with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic Holder<PigSoundVariant> PigSoundVariants.pickRandomSoundVariant(RegistryAccess registryAccess, RandomSource random) -
Uses of RandomSource in net.minecraft.world.entity.animal.polarbear
Methods in net.minecraft.world.entity.animal.polarbear with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic booleanPolarBear.checkPolarBearSpawnRules(EntityType<PolarBear> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
Uses of RandomSource in net.minecraft.world.entity.animal.rabbit
Methods in net.minecraft.world.entity.animal.rabbit with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic booleanRabbit.checkRabbitSpawnRules(EntityType<Rabbit> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, 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.squid
Methods in net.minecraft.world.entity.animal.squid with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic booleanGlowSquid.checkGlowSquidSpawnRules(EntityType<? extends LivingEntity> type, ServerLevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
Uses of RandomSource in net.minecraft.world.entity.animal.turtle
Methods in net.minecraft.world.entity.animal.turtle with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic booleanTurtle.checkTurtleSpawnRules(EntityType<Turtle> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, 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> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static Holder<WolfSoundVariant> WolfSoundVariants.pickRandomSoundVariant(RegistryAccess registryAccess, RandomSource random) -
Uses of RandomSource in net.minecraft.world.entity.monster
Methods in net.minecraft.world.entity.monster with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic booleanMonster.checkAnyLightMonsterSpawnRules(EntityType<? extends Monster> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanEndermite.checkEndermiteSpawnRules(EntityType<Endermite> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanGhast.checkGhastSpawnRules(EntityType<Ghast> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanGuardian.checkGuardianSpawnRules(EntityType<? extends Guardian> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanMagmaCube.checkMagmaCubeSpawnRules(EntityType<MagmaCube> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanMonster.checkMonsterSpawnRules(EntityType<? extends Mob> type, ServerLevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanPatrollingMonster.checkPatrollingMonsterSpawnRules(EntityType<? extends PatrollingMonster> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanSilverfish.checkSilverfishSpawnRules(EntityType<Silverfish> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanSlime.checkSlimeSpawnRules(EntityType<Slime> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanStrider.checkStriderSpawnRules(EntityType<Strider> ignoredType, LevelAccessor level, EntitySpawnReason ignoredSpawnType, BlockPos pos, RandomSource ignoredRandom) static booleanMonster.checkSurfaceMonstersSpawnRules(EntityType<? extends Mob> type, ServerLevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) private static Vec3Ghast.RandomFloatAroundGoal.chooseRandomPosition(Vec3 center, RandomSource random) private static @Nullable Vec3Ghast.RandomFloatAroundGoal.chooseRandomPositionWithRestriction(Mob mob, Vec3 center, 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 voidVex.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) -
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 body, RandomSource random, Vec3 targetPos) static Vec3BreezeUtil.randomPointBehindTarget(LivingEntity enemy, 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> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
Uses of RandomSource in net.minecraft.world.entity.monster.illager
Methods in net.minecraft.world.entity.monster.illager with parameters of type RandomSourceModifier and TypeMethodDescriptionprotected voidPillager.enchantSpawnedWeapon(ServerLevelAccessor level, RandomSource random, DifficultyInstance difficulty) protected voidPillager.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) protected voidVindicator.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) -
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> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) protected static voidPiglinAi.initMemories(Piglin body, RandomSource random) private voidPiglin.maybeWearArmor(EquipmentSlot slot, ItemStack itemStack, RandomSource random) protected voidPiglin.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) protected voidPiglinBrute.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) -
Uses of RandomSource in net.minecraft.world.entity.monster.skeleton
Methods in net.minecraft.world.entity.monster.skeleton with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic booleanStray.checkStraySpawnRules(EntityType<Stray> type, ServerLevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) protected voidWitherSkeleton.populateDefaultEquipmentEnchantments(ServerLevelAccessor level, RandomSource random, DifficultyInstance localDifficulty) protected voidAbstractSkeleton.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) protected voidWitherSkeleton.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) -
Uses of RandomSource in net.minecraft.world.entity.monster.spider
Methods in net.minecraft.world.entity.monster.spider with parameters of type RandomSourceModifier and TypeMethodDescriptionvoidSpider.SpiderEffectsGroupData.setRandomEffect(RandomSource random) -
Uses of RandomSource in net.minecraft.world.entity.monster.zombie
Methods in net.minecraft.world.entity.monster.zombie with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic booleanDrowned.checkDrownedSpawnRules(EntityType<Drowned> type, ServerLevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanZombifiedPiglin.checkZombifiedPiglinSpawnRules(EntityType<ZombifiedPiglin> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanZombie.getSpawnAsBabyOdds(RandomSource random) protected voidDrowned.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) protected voidZombie.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) voidZombifiedPiglin.populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty) -
Uses of RandomSource in net.minecraft.world.entity.npc.wanderingtrader
Fields in net.minecraft.world.entity.npc.wanderingtrader declared as RandomSource -
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, @Nullable 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 type, RandomSource random, int wav, DifficultyInstance difficultyInstance, boolean isBonusWave) -
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> entries, Function<T, PriorityProvider<C, ?>> extractor, RandomSource randomSource, 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 highPitch, 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 user, ItemStack itemStack, int particleCount) -
Uses of RandomSource in net.minecraft.world.item.crafting.display
Methods in net.minecraft.world.item.crafting.display with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate static <T> Stream<T> SlotDisplay.applyDemoTransformation(ContextMap context, DisplayContentsFactory<T> factory, SlotDisplay firstDisplay, SlotDisplay secondDisplay, RandomSource randomSource, BinaryOperator<ItemStack> operation) -
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 itemStack, int enchantmentCost, Stream<Holder<Enchantment>> source) static ItemStackEnchantmentHelper.enchantItem(RandomSource random, ItemStack itemStack, int enchantmentCost, RegistryAccess registryAccess, Optional<? extends HolderSet<Enchantment>> set) static voidEnchantmentHelper.enchantItemFromProvider(ItemStack itemStack, RegistryAccess registryAccess, ResourceKey<EnchantmentProvider> providerKey, DifficultyInstance difficulty, RandomSource random) static intEnchantmentHelper.getEnchantmentCost(RandomSource random, int slot, int bookcases, ItemStack itemStack) 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 time) voidEnchantment.modifyTridentSpinAttackStrength(RandomSource random, int enchantmentLevel, org.apache.commons.lang3.mutable.MutableFloat strength) voidEnchantment.modifyUnfilteredValue(DataComponentType<EnchantmentValueEffect> component, RandomSource random, int enchantmentLevel, org.apache.commons.lang3.mutable.MutableFloat value) static List<EnchantmentInstance> EnchantmentHelper.selectEnchantment(RandomSource random, ItemStack itemStack, int enchantmentCost, Stream<Holder<Enchantment>> source) -
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 boundingBoxSpan, RandomSource random) doubleSpawnParticlesEffect.PositionSourceType.CoordinateSource.getCoordinate(double pos, double center, float boundingBoxSpan, RandomSource random) doubleSpawnParticlesEffect.PositionSourceType.getCoordinate(double position, double center, float boundingBoxSpan, RandomSource random) doubleSpawnParticlesEffect.VelocitySource.getVelocity(double movement, RandomSource random) floatAddValue.process(int enchantmentLevel, RandomSource random, float inputValue) floatAllOf.ValueEffects.process(int enchantmentLevel, RandomSource random, float value) floatEnchantmentValueEffect.process(int enchantmentLevel, RandomSource random, float inputValue) floatMultiplyValue.process(int enchantmentLevel, RandomSource random, float inputValue) floatRemoveBinomial.process(int level, RandomSource random, float n) floatScaleExponentially.process(int level, RandomSource random, float inputValue) floatSetValue.process(int enchantmentLevel, RandomSource random, float inputValue) -
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 item, ItemEnchantments.Mutable itemEnchantments, RandomSource random, DifficultyInstance difficulty) voidEnchantmentsByCost.enchant(ItemStack item, ItemEnchantments.Mutable itemEnchantments, RandomSource random, DifficultyInstance difficulty) voidEnchantmentsByCostWithDifficulty.enchant(ItemStack item, ItemEnchantments.Mutable itemEnchantments, RandomSource random, DifficultyInstance difficulty) voidSingleEnchantment.enchant(ItemStack item, ItemEnchantments.Mutable itemEnchantments, RandomSource random, DifficultyInstance difficulty) -
Uses of RandomSource in net.minecraft.world.level
Fields in net.minecraft.world.level declared as RandomSourceModifier and TypeFieldDescriptionprotected final RandomSourceLevel.randomprivate final RandomSourceLevel.soundSeedGeneratorDeprecated.Methods in net.minecraft.world.level that return RandomSourceMethods in net.minecraft.world.level with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate SpawnDataBaseSpawner.getOrCreateNextSpawnData(@Nullable Level level, RandomSource random, BlockPos pos) private static Optional<MobSpawnSettings.SpawnerData> NaturalSpawner.getRandomSpawnMobAt(ServerLevel level, StructureManager structureManager, ChunkGenerator generator, MobCategory mobCategory, RandomSource random, BlockPos pos) voidBaseSpawner.setEntityId(EntityType<?> type, @Nullable Level level, RandomSource random, BlockPos pos) voidSpawner.setEntityId(EntityType<?> type, RandomSource random) static voidNaturalSpawner.spawnMobsForChunkGeneration(ServerLevelAccessor level, 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 TypeMethodDescriptionBiomeSource.findBiomeHorizontal(int originX, int originY, int originZ, int searchRadius, int skipSteps, Predicate<Holder<Biome>> allowed, RandomSource random, boolean findClosest, Climate.Sampler sampler) BiomeSource.findBiomeHorizontal(int x, int y, int z, int searchRadius, Predicate<Holder<Biome>> allowed, RandomSource random, Climate.Sampler sampler) FixedBiomeSource.findBiomeHorizontal(int originX, int originY, int originZ, int r, int skipStep, Predicate<Holder<Biome>> allowed, RandomSource random, boolean findClosest, Climate.Sampler sampler) -
Uses of RandomSource in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block with parameters of type RandomSourceModifier and TypeMethodDescriptionprivate static voidAbstractCandleBlock.addParticlesAndSound(Level level, Vec3 pos, RandomSource random) voidSaplingBlock.advanceTree(ServerLevel level, BlockPos pos, BlockState state, RandomSource random) voidAbstractCandleBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidBaseFireBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidBeehiveBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidBlastFurnaceBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBrewingStandBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidBrushableBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidBubbleColumnBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidCampfireBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidCreakingHeartBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidCryingObsidianBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidDriedGhastBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidDryVegetationBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidEnchantingTableBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidEnderChestBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidEndGatewayBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidEndPortalBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidEndRodBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidEyeblossomBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidFallingBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidFireflyBushBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidFurnaceBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidHangingMossBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidLeavesBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidLeverBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidLightningRodBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidMyceliumBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidNetherPortalBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidPointedDripstoneBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidRedStoneOreBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidRedstoneTorchBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidRedstoneWallTorchBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidRedStoneWireBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidRepeaterBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidRespawnAnchorBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidSandBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidSculkSensorBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidShortDryGrassBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidSmokerBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidSporeBlossomBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidTallDryGrassBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidTorchBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidWallTorchBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidWetSpongeBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidWitherRoseBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) private booleanSculkVeinBlock.attemptPlaceSculk(SculkSpreader spreader, LevelAccessor level, BlockPos pos, RandomSource random) intSculkBehaviour.attemptUseCharge(SculkSpreader.ChargeCursor cursor, LevelAccessor level, BlockPos originPos, RandomSource random, SculkSpreader spreader, boolean spreadVeins) intSculkBlock.attemptUseCharge(SculkSpreader.ChargeCursor cursor, LevelAccessor level, BlockPos originPos, RandomSource random, SculkSpreader spreader, boolean spreadVein) intSculkVeinBlock.attemptUseCharge(SculkSpreader.ChargeCursor cursor, LevelAccessor level, BlockPos originPos, RandomSource random, SculkSpreader spreader, boolean spreadVeins) 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 from, BlockState to, RandomSource random) default booleanSculkBehaviour.depositCharge(LevelAccessor level, BlockPos pos, RandomSource random) static voidChorusFlowerBlock.generatePlant(LevelAccessor level, BlockPos target, RandomSource random, int maxHorizontalSpread) protected intCaveVinesBlock.getBlocksToGrowWhenBonemealed(RandomSource random) protected abstract intGrowingPlantHeadBlock.getBlocksToGrowWhenBonemealed(RandomSource random) protected intKelpBlock.getBlocksToGrowWhenBonemealed(RandomSource random) static intNetherVines.getBlocksToGrowWhenBonemealed(RandomSource random) protected intTwistingVinesBlock.getBlocksToGrowWhenBonemealed(RandomSource random) protected intWeepingVinesBlock.getBlocksToGrowWhenBonemealed(RandomSource random) 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 growFromState, RandomSource random) protected BlockStateGrowingPlantHeadBlock.getGrowIntoState(BlockState growFromState, 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 isWorldGen) 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 random) private static @Nullable BlockPosSculkSpreader.ChargeCursor.getValidMovementPos(LevelAccessor level, BlockPos pos, RandomSource random) protected voidBambooStalkBlock.growBamboo(BlockState state, Level level, BlockPos pos, RandomSource random, int height) booleanMushroomBlock.growMushroom(ServerLevel level, BlockPos pos, BlockState state, RandomSource random) static voidPointedDripstoneBlock.growStalactiteOrStalagmiteIfPossible(BlockState stalactiteStartState, ServerLevel level, BlockPos stalactiteStartPos, RandomSource random) private static voidChorusFlowerBlock.growTreeRecursive(LevelAccessor level, BlockPos current, RandomSource random, BlockPos startPos, int maxHorizontalSpread, int depth) private voidFrogspawnBlock.hatchFrogspawn(ServerLevel level, BlockPos pos, RandomSource random) booleanAzaleaBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanBambooSaplingBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanBambooStalkBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanBigDripleafBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanBigDripleafStemBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanBonemealableBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanBonemealableFeaturePlacerBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanBushBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanCaveVinesBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanCaveVinesPlantBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanCocoaBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanCropBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanFireflyBushBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanFlowerBedBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanGlowLichenBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanGrassBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanGrowingPlantBodyBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanGrowingPlantHeadBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanHangingMossBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanMangroveLeavesBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanMangrovePropaguleBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanMossyCarpetBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanMushroomBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanNetherFungusBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanNetherrackBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanNyliumBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanPitcherCropBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanRootedDirtBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanSaplingBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanSeagrassBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanSeaPickleBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanShortDryGrassBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanSmallDripleafBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanStemBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanSweetBerryBushBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanTallDryGrassBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanTallFlowerBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanTallGrassBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) private static voidLeavesBlock.makeDrippingWaterParticles(Level level, BlockPos pos, RandomSource random, BlockState belowState, BlockPos below) private voidLeavesBlock.makeFallingLeavesParticles(Level level, BlockPos pos, RandomSource random, BlockState belowState, BlockPos below) default voidSculkBehaviour.onDischarged(LevelAccessor level, BlockState state, BlockPos pos, RandomSource random) voidSculkVeinBlock.onDischarged(LevelAccessor level, BlockState state, BlockPos pos, RandomSource random) voidAzaleaBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidBambooSaplingBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidBambooStalkBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidBigDripleafBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidBigDripleafStemBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidBonemealableBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidBonemealableFeaturePlacerBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidBushBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidCaveVinesBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidCaveVinesPlantBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidCocoaBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidCropBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidFireflyBushBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidFlowerBedBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidGlowLichenBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidGrassBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidGrowingPlantBodyBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidGrowingPlantHeadBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidHangingMossBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidMangroveLeavesBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidMangrovePropaguleBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidMossyCarpetBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidMushroomBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidNetherFungusBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidNetherrackBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidNyliumBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidPitcherCropBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidRootedDirtBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidSaplingBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidSeagrassBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidSeaPickleBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidShortDryGrassBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidSmallDripleafBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidStemBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidSweetBerryBushBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidTallDryGrassBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidTallFlowerBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidTallGrassBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) private voidNyliumBlock.place(Registry<ConfiguredFeature<?, ?>> configuredFeatures, ResourceKey<ConfiguredFeature<?, ?>> id, ServerLevel level, ChunkGenerator generator, RandomSource random, BlockPos pos) static voidMossyCarpetBlock.placeAt(LevelAccessor level, BlockPos pos, RandomSource random, int updateType) static voidBigDripleafBlock.placeWithRandomHeight(LevelAccessor level, RandomSource random, BlockPos stemBottomPos, Direction facing) protected voidBambooSaplingBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBambooStalkBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBeetrootBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBuddingAmethystBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCactusBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidChorusFlowerBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCocoaBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCropBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidDriedGhastBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidEyeblossomBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidFarmlandBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidFlowerPotBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidGrowingPlantHeadBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidIceBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidLeavesBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidLiquidBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidMangrovePropaguleBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidMushroomBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidNetherPortalBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidNetherWartBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidNyliumBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) voidPitcherCropBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidPointedDripstoneBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidRedStoneOreBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidSaplingBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidSnowLayerBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidSpreadingSnowyBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidStemBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidSugarCaneBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidSweetBerryBushBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) voidTorchflowerCropBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidTurtleEggBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidVineBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperBarsBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperBulbBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperChainBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperChestBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperDoorBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperFullBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperGolemStatueBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperGrateBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperSlabBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperStairBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperTrapDoorBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringLanternBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringLightningRodBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected abstract voidLeavesBlock.spawnFallingLeavesParticle(Level level, BlockPos pos, RandomSource random) protected voidTintedParticleLeavesBlock.spawnFallingLeavesParticle(Level level, BlockPos pos, RandomSource random) protected voidUntintedParticleLeavesBlock.spawnFallingLeavesParticle(Level level, BlockPos pos, RandomSource random) private static voidRedStoneWireBlock.spawnParticlesAlongLine(Level level, RandomSource random, BlockPos pos, int color, Direction side, Direction along, float from, float to) 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 startingFace, RandomSource random, boolean postProcess) MultifaceSpreader.spreadFromRandomFaceTowardRandomDirection(BlockState state, LevelAccessor level, BlockPos pos, RandomSource random) protected voidAbstractCauldronBlock.tick(BlockState cauldronState, ServerLevel level, BlockPos pos, RandomSource random) protected voidBambooStalkBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBarrelBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBasePressurePlateBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBigDripleafBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBigDripleafStemBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) voidBrushableBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBubbleColumnBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidButtonBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCactusBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidChestBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidChorusFlowerBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidChorusPlantBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCommandBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidComparatorBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidComposterBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCoralBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCoralFanBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCoralPlantBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCoralWallFanBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCrafterBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCreakingHeartBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidDetectorRailBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidDiodeBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidDirtPathBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidDispenserBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidDriedGhastBlock.tick(BlockState state, ServerLevel level, BlockPos position, RandomSource random) protected voidEnderChestBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidEyeblossomBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidFallingBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidFarmlandBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidFireBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidFrogspawnBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidFrostedIceBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidGrowingPlantBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidHangingMossBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidLeavesBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidLecternBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidLightningRodBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidLiquidBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidObserverBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidPointedDripstoneBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidRedstoneLampBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidRedstoneTorchBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidScaffoldingBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidSculkCatalystBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidSculkSensorBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidSculkShriekerBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) voidSnifferEggBlock.tick(BlockState state, ServerLevel level, BlockPos position, RandomSource random) protected voidSugarCaneBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidTargetBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidTestBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidTripWireBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidTripWireHookBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) private voidDriedGhastBlock.tickWaterlogged(BlockState state, ServerLevel level, BlockPos position, RandomSource random) private booleanEyeblossomBlock.tryChangingState(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBaseCoralPlantTypeBlock.tryScheduleDieTick(BlockState state, BlockGetter level, ScheduledTickAccess ticks, RandomSource random, BlockPos pos) voidSculkSpreader.ChargeCursor.update(LevelAccessor level, BlockPos originPos, RandomSource random, SculkSpreader spreader, boolean spreadVeins) voidSculkSpreader.updateCursors(LevelAccessor level, BlockPos originPos, RandomSource random, boolean spreadVeins) protected BlockStateAmethystClusterBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateAttachedStemBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBambooSaplingBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBambooStalkBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBannerBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBarrierBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBaseCoralPlantTypeBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBaseCoralWallFanBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBasePressurePlateBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBaseRailBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBaseTorchBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBedBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBeehiveBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBellBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBigDripleafBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBigDripleafStemBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) BrushableBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBubbleColumnBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCactusBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCakeBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCampfireBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCandleBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCandleCakeBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCarpetBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCeilingHangingSignBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateChainBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateChestBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateChorusFlowerBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateChorusPlantBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCocoaBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) ComparatorBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateConcretePowderBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateConduitBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCopperChestBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCopperGolemStatueBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCoralBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCoralFanBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCoralPlantBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCoralWallFanBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCreakingHeartBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateDecoratedPotBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateDirtPathBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateDoorBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateDoublePlantBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateDriedGhastBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateEnderChestBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateFaceAttachedHorizontalDirectionalBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateFallingBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateFarmlandBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateFenceBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateFenceGateBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateFireBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateFlowerPotBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateFrogspawnBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateGrowingPlantBodyBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateGrowingPlantHeadBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateHangingMossBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateHangingRootsBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateHeavyCoreBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateHugeMushroomBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateIronBarsBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateLadderBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateLanternBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateLeavesBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateLightBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction direction, BlockPos neighbourPos, BlockState neighbour, RandomSource random) protected BlockStateLightningRodBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateLiquidBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateMangrovePropaguleBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateMangroveRootsBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateMossyCarpetBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateMultifaceBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateNetherPortalBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateNoteBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateObserverBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) PitcherCropBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStatePointedDripstoneBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateRedstoneWallTorchBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateRedStoneWireBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateRepeaterBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateScaffoldingBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSculkSensorBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSculkShriekerBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSeagrassBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSeaPickleBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateShelfBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSignBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSlabBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSmallDripleafBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSnowLayerBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSnowyBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSoulFireBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSporeBlossomBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateStairBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateStandingSignBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSugarCaneBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateTrapDoorBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateTripWireBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateTripWireHookBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateVegetationBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateVineBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateWallBannerBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateWallBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateWallHangingSignBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateWallSignBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateWallTorchBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateWaterloggedTransparentBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) -
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<?> type, RandomSource random) -
Uses of RandomSource in net.minecraft.world.level.block.entity.trialspawner
Methods in net.minecraft.world.level.block.entity.trialspawner with parameters of type RandomSourceModifier and TypeMethodDescriptionstatic voidTrialSpawner.addBecomeOminousParticles(Level level, BlockPos pos, RandomSource random) static voidTrialSpawner.addDetectPlayerParticles(Level level, BlockPos pos, RandomSource random, int data, ParticleOptions type) 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 blockPos, boolean isOminous) protected SpawnDataTrialSpawnerStateData.getOrCreateNextSpawnData(TrialSpawner trialSpawner, RandomSource random) booleanTrialSpawnerStateData.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 blockPos, RandomSource random) private static Vec3VaultBlockEntity.Client.randomPosInsideCage(BlockPos blockPos, 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 @Nullable ResourceKey<ConfiguredFeature<?, ?>> TreeGrower.getConfiguredFeature(RandomSource random, boolean hasFlowers) private @Nullable ResourceKey<ConfiguredFeature<?, ?>> TreeGrower.getConfiguredMegaFeature(RandomSource random) booleanTreeGrower.growTree(ServerLevel level, ChunkGenerator generator, 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 state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) -
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.playAmbientDeadBushSounds(Level level, BlockPos pos, RandomSource random) static voidAmbientDesertBlockSoundsPlayer.playAmbientDryGrassSounds(Level level, BlockPos pos, RandomSource random) static voidAmbientDesertBlockSoundsPlayer.playAmbientSandSounds(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 ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBlockBehaviour.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) -
Uses of RandomSource in net.minecraft.world.level.levelgen
Subinterfaces of RandomSource in net.minecraft.world.level.levelgenClasses in net.minecraft.world.level.levelgen that implement RandomSourceModifier and TypeClassDescriptionclassclassclassDeprecated.classclassFields in net.minecraft.world.level.levelgen declared as RandomSourceModifier and TypeFieldDescriptionfinal RandomSourceMarsagliaPolarGaussian.randomSourceprivate final RandomSourceWorldgenRandom.randomSourceFields in net.minecraft.world.level.levelgen with type parameters of type RandomSourceModifier and TypeFieldDescriptionprivate final LongFunction<RandomSource> WorldgenRandom.Algorithm.constructorMethods in net.minecraft.world.level.levelgen that return RandomSourceModifier and TypeMethodDescriptionLegacyRandomSource.LegacyPositionalRandomFactory.at(int x, int y, int z) PositionalRandomFactory.at(int x, int y, int z) default RandomSourceXoroshiroRandomSource.XoroshiroPositionalRandomFactory.at(int x, int y, int z) LegacyRandomSource.fork()SingleThreadedRandomSource.fork()ThreadSafeLegacyRandomSource.fork()Deprecated.WorldgenRandom.fork()XoroshiroRandomSource.fork()LegacyRandomSource.LegacyPositionalRandomFactory.fromHashOf(String name) PositionalRandomFactory.fromHashOf(String name) default RandomSourcePositionalRandomFactory.fromHashOf(Identifier name) XoroshiroRandomSource.XoroshiroPositionalRandomFactory.fromHashOf(String name) LegacyRandomSource.LegacyPositionalRandomFactory.fromSeed(long seed) PositionalRandomFactory.fromSeed(long seed) XoroshiroRandomSource.XoroshiroPositionalRandomFactory.fromSeed(long seed) WorldgenRandom.Algorithm.newInstance(long seed) static RandomSourceWorldgenRandom.seedSlimeChunk(int x, int z, long seed, 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[] clayBands, int baseWidth, BlockState state) private booleanPatrolSpawner.spawnPatrolMember(ServerLevel level, BlockPos pos, RandomSource random, boolean isLeader) Constructors in net.minecraft.world.level.levelgen with parameters of type RandomSourceModifierConstructorDescriptionMarsagliaPolarGaussian(RandomSource randomSource) WorldgenRandom(RandomSource randomSource) Constructor parameters in net.minecraft.world.level.levelgen with type arguments of type RandomSource -
Uses of RandomSource in net.minecraft.world.level.levelgen.carver
Methods in net.minecraft.world.level.levelgen.carver with parameters of type RandomSourceModifier and TypeMethodDescriptionbooleanCanyonWorldCarver.carve(CarvingContext context, CanyonCarverConfiguration configuration, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeGetter, RandomSource random, Aquifer aquifer, ChunkPos sourceChunkPos, CarvingMask mask) booleanCaveWorldCarver.carve(CarvingContext context, CaveCarverConfiguration configuration, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeGetter, RandomSource random, Aquifer aquifer, ChunkPos sourceChunkPos, CarvingMask mask) booleanConfiguredWorldCarver.carve(CarvingContext context, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeGetter, RandomSource random, Aquifer aquifer, ChunkPos sourceChunkPos, CarvingMask mask) abstract booleanWorldCarver.carve(CarvingContext context, C configuration, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeGetter, RandomSource random, Aquifer aquifer, ChunkPos sourceChunkPos, CarvingMask mask) Carves the given chunk with caves that originate from the givenchunkPos.protected floatCaveWorldCarver.getThickness(RandomSource random) protected floatNetherWorldCarver.getThickness(RandomSource random) private float[]CanyonWorldCarver.initWidthFactors(CarvingContext context, CanyonCarverConfiguration configuration, RandomSource random) Generates a random array full of width factors which are used to create the uneven walls of a ravine.booleanCanyonWorldCarver.isStartChunk(CanyonCarverConfiguration configuration, RandomSource random) booleanCaveWorldCarver.isStartChunk(CaveCarverConfiguration configuration, RandomSource random) booleanConfiguredWorldCarver.isStartChunk(RandomSource random) abstract booleanWorldCarver.isStartChunk(C configuration, RandomSource random) private doubleCanyonWorldCarver.updateVerticalRadius(CanyonCarverConfiguration configuration, RandomSource random, double verticalRadius, float distance, float currentStep) -
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 orePosState, Function<BlockPos, BlockState> blockGetter, RandomSource random, OreConfiguration config, OreConfiguration.TargetBlockState targetState, BlockPos.MutableBlockPos orePos) private static voidPointedDripstoneFeature.createPatchOfDripstoneBlocks(LevelAccessor level, RandomSource random, BlockPos pos, PointedDripstoneConfiguration config) private voidFallenTreeFeature.decorateLogs(WorldGenLevel level, RandomSource random, Set<BlockPos> logs, List<TreeDecorator> decorators) protected voidVegetationPatchFeature.distributeVegetation(FeaturePlaceContext<VegetationPatchConfiguration> context, WorldGenLevel level, VegetationPatchConfiguration config, RandomSource random, Set<BlockPos> surface, int xRadius, int zRadius) protected booleanOreFeature.doPlace(WorldGenLevel level, RandomSource random, OreConfiguration config, double x0, double x1, double z0, double z1, double y0, double y1, int xStart, int yStart, int zStart, int sizeXZ, int sizeY) private booleanTreeFeature.doPlace(WorldGenLevel level, RandomSource random, BlockPos origin, BiConsumer<BlockPos, BlockState> rootSetter, BiConsumer<BlockPos, BlockState> trunkSetter, FoliagePlacer.FoliageSetter foliageSetter, TreeConfiguration config) private voidIcebergFeature.generateCutOut(RandomSource random, LevelAccessor level, int width, int height, BlockPos globalOrigin, boolean isEllipse, int shapeEllipseA, double shapeAngle, int shapeEllipseC) private voidIcebergFeature.generateIcebergBlock(LevelAccessor level, RandomSource random, BlockPos origin, int height, int xo, int yOff, int zo, int radius, int a, boolean isEllipse, int shapeEllipseC, double shapeAngle, boolean snowOnTop, BlockState mainBlockState) private intDripstoneClusterFeature.getDripstoneHeight(RandomSource random, int dx, int dz, float density, int maxHeight, DripstoneClusterConfiguration config) private intScatteredOreFeature.getRandomPlacementInOneAxisRelativeToOrigin(RandomSource random, int maxDistanceFromOrigin) PointedDripstoneFeature.getTipDirection(LevelAccessor level, BlockPos pos, RandomSource random) protected intAbstractHugeMushroomFeature.getTreeHeight(RandomSource random) private intIcebergFeature.heightDependentRadiusRound(RandomSource random, int yOff, int height, int width) private intIcebergFeature.heightDependentRadiusSteep(RandomSource random, int yOff, int height, int width) 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 origin, int treeHeight, BlockPos.MutableBlockPos blockPos, HugeMushroomFeatureConfiguration config) protected voidHugeBrownMushroomFeature.makeCap(LevelAccessor level, RandomSource random, BlockPos origin, int treeHeight, BlockPos.MutableBlockPos blockPos, HugeMushroomFeatureConfiguration config) protected voidHugeRedMushroomFeature.makeCap(LevelAccessor level, RandomSource random, BlockPos origin, int treeHeight, BlockPos.MutableBlockPos blockPos, HugeMushroomFeatureConfiguration config) private static LargeDripstoneFeature.LargeDripstoneLargeDripstoneFeature.makeDripstone(BlockPos root, boolean pointingUp, RandomSource random, int radius, FloatProvider bluntness, FloatProvider heightScale) private booleanBlockPileFeature.mayPlaceOn(LevelAccessor level, BlockPos blockPos, RandomSource random) private voidScatteredOreFeature.offsetTargetPos(BlockPos.MutableBlockPos targetPos, RandomSource random, BlockPos origin, int maxDistFromOriginForThisTry) booleanConfiguredFeature.place(WorldGenLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos origin) booleanFeature.place(FC config, WorldGenLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos origin) booleanWeightedPlacedFeature.place(WorldGenLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos origin) private voidBasaltPillarFeature.placeBaseHangOff(LevelAccessor level, RandomSource random, BlockPos pos) private voidLargeDripstoneFeature.LargeDripstone.placeBlocks(WorldGenLevel level, RandomSource random, LargeDripstoneFeature.WindOffsetter wind) protected booleanDiskFeature.placeColumn(DiskConfiguration config, WorldGenLevel level, RandomSource random, int top, int bottom, BlockPos.MutableBlockPos pos) private voidDripstoneClusterFeature.placeColumn(WorldGenLevel level, RandomSource random, BlockPos pos, int dx, int dz, float chanceOfWater, double chanceOfStalagmiteOrStalactite, int clusterHeight, float density, DripstoneClusterConfiguration config) protected booleanCoralFeature.placeCoralBlock(LevelAccessor level, RandomSource random, BlockPos pos, BlockState state) private static voidRootSystemFeature.placeDirt(BlockPos origin, int targetHeight, WorldGenLevel level, RootSystemConfiguration config, RandomSource random) private static booleanRootSystemFeature.placeDirtAndTree(WorldGenLevel level, ChunkGenerator generator, RootSystemConfiguration config, RandomSource random, BlockPos.MutableBlockPos workingPos, BlockPos pos) private voidFallenTreeFeature.placeFallenLog(FallenTreeConfiguration config, WorldGenLevel level, RandomSource random, int logLength, BlockPos.MutableBlockPos logStartPos, Direction direction) private voidFallenTreeFeature.placeFallenTree(FallenTreeConfiguration config, BlockPos origin, WorldGenLevel level, RandomSource random) protected booleanCoralClawFeature.placeFeature(LevelAccessor level, RandomSource random, BlockPos origin, BlockState state) protected abstract booleanCoralFeature.placeFeature(LevelAccessor level, RandomSource random, BlockPos origin, BlockState state) protected booleanCoralMushroomFeature.placeFeature(LevelAccessor level, RandomSource random, BlockPos origin, BlockState state) protected booleanCoralTreeFeature.placeFeature(LevelAccessor level, RandomSource random, BlockPos origin, BlockState state) protected booleanVegetationPatchFeature.placeGround(WorldGenLevel level, VegetationPatchConfiguration config, Predicate<BlockState> replaceable, RandomSource random, BlockPos.MutableBlockPos belowPos, int depth) VegetationPatchFeature.placeGroundPatch(WorldGenLevel level, VegetationPatchConfiguration config, RandomSource random, BlockPos origin, Predicate<BlockState> replaceable, int xRadius, int zRadius) WaterloggedVegetationPatchFeature.placeGroundPatch(WorldGenLevel level, VegetationPatchConfiguration config, RandomSource random, BlockPos origin, Predicate<BlockState> replaceable, int xRadius, int zRadius) static booleanMultifaceGrowthFeature.placeGrowthIfPossible(WorldGenLevel level, BlockPos pos, BlockState oldState, MultifaceGrowthConfiguration config, RandomSource random, List<Direction> placementDirections) private booleanBasaltPillarFeature.placeHangOff(LevelAccessor level, RandomSource random, BlockPos hangOffPos) private voidHugeFungusFeature.placeHat(WorldGenLevel level, RandomSource random, HugeFungusConfiguration config, BlockPos surfaceOrigin, int totalHeight, boolean isHuge) private voidHugeFungusFeature.placeHatBlock(LevelAccessor level, RandomSource random, HugeFungusConfiguration config, BlockPos.MutableBlockPos blockPos, float decorBlockProbability, float hatBlockProbability, float vinesProbability) private voidHugeFungusFeature.placeHatDropBlock(LevelAccessor level, RandomSource random, BlockPos blockPos, BlockState hatState, boolean placeVines) private BlockPosFallenTreeFeature.placeLogBlock(FallenTreeConfiguration config, WorldGenLevel level, RandomSource random, BlockPos.MutableBlockPos blockPos, Function<BlockState, BlockState> sidewaysStateModifier) private voidWeepingVinesFeature.placeRoofNetherWart(LevelAccessor level, RandomSource random, BlockPos origin) private voidWeepingVinesFeature.placeRoofWeepingVines(LevelAccessor level, RandomSource random, BlockPos origin) private static voidRootSystemFeature.placeRootedDirt(WorldGenLevel level, RootSystemConfiguration config, RandomSource random, int originX, int originZ, BlockPos.MutableBlockPos workingPos) private static voidRootSystemFeature.placeRoots(WorldGenLevel level, RootSystemConfiguration config, RandomSource random, BlockPos pos, BlockPos.MutableBlockPos workingPos) private voidEndSpikeFeature.placeSpike(ServerLevelAccessor level, RandomSource random, EndSpikeConfiguration config, EndSpikeFeature.EndSpike spike) private voidHugeFungusFeature.placeStem(WorldGenLevel level, RandomSource random, HugeFungusConfiguration config, BlockPos surfaceOrigin, int totalHeight, boolean isHuge) private voidFallenTreeFeature.placeStump(FallenTreeConfiguration config, WorldGenLevel level, RandomSource random, BlockPos.MutableBlockPos stumpPos) protected voidAbstractHugeMushroomFeature.placeTrunk(LevelAccessor level, RandomSource random, BlockPos origin, HugeMushroomFeatureConfiguration config, int treeHeight, BlockPos.MutableBlockPos blockPos) protected booleanVegetationPatchFeature.placeVegetation(WorldGenLevel level, VegetationPatchConfiguration config, ChunkGenerator generator, RandomSource random, BlockPos vegetationPos) protected booleanWaterloggedVegetationPatchFeature.placeVegetation(WorldGenLevel level, VegetationPatchConfiguration config, ChunkGenerator generator, RandomSource random, BlockPos placementPos) static voidTwistingVinesFeature.placeWeepingVinesColumn(LevelAccessor level, RandomSource random, BlockPos.MutableBlockPos placePos, int totalHeight, int minAge, int naxAge) static voidWeepingVinesFeature.placeWeepingVinesColumn(LevelAccessor level, RandomSource random, BlockPos.MutableBlockPos placePos, int totalHeight, int minAge, int naxAge) private static floatDripstoneClusterFeature.randomBetweenBiased(RandomSource random, float min, float maxExclusive, float mean, float deviation) private EntityType<?> MonsterRoomFeature.randomEntityId(RandomSource random) private voidIcebergFeature.setIcebergBlock(BlockPos pos, LevelAccessor level, RandomSource random, int hDiff, int height, boolean isEllipse, boolean snowOnTop, BlockState mainBlockState) protected static booleanOreFeature.shouldSkipAirCheck(RandomSource random, float discardChanceOnAirExposure) private doubleIcebergFeature.signedDistanceCircle(int xo, int zo, BlockPos origin, int radius, RandomSource random) private voidBlockPileFeature.tryPlaceBlock(LevelAccessor level, BlockPos blockPos, RandomSource random, BlockPileConfiguration config) private static voidHugeFungusFeature.tryPlaceWeepingVines(BlockPos hatBlockPos, 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) privateWindOffsetter(int originY, RandomSource random, FloatProvider windSpeedRange) -
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 excludeDirection) -
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 level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration config, int treeHeight, FoliagePlacer.FoliageAttachment foliageAttachment, int foliageHeight, int leafRadius, int offset) protected voidBlobFoliagePlacer.createFoliage(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration config, int treeHeight, FoliagePlacer.FoliageAttachment foliageAttachment, int foliageHeight, int leafRadius, int offset) protected voidBushFoliagePlacer.createFoliage(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration config, int treeHeight, FoliagePlacer.FoliageAttachment foliageAttachment, int foliageHeight, int leafRadius, int offset) protected voidCherryFoliagePlacer.createFoliage(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration config, int treeHeight, FoliagePlacer.FoliageAttachment foliageAttachment, int foliageHeight, int leafRadius, int offset) protected voidDarkOakFoliagePlacer.createFoliage(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration config, int treeHeight, FoliagePlacer.FoliageAttachment foliageAttachment, int foliageHeight, int leafRadius, int offset) protected voidFancyFoliagePlacer.createFoliage(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration config, int treeHeight, FoliagePlacer.FoliageAttachment foliageAttachment, int foliageHeight, int leafRadius, int offset) voidFoliagePlacer.createFoliage(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration config, int treeHeight, FoliagePlacer.FoliageAttachment foliageAttachment, int foliageHeight, int leafRadius) protected abstract voidFoliagePlacer.createFoliage(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration config, int treeHeight, FoliagePlacer.FoliageAttachment foliageAttachment, int foliageHeight, int leafRadius, int offset) protected voidMegaJungleFoliagePlacer.createFoliage(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration config, int treeHeight, FoliagePlacer.FoliageAttachment foliageAttachment, int foliageHeight, int leafRadius, int offset) protected voidMegaPineFoliagePlacer.createFoliage(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration config, int treeHeight, FoliagePlacer.FoliageAttachment foliageAttachment, int foliageHeight, int leafRadius, int offset) protected voidPineFoliagePlacer.createFoliage(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration config, int treeHeight, FoliagePlacer.FoliageAttachment foliageAttachment, int foliageHeight, int leafRadius, int offset) protected voidRandomSpreadFoliagePlacer.createFoliage(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration config, int treeHeight, FoliagePlacer.FoliageAttachment foliageAttachment, int foliageHeight, int leafRadius, int offset) protected voidSpruceFoliagePlacer.createFoliage(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration config, int treeHeight, FoliagePlacer.FoliageAttachment foliageAttachment, int foliageHeight, int leafRadius, int offset) intAcaciaFoliagePlacer.foliageHeight(RandomSource random, int treeHeight, TreeConfiguration config) intBlobFoliagePlacer.foliageHeight(RandomSource random, int treeHeight, TreeConfiguration config) intCherryFoliagePlacer.foliageHeight(RandomSource random, int treeHeight, TreeConfiguration config) intDarkOakFoliagePlacer.foliageHeight(RandomSource random, int treeHeight, TreeConfiguration config) abstract intFoliagePlacer.foliageHeight(RandomSource random, int treeHeight, TreeConfiguration config) intMegaJungleFoliagePlacer.foliageHeight(RandomSource random, int treeHeight, TreeConfiguration config) intMegaPineFoliagePlacer.foliageHeight(RandomSource random, int treeHeight, TreeConfiguration config) intPineFoliagePlacer.foliageHeight(RandomSource random, int treeHeight, TreeConfiguration config) intRandomSpreadFoliagePlacer.foliageHeight(RandomSource random, int treeHeight, TreeConfiguration config) intSpruceFoliagePlacer.foliageHeight(RandomSource random, int treeHeight, TreeConfiguration config) intFoliagePlacer.foliageRadius(RandomSource random, int trunkHeight) intPineFoliagePlacer.foliageRadius(RandomSource random, int trunkHeight) private intFoliagePlacer.offset(RandomSource random) protected voidFoliagePlacer.placeLeavesRow(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration config, BlockPos origin, int currentRadius, int y, boolean doubleTrunk) protected final voidFoliagePlacer.placeLeavesRowWithHangingLeavesBelow(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration config, BlockPos origin, int currentRadius, int y, boolean doubleTrunk, float hangingLeavesChance, float hangingLeavesExtensionChance) protected booleanAcaciaFoliagePlacer.shouldSkipLocation(RandomSource random, int dx, int y, int dz, int currentRadius, boolean doubleTrunk) protected booleanBlobFoliagePlacer.shouldSkipLocation(RandomSource random, int dx, int y, int dz, int currentRadius, boolean doubleTrunk) protected booleanBushFoliagePlacer.shouldSkipLocation(RandomSource random, int dx, int y, int dz, int currentRadius, boolean doubleTrunk) protected booleanCherryFoliagePlacer.shouldSkipLocation(RandomSource random, int dx, int y, int dz, int currentRadius, boolean doubleTrunk) protected booleanDarkOakFoliagePlacer.shouldSkipLocation(RandomSource random, int dx, int y, int dz, int currentRadius, boolean doubleTrunk) protected booleanFancyFoliagePlacer.shouldSkipLocation(RandomSource random, int dx, int y, int dz, int currentRadius, boolean doubleTrunk) protected abstract booleanFoliagePlacer.shouldSkipLocation(RandomSource random, int dx, int y, int dz, int currentRadius, boolean doubleTrunk) Skips certain positions based on the provided shape, such as rounding corners randomly.protected booleanMegaJungleFoliagePlacer.shouldSkipLocation(RandomSource random, int dx, int y, int dz, int currentRadius, boolean doubleTrunk) protected booleanMegaPineFoliagePlacer.shouldSkipLocation(RandomSource random, int dx, int y, int dz, int currentRadius, boolean doubleTrunk) protected booleanPineFoliagePlacer.shouldSkipLocation(RandomSource random, int dx, int y, int dz, int currentRadius, boolean doubleTrunk) protected booleanRandomSpreadFoliagePlacer.shouldSkipLocation(RandomSource random, int dx, int y, int dz, int currentRadius, boolean doubleTrunk) protected booleanSpruceFoliagePlacer.shouldSkipLocation(RandomSource random, int dx, int y, int dz, int currentRadius, boolean doubleTrunk) protected booleanDarkOakFoliagePlacer.shouldSkipLocationSigned(RandomSource random, int dx, int y, int dz, int currentRadius, boolean doubleTrunk) protected booleanFoliagePlacer.shouldSkipLocationSigned(RandomSource random, int dx, int y, int dz, int currentRadius, boolean doubleTrunk) private static booleanFoliagePlacer.tryPlaceExtension(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration config, float chance, BlockPos logPos, BlockPos.MutableBlockPos pos) protected static booleanFoliagePlacer.tryPlaceLeaf(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration config, 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 origin, RandomSource random) protected voidMangroveRootPlacer.placeRoot(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> rootSetter, RandomSource random, BlockPos pos, TreeConfiguration config) protected voidRootPlacer.placeRoot(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> rootSetter, RandomSource random, BlockPos pos, TreeConfiguration config) booleanMangroveRootPlacer.placeRoots(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> rootSetter, RandomSource random, BlockPos origin, BlockPos trunkOrigin, TreeConfiguration config) abstract booleanRootPlacer.placeRoots(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> rootSetter, RandomSource random, BlockPos origin, BlockPos trunkOrigin, TreeConfiguration config) MangroveRootPlacer.potentialRootPositions(BlockPos pos, Direction prevDir, RandomSource random, BlockPos rootOrigin) private booleanMangroveRootPlacer.simulateRoots(LevelSimulatedReader level, RandomSource random, BlockPos rootPos, Direction dir, BlockPos rootOrigin, List<BlockPos> rootPositions, int layer) -
Uses of RandomSource in net.minecraft.world.level.levelgen.feature.stateproviders
Methods in net.minecraft.world.level.levelgen.feature.stateproviders with parameters of type RandomSourceModifier and TypeMethodDescriptionabstract BlockStateBlockStateProvider.getState(RandomSource random, BlockPos pos) DualNoiseProvider.getState(RandomSource random, BlockPos pos) NoiseProvider.getState(RandomSource random, BlockPos pos) NoiseThresholdProvider.getState(RandomSource random, BlockPos pos) RandomizedIntStateProvider.getState(RandomSource random, BlockPos pos) RotatedBlockProvider.getState(RandomSource random, BlockPos pos) @Nullable BlockStateRuleBasedBlockStateProvider.getState(WorldGenLevel level, RandomSource random, BlockPos pos) SimpleStateProvider.getState(RandomSource random, BlockPos pos) WeightedStateProvider.getState(RandomSource random, BlockPos pos) -
Uses of RandomSource in net.minecraft.world.level.levelgen.feature.treedecorators
Fields in net.minecraft.world.level.levelgen.feature.treedecorators declared as RandomSourceMethods in net.minecraft.world.level.levelgen.feature.treedecorators that return RandomSourceConstructors in net.minecraft.world.level.levelgen.feature.treedecorators with parameters of type RandomSourceModifierConstructorDescriptionContext(WorldGenLevel level, BiConsumer<BlockPos, BlockState> decorationSetter, RandomSource random, Set<BlockPos> trunkSet, Set<BlockPos> foliageSet, Set<BlockPos> rootSet) -
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(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config, Function<BlockState, BlockState> sidewaysStateModifier, Direction branchDirection, int offsetFromOrigin, boolean middleContinuesUpwards, BlockPos.MutableBlockPos logPos) intTrunkPlacer.getTreeHeight(RandomSource random) private voidFancyTrunkPlacer.makeBranches(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int height, BlockPos origin, List<FancyTrunkPlacer.FoliageCoords> foliageCoords, TreeConfiguration config) private booleanFancyTrunkPlacer.makeLimb(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, BlockPos startPos, BlockPos endPos, boolean doPlace, TreeConfiguration config) protected static voidTrunkPlacer.placeBelowTrunkBlock(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, BlockPos pos, TreeConfiguration config) private voidUpwardsBranchingTrunkPlacer.placeBranch(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, TreeConfiguration config, List<FoliagePlacer.FoliageAttachment> attachments, BlockPos.MutableBlockPos logPos, int currentHeight, Direction branchDir, int branchPos, int branchSteps) protected booleanTrunkPlacer.placeLog(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, BlockPos pos, TreeConfiguration config) protected booleanTrunkPlacer.placeLog(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, BlockPos pos, TreeConfiguration config, Function<BlockState, BlockState> stateModifier) protected voidTrunkPlacer.placeLogIfFree(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, BlockPos.MutableBlockPos pos, TreeConfiguration config) private voidGiantTrunkPlacer.placeLogIfFreeWithOffset(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, BlockPos.MutableBlockPos trunkPos, TreeConfiguration config, BlockPos treePos, int x, int y, int z) BendingTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) CherryTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) DarkOakTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) FancyTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) ForkingTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) GiantTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) MegaJungleTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) StraightTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) abstract List<FoliagePlacer.FoliageAttachment> TrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) UpwardsBranchingTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) -
Uses of RandomSource in net.minecraft.world.level.levelgen.heightproviders
Methods in net.minecraft.world.level.levelgen.heightproviders with parameters of type RandomSourceModifier and TypeMethodDescriptionintBiasedToBottomHeight.sample(RandomSource random, WorldGenerationContext context) intConstantHeight.sample(RandomSource random, WorldGenerationContext context) abstract intHeightProvider.sample(RandomSource random, WorldGenerationContext heightAccessor) intTrapezoidHeight.sample(RandomSource random, WorldGenerationContext context) intUniformHeight.sample(RandomSource random, WorldGenerationContext context) intVeryBiasedToBottomHeight.sample(RandomSource random, WorldGenerationContext context) intWeightedListHeight.sample(RandomSource random, WorldGenerationContext heightAccessor) -
Uses of RandomSource in net.minecraft.world.level.levelgen.placement
Methods in net.minecraft.world.level.levelgen.placement with parameters of type RandomSourceModifier and TypeMethodDescriptionprotected intCountPlacement.count(RandomSource random, BlockPos origin) protected intNoiseBasedCountPlacement.count(RandomSource random, BlockPos origin) protected intNoiseThresholdCountPlacement.count(RandomSource random, BlockPos origin) protected abstract intRepeatingPlacement.count(RandomSource random, BlockPos origin) CountOnEveryLayerPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) Deprecated.EnvironmentScanPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) FixedPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) HeightmapPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) HeightRangePlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) InSquarePlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) PlacementFilter.getPositions(PlacementContext context, RandomSource random, BlockPos origin) PlacementModifier.getPositions(PlacementContext context, RandomSource random, BlockPos origin) RandomOffsetPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) RepeatingPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) booleanPlacedFeature.place(WorldGenLevel level, ChunkGenerator generator, RandomSource random, BlockPos origin) booleanPlacedFeature.placeWithBiomeCheck(WorldGenLevel level, ChunkGenerator generator, RandomSource random, BlockPos origin) private booleanPlacedFeature.placeWithContext(PlacementContext context, RandomSource random, BlockPos origin) protected booleanBiomeFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos origin) protected booleanBlockPredicateFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos origin) protected abstract booleanPlacementFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos origin) protected booleanRarityFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos origin) protected booleanSurfaceRelativeThresholdFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos origin) protected booleanSurfaceWaterDepthFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos origin) -
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 startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidPostPlacementProcessor.afterPlace(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, PiecesContainer pieces) voidStructure.afterPlace(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, PiecesContainer pieces) protected booleanStructurePiece.createChest(ServerLevelAccessor level, BoundingBox chunkBB, RandomSource random, BlockPos pos, ResourceKey<LootTable> lootTable, @Nullable BlockState blockState) protected booleanStructurePiece.createChest(WorldGenLevel level, BoundingBox chunkBB, RandomSource random, int x, int y, int z, ResourceKey<LootTable> lootTable) protected booleanStructurePiece.createDispenser(WorldGenLevel level, BoundingBox chunkBB, RandomSource random, int x, int y, int z, Direction facing, ResourceKey<LootTable> lootTable) protected voidStructurePiece.generateBox(WorldGenLevel level, BoundingBox chunkBB, int x0, int y0, int z0, int x1, int y1, int z1, boolean skipAir, RandomSource random, StructurePiece.BlockSelector selector) protected voidStructurePiece.generateBox(WorldGenLevel level, BoundingBox chunkBB, BoundingBox boxBB, boolean skipAir, RandomSource random, StructurePiece.BlockSelector selector) protected voidStructurePiece.generateMaybeBox(WorldGenLevel level, BoundingBox chunkBB, RandomSource random, float probability, int x0, int y0, int z0, int x1, int y1, int z1, BlockState edgeBlock, BlockState fillBlock, boolean skipAir, boolean hasToBeInside) protected static DirectionStructurePiece.getRandomHorizontalDirection(RandomSource random) protected abstract voidTemplateStructurePiece.handleDataMarker(String markerId, BlockPos position, ServerLevelAccessor level, RandomSource random, BoundingBox chunkBB) protected voidStructurePiece.maybeGenerateBlock(WorldGenLevel level, BoundingBox chunkBB, RandomSource random, float probability, int x, int y, int z, BlockState blockState) abstract voidStructurePiece.BlockSelector.next(RandomSource random, int worldX, int worldY, int worldZ, boolean isEdge) voidPoolElementStructurePiece.place(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, BlockPos referencePos, boolean keepJigsaws) voidStructureStart.placeInChunk(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos) voidPoolElementStructurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) abstract voidStructurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidTemplateStructurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) -
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 offset) Deprecated.voidStructurePiecesBuilder.moveInsideHeights(RandomSource random, int lowestAllowed, int highestAllowed) -
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 doExpansionHack, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, LevelHeightAccessor heightAccessor, RandomSource random, Registry<StructureTemplatePool> pools, PoolElementStructurePiece centerPiece, List<PoolElementStructurePiece> pieces, VoxelShape shape, PoolAliasLookup poolAliasLookup, LiquidSettings liquidSettings) StructureTemplatePool.getRandomTemplate(RandomSource random) EmptyPoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, RandomSource random) FeaturePoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, RandomSource random) ListPoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, RandomSource random) SinglePoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, RandomSource random) abstract List<StructureTemplate.JigsawBlockInfo> StructurePoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, RandomSource random) StructureTemplatePool.getShuffledTemplates(RandomSource random) voidStructurePoolElement.handleDataMarker(LevelAccessor level, StructureTemplate.StructureBlockInfo dataMarker, BlockPos position, Rotation rotation, RandomSource random, BoundingBox chunkBB) booleanEmptyPoolElement.place(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos position, BlockPos referencePos, Rotation rotation, BoundingBox chunkBB, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) booleanFeaturePoolElement.place(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos position, BlockPos referencePos, Rotation rotation, BoundingBox chunkBB, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) booleanListPoolElement.place(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos position, BlockPos referencePos, Rotation rotation, BoundingBox chunkBB, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) booleanSinglePoolElement.place(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos position, BlockPos referencePos, Rotation rotation, BoundingBox chunkBB, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) abstract booleanStructurePoolElement.place(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos position, BlockPos referencePos, Rotation rotation, BoundingBox chunkBB, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) Constructors in net.minecraft.world.level.levelgen.structure.pools with parameters of type RandomSourceModifierConstructorDescriptionprivatePlacer(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 random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> aliasAndTargetConsumer) voidPoolAliasBinding.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> aliasAndTargetConsumer) voidRandomGroupPoolAlias.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> aliasAndTargetConsumer) voidRandomPoolAlias.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> aliasAndTargetConsumer) -
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 startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidMineshaftPieces.MineShaftCrossing.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidMineshaftPieces.MineShaftRoom.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidMineshaftPieces.MineShaftStairs.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidNetherFortressPieces.BridgeCrossing.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidNetherFortressPieces.BridgeStraight.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidNetherFortressPieces.CastleCorridorStairsPiece.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidNetherFortressPieces.CastleCorridorTBalconyPiece.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidNetherFortressPieces.CastleEntrance.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidNetherFortressPieces.CastleSmallCorridorCrossingPiece.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidNetherFortressPieces.CastleSmallCorridorLeftTurnPiece.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidNetherFortressPieces.CastleSmallCorridorPiece.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidNetherFortressPieces.CastleSmallCorridorRightTurnPiece.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidNetherFortressPieces.CastleStalkRoom.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidNetherFortressPieces.RoomCrossing.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidNetherFortressPieces.StairsRoom.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidStrongholdPieces.ChestCorridor.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidStrongholdPieces.FiveCrossing.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidStrongholdPieces.LeftTurn.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidStrongholdPieces.PortalRoom.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidStrongholdPieces.PrisonHall.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidStrongholdPieces.RightTurn.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidStrongholdPieces.RoomCrossing.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidStrongholdPieces.StairsDown.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidStrongholdPieces.Straight.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) voidStrongholdPieces.StraightStairsDown.addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) private static voidOceanRuinPieces.addClusterRuins(StructureTemplateManager structureTemplateManager, RandomSource random, Rotation rotation, BlockPos p, 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 position, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random, OceanRuinStructure structure, boolean isLarge, float baseIntegrity) static voidIglooPieces.addPieces(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random) static voidNetherFossilPieces.addPieces(StructureTemplateManager structureTemplateManager, StructurePieceAccessor structurePieceAccessor, RandomSource random, BlockPos position) static voidOceanRuinPieces.addPieces(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random, OceanRuinStructure structure) ShipwreckPieces.addRandomPiece(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random, boolean isBeached) voidDesertPyramidStructure.afterPlace(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, PiecesContainer pieces) voidWoodlandMansionStructure.afterPlace(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, PiecesContainer pieces) OceanRuinPieces.allPositions(RandomSource random, BlockPos origin) intShipwreckPieces.ShipwreckPiece.calculateBeachedPosition(int minY, RandomSource random) OceanMonumentPieces.FitDoubleXRoom.create(Direction orientation, OceanMonumentPieces.RoomDefinition definition, RandomSource random) OceanMonumentPieces.FitDoubleXYRoom.create(Direction orientation, OceanMonumentPieces.RoomDefinition definition, RandomSource random) OceanMonumentPieces.FitDoubleYRoom.create(Direction orientation, OceanMonumentPieces.RoomDefinition definition, RandomSource random) OceanMonumentPieces.FitDoubleYZRoom.create(Direction orientation, OceanMonumentPieces.RoomDefinition definition, RandomSource random) OceanMonumentPieces.FitDoubleZRoom.create(Direction orientation, OceanMonumentPieces.RoomDefinition definition, RandomSource random) OceanMonumentPieces.FitSimpleRoom.create(Direction orientation, OceanMonumentPieces.RoomDefinition definition, RandomSource random) OceanMonumentPieces.FitSimpleTopRoom.create(Direction orientation, OceanMonumentPieces.RoomDefinition definition, RandomSource random) OceanMonumentPieces.MonumentRoomFitter.create(Direction orientation, OceanMonumentPieces.RoomDefinition definition, RandomSource random) protected booleanMineshaftPieces.MineShaftCorridor.createChest(WorldGenLevel level, BoundingBox chunkBB, RandomSource random, int x, int y, int z, ResourceKey<LootTable> lootTable) static @Nullable NetherFortressPieces.BridgeEndFillerNetherFortressPieces.BridgeEndFiller.createPiece(StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int genDepth) static @Nullable NetherFortressPieces.BridgeStraightNetherFortressPieces.BridgeStraight.createPiece(StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int genDepth) static @Nullable NetherFortressPieces.CastleEntranceNetherFortressPieces.CastleEntrance.createPiece(StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int genDepth) static @Nullable NetherFortressPieces.CastleSmallCorridorLeftTurnPieceNetherFortressPieces.CastleSmallCorridorLeftTurnPiece.createPiece(StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int genDepth) static @Nullable NetherFortressPieces.CastleSmallCorridorRightTurnPieceNetherFortressPieces.CastleSmallCorridorRightTurnPiece.createPiece(StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int genDepth) static @Nullable StrongholdPieces.ChestCorridorStrongholdPieces.ChestCorridor.createPiece(StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int genDepth) static @Nullable StrongholdPieces.FiveCrossingStrongholdPieces.FiveCrossing.createPiece(StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int genDepth) static @Nullable StrongholdPieces.LeftTurnStrongholdPieces.LeftTurn.createPiece(StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int genDepth) static @Nullable StrongholdPieces.LibraryStrongholdPieces.Library.createPiece(StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int genDepth) static @Nullable StrongholdPieces.PrisonHallStrongholdPieces.PrisonHall.createPiece(StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int genDepth) static @Nullable StrongholdPieces.RightTurnStrongholdPieces.RightTurn.createPiece(StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int genDepth) static @Nullable StrongholdPieces.RoomCrossingStrongholdPieces.RoomCrossing.createPiece(StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int genDepth) static @Nullable StrongholdPieces.StairsDownStrongholdPieces.StairsDown.createPiece(StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int genDepth) static @Nullable StrongholdPieces.StraightStrongholdPieces.Straight.createPiece(StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int genDepth) static @Nullable StrongholdPieces.StraightStairsDownStrongholdPieces.StraightStairsDown.createPiece(StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int genDepth) private static @Nullable MineshaftPieces.MineShaftPieceMineshaftPieces.createRandomShaftPiece(StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int genDepth, MineshaftStructure.Type type) private static @Nullable NetherFortressPieces.NetherBridgePieceNetherFortressPieces.findAndCreateBridgePieceFactory(NetherFortressPieces.PieceWeight piece, StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int depth) private static @Nullable StrongholdPieces.StrongholdPieceStrongholdPieces.findAndCreatePieceFactory(Class<? extends StrongholdPieces.StrongholdPiece> pieceClass, StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int depth) static @Nullable BoundingBoxMineshaftPieces.MineShaftCorridor.findCorridorSize(StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction) static @Nullable BoundingBoxMineshaftPieces.MineShaftCrossing.findCrossing(StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction) static @Nullable BoundingBoxStrongholdPieces.FillerCorridor.findPieceBox(StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction) static @Nullable BoundingBoxMineshaftPieces.MineShaftStairs.findStairs(StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction) private static intRuinedPortalStructure.findSuitableY(RandomSource random, ChunkGenerator generator, RuinedPortalPiece.VerticalPlacement verticalPlacement, boolean airPocket, int surfaceYAtCenter, int ySpan, BoundingBox boundingBox, LevelHeightAccessor heightAccessor, RandomState randomState) booleanEndCityPieces.SectionGenerator.generate(StructureTemplateManager structureTemplateManager, int genDepth, EndCityPieces.EndCityPiece parent, BlockPos offset, List<StructurePiece> pieces, RandomSource random) private static @Nullable MineshaftPieces.MineShaftPieceMineshaftPieces.generateAndAddPiece(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int depth) private @Nullable StructurePieceNetherFortressPieces.NetherBridgePiece.generateAndAddPiece(NetherFortressPieces.StartPiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int depth, boolean isCastle) private static @Nullable StructurePieceStrongholdPieces.generateAndAddPiece(StrongholdPieces.StartPiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int depth) protected @Nullable StructurePieceNetherFortressPieces.NetherBridgePiece.generateChildForward(NetherFortressPieces.StartPiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random, int xOff, int yOff, boolean isCastle) protected @Nullable StructurePieceNetherFortressPieces.NetherBridgePiece.generateChildLeft(NetherFortressPieces.StartPiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random, int yOff, int zOff, boolean isCastle) protected @Nullable StructurePieceNetherFortressPieces.NetherBridgePiece.generateChildRight(NetherFortressPieces.StartPiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random, int yOff, int zOff, boolean isCastle) private voidOceanMonumentPieces.MonumentBuilding.generateEntranceArchs(WorldGenLevel level, RandomSource random, BoundingBox chunkBB) private voidOceanMonumentPieces.MonumentBuilding.generateEntranceWall(WorldGenLevel level, RandomSource random, BoundingBox chunkBB) private voidOceanMonumentPieces.MonumentBuilding.generateLowerWall(WorldGenLevel level, RandomSource random, BoundingBox chunkBB) static voidWoodlandMansionPieces.generateMansion(StructureTemplateManager structureTemplateManager, BlockPos origin, Rotation rotation, List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, RandomSource random) private voidOceanMonumentPieces.MonumentBuilding.generateMiddleWall(WorldGenLevel level, RandomSource random, BoundingBox chunkBB) private @Nullable NetherFortressPieces.NetherBridgePieceNetherFortressPieces.NetherBridgePiece.generatePiece(NetherFortressPieces.StartPiece startPiece, List<NetherFortressPieces.PieceWeight> currentPieces, StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int depth) private static @Nullable StrongholdPieces.StrongholdPieceStrongholdPieces.generatePieceFromSmallDoor(StrongholdPieces.StartPiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int depth) private voidOceanMonumentPieces.MonumentBuilding.generateRoofPiece(WorldGenLevel level, RandomSource random, BoundingBox chunkBB) private List<OceanMonumentPieces.RoomDefinition> OceanMonumentPieces.MonumentBuilding.generateRoomGraph(RandomSource random) protected voidStrongholdPieces.StrongholdPiece.generateSmallDoor(WorldGenLevel level, RandomSource random, BoundingBox chunkBB, StrongholdPieces.StrongholdPiece.SmallDoorType doorType, int footX, int footY, int footZ) protected @Nullable StructurePieceStrongholdPieces.StrongholdPiece.generateSmallDoorChildForward(StrongholdPieces.StartPiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random, int xOff, int yOff) protected @Nullable StructurePieceStrongholdPieces.StrongholdPiece.generateSmallDoorChildLeft(StrongholdPieces.StartPiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random, int yOff, int zOff) protected @Nullable StructurePieceStrongholdPieces.StrongholdPiece.generateSmallDoorChildRight(StrongholdPieces.StartPiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random, int yOff, int zOff) private voidOceanMonumentPieces.MonumentBuilding.generateUpperWall(WorldGenLevel level, RandomSource random, BoundingBox chunkBB) private voidOceanMonumentPieces.MonumentBuilding.generateWing(boolean isFlipped, int xoff, WorldGenLevel level, RandomSource random, BoundingBox chunkBB) WoodlandMansionPieces.FirstFloorRoomCollection.get1x1(RandomSource random) abstract StringWoodlandMansionPieces.FloorRoomCollection.get1x1(RandomSource random) WoodlandMansionPieces.SecondFloorRoomCollection.get1x1(RandomSource random) WoodlandMansionPieces.FirstFloorRoomCollection.get1x1Secret(RandomSource random) abstract StringWoodlandMansionPieces.FloorRoomCollection.get1x1Secret(RandomSource random) WoodlandMansionPieces.SecondFloorRoomCollection.get1x1Secret(RandomSource random) WoodlandMansionPieces.FirstFloorRoomCollection.get1x2FrontEntrance(RandomSource random, boolean isStairsRoom) abstract StringWoodlandMansionPieces.FloorRoomCollection.get1x2FrontEntrance(RandomSource random, boolean isStairsRoom) WoodlandMansionPieces.SecondFloorRoomCollection.get1x2FrontEntrance(RandomSource random, boolean isStairsRoom) WoodlandMansionPieces.FirstFloorRoomCollection.get1x2Secret(RandomSource random) abstract StringWoodlandMansionPieces.FloorRoomCollection.get1x2Secret(RandomSource random) WoodlandMansionPieces.SecondFloorRoomCollection.get1x2Secret(RandomSource random) WoodlandMansionPieces.FirstFloorRoomCollection.get1x2SideEntrance(RandomSource random, boolean isStairsRoom) abstract StringWoodlandMansionPieces.FloorRoomCollection.get1x2SideEntrance(RandomSource random, boolean isStairsRoom) WoodlandMansionPieces.SecondFloorRoomCollection.get1x2SideEntrance(RandomSource random, boolean isStairsRoom) WoodlandMansionPieces.FirstFloorRoomCollection.get2x2(RandomSource random) abstract StringWoodlandMansionPieces.FloorRoomCollection.get2x2(RandomSource random) WoodlandMansionPieces.SecondFloorRoomCollection.get2x2(RandomSource random) WoodlandMansionPieces.FirstFloorRoomCollection.get2x2Secret(RandomSource random) abstract StringWoodlandMansionPieces.FloorRoomCollection.get2x2Secret(RandomSource random) WoodlandMansionPieces.SecondFloorRoomCollection.get2x2Secret(RandomSource random) private static IdentifierOceanRuinPieces.getBigWarmRuin(RandomSource random) private static intRuinedPortalStructure.getRandomWithinInterval(RandomSource random, int minPreferred, int max) private static IdentifierOceanRuinPieces.getSmallWarmRuin(RandomSource random) protected voidEndCityPieces.EndCityPiece.handleDataMarker(String markerId, BlockPos position, ServerLevelAccessor level, RandomSource random, BoundingBox chunkBB) protected voidIglooPieces.IglooPiece.handleDataMarker(String markerId, BlockPos position, ServerLevelAccessor level, RandomSource random, BoundingBox chunkBB) protected voidNetherFossilPieces.NetherFossilPiece.handleDataMarker(String markerId, BlockPos position, ServerLevelAccessor level, RandomSource random, BoundingBox chunkBB) protected voidOceanRuinPieces.OceanRuinPiece.handleDataMarker(String markerId, BlockPos position, ServerLevelAccessor level, RandomSource random, BoundingBox chunkBB) protected voidRuinedPortalPiece.handleDataMarker(String markerId, BlockPos pos, ServerLevelAccessor level, RandomSource random, BoundingBox chunkBB) protected voidShipwreckPieces.ShipwreckPiece.handleDataMarker(String markerId, BlockPos position, ServerLevelAccessor level, RandomSource random, BoundingBox chunkBB) protected voidWoodlandMansionPieces.WoodlandMansionPiece.handleDataMarker(String markerId, BlockPos position, ServerLevelAccessor level, RandomSource random, BoundingBox chunkBB) 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 chunkBB, RandomSource random, float probability, int x, int y, int z) voidJungleTemplePiece.MossStoneSelector.next(RandomSource random, int worldX, int worldY, int worldZ, boolean isEdge) voidStrongholdPieces.SmoothStoneSelector.next(RandomSource random, int worldX, int worldY, int worldZ, boolean isEdge) private voidNetherFossilPieces.NetherFossilPiece.placeDriedGhast(WorldGenLevel level, RandomSource random, BoundingBox fossilBB, BoundingBox chunkBB) private voidRuinedPortalPiece.placeNetherrackOrMagma(RandomSource random, LevelAccessor level, BlockPos pos) private voidMineshaftPieces.MineShaftCorridor.placeSupport(WorldGenLevel level, BoundingBox chunkBB, int x0, int y0, int z, int y1, int x1, RandomSource random) voidBuriedTreasurePieces.BuriedTreasurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidDesertPyramidPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidIglooPieces.IglooPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidJungleTemplePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidMineshaftPieces.MineShaftCorridor.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidMineshaftPieces.MineShaftCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidMineshaftPieces.MineShaftRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidMineshaftPieces.MineShaftStairs.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.BridgeCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.BridgeEndFiller.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.BridgeStraight.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleCorridorStairsPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleCorridorTBalconyPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleEntrance.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleSmallCorridorCrossingPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleSmallCorridorLeftTurnPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleSmallCorridorPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleSmallCorridorRightTurnPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleStalkRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.MonsterThrone.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.RoomCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.StairsRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFossilPieces.NetherFossilPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.MonumentBuilding.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentCoreRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentDoubleXRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentDoubleXYRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentDoubleYRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentDoubleYZRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentDoubleZRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentEntryRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentPenthouse.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentSimpleRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentSimpleTopRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentWingRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanRuinPieces.OceanRuinPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidRuinedPortalPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidShipwreckPieces.ShipwreckPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.ChestCorridor.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.FillerCorridor.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.FiveCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.LeftTurn.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.Library.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.PortalRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.PrisonHall.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.RightTurn.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.RoomCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.StairsDown.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.Straight.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.StraightStairsDown.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidSwampHutPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) StrongholdPieces.StrongholdPiece.randomSmallDoor(RandomSource random) private static booleanEndCityPieces.recursiveChildren(StructureTemplateManager structureTemplateManager, EndCityPieces.SectionGenerator generator, int genDepth, EndCityPieces.EndCityPiece parent, BlockPos offset, List<StructurePiece> pieces, RandomSource random) private voidRuinedPortalPiece.spreadNetherrack(RandomSource random, LevelAccessor level) static voidEndCityPieces.startHouseTower(StructureTemplateManager structureTemplateManager, BlockPos origin, 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 boundingBox, Direction direction) BridgeStraight(int genDepth, RandomSource random, BoundingBox boundingBox, Direction direction) CastleEntrance(int genDepth, RandomSource random, BoundingBox boundingBox, Direction direction) CastleSmallCorridorLeftTurnPiece(int genDepth, RandomSource random, BoundingBox boundingBox, Direction direction) CastleSmallCorridorRightTurnPiece(int genDepth, RandomSource random, BoundingBox boundingBox, Direction direction) ChestCorridor(int genDepth, RandomSource random, BoundingBox boundingBox, Direction direction) DesertPyramidPiece(RandomSource random, int west, int north) FiveCrossing(int genDepth, RandomSource random, BoundingBox boundingBox, Direction direction) JungleTemplePiece(RandomSource random, int west, int north) LeftTurn(int genDepth, RandomSource random, BoundingBox boundingBox, Direction direction) Library(int genDepth, RandomSource random, BoundingBox boundingBox, Direction direction) MansionGrid(RandomSource random) MansionPiecePlacer(StructureTemplateManager structureTemplateManager, RandomSource random) MineShaftCorridor(int genDepth, RandomSource random, BoundingBox boundingBox, Direction direction, MineshaftStructure.Type type) MineShaftRoom(int genDepth, RandomSource random, int west, int north, MineshaftStructure.Type type) MonumentBuilding(RandomSource random, int west, int north, Direction direction) OceanMonumentSimpleRoom(Direction orientation, OceanMonumentPieces.RoomDefinition definition, RandomSource random) PrisonHall(int genDepth, RandomSource random, BoundingBox boundingBox, Direction direction) RightTurn(int genDepth, RandomSource random, BoundingBox boundingBox, Direction direction) RoomCrossing(int genDepth, RandomSource random, BoundingBox boundingBox, Direction direction) StairsDown(int genDepth, RandomSource random, BoundingBox boundingBox, Direction direction) StartPiece(RandomSource random, int west, int north) StartPiece(RandomSource random, int west, int north) Straight(int genDepth, RandomSource random, BoundingBox boundingBox, Direction direction) StraightStairsDown(int genDepth, RandomSource random, BoundingBox boundingBox, Direction direction) SwampHutPiece(RandomSource random, int west, int north) -
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 TypeMethodDescription@Nullable CompoundTagProcessorRule.getOutputTag(RandomSource random, @Nullable CompoundTag existingTag) private static BlockStateBlockAgeProcessor.getRandomBlock(RandomSource random, BlockState[] blocks) private BlockStateBlockAgeProcessor.getRandomBlock(RandomSource random, BlockState[] nonMossyBlocks, BlockState[] mossyBlocks) private static BlockStateBlockAgeProcessor.getRandomFacingStairs(RandomSource random, Block stairBlock) private @Nullable BlockStateBlockAgeProcessor.maybeReplaceFullStoneBlock(RandomSource random) private @Nullable BlockStateBlockAgeProcessor.maybeReplaceObsidian(RandomSource random) private @Nullable BlockStateBlockAgeProcessor.maybeReplaceSlab(BlockState blockState, RandomSource random) private @Nullable BlockStateBlockAgeProcessor.maybeReplaceStairs(BlockState blockState, RandomSource random) private @Nullable BlockStateBlockAgeProcessor.maybeReplaceWall(BlockState blockState, RandomSource random) booleanStructureTemplate.placeInWorld(ServerLevelAccessor level, BlockPos position, BlockPos referencePos, StructurePlaceSettings settings, RandomSource random, int updateMode) StructurePlaceSettings.setRandom(@Nullable RandomSource random) booleanAlwaysTrueTest.test(BlockState blockState, RandomSource random) booleanAxisAlignedLinearPosTest.test(BlockPos inTemplatePos, BlockPos worldPos, BlockPos worldReference, RandomSource random) booleanBlockMatchTest.test(BlockState blockState, RandomSource random) booleanBlockStateMatchTest.test(BlockState blockState, RandomSource random) booleanLinearPosTest.test(BlockPos inTemplatePos, BlockPos worldPos, BlockPos worldReference, RandomSource random) booleanPosAlwaysTrueTest.test(BlockPos inTemplatePos, BlockPos worldPos, BlockPos worldReference, RandomSource random) abstract booleanPosRuleTest.test(BlockPos inTemplatePos, BlockPos worldPos, BlockPos worldReference, RandomSource random) booleanProcessorRule.test(BlockState inputState, BlockState locState, BlockPos inTemplatePos, BlockPos worldPos, BlockPos reference, RandomSource random) booleanRandomBlockMatchTest.test(BlockState blockState, RandomSource random) booleanRandomBlockStateMatchTest.test(BlockState blockState, RandomSource random) abstract booleanRuleTest.test(BlockState state, RandomSource random) booleanTagMatchTest.test(BlockState blockState, RandomSource random) -
Uses of RandomSource in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity
Methods in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity with parameters of type RandomSourceModifier and TypeMethodDescriptionAppendLoot.apply(RandomSource random, @Nullable CompoundTag existingTag) AppendStatic.apply(RandomSource random, @Nullable CompoundTag existingTag) Clear.apply(RandomSource random, @Nullable CompoundTag existingTag) @Nullable CompoundTagPassthrough.apply(RandomSource random, @Nullable CompoundTag existingTag) @Nullable CompoundTagRuleBlockEntityModifier.apply(RandomSource random, @Nullable CompoundTag existingTag) -
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> octaveSet) 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 terrainRandom) 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 useNewInitialization) protectedPerlinNoise(RandomSource random, com.mojang.datafixers.util.Pair<Integer, it.unimi.dsi.fastutil.doubles.DoubleList> pair, boolean useNewInitialization) privatePerlinSimplexNoise(RandomSource random, it.unimi.dsi.fastutil.ints.IntSortedSet octaveSet) PerlinSimplexNoise(RandomSource random, List<Integer> octaveSet) 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 fluidState, RandomSource random) voidFluidState.animateTick(Level level, BlockPos pos, RandomSource random) voidLavaFluid.animateTick(Level level, BlockPos pos, FluidState fluidState, RandomSource random) voidWaterFluid.animateTick(Level level, BlockPos pos, FluidState fluidState, RandomSource random) protected voidFluid.randomTick(ServerLevel level, BlockPos pos, FluidState fluidState, RandomSource random) voidFluidState.randomTick(ServerLevel level, BlockPos pos, RandomSource random) voidLavaFluid.randomTick(ServerLevel level, BlockPos pos, FluidState fluidState, RandomSource random) -
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 @Nullable 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 container, RandomSource random) it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> LootTable.getRandomItems(LootParams params, RandomSource randomSource) private voidLootTable.shuffleAndSplitItems(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> result, int availableSlots, RandomSource random) Shuffles items by changing their order and splitting stacksLootContext.Builder.withOptionalRandomSource(RandomSource randomSource) Constructors in net.minecraft.world.level.storage.loot with parameters of type RandomSourceModifierConstructorDescriptionprivateLootContext(LootParams params, RandomSource random, HolderGetter.Provider lootDataResolver) privateLootContext(LootParams params, RandomSource random, HolderGetter.Provider p_287619_, Identifier queriedLootTableId) -
Uses of RandomSource in net.minecraft.world.level.storage.loot.functions
Methods in net.minecraft.world.level.storage.loot.functions with parameters of type RandomSourceModifier and TypeMethodDescriptionintApplyBonusCount.BinomialWithBonusCount.calculateNewCount(RandomSource random, int count, int level) intApplyBonusCount.Formula.calculateNewCount(RandomSource random, int count, int level) intApplyBonusCount.OreDrops.calculateNewCount(RandomSource random, int count, int level) intApplyBonusCount.UniformBonusCount.calculateNewCount(RandomSource random, int count, int level) -
Uses of RandomSource in net.minecraft.world.phys
Methods in net.minecraft.world.phys with parameters of type RandomSourceModifier and TypeMethodDescriptionVec3.offsetRandom(RandomSource random, float offset) Vec3.offsetRandomXZ(RandomSource random, float offset) -
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 TypeMethodDescriptionstatic 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, WorldGenLevel 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(WorldGenLevel 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) Internal, should only be called viaSpawnPlacements.checkSpawnRules(EntityType, ServerLevelAccessor, EntitySpawnReason, BlockPos, RandomSource).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 TypeMethodDescription@Nullable BlockStateAlterGroundEvent.StateProvider.getState(WorldGenLevel level, 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).