📃
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
  • getEntityID(): int
  • getX(): int
  • getY(): int
  • getZ(): int
  • getSpeedX(): int
  • getSpeedY(): int
  • getSpeedZ(): int
  • getPitch(): int
  • getYaw(): int
  • getType(): int
  • setX(int var1)
  • setY(int var1)
  • setZ(int var1)
  • setSpeedX(int var1)
  • setSpeedY(int var1)
  • setSpeedZ(int var1)
  1. Objects
  2. Minecraft
  3. Packets
  4. ServerPacket

S0EPacketSpawnObject

Last updated 1 year ago

getEntityID(): int

Returns the entity ID of the spawned object. This is an integer value uniquely identifying the object entity in the game world. You can use to get the Entity object from this ID.

getX(): int

Returns the X-coordinate where the object is spawned. This is an integer value representing the object's horizontal position along the X-axis.

getY(): int

Returns the Y-coordinate where the object is spawned. This is an integer value representing the object's vertical position along the Y-axis.

getZ(): int

Returns the Z-coordinate where the object is spawned. This is an integer value representing the object's horizontal position along the Z-axis.

getSpeedX(): int

Retrieves the X-axis speed of the spawned object. This is an integer value indicating the object's horizontal velocity along the X-axis.

getSpeedY(): int

Retrieves the Y-axis speed of the spawned object. This is an integer value indicating the object's vertical velocity along the Y-axis.

getSpeedZ(): int

Retrieves the Z-axis speed of the spawned object. This is an integer value indicating the object's horizontal velocity along the Z-axis.

getPitch(): int

Returns the pitch (vertical rotation) of the object. This is an integer value representing the vertical orientation of the object.

getYaw(): int

Returns the yaw (horizontal rotation) of the object. This is an integer value representing the direction the object is facing.

getType(): int

Retrieves the type of the object spawned. This is an integer value representing the specific type of object.

setX(int var1)

Sets the X-coordinate for the spawned object. var1 is an integer value for the new X-coordinate.

setY(int var1)

Sets the Y-coordinate for the spawned object. var1 is an integer value for the new Y-coordinate.

setZ(int var1)

Sets the Z-coordinate for the spawned object. var1 is an integer value for the new Z-coordinate.

setSpeedX(int var1)

Sets the X-axis speed for the spawned object. var1 is an integer value for the new X-axis speed.

setSpeedY(int var1)

Sets the Y-axis speed for the spawned object. var1 is an integer value for the new Y-axis speed.

setSpeedZ(int var1)

Sets the Z-axis speed for the spawned object. var1 is an integer value for the new Z-axis speed.

world.getEntityByID()