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.VelocitySource
SpawnParticlesEffect.horizontalVelocity
The field for thehorizontalVelocity
record component.private final SpawnParticlesEffect.VelocitySource
SpawnParticlesEffect.verticalVelocity
The field for theverticalVelocity
record 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.CODEC
Methods in net.minecraft.world.item.enchantment.effects that return SpawnParticlesEffect.VelocitySourceModifier 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.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 aSpawnParticlesEffect
record class.