Class WrapperPlayServerAbilities

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

public class WrapperPlayServerAbilities extends AbstractPacket
  • Field Details

    • TYPE

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

    • WrapperPlayServerAbilities

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

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

    • getInvulnerable

      public boolean getInvulnerable()
      Retrieves the value of field 'invulnerable'
      Returns:
      'invulnerable'
    • setInvulnerable

      public void setInvulnerable(boolean value)
      Sets the value of field 'invulnerable'
      Parameters:
      value - New value for field 'invulnerable'
    • getIsFlying

      public boolean getIsFlying()
      Retrieves the value of field 'isFlying'
      Returns:
      'isFlying'
    • setIsFlying

      public void setIsFlying(boolean value)
      Sets the value of field 'isFlying'
      Parameters:
      value - New value for field 'isFlying'
    • getCanFly

      public boolean getCanFly()
      Retrieves the value of field 'canFly'
      Returns:
      'canFly'
    • setCanFly

      public void setCanFly(boolean value)
      Sets the value of field 'canFly'
      Parameters:
      value - New value for field 'canFly'
    • getInstabuild

      public boolean getInstabuild()
      Retrieves the value of field 'instabuild'
      Returns:
      'instabuild'
    • setInstabuild

      public void setInstabuild(boolean value)
      Sets the value of field 'instabuild'
      Parameters:
      value - New value for field 'instabuild'
    • getFlyingSpeed

      public float getFlyingSpeed()
      Retrieves the value of field 'flyingSpeed'
      Returns:
      'flyingSpeed'
    • setFlyingSpeed

      public void setFlyingSpeed(float value)
      Sets the value of field 'flyingSpeed'
      Parameters:
      value - New value for field 'flyingSpeed'
    • getWalkingSpeed

      public float getWalkingSpeed()
      Retrieves the value of field 'walkingSpeed'
      Returns:
      'walkingSpeed'
    • setWalkingSpeed

      public void setWalkingSpeed(float value)
      Sets the value of field 'walkingSpeed'
      Parameters:
      value - New value for field 'walkingSpeed'