📃
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 AxisAlignedBB(double minX, double minY, double minZ, double maxX, double maxY, double maxZ)
  • getMin(): Vec3
  • getMax(): Vec3
  • getMinX(): double
  • getMinY(): double
  • getMinZ(): double
  • getMaxX(): double
  • getMaxY(): double
  • getMaxZ(): double
  • getAverageEdgeLength(): double
  • expand(double x, double y, double z): AxisAlignedBB
  • intersectsWith(AxisAlignedBB other): boolean
  • isVecInside(Vec3 vec): boolean
  1. Objects
  2. Minecraft
  3. Util

AxisAlingenedBB

A axis alingened bounding box

Last updated 1 year ago

new AxisAlignedBB(double minX, double minY, double minZ, double maxX, double maxY, double maxZ)

Creates a new AxisAlignedBB object with specified minimum and maximum coordinates. This constructor initializes an axis-aligned bounding box with the provided coordinates.

getMin():

Returns the minimum point of the bounding box as a Vec3 object.

getMax():

Returns the maximum point of the bounding box as a Vec3 object.

getMinX(): double

Retrieves the minimum X-coordinate of the bounding box.

getMinY(): double

Retrieves the minimum Y-coordinate of the bounding box.

getMinZ(): double

Retrieves the minimum Z-coordinate of the bounding box.

getMaxX(): double

Retrieves the maximum X-coordinate of the bounding box.

getMaxY(): double

Retrieves the maximum Y-coordinate of the bounding box.

getMaxZ(): double

Retrieves the maximum Z-coordinate of the bounding box.

getAverageEdgeLength(): double

Returns the average length of the edges of the bounding box.

expand(double x, double y, double z): AxisAlignedBB

Expands the bounding box in the specified direction by the given amounts. Returns a new AxisAlignedBB representing the expanded bounding box.

intersectsWith(AxisAlignedBB other): boolean

Determines if this bounding box intersects with another specified AxisAlignedBB. Returns true if they intersect, false otherwise.

Checks if a vector represented by Vec3Wrapper is inside the bounding box. Returns true if the vector is inside, false otherwise.

isVecInside( vec): boolean

Vec3
Vec3
Vec3