0x1D S1DPacketEntityEffect

Applies a status/potion effect to an entity.

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

Fields

FieldTypeDescription
entityIdVarInt
effectIdbytePotion effect ID
amplifierbyteEffect amplifier (0 = level 1, 1 = level 2, etc.)
durationVarIntDuration in ticks (20 ticks = 1 second)
hideParticlesbooleanWhether to hide ambient particles

Wire Encoding

FieldTypeNotes
Entity IDVarInt
Effect IDbyte
Amplifierbyte
DurationVarInt
Hide Particlesbool

MCP References

MCPNetHandlerPlayClient.handleEntityEffect()

Handler Interface

HNDINetHandlerPlayClient

Notes

Effect IDs: 1=speed, 2=slowness, 5=strength, 8=jump_boost, 11=absorption, 16=wither, etc.

implementation Implementation Cases

PotionHUD (Sigma 3.9, Tenacity 6.0)

Detect potion effects applied to entities. PotionHUD shows active effects. AntiPotion cancels negative effects.

Vanilla hook: EventReceivePacket
AntiPotion (Sigma 3.9, Tenacity 6.0)

Detect potion effects applied to entities. PotionHUD shows active effects. AntiPotion cancels negative effects.

Vanilla hook: EventReceivePacket
← Back to all packets