net.minecraft.sounds

public class SoundEvent

amq
net.minecraft.sounds.SoundEvent
net.minecraft.class_3414
net.minecraft.unmapped.C_avavozay
net.minecraft.sound.SoundEvent
net.minecraft.sound.SoundEvent
net.minecraft.src.C_123_
net.minecraft.sounds.SoundEffect

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<SoundEvent>
a
DIRECT_CODEC
field_41698
f_hjoklfog
CODEC
DIRECT_CODEC
f_263124_
public static final com.mojang.serialization.Codec<Holder<SoundEvent>>
b
CODEC
field_41699
f_mvrnqtoj
ENTRY_CODEC
CODEC
f_263130_
private static final float
c
DEFAULT_RANGE
field_41661
f_tnhohprz
DEFAULT_DISTANCE_TO_TRAVEL
DEFAULT_RANGE
f_262723_
private final ResourceLocation
d
location
field_14533
f_bysmxyzf
id
id
f_11656_
private final float
e
range
field_38690
f_hfizeukv
distanceToTravel
range
f_215659_
private final boolean
f
newSystem
field_38691
f_dytglwoo
staticDistance
useNewRangeSystem
f_215660_

Constructor summary

ModifierConstructor
private (ResourceLocation id, float distanceToTravel, boolean useStaticDistance)

Method summary

Modifier and TypeMethod
private static SoundEvent
a(add arg0, Optional<Float> arg1)
create(ResourceLocation arg0, Optional<Float> arg1)
method_47956(class_2960 arg0, Optional<Float> arg1)
m_sfswrbpw(C_ncpywfca arg0, Optional<Float> arg1)
of(Identifier id, Optional<Float> distanceToTravel)
createEvent(Identifier id, Optional<Float> range)
m_263227_(C_5265_ p_263406_, Optional<Float> p_263346_)
public static SoundEvent
a(add arg0)
createVariableRangeEvent(ResourceLocation arg0)
method_47908(class_2960 arg0)
m_ysvevsdc(C_ncpywfca arg0)
of(Identifier id)
createVariableRangeEvent(Identifier id)
m_262824_(C_5265_ p_262973_)
public static SoundEvent
a(add arg0, float arg1)
createFixedRangeEvent(ResourceLocation arg0, float arg1)
method_47909(class_2960 arg0, float arg1)
m_vuiblxtx(C_ncpywfca arg0, float arg1)
of(Identifier id, float distanceToTravel)
createFixedRangeEvent(Identifier id, float range)
m_262856_(C_5265_ p_263003_, float p_263029_)
public ResourceLocation
a()
getLocation()
method_14833()
m_qihomiab()
getId()
getId()
m_11660_()
public float
a(float arg0)
getRange(float arg0)
method_43044(float arg0)
m_xmatcedh(float arg0)
getDistanceToTravel(float volume)
getRange(float volume)
m_215668_(float arg0)
private Optional<Float>
b()
fixedRange()
method_47959()
m_vrqmvzyk()
getStaticDistanceToTravel()
getRange()
m_263201_()
public void
a(ss arg0)
writeToNetwork(FriendlyByteBuf arg0)
method_47958(class_2540 arg0)
m_pknoojtg(C_idfydwco arg0)
writeBuf(PacketByteBuf buf)
toPacket(PacketByteBuf buf)
m_263231_(C_4983_ arg0)
public static SoundEvent
b(ss arg0)
readFromNetwork(FriendlyByteBuf arg0)
method_47961(class_2540 arg0)
m_owrlvrxo(C_idfydwco arg0)
fromBuf(PacketByteBuf buf)
fromPacket(PacketByteBuf buf)
m_263214_(C_4983_ p_263371_)