net.minecraft.world.item.enchantment.effects

public record SpawnParticlesEffect

implements EnchantmentEntityEffect

dfd
net.minecraft.world.item.enchantment.effects.SpawnParticlesEffect
net.minecraft.class_9734
net.minecraft.enchantment.effect.entity.SpawnParticlesEnchantmentEffect
net.minecraft.world.item.enchantment.effects.SpawnParticlesEffect

Field summary

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

Constructor summary

ModifierConstructor
public (ParticleOptions arg0, SpawnParticlesEffect$PositionSource arg1, SpawnParticlesEffect$PositionSource arg2, SpawnParticlesEffect$VelocitySource arg3, SpawnParticlesEffect$VelocitySource arg4, FloatProvider arg5)

Method summary

Modifier and TypeMethod
public static SpawnParticlesEffect$PositionSource
a(float arg0)
offsetFromEntityPosition(float arg0)
method_60249(float arg0)
entityPosition(float offset)
public static SpawnParticlesEffect$PositionSource
b()
inBoundingBox()
method_60252()
withinBoundingBox()
public static SpawnParticlesEffect$VelocitySource
b(float arg0)
movementScaled(float arg0)
method_60253(float arg0)
scaledVelocity(float movementScale)
public static SpawnParticlesEffect$VelocitySource
a(bsm arg0)
fixedVelocity(FloatProvider arg0)
method_60250(class_5863 arg0)
fixedVelocity(FloatProvider base)
public void
a(ash arg0, int arg1, ddy arg2, bvk arg3, fby 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)
public com.mojang.serialization.MapCodec<SpawnParticlesEffect>
a()
codec()
method_60219()
getCodec()
public ParticleOptions
c()
particle()
comp_2751()
particle()
public SpawnParticlesEffect$PositionSource
d()
horizontalPosition()
comp_2752()
horizontalPosition()
public SpawnParticlesEffect$PositionSource
e()
verticalPosition()
comp_2753()
verticalPosition()
public SpawnParticlesEffect$VelocitySource
f()
horizontalVelocity()
comp_2754()
horizontalVelocity()
public SpawnParticlesEffect$VelocitySource
g()
verticalVelocity()
comp_2755()
verticalVelocity()
public FloatProvider
h()
speed()
comp_2756()
speed()