public class PacketPlayOutEntityEffect extends WrappedPacket
Modifier and Type | Field and Description |
---|---|
byte |
amplifier |
int |
duration |
byte |
effectId
1 - Speed 2 - Slowness 3 - Haste 4 - Mining Fatigue 5 - Strength 6 - Instant Health 7 - Instant Damage 8
- Jump Boost 9 - Nausea 10 - Regeneration 11 - Resistance 12 - Fire Resistance 13 - Water Breathing 14 -
Invisibility 15 - Blindness 16 - Night Vision 17 - Hunger 18 - Weakness 19 - Poison 20 - Wither 21 - Health Boost
22 - Absorption 23 - Saturation 24 - Glowing 25 - Levitation 26 - Luck 27 - Bad Luck
|
int |
entityId |
byte |
particles
0 - No particles, not ambient 1 - Ambient 2 - Particles 3 - Particles and ambient
|
Constructor and Description |
---|
PacketPlayOutEntityEffect() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getVanillaPacket()
Converts this wrapped packet to a Vanilla/NMS packet
|
void |
loadVanillaPacket(java.lang.Object packet)
Loads a Vanilla/NMS packet to this wrapper
|
toNMS
public byte amplifier
public int duration
public byte effectId
public int entityId
public byte particles
public java.lang.Object getVanillaPacket()
WrappedPacket
getVanillaPacket
in class WrappedPacket
public void loadVanillaPacket(java.lang.Object packet)
WrappedPacket
loadVanillaPacket
in class WrappedPacket
packet
- - The loadable packet