implements Packet<ClientGamePacketListener>
ags | |
net.minecraft.network.protocol.game.ClientboundSoundEntityPacket | |
net.minecraft.class_2765 | |
net.minecraft.network.packet.s2c.play.PlaySoundFromEntityS2CPacket | |
net.minecraft.network.protocol.game.PacketPlayOutEntitySound |
Field summary
Modifier and Type | Field | ||||||||
---|---|---|---|---|---|---|---|---|---|
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundSoundEntityPacket> |
| ||||||||
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) |
private | (RegistryFriendlyByteBuf buf) |
Method summary
Modifier and Type | Method | ||||||||
---|---|---|---|---|---|---|---|---|---|
private void |
| ||||||||
public PacketType<ClientboundSoundEntityPacket> |
| ||||||||
public void |
| ||||||||
public Holder<SoundEvent> |
| ||||||||
public SoundSource |
| ||||||||
public int |
| ||||||||
public float |
| ||||||||
public float |
| ||||||||
public long |
|