Class ClientboundUpdateMobEffectPacket

java.lang.Object
net.minecraft.network.protocol.game.ClientboundUpdateMobEffectPacket
All Implemented Interfaces:
Packet<ClientGamePacketListener>

public class ClientboundUpdateMobEffectPacket extends Object implements Packet<ClientGamePacketListener>
  • Field Details

    • FLAG_AMBIENT

      private static final int FLAG_AMBIENT
      See Also:
    • FLAG_VISIBLE

      private static final int FLAG_VISIBLE
      See Also:
    • FLAG_SHOW_ICON

      private static final int FLAG_SHOW_ICON
      See Also:
    • entityId

      private final int entityId
    • effect

      private final MobEffect effect
    • effectAmplifier

      private final byte effectAmplifier
    • effectDurationTicks

      private final int effectDurationTicks
    • flags

      private final byte flags
    • factorData

      @Nullable private final MobEffectInstance.FactorData factorData
  • Constructor Details

    • ClientboundUpdateMobEffectPacket

      public ClientboundUpdateMobEffectPacket(int p_133611_, MobEffectInstance p_133612_)
    • ClientboundUpdateMobEffectPacket

      public ClientboundUpdateMobEffectPacket(FriendlyByteBuf p_179466_)
  • Method Details