📃
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
  • filledBox(Entity entity, Color color): void
  • outlineBox(Entity entity, float thickness, Color color): void
  • rectangle(float x, float y, float width, float height, Color color): void
  • rectangleBorder(float x, float y, float width, float height, float thickness, Color color): void
  • roundedRectangle(float x, float y, float width, float height, float radius, Color color): void
  • roundedRectangleBorder(float x, float y, float width, float height, float radius, float thickness, Color color): void
  • circle(float centerX, float centerY, float radius, Color color): void
  • circleBorder(float centerX, float centerY, float radius, float thickness, Color color): void
  • remoteTexture(String url, float x, float y, float width, float height, float scale, float radius, Color color): void
  • text(String text, float x, float y, Color color): void
  • textWidth(String text): float
  • textWidth(String text, float size): float
  • text(String text, float x, float y, Color color, float size): void
  • scissor(float x, float, y, float width, float height, Function function): void
  1. Namespaces

UIRenderer

This page will go over the `UIRenderer` namespace

Last updated 1 year ago

These functions are all meant to be used for rendering HUD components in a 2D situation. We do not recommend calling these when rendering in 3D.

filledBox(Entity entity, color): void

Draws a filled box around an entity, with the given color.

outlineBox(Entity entity, float thickness, color): void

Draws an outline box around an entity, with the given color.

rectangle(float x, float y, float width, float height, color): void

Draws a rectangle at the given coordinates.

rectangleBorder(float x, float y, float width, float height, float thickness, color): void

Draws a rectangle border at the given coodinates.

roundedRectangle(float x, float y, float width, float height, float radius, color): void

Draws a rounded rectangle with the given radius at the given coordinates

roundedRectangleBorder(float x, float y, float width, float height, float radius, float thickness, color): void

Draws a rounded rectangle border with the given radius and thickness at the given coordinates.

Draws a circle around the given coordinates, with the given radius.

Draws a circle border around the given coordinates, with the given radius and thickness.

Draws a texture fetched from a URL at the given coordinates with the given scale and radius.

Draws the given text at the given coordinates.

textWidth(String text): float

Returns the text width of the given text.

textWidth(String text, float size): float

Returns the text width of the given text with the given size.

Draws the given text at the given coordinates with the given size.

scissor(float x, float, y, float width, float height, Function function): void

Creates a scissor box using our advanced scissor stack, any pixels drawn inside of the provided function will only be rendered on to the screen if they fit within the provided box.

Stacking scissor boxes is possible in breeze.

circle(float centerX, float centerY, float radius, color): void

circleBorder(float centerX, float centerY, float radius, float thickness, color): void

remoteTexture(String url, float x, float y, float width, float height, float scale, float radius, color): void

text(String text, float x, float y, color): void

text(String text, float x, float y, color, float size): void

Color
Color
Color
Color
Color
Color
Color
Color
Color
Color
Color