📃
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
  • getX(): double
  • getY(): double
  • getZ(): double
  • getMotionX(): double
  • getMotionY(): double
  • getMotionZ(): double
  • getMotionX(double motionX): void
  • setMotionY(double motionY): void
  • setMotionZ(double motionZ): void
  • getStrength(): float
  • getAffectedBlockPositions(): BlockPos[]
  1. Objects
  2. Minecraft
  3. Packets
  4. ServerPacket

S27PacketExplosion

getX(): double

Returns the X-coordinate of the explosion's center. This is a double value representing the horizontal position along the X-axis where the explosion occurred.

getY(): double

Returns the Y-coordinate of the explosion's center. This is a double value representing the vertical position along the Y-axis where the explosion occurred.

getZ(): double

Returns the Z-coordinate of the explosion's center. This is a double value representing the horizontal position along the Z-axis where the explosion occurred.

getMotionX(): double

Retrieves the X-axis motion imparted by the explosion. This is a double value indicating the horizontal movement effect along the X-axis caused by the explosion.

getMotionY(): double

Retrieves the Y-axis motion imparted by the explosion. This is a double value indicating the vertical movement effect along the Y-axis caused by the explosion.

getMotionZ(): double

Retrieves the Z-axis motion imparted by the explosion. This is a double value indicating the horizontal movement effect along the Z-axis caused by the explosion.

getMotionX(double motionX): void

setMotionY(double motionY): void

setMotionZ(double motionZ): void

getStrength(): float

Returns the strength of the explosion. This is a float value representing the intensity or magnitude of the explosion.

Provides an array of BlockPos objects representing the positions of blocks affected by the explosion. Each element in the array is a BlockPos indicating a specific block location that was impacted by the explosion.

Last updated 9 months ago

getAffectedBlockPositions(): []

BlockPos