net.minecraft.network.protocol.game

public class ClientboundUpdateMobEffectPacket

implements Packet<ClientGamePacketListener>

agb
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
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundUpdateMobEffectPacket>
a
STREAM_CODEC
field_48011
CODEC
f_314852_
private static final int
b
FLAG_AMBIENT
field_33356
AMBIENT_MASK
f_179462_
private static final int
c
FLAG_VISIBLE
field_33357
SHOW_PARTICLES_MASK
f_179463_
private static final int
d
FLAG_SHOW_ICON
field_33358
SHOW_ICON_MASK
f_179464_
private static final int
e
FLAG_BLEND
field_47706
KEEP_FADING_MASK
f_314523_
private final int
f
entityId
field_12727
entityId
f_133604_
private final Holder<MobEffect>
g
effect
field_12725
effectId
f_237871_
private final int
h
effectAmplifier
field_12729
amplifier
f_133606_
private final int
i
effectDurationTicks
field_12726
duration
f_133607_
private final byte
j
flags
field_12728
flags
f_133608_

Constructor summary

ModifierConstructor
public (int entityId, MobEffectInstance effect, boolean keepFading)
private (RegistryFriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(wk arg0)
write(RegistryFriendlyByteBuf arg0)
method_55954(class_9129 arg0)
write(RegistryByteBuf buf)
m_133620_(C_313350_ arg0)
public PacketType<ClientboundUpdateMobEffectPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(abu arg0)
handle(ClientGamePacketListener arg0)
method_11948(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public int
b()
getEntityId()
method_11943()
getEntityId()
m_133622_()
public Holder<MobEffect>
e()
getEffect()
method_11946()
getEffectId()
m_237878_()
public int
f()
getEffectAmplifier()
method_11945()
getAmplifier()
m_133624_()
public int
g()
getEffectDurationTicks()
method_11944()
getDuration()
m_133625_()
public boolean
h()
isEffectVisible()
method_11949()
shouldShowParticles()
m_133626_()
public boolean
i()
isEffectAmbient()
method_11950()
isAmbient()
m_133627_()
public boolean
j()
effectShowsIcon()
method_11942()
shouldShowIcon()
m_133628_()
public boolean
k()
shouldBlend()
method_55629()
keepFading()
m_323944_()