net.minecraft.network.protocol.game

public class ClientboundUpdateMobEffectPacket

implements Packet<ClientGamePacketListener>

afz
net.minecraft.network.protocol.game.ClientboundUpdateMobEffectPacket
net.minecraft.class_2783
net.minecraft.network.packet.s2c.play.EntityStatusEffectS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutEntityEffect

Field summary

Modifier and TypeField
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundUpdateMobEffectPacket>
a
STREAM_CODEC
field_48011
CODEC
private static final int
b
FLAG_AMBIENT
field_33356
AMBIENT_MASK
private static final int
c
FLAG_VISIBLE
field_33357
SHOW_PARTICLES_MASK
private static final int
d
FLAG_SHOW_ICON
field_33358
SHOW_ICON_MASK
private static final int
e
FLAG_BLEND
field_47706
KEEP_FADING_MASK
private final int
f
entityId
field_12727
entityId
private final Holder<MobEffect>
g
effect
field_12725
effectId
private final int
h
effectAmplifier
field_12729
amplifier
private final int
i
effectDurationTicks
field_12726
duration
private final byte
j
flags
field_12728
flags

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(wa arg0)
write(RegistryFriendlyByteBuf arg0)
method_55954(class_9129 arg0)
write(RegistryByteBuf buf)
public PacketType<ClientboundUpdateMobEffectPacket>
a()
type()
method_65080()
getPacketType()
public void
a(abl arg0)
handle(ClientGamePacketListener arg0)
method_11948(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
b()
getEntityId()
method_11943()
getEntityId()
public Holder<MobEffect>
e()
getEffect()
method_11946()
getEffectId()
public int
f()
getEffectAmplifier()
method_11945()
getAmplifier()
public int
g()
getEffectDurationTicks()
method_11944()
getDuration()
public boolean
h()
isEffectVisible()
method_11949()
shouldShowParticles()
public boolean
i()
isEffectAmbient()
method_11950()
isAmbient()
public boolean
j()
effectShowsIcon()
method_11942()
shouldShowIcon()
public boolean
k()
shouldBlend()
method_55629()
keepFading()