Uses of Class
net.minecraft.util.valueproviders.FloatProvider
Packages that use FloatProvider
Package
Description
-
Uses of FloatProvider in net.minecraft.client.resources.sounds
Fields in net.minecraft.client.resources.sounds declared as FloatProviderModifier and TypeFieldDescriptionprivate static final FloatProvider
SoundEventRegistrationSerializer.DEFAULT_FLOAT
-
Uses of FloatProvider in net.minecraft.util.valueproviders
Classes in net.minecraft.util.valueproviders with type parameters of type FloatProviderSubclasses of FloatProvider in net.minecraft.util.valueprovidersModifier and TypeClassDescriptionclass
class
class
class
Fields in net.minecraft.util.valueproviders with type parameters of type FloatProviderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<FloatProvider> FloatProvider.CODEC
private static final com.mojang.serialization.Codec
<com.mojang.datafixers.util.Either<Float, FloatProvider>> FloatProvider.CONSTANT_OR_DISPATCH_CODEC
Methods in net.minecraft.util.valueproviders with type parameters of type FloatProviderMethods in net.minecraft.util.valueproviders that return types with arguments of type FloatProviderModifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec
<FloatProvider> FloatProvider.codec
(float pMinInclusive, float pMaxInclusive) Creates a codec for a FloatProvider that only accepts numbers in the given range. -
Uses of FloatProvider in net.minecraft.world.item.enchantment.effects
Fields in net.minecraft.world.item.enchantment.effects declared as FloatProviderModifier and TypeFieldDescriptionprivate final FloatProvider
SpawnParticlesEffect.VelocitySource.base
The field for thebase
record component.private final FloatProvider
PlaySoundEffect.pitch
The field for thepitch
record component.private final FloatProvider
SpawnParticlesEffect.speed
The field for thespeed
record component.private final FloatProvider
PlaySoundEffect.volume
The field for thevolume
record component.Methods in net.minecraft.world.item.enchantment.effects that return FloatProviderModifier and TypeMethodDescriptionSpawnParticlesEffect.VelocitySource.base()
Returns the value of thebase
record component.PlaySoundEffect.pitch()
Returns the value of thepitch
record component.SpawnParticlesEffect.speed()
Returns the value of thespeed
record component.PlaySoundEffect.volume()
Returns the value of thevolume
record component.Methods in net.minecraft.world.item.enchantment.effects with parameters of type FloatProviderConstructors in net.minecraft.world.item.enchantment.effects with parameters of type FloatProviderModifierConstructorDescriptionPlaySoundEffect
(Holder<SoundEvent> soundEvent, FloatProvider volume, FloatProvider pitch) Creates an instance of aPlaySoundEffect
record class.SpawnParticlesEffect
(ParticleOptions particle, SpawnParticlesEffect.PositionSource horizontalPosition, SpawnParticlesEffect.PositionSource verticalPosition, SpawnParticlesEffect.VelocitySource horizontalVelocity, SpawnParticlesEffect.VelocitySource verticalVelocity, FloatProvider speed) Creates an instance of aSpawnParticlesEffect
record class.VelocitySource
(float movementScale, FloatProvider base) Creates an instance of aVelocitySource
record class. -
Uses of FloatProvider in net.minecraft.world.level.levelgen.carver
Fields in net.minecraft.world.level.levelgen.carver declared as FloatProviderModifier and TypeFieldDescriptionfinal FloatProvider
CanyonCarverConfiguration.CanyonShapeConfiguration.distanceFactor
(package private) final FloatProvider
CaveCarverConfiguration.floorLevel
final FloatProvider
CanyonCarverConfiguration.CanyonShapeConfiguration.horizontalRadiusFactor
final FloatProvider
CaveCarverConfiguration.horizontalRadiusMultiplier
final FloatProvider
CanyonCarverConfiguration.CanyonShapeConfiguration.thickness
final FloatProvider
CaveCarverConfiguration.verticalRadiusMultiplier
final FloatProvider
CanyonCarverConfiguration.verticalRotation
final FloatProvider
CarverConfiguration.yScale
Constructors in net.minecraft.world.level.levelgen.carver with parameters of type FloatProviderModifierConstructorDescriptionCanyonCarverConfiguration
(float pProbability, HeightProvider pY, FloatProvider pYScale, VerticalAnchor pLavaLevel, CarverDebugSettings pDebugSettings, HolderSet<Block> pReplaceable, FloatProvider pVerticalRotation, CanyonCarverConfiguration.CanyonShapeConfiguration pShape) CanyonCarverConfiguration
(CarverConfiguration pConfig, FloatProvider pVerticalRotation, CanyonCarverConfiguration.CanyonShapeConfiguration pShape) CanyonShapeConfiguration
(FloatProvider pDistanceFactor, FloatProvider pThickness, int pWidthSmoothness, FloatProvider pHorizontalRadiusFactor, float pVerticalRadiusDefaultFactor, float pVerticalRadiusCenterFactor) CarverConfiguration
(float pProbability, HeightProvider pY, FloatProvider pYScale, VerticalAnchor pLavaLevel, CarverDebugSettings pDebugSettings, HolderSet<Block> pReplaceable) CaveCarverConfiguration
(float pProbability, HeightProvider pY, FloatProvider pYScale, VerticalAnchor pLavaLevel, HolderSet<Block> pReplaceable, FloatProvider pHorizontalRadiusMultiplier, FloatProvider pVerticalRadiusMultiplier, FloatProvider pFloorLevel) CaveCarverConfiguration
(float pProbability, HeightProvider pY, FloatProvider pYScale, VerticalAnchor pLavaLevel, CarverDebugSettings pDebugSettings, HolderSet<Block> pReplaceable, FloatProvider pHorizontalRadiusMultiplier, FloatProvider pVerticalRadiusMultiplier, FloatProvider pFloorLevel) CaveCarverConfiguration
(CarverConfiguration pConfig, FloatProvider pHorizontalRadiusMultiplier, FloatProvider pVerticalRadiusMultiplier, FloatProvider pFloorLevel) -
Uses of FloatProvider in net.minecraft.world.level.levelgen.feature
Methods in net.minecraft.world.level.levelgen.feature with parameters of type FloatProviderModifier and TypeMethodDescriptionprivate static LargeDripstoneFeature.LargeDripstone
LargeDripstoneFeature.makeDripstone
(BlockPos pRoot, boolean pPointingUp, RandomSource pRandom, int pRadius, FloatProvider pBluntnessBase, FloatProvider pScaleBase) Constructors in net.minecraft.world.level.levelgen.feature with parameters of type FloatProviderModifierConstructorDescription(package private)
WindOffsetter
(int pOriginY, RandomSource pRandom, FloatProvider pMagnitude) -
Uses of FloatProvider in net.minecraft.world.level.levelgen.feature.configurations
Fields in net.minecraft.world.level.levelgen.feature.configurations declared as FloatProviderModifier and TypeFieldDescriptionfinal FloatProvider
DripstoneClusterConfiguration.density
final FloatProvider
LargeDripstoneConfiguration.heightScale
final FloatProvider
LargeDripstoneConfiguration.stalactiteBluntness
final FloatProvider
LargeDripstoneConfiguration.stalagmiteBluntness
final FloatProvider
DripstoneClusterConfiguration.wetness
final FloatProvider
LargeDripstoneConfiguration.windSpeed
Constructors in net.minecraft.world.level.levelgen.feature.configurations with parameters of type FloatProviderModifierConstructorDescriptionDripstoneClusterConfiguration
(int pFloorToCeilingSearchRange, IntProvider pHeight, IntProvider pRadius, int pMaxStalagmiteStalactiteHeightDiff, int pHeightDeviation, IntProvider pDripstoneBlockLayerThickness, FloatProvider pDensity, FloatProvider pWetness, float pChanceOfDripstoneColumnAtMaxDistanceFromCenter, int pMaxDistanceFromEdgeAffectingChanceOfDripstoneColumn, int pMaxDistanceFromCenterAffectingHeightBias) LargeDripstoneConfiguration
(int pFloorToCeilingSearchRange, IntProvider pColumnRadius, FloatProvider pHeightScale, float pMaxColumnRadiusToCaveHeightRatio, FloatProvider pStalactiteBluntness, FloatProvider pStalagmiteBluntness, FloatProvider pWindSpeed, int pMinRadiusForWind, float pMinBluntnessForWind)