Class WrapperPlayClientBeacon

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientBeacon

public class WrapperPlayClientBeacon extends AbstractPacket
  • Field Details

    • TYPE

      public static final com.comphenix.protocol.PacketType TYPE
  • Constructor Details

    • WrapperPlayClientBeacon

      public WrapperPlayClientBeacon()
    • WrapperPlayClientBeacon

      public WrapperPlayClientBeacon(com.comphenix.protocol.events.PacketContainer packet)
  • Method Details

    • getPrimary

      public Optional<org.bukkit.potion.PotionEffect> getPrimary()
      /* Retrieves the value of field 'primary' /* @return 'primary'
    • setPrimary

      public void setPrimary(@Nullable org.bukkit.potion.PotionEffect value)
      Sets the value of field 'primary'
      Parameters:
      value - New value for field 'primary'
    • getSecondary

      public Optional<org.bukkit.potion.PotionEffect> getSecondary()
      Retrieves the value of field 'secondary'
      Returns:
      'secondary'
    • setSecondary

      public void setSecondary(@Nullable org.bukkit.potion.PotionEffect value)
      Sets the value of field 'secondary'
      Parameters:
      value - New value for field 'secondary'