net.minecraft.world.item.enchantment.effects

public record PlaySoundEffect

implements EnchantmentEntityEffect

day
net.minecraft.world.item.enchantment.effects.PlaySoundEffect
net.minecraft.class_9727
net.minecraft.unmapped.C_ivozpbbe
net.minecraft.enchantment.effect.entity.PlaySoundEnchantmentEffect
net.minecraft.enchantment.effect.PlaySound
net.minecraft.src.C_336570_
net.minecraft.world.item.enchantment.effects.PlaySoundEffect

Field summary

Modifier and TypeField
private final Holder<SoundEvent>
d
soundEvent
comp_2735
f_etinbkel
soundEvent
soundEvent
f_337262_
private final FloatProvider
e
volume
comp_2736
f_kbldlbsm
volume
volume
f_337166_
private final FloatProvider
f
pitch
comp_2737
f_vfiyyrpp
pitch
pitch
f_336889_
public static final com.mojang.serialization.MapCodec<PlaySoundEffect>
a
CODEC
field_51713
f_qctvedvn
CODEC
CODEC
f_336806_

Constructor summary

ModifierConstructor
public (Holder<SoundEvent> soundEvent, FloatProvider volume, FloatProvider pitch)

Method summary

Modifier and TypeMethod
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)
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_344633_, int p_344196_, C_336528_ p_344269_, C_507_ p_343993_, C_3046_ arg4)
public com.mojang.serialization.MapCodec<PlaySoundEffect>
a()
codec()
method_60219()
m_kqdonpeg()
getCodec()
getCodec()
m_338403_()
public Holder<SoundEvent>
b()
soundEvent()
comp_2735()
m_elzzjczg()
soundEvent()
soundEvent()
f_337262_()
public FloatProvider
c()
volume()
comp_2736()
m_unghatfs()
volume()
volume()
f_337166_()
public FloatProvider
d()
pitch()
comp_2737()
m_ztgnsohd()
pitch()
pitch()
f_336889_()