Uses of Record Class
net.minecraft.world.item.enchantment.effects.SpawnParticlesEffect.PositionSource
-
Uses of SpawnParticlesEffect.PositionSource in net.minecraft.world.item.enchantment.effects
Modifier and TypeFieldDescriptionprivate final SpawnParticlesEffect.PositionSource
SpawnParticlesEffect.horizontalPosition
The field for thehorizontalPosition
record component.private final SpawnParticlesEffect.PositionSource
SpawnParticlesEffect.verticalPosition
The field for theverticalPosition
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<SpawnParticlesEffect.PositionSource> SpawnParticlesEffect.PositionSource.CODEC
Modifier and TypeMethodDescriptionSpawnParticlesEffect.horizontalPosition()
Returns the value of thehorizontalPosition
record component.SpawnParticlesEffect.inBoundingBox()
SpawnParticlesEffect.offsetFromEntityPosition
(float p_345365_) SpawnParticlesEffect.verticalPosition()
Returns the value of theverticalPosition
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.