Uses of Record Class
net.minecraft.world.item.enchantment.effects.SpawnParticlesEffect.VelocitySource
Packages that use SpawnParticlesEffect.VelocitySource
-
Uses of SpawnParticlesEffect.VelocitySource in net.minecraft.world.item.enchantment.effects
Fields in net.minecraft.world.item.enchantment.effects declared as SpawnParticlesEffect.VelocitySourceModifier and TypeFieldDescriptionprivate final SpawnParticlesEffect.VelocitySourceSpawnParticlesEffect.horizontalVelocityThe field for thehorizontalVelocityrecord component.private final SpawnParticlesEffect.VelocitySourceSpawnParticlesEffect.verticalVelocityThe field for theverticalVelocityrecord component.Fields in net.minecraft.world.item.enchantment.effects with type parameters of type SpawnParticlesEffect.VelocitySourceModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<SpawnParticlesEffect.VelocitySource> SpawnParticlesEffect.VelocitySource.CODECMethods in net.minecraft.world.item.enchantment.effects that return SpawnParticlesEffect.VelocitySourceModifier and TypeMethodDescriptionSpawnParticlesEffect.fixedVelocity(FloatProvider p_345397_) SpawnParticlesEffect.horizontalVelocity()Returns the value of thehorizontalVelocityrecord component.SpawnParticlesEffect.movementScaled(float p_345360_) SpawnParticlesEffect.verticalVelocity()Returns the value of theverticalVelocityrecord component.Constructors in net.minecraft.world.item.enchantment.effects with parameters of type SpawnParticlesEffect.VelocitySourceModifierConstructorDescriptionSpawnParticlesEffect(ParticleOptions particle, SpawnParticlesEffect.PositionSource horizontalPosition, SpawnParticlesEffect.PositionSource verticalPosition, SpawnParticlesEffect.VelocitySource horizontalVelocity, SpawnParticlesEffect.VelocitySource verticalVelocity, FloatProvider speed) Creates an instance of aSpawnParticlesEffectrecord class.