net.minecraft.network.protocol.game

public class ClientboundUpdateMobEffectPacket

implements Packet<ClientGamePacketListener>

vd
net.minecraft.network.protocol.game.ClientboundUpdateMobEffectPacket
net.minecraft.class_2783
net.minecraft.network.packet.s2c.play.EntityStatusEffectS2CPacket
net.minecraft.src.C_5139_
net.minecraft.network.protocol.game.PacketPlayOutEntityEffect

Field summary

Modifier and TypeField
private static final int
a
FLAG_AMBIENT
field_33356
AMBIENT_MASK
f_179462_
private static final int
b
FLAG_VISIBLE
field_33357
SHOW_PARTICLES_MASK
f_179463_
private static final int
c
FLAG_SHOW_ICON
field_33358
SHOW_ICON_MASK
f_179464_
private final int
d
entityId
field_12727
entityId
f_133604_
private final int
e
effectId
field_12725
effectId
f_133605_
private final byte
f
effectAmplifier
field_12729
amplifier
f_133606_
private final int
g
effectDurationTicks
field_12726
duration
f_133607_
private final byte
h
flags
field_12728
flags
f_133608_

Constructor summary

ModifierConstructor
public (int entityId, MobEffectInstance effect)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(py arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public boolean
b()
isSuperLongDuration()
method_11947()
isPermanent()
m_133619_()
public void
a(rf arg0)
handle(ClientGamePacketListener arg0)
method_11948(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public int
c()
getEntityId()
method_11943()
getEntityId()
m_133622_()
public int
d()
getEffectId()
method_11946()
getEffectId()
m_211135_()
public byte
e()
getEffectAmplifier()
method_11945()
getAmplifier()
m_133624_()
public int
f()
getEffectDurationTicks()
method_11944()
getDuration()
m_133625_()
public boolean
g()
isEffectVisible()
method_11949()
shouldShowParticles()
m_133626_()
public boolean
h()
isEffectAmbient()
method_11950()
isAmbient()
m_133627_()
public boolean
i()
effectShowsIcon()
method_11942()
shouldShowIcon()
m_133628_()