Class WrapperPlayServerSetTitlesAnimation

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerSetTitlesAnimation

public class WrapperPlayServerSetTitlesAnimation extends AbstractPacket
  • Field Details

    • TYPE

      public static final com.comphenix.protocol.PacketType TYPE
      The packet type that is wrapped by this wrapper.
  • Constructor Details

    • WrapperPlayServerSetTitlesAnimation

      public WrapperPlayServerSetTitlesAnimation()
      Constructs a new wrapper and initialize it with a packet handle with default values
    • WrapperPlayServerSetTitlesAnimation

      public WrapperPlayServerSetTitlesAnimation(com.comphenix.protocol.events.PacketContainer packet)
      Constructors a new wrapper for the specified packet
      Parameters:
      packet - the packet to wrap
  • Method Details

    • getFadeIn

      public int getFadeIn()
      Retrieves the number of ticks the title is faded in
      Returns:
      'fadeIn'
    • setFadeIn

      public void setFadeIn(int value)
      Sets the number of ticks the title is faded in
      Parameters:
      value - New value for field 'fadeIn'
    • getStay

      public int getStay()
      Retrieves the number of ticks the title stays on screen
      Returns:
      'stay'
    • setStay

      public void setStay(int value)
      Sets the number of ticks the title stays on screen
      Parameters:
      value - New value for field 'stay'
    • getFadeOut

      public int getFadeOut()
      Retrieves the number of ticks to fade out the title
      Returns:
      'fadeOut'
    • setFadeOut

      public void setFadeOut(int value)
      Sets the number of ticks to fade out the title
      Parameters:
      value - New value for field 'fadeOut'