📃
Scripting
  • Introduction
  • Creating a script
  • Dummy API
  • Namespaces
    • breeze
    • mc
    • inventory
    • mathUtil
    • playerController
    • UIRenderer
    • world
    • render3D
    • gameSettings
  • Objects
    • Breeze
      • Settings
        • BooleanSetting
        • IntSetting
        • DoubleSetting
        • ModeSetting
        • ColorSetting
        • MinMaxSetting
        • StringSetting
        • KeyBindSetting
        • PositionSetting
      • Animation
      • Module
        • HudModule
        • RotationModule
    • Minecraft
      • Packets
        • ClientPacket
          • C00PacketKeepAlive
          • C01PacketChatMessage
          • C02PacketUseEntity
          • C03PacketPlayer
            • C04PacketPlayerPosition
            • C05PacketPlayerLook
            • C06PacketPlayerPosLook
          • C07PacketPlayerDigging
          • C08PacketBlockPlacement
          • C09PacketHeldItemChange
          • C0APacketAnimation
          • C0BPacketEntityAction
          • C0CPacketInput
          • C0DPacketCloseWindow
          • C0EPacketClickWindow
          • C0FPacketConfirmTransaction
          • C17PacketCustomPayload
        • ServerPacket
          • S00PacketKeepAlive
          • S01PacketJoinGame
          • S02PacketChat
          • S03PacketTimeUpdate
          • S04PacketEntityEquipment
          • S05PacketSpawnPosition
          • S06PacketUpdateHealth
          • S07PacketRespawn
          • S08PacketPlayerPosLook
          • S09PacketHeldItemChange
          • S0CPacketSpawnPlayer
          • S0DPacketCollectItem
          • S0EPacketSpawnObject
          • S0FPacketSpawnMob
          • S12PacketEntityVelocity
          • S13PacketDestroyEntities
          • S14PacketEntity
            • S15PacketEntityRelMove
            • S16PacketEntityLook
            • S17PacketEntityLookMove
          • S18PacketEntityTeleport
          • S19PacketEntityHeadLook
          • S19PacketEntityStatus
          • S27PacketExplosion
          • S2APacketParticles
          • S2CPacketSpawnGlobalEntity
          • S2DPacketOpenWindow
          • S2EPacketCloseWindow
          • S2FPacketSetSlot
          • S3FPacketCustomPayload
      • Util
        • Vec3
        • AxisAlingenedBB
        • RaytraceResult
        • ItemStack
        • BlockPos
      • Entity
        • LivingEntity
          • EntityPlayerSP
    • Util
      • Timer
      • KeyBind
      • Color
      • Rotation
  • Events
    • Packet send event
    • Packet receive event
    • Pre motion event
    • Motion event
    • Post motion event
    • Input event
    • Render2D event
    • Render3D event
    • Tick event
    • Render Entity event
    • World change event
    • Join server event
  • Examples
    • AntiAim
    • CPS Counter
    • Chat Spammer
    • Blink
    • Auto Sprint
  • EnumFacing
Powered by GitBook
On this page

new C03PacketPlayer(boolean onGround)

Constructs a new C03PacketPlayer object with the specified onGround status. onGround is a boolean indicating whether the player is on the ground.

getPositionX(): double

Returns the player's X-coordinate position.

getPositionY(): double

Returns the player's Y-coordinate position.

getPositionZ(): double

Returns the player's Z-coordinate position.

getYaw(): double

Retrieves the player's yaw, which is the horizontal rotation angle.

getPitch(): double

Retrieves the player's pitch, which is the vertical rotation angle.

isOnGround(): boolean

Determines whether the player is on the ground.

isMoving(): boolean

Checks if the player is currently moving.

getRotating(): boolean

Determines whether the player is rotating.

setOnGround(boolean onGround): void

Sets the packet's onGround status.

setPosition(double x, double y, double z): void

Sets the x, y and z for this packet.

setRotation(float yaw, float pitch): void

Sets the yaw and pitch for this packet.

Last updated 9 months ago

If the packet is not an instance of or setting the position of the packet will not do anything.

If the packet is not an instance of or setting the rotations of the packet will not do anything.

  1. Objects
  2. Minecraft
  3. Packets
  4. ClientPacket

C03PacketPlayer

  • new C03PacketPlayer(boolean onGround)
  • getPositionX(): double
  • getPositionY(): double
  • getPositionZ(): double
  • getYaw(): double
  • getPitch(): double
  • isOnGround(): boolean
  • isMoving(): boolean
  • getRotating(): boolean
  • setOnGround(boolean onGround): void
  • setPosition(double x, double y, double z): void
  • setRotation(float yaw, float pitch): void
C04PacketPlayerPosition
C06PacketPlayerPosLook
C05PacketPlayerLook
C06PacketPlayerPosLook