0x28 S28PacketEffect

Plays a sound effect or particle effect at a position (without a named sound).

Clientbound (Server → Client) · PLAY · net/minecraft/network/play/server/S28PacketEffect.java
worldeffectparticle

Fields

FieldTypeDescription
effectTypeintEffect ID (1023=portal, 2004=smithingTable, etc.)
posBlockPosEffect position
dataintEffect-specific data
disableRelativeVolumebooleanIf true, plays at full volume regardless of position

Wire Encoding

FieldTypeNotes
Effect IDint
PositionBlockPos (long)
Dataint
Disable VolumeboolSupress volume reduction

MCP References

MCPNetHandlerPlayClient.handleEffect()

Handler Interface

HNDINetHandlerPlayClient

Notes

Effect IDs: 1000-1023 (sound events), 1500-2004 (particle events). Unlike S29 (named sound via resource location), S28 uses numeric IDs.

implementation Implementation Cases

ESP

Track world effects (record player, particles, etc.).

Vanilla hook: EventReceivePacket
ParticleSpoof

Track world effects (record player, particles, etc.).

Vanilla hook: EventReceivePacket
← Back to all packets