Uses of Record Class
net.minecraft.enchantment.effect.entity.SpawnParticlesEnchantmentEffect.VelocitySource
-
Uses of SpawnParticlesEnchantmentEffect.VelocitySource in net.minecraft.enchantment.effect.entity
Modifier and TypeFieldDescriptionprivate final SpawnParticlesEnchantmentEffect.VelocitySource
SpawnParticlesEnchantmentEffect.horizontalVelocity
The field for thehorizontalVelocity
record component.private final SpawnParticlesEnchantmentEffect.VelocitySource
SpawnParticlesEnchantmentEffect.verticalVelocity
The field for theverticalVelocity
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<SpawnParticlesEnchantmentEffect.VelocitySource> SpawnParticlesEnchantmentEffect.VelocitySource.CODEC
Modifier and TypeMethodDescriptionSpawnParticlesEnchantmentEffect.fixedVelocity
(FloatProvider base) SpawnParticlesEnchantmentEffect.horizontalVelocity()
Returns the value of thehorizontalVelocity
record component.SpawnParticlesEnchantmentEffect.scaledVelocity
(float movementScale) SpawnParticlesEnchantmentEffect.verticalVelocity()
Returns the value of theverticalVelocity
record component.ModifierConstructorDescriptionSpawnParticlesEnchantmentEffect
(ParticleEffect particleEffect, SpawnParticlesEnchantmentEffect.PositionSource positionSource, SpawnParticlesEnchantmentEffect.PositionSource positionSource2, SpawnParticlesEnchantmentEffect.VelocitySource velocitySource, SpawnParticlesEnchantmentEffect.VelocitySource velocitySource2, FloatProvider floatProvider)