Class WrapperPlayServerPlayerAbilities

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

public class WrapperPlayServerPlayerAbilities extends PacketWrapper<WrapperPlayServerPlayerAbilities>
  • Constructor Details

    • WrapperPlayServerPlayerAbilities

      public WrapperPlayServerPlayerAbilities(PacketSendEvent event)
    • WrapperPlayServerPlayerAbilities

      public WrapperPlayServerPlayerAbilities(boolean godMode, boolean flying, boolean flightAllowed, boolean creativeMode, float flySpeed, float fovModifier)
  • Method Details

    • read

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

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

      public void copy(WrapperPlayServerPlayerAbilities wrapper)
      Overrides:
      copy in class PacketWrapper<WrapperPlayServerPlayerAbilities>
    • isInGodMode

      public boolean isInGodMode()
    • setInGodMode

      public void setInGodMode(boolean godMode)
    • isFlying

      public boolean isFlying()
    • setFlying

      public void setFlying(boolean flying)
    • isFlightAllowed

      public boolean isFlightAllowed()
    • setFlightAllowed

      public void setFlightAllowed(boolean flightAllowed)
    • isInCreativeMode

      public boolean isInCreativeMode()
    • setInCreativeMode

      public void setInCreativeMode(boolean creativeMode)
    • getFlySpeed

      public float getFlySpeed()
    • setFlySpeed

      public void setFlySpeed(float flySpeed)
    • getFOVModifier

      public float getFOVModifier()
    • setFOVModifier

      public void setFOVModifier(float fovModifier)