Uses of Record Class
net.minecraft.world.item.enchantment.effects.SpawnParticlesEffect.VelocitySource
-
Uses of SpawnParticlesEffect.VelocitySource in net.minecraft.world.item.enchantment.effects
Modifier and TypeFieldDescriptionprivate final SpawnParticlesEffect.VelocitySource
SpawnParticlesEffect.horizontalVelocity
The field for thehorizontalVelocity
record component.private final SpawnParticlesEffect.VelocitySource
SpawnParticlesEffect.verticalVelocity
The field for theverticalVelocity
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<SpawnParticlesEffect.VelocitySource> SpawnParticlesEffect.VelocitySource.CODEC
Modifier and TypeMethodDescriptionSpawnParticlesEffect.fixedVelocity
(FloatProvider p_345397_) SpawnParticlesEffect.horizontalVelocity()
Returns the value of thehorizontalVelocity
record component.SpawnParticlesEffect.movementScaled
(float p_345360_) SpawnParticlesEffect.verticalVelocity()
Returns the value of theverticalVelocity
record component.ModifierConstructorDescriptionSpawnParticlesEffect
(ParticleOptions particle, SpawnParticlesEffect.PositionSource horizontalPosition, SpawnParticlesEffect.PositionSource verticalPosition, SpawnParticlesEffect.VelocitySource horizontalVelocity, SpawnParticlesEffect.VelocitySource verticalVelocity, FloatProvider speed) Creates an instance of aSpawnParticlesEffect
record class.