📃
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
  • getPosition(): Vec3
  • getLastX(): double
  • getLastY(): double
  • getLastZ(): double
  • getLastPosition(): Vec3
  • getMotionX(): double
  • getMotionY(): double
  • getMotionZ(): double
  • getYaw(): double
  • getPitch(): double
  • getLastYaw(): double
  • getLastPitch(): double
  • getTicksExisted(): int
  • getEntityId(): int
  • getBoundingBox(): AxisAlingenedBB
  • getDisplayName(): String
  • getDistanceToEntity(Entity entity): double
  • getDistanceToPos(double x, double y, double z): double
  • getDistanceToPos(Vec3 position): double
  1. Objects
  2. Minecraft

Entity

This page will document the Entity object

Last updated 11 months ago

getX(): double

Returns the X position of the entity

getY(): double

Returns the Y position of the entity

getZ(): double

Returns the Z position of the entity

getPosition():

Returns a Vec3 of the entity's position

getLastX(): double

Returns the X position of the entity in the last tick

getLastY(): double

Returns the Y position of the entity in the last tick

getLastZ(): double

Returns the Z position of the entity in the last tick

Returns a Vec3 of the entity's position in the last tick

getMotionX(): double

Returns the motionX of the entity

getMotionY(): double

Returns the motionY of the entity

getMotionZ(): double

Returns the motionZ of the entity

getYaw(): double

Returns the yaw rotation of the entity

getPitch(): double

Returns the pitch rotation of the entity

getLastYaw(): double

Returns the yaw rotation of the entity in the last tick

getLastPitch(): double

Returns the pitch rotation of the entity in the last tick

getTicksExisted(): int

Returns the amount of ticks this entity has existed for

getEntityId(): int

Returns the ID of this entity

Returns the bounding box of a entity as AxisAlingenedBB

getDisplayName(): String

Returns the unformatted display name of this name

Returns the distance from this entity's position to the given entity's position

getDistanceToPos(double x, double y, double z): double

Returns the distance to the given position

Returns the distance to the given position

getLastPosition():

getBoundingBox():

getDistanceToEntity( entity): double

getDistanceToPos( position): double

Vec3
Vec3
AxisAlingenedBB
Entity
Vec3