net.minecraft.world.item.enchantment.effects

public record SpawnParticlesEffect

implements EnchantmentEntityEffect

dfc
net.minecraft.world.item.enchantment.effects.SpawnParticlesEffect
net.minecraft.class_9734
net.minecraft.unmapped.C_yxutnopo
net.minecraft.enchantment.effect.entity.SpawnParticlesEnchantmentEffect
net.minecraft.enchantment.effect.SpawnParticles
net.minecraft.src.C_336478_
net.minecraft.world.item.enchantment.effects.SetValue

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static SpawnParticlesEffect$PositionSource
a(float arg0)
offsetFromEntityPosition(float arg0)
method_60249(float arg0)
m_twxdbdun(float arg0)
entityPosition(float offset)
entityPosition(float offset)
m_339710_(float p_344734_)
public static SpawnParticlesEffect$PositionSource
b()
inBoundingBox()
method_60252()
m_uskdslsw()
withinBoundingBox()
inBoundingBox()
m_339460_()
public static SpawnParticlesEffect$VelocitySource
b(float arg0)
movementScaled(float arg0)
method_60253(float arg0)
m_mavwjtly(float arg0)
scaledVelocity(float movementScale)
scaledVelocity(float movementScale)
m_339129_(float p_342848_)
public static SpawnParticlesEffect$VelocitySource
a(bsl arg0)
fixedVelocity(FloatProvider arg0)
method_60250(class_5863 arg0)
m_xfogjyee(C_kniwuyrb arg0)
fixedVelocity(FloatProvider base)
fixedVelocity(FloatProvider base)
m_339369_(C_141050_ p_344992_)
public void
a(ash arg0, int arg1, ddx arg2, bvj arg3, fbx 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)
m_qtizntqq(C_bdwnwhiu arg0, int arg1, C_pjrjvgrp arg2, C_astfners arg3, C_vgpupfxx arg4)
apply(ServerWorld arg0, int arg1, EnchantmentEffectContext arg2, Entity arg3, Vec3d 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()
m_kqdonpeg()
getCodec()
getCodec()
m_338403_()
public ParticleOptions
c()
particle()
comp_2751()
m_jusldauz()
particle()
particle()
f_337114_()
public SpawnParticlesEffect$PositionSource
d()
horizontalPosition()
comp_2752()
m_ilihcmzm()
horizontalPosition()
horizontalPosition()
f_336893_()
public SpawnParticlesEffect$PositionSource
e()
verticalPosition()
comp_2753()
m_rgguusmj()
verticalPosition()
verticalPosition()
f_337405_()
public SpawnParticlesEffect$VelocitySource
f()
horizontalVelocity()
comp_2754()
m_fdixupsw()
horizontalVelocity()
horizontalVelocity()
f_336869_()
public SpawnParticlesEffect$VelocitySource
g()
verticalVelocity()
comp_2755()
m_wxljnsom()
verticalVelocity()
verticalVelocity()
f_337490_()
public FloatProvider
h()
speed()
comp_2756()
m_lbgmmdgb()
speed()
speed()
f_336911_()