Class WrapperPlayClientPlayerFlying

java.lang.Object
com.github.retrooper.packetevents.wrapper.PacketWrapper<WrapperPlayClientPlayerFlying>
com.github.retrooper.packetevents.wrapper.play.client.WrapperPlayClientPlayerFlying
Direct Known Subclasses:
WrapperPlayClientPlayerPosition, WrapperPlayClientPlayerPositionAndRotation, WrapperPlayClientPlayerRotation

public class WrapperPlayClientPlayerFlying extends PacketWrapper<WrapperPlayClientPlayerFlying>
  • Constructor Details

    • WrapperPlayClientPlayerFlying

      public WrapperPlayClientPlayerFlying(PacketReceiveEvent event)
    • WrapperPlayClientPlayerFlying

      public WrapperPlayClientPlayerFlying(boolean positionChanged, boolean rotationChanged, boolean onGround, Location location)
    • WrapperPlayClientPlayerFlying

      public WrapperPlayClientPlayerFlying(boolean positionChanged, boolean rotationChanged, boolean onGround, boolean horizontalCollision, Location location)
  • Method Details

    • isFlying

      public static boolean isFlying(PacketTypeCommon type)
    • read

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

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

      public void copy(WrapperPlayClientPlayerFlying wrapper)
      Overrides:
      copy in class PacketWrapper<WrapperPlayClientPlayerFlying>
    • getLocation

      public Location getLocation()
    • setLocation

      public void setLocation(Location location)
    • hasPositionChanged

      public boolean hasPositionChanged()
    • setPositionChanged

      public void setPositionChanged(boolean positionChanged)
    • hasRotationChanged

      public boolean hasRotationChanged()
    • setRotationChanged

      public void setRotationChanged(boolean rotationChanged)
    • isOnGround

      public boolean isOnGround()
    • setOnGround

      public void setOnGround(boolean onGround)
    • isHorizontalCollision

      public boolean isHorizontalCollision()
    • setHorizontalCollision

      public void setHorizontalCollision(boolean horizontalCollision)