net.minecraft.sound

public record SoundEvent

ayy
net.minecraft.sounds.SoundEvent
net.minecraft.class_3414
net.minecraft.sound.SoundEvent
net.minecraft.unmapped.C_avavozay
net.minecraft.sound.SoundEvent
net.minecraft.src.C_123_

Field summary

Modifier and TypeField
private final Identifier
e
location
comp_3319
id
f_bysmxyzf
id
f_11656_
private final Optional<Float>
f
fixedRange
comp_3320
fixedRange
f_cckqzixf
fixedRange
f_348083_
public static final com.mojang.serialization.Codec<SoundEvent>
a
DIRECT_CODEC
field_41698
CODEC
f_hjoklfog
DIRECT_CODEC
f_263124_
public static final com.mojang.serialization.Codec<RegistryEntry<SoundEvent>>
b
CODEC
field_41699
ENTRY_CODEC
f_mvrnqtoj
CODEC
f_263130_
public static final PacketCodec<io.netty.buffer.ByteBuf, SoundEvent>
c
DIRECT_STREAM_CODEC
field_48278
PACKET_CODEC
f_zpyasose
PACKET_CODEC
f_314575_
public static final PacketCodec<RegistryByteBuf, RegistryEntry<SoundEvent>>
d
STREAM_CODEC
field_48279
ENTRY_PACKET_CODEC
f_ebwdgehq
REGISTRY_PACKET_CODEC
f_314687_

Constructor summary

ModifierConstructor
public (Identifier id, Optional<Float> fixedRange)

Method summary

Modifier and TypeMethod
private static SoundEvent
a(ame o, Optional<Float> o)
create(ResourceLocation arg0, Optional<Float> arg1)
method_47956(class_2960 arg0, Optional<Float> arg1)
of(Identifier id, Optional<Float> fixedRange)
m_sfswrbpw(C_ncpywfca arg0, Optional<Float> arg1)
createEvent(Identifier id, Optional<Float> range)
m_263227_(C_5265_ p_263406_, Optional<Float> p_263346_)
public static SoundEvent
a(ame o)
createVariableRangeEvent(ResourceLocation arg0)
method_47908(class_2960 arg0)
of(Identifier id)
m_ysvevsdc(C_ncpywfca arg0)
createVariableRangeEvent(Identifier id)
m_262824_(C_5265_ p_262973_)
public static SoundEvent
a(ame o, float o)
createFixedRangeEvent(ResourceLocation arg0, float arg1)
method_47909(class_2960 arg0, float arg1)
of(Identifier id, float fixedRange)
m_vuiblxtx(C_ncpywfca arg0, float arg1)
createFixedRangeEvent(Identifier id, float range)
m_262856_(C_5265_ p_263003_, float p_263029_)
public float
a(float arg0)
getRange(float arg0)
method_43044(float arg0)
getDistanceToTravel(float volume)
m_xmatcedh(float arg0)
getRange(float volume)
m_215668_(float arg0)
public Identifier
a()
location()
comp_3319()
id()
m_bpcivrpc()
id()
f_11656_()
public Optional<Float>
b()
fixedRange()
comp_3320()
fixedRange()
m_vrqmvzyk()
fixedRange()
f_348083_()