Class WrapperPlayServerEntityEffect

java.lang.Object
com.github.retrooper.packetevents.wrapper.PacketWrapper<WrapperPlayServerEntityEffect>
com.github.retrooper.packetevents.wrapper.play.server.WrapperPlayServerEntityEffect

public class WrapperPlayServerEntityEffect extends PacketWrapper<WrapperPlayServerEntityEffect>
  • Constructor Details

    • WrapperPlayServerEntityEffect

      public WrapperPlayServerEntityEffect(PacketSendEvent event)
    • WrapperPlayServerEntityEffect

      public WrapperPlayServerEntityEffect(int entityID, PotionType potionType, int amplifier, int duration, byte flags)
  • Method Details

    • read

      public void read()
      Overrides:
      read in class PacketWrapper<WrapperPlayServerEntityEffect>
    • write

      public void write()
      Overrides:
      write in class PacketWrapper<WrapperPlayServerEntityEffect>
    • copy

      public void copy(WrapperPlayServerEntityEffect wrapper)
      Overrides:
      copy in class PacketWrapper<WrapperPlayServerEntityEffect>
    • getPotionType

      public PotionType getPotionType()
    • setPotionType

      public void setPotionType(PotionType potionType)
    • getEntityId

      public int getEntityId()
    • setEntityId

      public void setEntityId(int entityID)
    • getEffectAmplifier

      public int getEffectAmplifier()
    • setEffectAmplifier

      public void setEffectAmplifier(int effectAmplifier)
    • getEffectDurationTicks

      public int getEffectDurationTicks()
    • setEffectDurationTicks

      public void setEffectDurationTicks(int effectDurationTicks)
    • getFactorData

      @Nullable public @Nullable NBTCompound getFactorData()
    • setFactorData

      public void setFactorData(@Nullable @Nullable NBTCompound factorData)
    • isAmbient

      public boolean isAmbient()
    • setAmbient

      public void setAmbient(boolean isAmbient)
    • isVisible

      public boolean isVisible()
    • setVisible

      public void setVisible(boolean isVisible)
    • isShowIcon

      public boolean isShowIcon()
    • setShowIcon

      public void setShowIcon(boolean showIcon)