implements Packet<ClientGamePacketListener>
yl | |
net.minecraft.network.protocol.game.ClientboundSoundEntityPacket | |
net.minecraft.class_2765 | |
net.minecraft.network.packet.s2c.play.PlaySoundFromEntityS2CPacket | |
net.minecraft.src.C_5129_ | |
net.minecraft.network.protocol.game.PacketPlayOutEntitySound |
Field summary
Modifier and Type | Field | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
private final Holder<SoundEvent> |
| ||||||||||
private final SoundSource |
| ||||||||||
private final int |
| ||||||||||
private final float |
| ||||||||||
private final float |
| ||||||||||
private final long |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (Holder<SoundEvent> sound, SoundSource category, Entity entity, float volume, float pitch, long seed) |
public | (FriendlyByteBuf buf) |
Method summary
Modifier and Type | Method | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public void |
| ||||||||||
public Holder<SoundEvent> |
| ||||||||||
public SoundSource |
| ||||||||||
public int |
| ||||||||||
public float |
| ||||||||||
public float |
| ||||||||||
public long |
| ||||||||||
public void |
|