net.minecraft.world.item.enchantment.effects

public record SpawnParticlesEffect

implements EnchantmentEntityEffect

dbf
net.minecraft.world.item.enchantment.effects.SpawnParticlesEffect
net.minecraft.class_9734
net.minecraft.enchantment.effect.entity.SpawnParticlesEnchantmentEffect
net.minecraft.src.C_336478_
net.minecraft.world.item.enchantment.effects.SpawnParticlesEffect

Field summary

Modifier and TypeField
private final ParticleOptions
d
particle
comp_2751
particle
f_337114_
private final SpawnParticlesEffect$PositionSource
e
horizontalPosition
comp_2752
horizontalPosition
f_336893_
private final SpawnParticlesEffect$PositionSource
f
verticalPosition
comp_2753
verticalPosition
f_337405_
private final SpawnParticlesEffect$VelocitySource
g
horizontalVelocity
comp_2754
horizontalVelocity
f_336869_
private final SpawnParticlesEffect$VelocitySource
h
verticalVelocity
comp_2755
verticalVelocity
f_337490_
private final FloatProvider
i
speed
comp_2756
speed
f_336911_
public static final com.mojang.serialization.MapCodec<SpawnParticlesEffect>
a
CODEC
field_51721
CODEC
f_336851_

Constructor summary

ModifierConstructor
public (ParticleOptions horizontalPosition, SpawnParticlesEffect$PositionSource verticalPosition, SpawnParticlesEffect$PositionSource horizontalVelocity, SpawnParticlesEffect$VelocitySource verticalVelocity, SpawnParticlesEffect$VelocitySource speed, FloatProvider arg5)

Method summary

Modifier and TypeMethod
public static SpawnParticlesEffect$PositionSource
a(float arg0)
offsetFromEntityPosition(float arg0)
method_60249(float arg0)
entityPosition(float offset)
m_339710_(float p_344734_)
public static SpawnParticlesEffect$PositionSource
b()
inBoundingBox()
method_60252()
withinBoundingBox()
m_339460_()
public static SpawnParticlesEffect$VelocitySource
b(float arg0)
movementScaled(float arg0)
method_60253(float arg0)
scaledVelocity(float movementScale)
m_339129_(float p_342848_)
public static SpawnParticlesEffect$VelocitySource
a(bpu arg0)
fixedVelocity(FloatProvider arg0)
method_60250(class_5863 arg0)
fixedVelocity(FloatProvider base)
m_339369_(C_141050_ p_344992_)
public void
a(aqu arg0, int arg1, dab arg2, bsr arg3, exc arg4)
apply(ServerLevel arg0, int arg1, EnchantedItemInUse arg2, Entity arg3, Vec3 arg4)
method_60220(class_3218 arg0, int arg1, class_9699 arg2, class_1297 arg3, class_243 arg4)
apply(ServerWorld arg0, int arg1, EnchantmentEffectContext arg2, Entity arg3, Vec3d arg4)
m_338607_(C_12_ p_343825_, int p_342850_, C_336528_ p_342334_, C_507_ p_344096_, C_3046_ arg4)
public com.mojang.serialization.MapCodec<SpawnParticlesEffect>
a()
codec()
method_60219()
getCodec()
m_338403_()
public ParticleOptions
c()
particle()
comp_2751()
particle()
f_337114_()
public SpawnParticlesEffect$PositionSource
d()
horizontalPosition()
comp_2752()
horizontalPosition()
f_336893_()
public SpawnParticlesEffect$PositionSource
e()
verticalPosition()
comp_2753()
verticalPosition()
f_337405_()
public SpawnParticlesEffect$VelocitySource
f()
horizontalVelocity()
comp_2754()
horizontalVelocity()
f_336869_()
public SpawnParticlesEffect$VelocitySource
g()
verticalVelocity()
comp_2755()
verticalVelocity()
f_337490_()
public FloatProvider
h()
speed()
comp_2756()
speed()
f_336911_()