net.minecraft.network.protocol.game

public class ClientboundUpdateMobEffectPacket

implements Packet<ClientGamePacketListener>

aax
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 MobEffect
e
effect
field_12725
effectId
f_237871_
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_
private final MobEffectInstance$FactorData
i
factorData
field_38364
factorCalculationData
f_237872_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(so arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(ww arg0)
handle(ClientGamePacketListener arg0)
method_11948(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public int
a()
getEntityId()
method_11943()
getEntityId()
m_133622_()
public MobEffect
d()
getEffect()
method_11946()
getEffectId()
m_237878_()
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_()
public MobEffectInstance$FactorData
j()
getFactorData()
method_42625()
getFactorCalculationData()
m_237879_()