implements Packet<ClientGamePacketListener>
qn | |
net.minecraft.network.protocol.game.ClientboundCustomSoundPacket | |
net.minecraft.class_2660 | |
net.minecraft.network.packet.s2c.play.PlaySoundIdS2CPacket | |
net.minecraft.src.C_5061_ | |
net.minecraft.network.protocol.game.PacketPlayOutCustomSoundEffect |
Field summary
Modifier and Type | Field | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final float |
| ||||||||||
private final ResourceLocation |
| ||||||||||
private final SoundSource |
| ||||||||||
private final int |
| ||||||||||
private final int |
| ||||||||||
private final int |
| ||||||||||
private final float |
| ||||||||||
private final float |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (ResourceLocation sound, SoundSource category, Vec3 pos, float volume, float pitch) |
public | (FriendlyByteBuf buf) |
Method summary
Modifier and Type | Method | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public void |
| ||||||||||
public ResourceLocation |
| ||||||||||
public SoundSource |
| ||||||||||
public double |
| ||||||||||
public double |
| ||||||||||
public double |
| ||||||||||
public float |
| ||||||||||
public float |
| ||||||||||
public void |
|