# Table of Contents - [Introduction | Scripting](#introduction-scripting) - [VSCode Extension | Scripting](#vscode-extension-scripting) - [Defining Settings | Scripting](#defining-settings-scripting) - [Event Listeners | Scripting](#event-listeners-scripting) - [Unknown](#unknown) - [Getting Started | Scripting](#getting-started-scripting) - [Unknown](#unknown) - [Unknown](#unknown) - [Rotation Manager | Scripting](#rotation-manager-scripting) - [Unknown](#unknown) - [Spoof Manager | Scripting](#spoof-manager-scripting) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [HUD Scripting | Scripting](#hud-scripting-scripting) - [event | Scripting](#event-scripting) - [breeze | Scripting](#breeze-scripting) - [spoof | Scripting](#spoof-scripting) - [util | Scripting](#util-scripting) - [Color | Scripting](#color-scripting) - [DelayedPacket | Scripting](#delayedpacket-scripting) - [CancellableEvent | Scripting](#cancellableevent-scripting) - [settings | Scripting](#settings-scripting) - [SubGroup | Scripting](#subgroup-scripting) - [HitType | Scripting](#hittype-scripting) - [EntityAction | Scripting](#entityaction-scripting) - [net | Scripting](#net-scripting) - [DiggingAction | Scripting](#diggingaction-scripting) - [EnumFacing | Scripting](#enumfacing-scripting) - [hudManager.onHeight | Scripting](#hudmanager-onheight-scripting) - [math.interpolateLastTickPos | Scripting](#math-interpolatelasttickpos-scripting) - [PingSpoof | Scripting](#pingspoof-scripting) - [Module | Scripting](#module-scripting) - [script.allowHold | Scripting](#script-allowhold-scripting) - [hudManager.onBackground | Scripting](#hudmanager-onbackground-scripting) - [hudManager.onWidth | Scripting](#hudmanager-onwidth-scripting) - [RoundedRect | Scripting](#roundedrect-scripting) - [formatting.YELLOW | Scripting](#formatting-yellow-scripting) - [hudManager.onRender | Scripting](#hudmanager-onrender-scripting) - [hudRenderer.drawSVGWithEffect | Scripting](#hudrenderer-drawsvgwitheffect-scripting) - [Setting | Scripting](#setting-scripting) - [DoubleSetting | Scripting](#doublesetting-scripting) - [ModeSetting | Scripting](#modesetting-scripting) - [BooleanSetting | Scripting](#booleansetting-scripting) - [math.clamp | Scripting](#math-clamp-scripting) - [rotationManager.rotate | Scripting](#rotationmanager-rotate-scripting) - [rotationManager.onRotate | Scripting](#rotationmanager-onrotate-scripting) - [spoofManager.onUpdate | Scripting](#spoofmanager-onupdate-scripting) - [script.addListener | Scripting](#script-addlistener-scripting) - [QuickMine | Scripting](#quickmine-scripting) - [PacketDirection | Scripting](#packetdirection-scripting) - [SpoofAction | Scripting](#spoofaction-scripting) - [UseEntityAction | Scripting](#useentityaction-scripting) - [hudRenderer.drawCircle | Scripting](#hudrenderer-drawcircle-scripting) - [spoofManager.sendPacket | Scripting](#spoofmanager-sendpacket-scripting) - [mc.pointedEntity | Scripting](#mc-pointedentity-scripting) - [spoofManager.onPacketSend | Scripting](#spoofmanager-onpacketsend-scripting) - [hudRenderer.drawRect | Scripting](#hudrenderer-drawrect-scripting) - [hudRenderer.drawTextureGradient | Scripting](#hudrenderer-drawtexturegradient-scripting) - [RangeSetting | Scripting](#rangesetting-scripting) - [hudRenderer.drawTexture | Scripting](#hudrenderer-drawtexture-scripting) - [Enum_Types | Scripting](#enum-types-scripting) - [hudRenderer.drawItemStack | Scripting](#hudrenderer-drawitemstack-scripting) - [hudRenderer.drawRectGradient | Scripting](#hudrenderer-drawrectgradient-scripting) - [hudRenderer.drawString | Scripting](#hudrenderer-drawstring-scripting) - [hudRenderer.drawRectGlow | Scripting](#hudrenderer-drawrectglow-scripting) - [hudRenderer.drawRing | Scripting](#hudrenderer-drawring-scripting) - [renderer.boundingESPBoxFilled | Scripting](#renderer-boundingespboxfilled-scripting) - [spoofManager.onPacketReceive | Scripting](#spoofmanager-onpacketreceive-scripting) - [renderer.boundingESPBox | Scripting](#renderer-boundingespbox-scripting) - [math.findBestVisiblePoint | Scripting](#math-findbestvisiblepoint-scripting) - [math.interpolateEntityBB | Scripting](#math-interpolateentitybb-scripting) - [hudRenderer.drawSVG | Scripting](#hudrenderer-drawsvg-scripting) - [math.interpolateEntityPosition | Scripting](#math-interpolateentityposition-scripting) - [minecraft | Scripting](#minecraft-scripting) - [item | Scripting](#item-scripting) - [inventory | Scripting](#inventory-scripting) - [IntSetting | Scripting](#intsetting-scripting) - [Variables | Scripting](#variables-scripting) - [entity | Scripting](#entity-scripting) - [network | Scripting](#network-scripting) - [ColorSetting | Scripting](#colorsetting-scripting) - [Namespaces | Scripting](#namespaces-scripting) - [Container | Scripting](#container-scripting) - [util | Scripting](#util-scripting) - [Slot | Scripting](#slot-scripting) - [server | Scripting](#server-scripting) - [Functions | Scripting](#functions-scripting) - [renderer | Scripting](#renderer-scripting) - [PlayerInfo | Scripting](#playerinfo-scripting) - [mc.closeUI | Scripting](#mc-closeui-scripting) - [mc.getScreenHeight | Scripting](#mc-getscreenheight-scripting) - [breeze.version | Scripting](#breeze-version-scripting) - [breeze.getUsername | Scripting](#breeze-getusername-scripting) - [hudManager.scale | Scripting](#hudmanager-scale-scripting) - [breeze.getRole | Scripting](#breeze-getrole-scripting) - [script.getName | Scripting](#script-getname-scripting) - [script.enabled | Scripting](#script-enabled-scripting) - [spoofManager.flushAll | Scripting](#spoofmanager-flushall-scripting) - [time.getTimeNS | Scripting](#time-gettimens-scripting) - [spoofManager.flushOutgoing | Scripting](#spoofmanager-flushoutgoing-scripting) - [time.getTimeMS | Scripting](#time-gettimems-scripting) - [formatting.BLUE | Scripting](#formatting-blue-scripting) - [breeze.versionFull | Scripting](#breeze-versionfull-scripting) - [formatting.AQUA | Scripting](#formatting-aqua-scripting) - [formatting.LIGHT PURPLE | Scripting](#formatting-light-purple-scripting) - [formatting.GRAY | Scripting](#formatting-gray-scripting) - [formatting.RED | Scripting](#formatting-red-scripting) - [formatting.DARK BLUE | Scripting](#formatting-dark-blue-scripting) - [formatting.SECONDARY | Scripting](#formatting-secondary-scripting) - [hudManager.x | Scripting](#hudmanager-x-scripting) - [hudManager.y | Scripting](#hudmanager-y-scripting) - [mc.clickMouse | Scripting](#mc-clickmouse-scripting) - [mc.getScreenWidth | Scripting](#mc-getscreenwidth-scripting) - [mc.serverIP | Scripting](#mc-serverip-scripting) - [mc.rightClickMouse | Scripting](#mc-rightclickmouse-scripting) - [script.disable | Scripting](#script-disable-scripting) - [script.onDisable | Scripting](#script-ondisable-scripting) - [formatting.DARK AQUA | Scripting](#formatting-dark-aqua-scripting) - [breeze.mcVersion | Scripting](#breeze-mcversion-scripting) - [formatting.GLOW | Scripting](#formatting-glow-scripting) - [formatting.DARK GRAY | Scripting](#formatting-dark-gray-scripting) - [formatting.DARK GREEN | Scripting](#formatting-dark-green-scripting) - [formatting.WHITE | Scripting](#formatting-white-scripting) - [formatting.GOLD | Scripting](#formatting-gold-scripting) - [mc.leftClickCounter | Scripting](#mc-leftclickcounter-scripting) - [formatting.ACCENT | Scripting](#formatting-accent-scripting) - [mc.timerSpeed | Scripting](#mc-timerspeed-scripting) - [hudRenderer.drawCircleWithEffect | Scripting](#hudrenderer-drawcirclewitheffect-scripting) - [hudRenderer.drawRectWithEffect | Scripting](#hudrenderer-drawrectwitheffect-scripting) - [hudManager.fontHeight | Scripting](#hudmanager-fontheight-scripting) - [rotationManager.setPriority | Scripting](#rotationmanager-setpriority-scripting) - [gui | Scripting](#gui-scripting) - [settings | Scripting](#settings-scripting) - [entity | Scripting](#entity-scripting) - [client | Scripting](#client-scripting) - [breeze.getModules | Scripting](#breeze-getmodules-scripting) - [breeze.getRoleColor | Scripting](#breeze-getrolecolor-scripting) - [ItemStack | Scripting](#itemstack-scripting) - [time | Scripting](#time-scripting) - [AxisAlignedBB | Scripting](#axisalignedbb-scripting) - [rotationManager.onUpdateNoRotate | Scripting](#rotationmanager-onupdatenorotate-scripting) - [hudRenderer.stringWidth | Scripting](#hudrenderer-stringwidth-scripting) - [mc.chatMessage | Scripting](#mc-chatmessage-scripting) - [spoofManager.flushIncoming | Scripting](#spoofmanager-flushincoming-scripting) - [time.getTimeSeconds | Scripting](#time-gettimeseconds-scripting) - [formatting.DARK PURPLE | Scripting](#formatting-dark-purple-scripting) - [formatting.RESET | Scripting](#formatting-reset-scripting) - [formatting.PRIMARY | Scripting](#formatting-primary-scripting) - [formatting.BLACK | Scripting](#formatting-black-scripting) - [mc.rightClickDelayTimer | Scripting](#mc-rightclickdelaytimer-scripting) - [breeze.versionSimple | Scripting](#breeze-versionsimple-scripting) - [formatting.TERTIARY | Scripting](#formatting-tertiary-scripting) - [mc.gameSettings | Scripting](#mc-gamesettings-scripting) - [script.onEnable | Scripting](#script-onenable-scripting) - [script.metadata | Scripting](#script-metadata-scripting) - [spoofManager.setPriority | Scripting](#spoofmanager-setpriority-scripting) - [formatting.GREEN | Scripting](#formatting-green-scripting) - [rotationManager.getSpoofedPitch | Scripting](#rotationmanager-getspoofedpitch-scripting) - [formatting.DARK RED | Scripting](#formatting-dark-red-scripting) - [rotationManager.getSpoofedYaw | Scripting](#rotationmanager-getspoofedyaw-scripting) - [mc.currentScreen | Scripting](#mc-currentscreen-scripting) - [mc.player | Scripting](#mc-player-scripting) - [script.allowBind | Scripting](#script-allowbind-scripting) - [script.description | Scripting](#script-description-scripting) - [Vec3 | Scripting](#vec3-scripting) - [RaytraceResult | Scripting](#raytraceresult-scripting) - [breeze.getModule | Scripting](#breeze-getmodule-scripting) - [mc.world | Scripting](#mc-world-scripting) - [mc.playerController | Scripting](#mc-playercontroller-scripting) - [mc.objectMouseOver | Scripting](#mc-objectmouseover-scripting) - [script.log | Scripting](#script-log-scripting) - [spoofManager.release | Scripting](#spoofmanager-release-scripting) - [BlockPos | Scripting](#blockpos-scripting) - [Packet | Scripting](#packet-scripting) - [client | Scripting](#client-scripting) - [math.getCenter | Scripting](#math-getcenter-scripting) - [Events | Scripting](#events-scripting) - [World | Scripting](#world-scripting) - [CharTypedEvent | Scripting](#chartypedevent-scripting) - [PostMotionEvent | Scripting](#postmotionevent-scripting) - [Render3DEvent | Scripting](#render3devent-scripting) - [RunGameLoopEvent | Scripting](#rungameloopevent-scripting) - [rotationManager | Scripting](#rotationmanager-scripting) - [Render2DEvent | Scripting](#render2devent-scripting) - [math | Scripting](#math-scripting) - [AngleUpdateEvent | Scripting](#angleupdateevent-scripting) - [PostAttackEvent | Scripting](#postattackevent-scripting) - [PreMotionEvent | Scripting](#premotionevent-scripting) - [WorldChangedEvent | Scripting](#worldchangedevent-scripting) - [PreTickEvent | Scripting](#pretickevent-scripting) - [hudManager | Scripting](#hudmanager-scripting) - [JumpEvent | Scripting](#jumpevent-scripting) - [KeyPressedEvent | Scripting](#keypressedevent-scripting) - [MouseClickedEvent | Scripting](#mouseclickedevent-scripting) - [RenderEntityEvent | Scripting](#renderentityevent-scripting) - [Entity | Scripting](#entity-scripting) - [RenderHandEvent | Scripting](#renderhandevent-scripting) - [PacketReceiveEvent | Scripting](#packetreceiveevent-scripting) - [PacketSendEvent | Scripting](#packetsendevent-scripting) - [PreAttackEvent | Scripting](#preattackevent-scripting) - [breeze | Scripting](#breeze-scripting) - [MotionEvent | Scripting](#motionevent-scripting) - [SpoofInputEvent | Scripting](#spoofinputevent-scripting) - [spoofManager | Scripting](#spoofmanager-scripting) - [Unknown](#unknown) - [script | Scripting](#script-scripting) - [PlayerControllerMP | Scripting](#playercontrollermp-scripting) - [hudRenderer | Scripting](#hudrenderer-scripting) - [LivingEntity | Scripting](#livingentity-scripting) - [mc | Scripting](#mc-scripting) - [formatting | Scripting](#formatting-scripting) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [breeze | Scripting](#breeze-scripting) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) - [Unknown](#unknown) --- # Introduction | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/readme.md) . Breeze uses JavaScript for scripting. If you aren't familiar with JavaScript, it's suggested that you find a tutorial to teach you the basics. Create a new script by creating a file ending in `.js` in the `breeze/1.8.9/scripting` directory. We highly recommend you get our [VSCode Extension](https://scripting.breeze.rip/vscode_extension) extension, it makes scripting with breeze a breeze. Next we recommend you look at [Getting Started](https://scripting.breeze.rip/getting_started) or some of the [Examples](https://scripting.breeze.rip/examples/pingspoof) . Last updated 24 days ago --- # VSCode Extension | Scripting ![Page cover](https://scripting.breeze.rip/~gitbook/image?url=https%3A%2F%2F3854170834-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FiOeZYpMqko1q0SgE11To%252Fuploads%252Fgit-blob-22adf566c677aa15be3ab9036e02325537da36d8%252Fscripts.png%3Falt%3Dmedia&width=1248&dpr=3&quality=100&sign=3935978c&sv=2) For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/vscode_extension.md) . For writing Breeze scripts we recommend using [Visual Studio Code.](https://code.visualstudio.com/) Our dedicated VS Code extension provides full IntelliSense for the entire Breeze API, including automatic type inference and inline documentation. You can install it directly from the Visual Studio Code Marketplace. Last updated 8 months ago --- # Defining Settings | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/defining_settings.md) . Settings allow users to configure your script's behavior directly from the client UI. All settings must be created during script initialization. ### Setting Types[](https://scripting.breeze.rip/defining_settings#setting-types) #### BooleanSetting[](https://scripting.breeze.rip/defining_settings#booleansetting) A simple toggle (on/off). Copy const enabled = new BooleanSetting(script, "Enabled", "Whether the feature is active.", true); // Reading the value if (enabled.getValue()) { // do something } #### IntSetting[](https://scripting.breeze.rip/defining_settings#intsetting) An integer value with a defined range. Copy const delay = new IntSetting(script, "Delay", "Ticks between actions.", 5, 0, 20); // With a slider step const speed = new IntSetting(script, "Speed", "Movement speed multiplier.", 10, 0, 100, 5); var value = delay.getValue(); // number #### DoubleSetting[](https://scripting.breeze.rip/defining_settings#doublesetting) A decimal value with a defined range. #### ModeSetting[](https://scripting.breeze.rip/defining_settings#modesetting) A dropdown that lets the user pick from a list of named modes. #### RangeSetting[](https://scripting.breeze.rip/defining_settings#rangesetting) A dual-handle slider representing a min/max range. ### Subgroups[](https://scripting.breeze.rip/defining_settings#subgroups) Related settings can be organized under a `SubGroup` to keep the UI tidy. > Pass the `SubGroup` instance as the first argument instead of `script`. ### Conditional Visibility[](https://scripting.breeze.rip/defining_settings#conditional-visibility) You can hide settings dynamically based on the state of other settings using `.visible()`. Last updated 3 months ago * [Setting Types](https://scripting.breeze.rip/defining_settings#setting-types) * [Subgroups](https://scripting.breeze.rip/defining_settings#subgroups) * [Conditional Visibility](https://scripting.breeze.rip/defining_settings#conditional-visibility) Copy const reach = new DoubleSetting(script, "Reach", "Attack reach in blocks.", 3.0, 1.0, 6.0); // With a slider step const factor = new DoubleSetting(script, "Factor", "Boost factor.", 1.5, 0.5, 5.0, 0.5); var value = reach.getValue(); // number Copy const mode = new ModeSetting(script, "Mode", "Which algorithm to use.", "Fast", ["Fast", "Silent", "Legit"]); if (mode.is("Fast")) { // fast path } var current = mode.getValue(); // "Fast" | "Silent" | "Legit" Copy const cps = new RangeSetting(script, "CPS", "Clicks per second range.", 8, 12, 1, 20, 1); var min = cps.getMin(); // number var max = cps.getMax(); // number var val = cps.random(); // random value within the selected range Copy const rotations = new SubGroup("Rotations"); const smoothing = new BooleanSetting(rotations, "Smooth", "Smoothly rotate to targets.", true); const rotSpeed = new DoubleSetting(rotations, "Speed", "Max degrees per tick.", 8.0, 1.0, 180.0); Copy const smooth = new BooleanSetting(script, "Smooth", "Enable smooth rotations.", true); const speed = new DoubleSetting(script, "Speed", "Rotation speed.", 8.0, 1.0, 180.0); // Only show 'speed' when 'smooth' is enabled speed.visible(() => smooth.getValue()); --- # Event Listeners | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/event_listeners.md) . Use `script.addListener` to react to game events. All listeners must be registered during script initialization. #### Basic Usage[](https://scripting.breeze.rip/event_listeners#basic-usage) Copy script.addListener("EventName", (event) => { // handle event }); [https://github.com/LoseBypass/breeze-docs/blob/main/docs/api/events/README.md](https://github.com/LoseBypass/breeze-docs/blob/main/docs/api/events/README.md) Last updated 3 months ago --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/vscode\_extension.md). # VSCode Extension For writing Breeze scripts we recommend using \[Visual Studio Code.\](https://code.visualstudio.com/)\\ Our dedicated VS Code extension provides full IntelliSense for the entire Breeze API, including automatic type inference and inline documentation.\\ You can install it directly from the Visual Studio Code Marketplace. --- # Getting Started | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/getting_started.md) . #### Creating the script file.[](https://scripting.breeze.rip/getting_started#creating-the-script-file) To start you have to create a javascript file inside of the breeze scripting folder. You can find this folder in two ways: * Pressing the icon inside of the breeze scripting tab. ![](https://scripting.breeze.rip/~gitbook/image?url=https%3A%2F%2F3854170834-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FiOeZYpMqko1q0SgE11To%252Fuploads%252Fgit-blob-060dba2f11ca9918eccc5e204de5c22e16a926ae%252Fimage.png%3Falt%3Dmedia&width=300&dpr=3&quality=100&sign=c305870a&sv=2) * Or manually manouver to the appdata folder, the same folder where [`.minecraft`](https://stickypiston.co/account/knowledgebase/130/How-do-I-find-my-Minecraft-Folder.html) is. In the folder navigate the following path to find the breeze scripting folder -> `breeze/1.8.9/scripts` In the `scripts` directory create a file with the name of your script ending with `.js`. The script name that shows up inside of breeze is defined by what you name the file! For example calling your file `PingSpoof.js` will make the script show up as **PingSpoof**.\\ ![](https://scripting.breeze.rip/~gitbook/image?url=https%3A%2F%2F3854170834-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FiOeZYpMqko1q0SgE11To%252Fuploads%252Fgit-blob-b15ef44fcd4bee85e034a9e88775d57993e70e5e%252Fimage.png%3Falt%3Dmedia&width=300&dpr=3&quality=100&sign=7aec4e96&sv=2) #### Script Description[](https://scripting.breeze.rip/getting_started#script-description) To start your script we can use the [script](https://scripting.breeze.rip/api/namespaces/script) to set the description for the script. Copy script.description = "Test description for this script"; Last updated 8 months ago --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/defining\_settings.md). # Defining Settings Settings allow users to configure your script's behavior directly from the client UI. All settings must be created during script initialization. ### Setting Types #### BooleanSetting A simple toggle (on/off). \`\`\`js const enabled = new BooleanSetting(script, "Enabled", "Whether the feature is active.", true); // Reading the value if (enabled.getValue()) { // do something } \`\`\` #### IntSetting An integer value with a defined range. \`\`\`js const delay = new IntSetting(script, "Delay", "Ticks between actions.", 5, 0, 20); // With a slider step const speed = new IntSetting(script, "Speed", "Movement speed multiplier.", 10, 0, 100, 5); var value = delay.getValue(); // number \`\`\` #### DoubleSetting A decimal value with a defined range. \`\`\`javascript const reach = new DoubleSetting(script, "Reach", "Attack reach in blocks.", 3.0, 1.0, 6.0); // With a slider step const factor = new DoubleSetting(script, "Factor", "Boost factor.", 1.5, 0.5, 5.0, 0.5); var value = reach.getValue(); // number \`\`\` #### ModeSetting A dropdown that lets the user pick from a list of named modes. \`\`\`js const mode = new ModeSetting(script, "Mode", "Which algorithm to use.", "Fast", \["Fast", "Silent", "Legit"\]); if (mode.is("Fast")) { // fast path } var current = mode.getValue(); // "Fast" | "Silent" | "Legit" \`\`\` #### RangeSetting A dual-handle slider representing a min/max range. \`\`\`js const cps = new RangeSetting(script, "CPS", "Clicks per second range.", 8, 12, 1, 20, 1); var min = cps.getMin(); // number var max = cps.getMax(); // number var val = cps.random(); // random value within the selected range \`\`\` ### Subgroups Related settings can be organized under a \`SubGroup\` to keep the UI tidy. \`\`\`js const rotations = new SubGroup("Rotations"); const smoothing = new BooleanSetting(rotations, "Smooth", "Smoothly rotate to targets.", true); const rotSpeed = new DoubleSetting(rotations, "Speed", "Max degrees per tick.", 8.0, 1.0, 180.0); \`\`\` > Pass the \`SubGroup\` instance as the first argument instead of \`script\`. ### Conditional Visibility You can hide settings dynamically based on the state of other settings using \`.visible()\`. \`\`\`js const smooth = new BooleanSetting(script, "Smooth", "Enable smooth rotations.", true); const speed = new DoubleSetting(script, "Speed", "Rotation speed.", 8.0, 1.0, 180.0); // Only show 'speed' when 'smooth' is enabled speed.visible(() => smooth.getValue()); \`\`\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/readme.md). # Introduction Breeze uses JavaScript for scripting. If you aren't familiar with JavaScript, it's suggested that you find a tutorial to teach you the basics. Create a new script by creating a file ending in \`.js\` in the \`breeze/1.8.9/scripting\` directory. {% hint style="success" %} We highly recommend you get our \[VSCode Extension\](/vscode\_extension.md) extension, it makes scripting with breeze a breeze. {% endhint %} Next we recommend you look at \[Getting Started\](/getting\_started.md) or some of the \[Examples\](/examples/pingspoof.md). --- # Rotation Manager | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/rotation_manager.md) . The `rotationManager` namespace lets your script control the player's look direction (yaw/pitch). * * * ### Setup[](https://scripting.breeze.rip/rotation_manager#setup) Set your priority during initialization. Higher numbers run first. Copy rotationManager.setPriority(10); ### Registering Callbacks[](https://scripting.breeze.rip/rotation_manager#registering-callbacks) #### **onRotate**[](https://scripting.breeze.rip/rotation_manager#onrotate) This is your main rotation callback — called every tick when your script has priority. Call `rotationManager.rotate()` inside here. Copy rotationManager.onRotate(() => { rotationManager.rotate(targetYaw, targetPitch, 8.0); }); #### onUpdateNoRotate[](https://scripting.breeze.rip/rotation_manager#onupdatenorotate) Called every tick when another module has taken priority over yours. Use this to keep internal state updated even when you're not rotating. Copy rotationManager.onUpdateNoRotate(() => { // another module is rotating — idle tick }); ### Rotating[](https://scripting.breeze.rip/rotation_manager#rotating) #### [`rotationManager.rotate(yaw, pitch, speed)`](https://scripting.breeze.rip/api/functions/rotationmanager.rotate) [](https://scripting.breeze.rip/rotation_manager#rotationmanager.rotate-yaw-pitch-speed) Smoothly steps toward the target yaw/pitch by at most `speed` degrees per tick. Returns `true` when the target has been reached. ### Reading the Current Spoofed Angles[](https://scripting.breeze.rip/rotation_manager#reading-the-current-spoofed-angles) You can read back the current spoofed rotation at any time — useful for calculating aim vectors or checking if you're on target. ### Priority List[](https://scripting.breeze.rip/rotation_manager#priority-list) These are the default priorities for each module in breeze. Highest priority gets to rotate first. Module Priority SelfTrap 45 BedNuker 40 AntiFireball 35 Scaffold 30 Clutch 25 MLG 20 KnockBackManipulator 15 SilentAim 10 AutoRod 5 KillAura 0 Last updated 3 months ago * [Setup](https://scripting.breeze.rip/rotation_manager#setup) * [Registering Callbacks](https://scripting.breeze.rip/rotation_manager#registering-callbacks) * [Rotating](https://scripting.breeze.rip/rotation_manager#rotating) * [Reading the Current Spoofed Angles](https://scripting.breeze.rip/rotation_manager#reading-the-current-spoofed-angles) * [Priority List](https://scripting.breeze.rip/rotation_manager#priority-list) Copy rotationManager.onRotate(() => { const done = rotationManager.rotate(90.0, 15.0, 6.0); if (done) { // we're now looking exactly at the target } }); Copy var yaw = rotationManager.getSpoofedYaw(); var pitch = rotationManager.getSpoofedPitch(); --- # Unknown \# Scripting ## v2 - \[Introduction\](https://scripting.breeze.rip/readme.md) - \[VSCode Extension\](https://scripting.breeze.rip/vscode\_extension.md): Easier then ever before - \[Getting Started\](https://scripting.breeze.rip/getting\_started.md) - \[Defining Settings\](https://scripting.breeze.rip/defining\_settings.md) - \[Event Listeners\](https://scripting.breeze.rip/event\_listeners.md) - \[Rotation Manager\](https://scripting.breeze.rip/rotation\_manager.md) - \[Spoof Manager\](https://scripting.breeze.rip/spoof\_manager.md) - \[HUD Scripting\](https://scripting.breeze.rip/hud\_scripting.md) - \[breeze\](https://scripting.breeze.rip/api/breeze.md) - \[event\](https://scripting.breeze.rip/api/breeze/event.md) - \[CancellableEvent\](https://scripting.breeze.rip/api/breeze/event/cancellableevent.md) - \[settings\](https://scripting.breeze.rip/api/breeze/settings.md) - \[BooleanSetting\](https://scripting.breeze.rip/api/breeze/settings/booleansetting.md) - \[ColorSetting\](https://scripting.breeze.rip/api/breeze/settings/colorsetting.md) - \[DoubleSetting\](https://scripting.breeze.rip/api/breeze/settings/doublesetting.md) - \[IntSetting\](https://scripting.breeze.rip/api/breeze/settings/intsetting.md) - \[ModeSetting\](https://scripting.breeze.rip/api/breeze/settings/modesetting.md) - \[RangeSetting\](https://scripting.breeze.rip/api/breeze/settings/rangesetting.md) - \[Setting\](https://scripting.breeze.rip/api/breeze/settings/setting.md) - \[SubGroup\](https://scripting.breeze.rip/api/breeze/settings/subgroup.md) - \[spoof\](https://scripting.breeze.rip/api/breeze/spoof.md) - \[DelayedPacket\](https://scripting.breeze.rip/api/breeze/spoof/delayedpacket.md) - \[util\](https://scripting.breeze.rip/api/breeze/util.md) - \[Color\](https://scripting.breeze.rip/api/breeze/util/color.md) - \[RoundedRect\](https://scripting.breeze.rip/api/breeze/util/roundedrect.md) - \[Module\](https://scripting.breeze.rip/api/breeze/module.md) - \[Enum\\\_Types\](https://scripting.breeze.rip/api/enum\_types.md) - \[DiggingAction\](https://scripting.breeze.rip/api/enum\_types/diggingaction.md) - \[EntityAction\](https://scripting.breeze.rip/api/enum\_types/entityaction.md) - \[EnumFacing\](https://scripting.breeze.rip/api/enum\_types/enumfacing.md) - \[HitType\](https://scripting.breeze.rip/api/enum\_types/hittype.md) - \[PacketDirection\](https://scripting.breeze.rip/api/enum\_types/packetdirection.md) - \[SpoofAction\](https://scripting.breeze.rip/api/enum\_types/spoofaction.md) - \[UseEntityAction\](https://scripting.breeze.rip/api/enum\_types/useentityaction.md) - \[Events\](https://scripting.breeze.rip/api/events.md) - \[AngleUpdateEvent\](https://scripting.breeze.rip/api/events/angleupdateevent.md) - \[CharTypedEvent\](https://scripting.breeze.rip/api/events/chartypedevent.md) - \[JumpEvent\](https://scripting.breeze.rip/api/events/jumpevent.md) - \[KeyPressedEvent\](https://scripting.breeze.rip/api/events/keypressedevent.md) - \[MotionEvent\](https://scripting.breeze.rip/api/events/motionevent.md) - \[MouseClickedEvent\](https://scripting.breeze.rip/api/events/mouseclickedevent.md) - \[PacketReceiveEvent\](https://scripting.breeze.rip/api/events/packetreceiveevent.md) - \[PacketSendEvent\](https://scripting.breeze.rip/api/events/packetsendevent.md) - \[PostAttackEvent\](https://scripting.breeze.rip/api/events/postattackevent.md) - \[PostMotionEvent\](https://scripting.breeze.rip/api/events/postmotionevent.md) - \[PreAttackEvent\](https://scripting.breeze.rip/api/events/preattackevent.md) - \[PreMotionEvent\](https://scripting.breeze.rip/api/events/premotionevent.md) - \[PreTickEvent\](https://scripting.breeze.rip/api/events/pretickevent.md) - \[Render2DEvent\](https://scripting.breeze.rip/api/events/render2devent.md) - \[Render3DEvent\](https://scripting.breeze.rip/api/events/render3devent.md) - \[RenderEntityEvent\](https://scripting.breeze.rip/api/events/renderentityevent.md) - \[RenderHandEvent\](https://scripting.breeze.rip/api/events/renderhandevent.md) - \[RunGameLoopEvent\](https://scripting.breeze.rip/api/events/rungameloopevent.md) - \[SpoofInputEvent\](https://scripting.breeze.rip/api/events/spoofinputevent.md) - \[WorldChangedEvent\](https://scripting.breeze.rip/api/events/worldchangedevent.md) - \[Functions\](https://scripting.breeze.rip/api/functions.md) - \[breeze.getModule\](https://scripting.breeze.rip/api/functions/breeze.getmodule.md) - \[breeze.getModules\](https://scripting.breeze.rip/api/functions/breeze.getmodules.md) - \[breeze.getRole\](https://scripting.breeze.rip/api/functions/breeze.getrole.md) - \[breeze.getRoleColor\](https://scripting.breeze.rip/api/functions/breeze.getrolecolor.md) - \[breeze.getUsername\](https://scripting.breeze.rip/api/functions/breeze.getusername.md) - \[hudManager.fontHeight\](https://scripting.breeze.rip/api/functions/hudmanager.fontheight.md) - \[hudManager.onBackground\](https://scripting.breeze.rip/api/functions/hudmanager.onbackground.md) - \[hudManager.onHeight\](https://scripting.breeze.rip/api/functions/hudmanager.onheight.md) - \[hudManager.onRender\](https://scripting.breeze.rip/api/functions/hudmanager.onrender.md) - \[hudManager.onWidth\](https://scripting.breeze.rip/api/functions/hudmanager.onwidth.md) - \[hudManager.scale\](https://scripting.breeze.rip/api/functions/hudmanager.scale.md) - \[hudManager.x\](https://scripting.breeze.rip/api/functions/hudmanager.x.md) - \[hudManager.y\](https://scripting.breeze.rip/api/functions/hudmanager.y.md) - \[hudRenderer.drawCircle\](https://scripting.breeze.rip/api/functions/hudrenderer.drawcircle.md) - \[hudRenderer.drawCircleWithEffect\](https://scripting.breeze.rip/api/functions/hudrenderer.drawcirclewitheffect.md) - \[hudRenderer.drawItemStack\](https://scripting.breeze.rip/api/functions/hudrenderer.drawitemstack.md) - \[hudRenderer.drawRect\](https://scripting.breeze.rip/api/functions/hudrenderer.drawrect.md) - \[hudRenderer.drawRectGlow\](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectglow.md) - \[hudRenderer.drawRectGradient\](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectgradient.md) - \[hudRenderer.drawRectWithEffect\](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectwitheffect.md) - \[hudRenderer.drawRing\](https://scripting.breeze.rip/api/functions/hudrenderer.drawring.md) - \[hudRenderer.drawString\](https://scripting.breeze.rip/api/functions/hudrenderer.drawstring.md) - \[hudRenderer.drawSVG\](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvg.md) - \[hudRenderer.drawSVGWithEffect\](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvgwitheffect.md) - \[hudRenderer.drawTexture\](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexture.md) - \[hudRenderer.drawTextureGradient\](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexturegradient.md) - \[hudRenderer.stringWidth\](https://scripting.breeze.rip/api/functions/hudrenderer.stringwidth.md) - \[math.clamp\](https://scripting.breeze.rip/api/functions/math.clamp.md) - \[math.findBestVisiblePoint\](https://scripting.breeze.rip/api/functions/math.findbestvisiblepoint.md) - \[math.getCenter\](https://scripting.breeze.rip/api/functions/math.getcenter.md) - \[math.interpolateEntityBB\](https://scripting.breeze.rip/api/functions/math.interpolateentitybb.md) - \[math.interpolateEntityPosition\](https://scripting.breeze.rip/api/functions/math.interpolateentityposition.md) - \[math.interpolateLastTickPos\](https://scripting.breeze.rip/api/functions/math.interpolatelasttickpos.md) - \[mc.chatMessage\](https://scripting.breeze.rip/api/functions/mc.chatmessage.md) - \[mc.clickMouse\](https://scripting.breeze.rip/api/functions/mc.clickmouse.md) - \[mc.closeUI\](https://scripting.breeze.rip/api/functions/mc.closeui.md) - \[mc.getScreenHeight\](https://scripting.breeze.rip/api/functions/mc.getscreenheight.md) - \[mc.getScreenWidth\](https://scripting.breeze.rip/api/functions/mc.getscreenwidth.md) - \[mc.rightClickMouse\](https://scripting.breeze.rip/api/functions/mc.rightclickmouse.md) - \[mc.serverIP\](https://scripting.breeze.rip/api/functions/mc.serverip.md) - \[renderer.boundingESPBox\](https://scripting.breeze.rip/api/functions/renderer.boundingespbox.md) - \[renderer.boundingESPBoxFilled\](https://scripting.breeze.rip/api/functions/renderer.boundingespboxfilled.md) - \[rotationManager.getSpoofedPitch\](https://scripting.breeze.rip/api/functions/rotationmanager.getspoofedpitch.md) - \[rotationManager.getSpoofedYaw\](https://scripting.breeze.rip/api/functions/rotationmanager.getspoofedyaw.md) - \[rotationManager.onRotate\](https://scripting.breeze.rip/api/functions/rotationmanager.onrotate.md) - \[rotationManager.onUpdateNoRotate\](https://scripting.breeze.rip/api/functions/rotationmanager.onupdatenorotate.md) - \[rotationManager.rotate\](https://scripting.breeze.rip/api/functions/rotationmanager.rotate.md) - \[rotationManager.setPriority\](https://scripting.breeze.rip/api/functions/rotationmanager.setpriority.md) - \[script.addListener\](https://scripting.breeze.rip/api/functions/script.addlistener.md) - \[script.disable\](https://scripting.breeze.rip/api/functions/script.disable.md) - \[script.enabled\](https://scripting.breeze.rip/api/functions/script.enabled.md) - \[script.getName\](https://scripting.breeze.rip/api/functions/script.getname.md) - \[script.log\](https://scripting.breeze.rip/api/functions/script.log.md) - \[script.metadata\](https://scripting.breeze.rip/api/functions/script.metadata.md) - \[script.onDisable\](https://scripting.breeze.rip/api/functions/script.ondisable.md) - \[script.onEnable\](https://scripting.breeze.rip/api/functions/script.onenable.md) - \[spoofManager.flushAll\](https://scripting.breeze.rip/api/functions/spoofmanager.flushall.md) - \[spoofManager.flushIncoming\](https://scripting.breeze.rip/api/functions/spoofmanager.flushincoming.md) - \[spoofManager.flushOutgoing\](https://scripting.breeze.rip/api/functions/spoofmanager.flushoutgoing.md) - \[spoofManager.onPacketReceive\](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketreceive.md) - \[spoofManager.onPacketSend\](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketsend.md) - \[spoofManager.onUpdate\](https://scripting.breeze.rip/api/functions/spoofmanager.onupdate.md) - \[spoofManager.release\](https://scripting.breeze.rip/api/functions/spoofmanager.release.md) - \[spoofManager.sendPacket\](https://scripting.breeze.rip/api/functions/spoofmanager.sendpacket.md) - \[spoofManager.setPriority\](https://scripting.breeze.rip/api/functions/spoofmanager.setpriority.md) - \[time.getTimeMS\](https://scripting.breeze.rip/api/functions/time.gettimems.md) - \[time.getTimeNS\](https://scripting.breeze.rip/api/functions/time.gettimens.md) - \[time.getTimeSeconds\](https://scripting.breeze.rip/api/functions/time.gettimeseconds.md) - \[Namespaces\](https://scripting.breeze.rip/api/namespaces.md) - \[breeze\](https://scripting.breeze.rip/api/namespaces/breeze.md) - \[formatting\](https://scripting.breeze.rip/api/namespaces/formatting.md) - \[hudManager\](https://scripting.breeze.rip/api/namespaces/hudmanager.md) - \[hudRenderer\](https://scripting.breeze.rip/api/namespaces/hudrenderer.md) - \[math\](https://scripting.breeze.rip/api/namespaces/math.md) - \[mc\](https://scripting.breeze.rip/api/namespaces/mc.md) - \[renderer\](https://scripting.breeze.rip/api/namespaces/renderer.md) - \[rotationManager\](https://scripting.breeze.rip/api/namespaces/rotationmanager.md) - \[script\](https://scripting.breeze.rip/api/namespaces/script.md) - \[spoofManager\](https://scripting.breeze.rip/api/namespaces/spoofmanager.md) - \[time\](https://scripting.breeze.rip/api/namespaces/time.md) - \[net\](https://scripting.breeze.rip/api/net.md) - \[minecraft\](https://scripting.breeze.rip/api/net/minecraft.md) - \[client\](https://scripting.breeze.rip/api/net/minecraft/client.md) - \[entity\](https://scripting.breeze.rip/api/net/minecraft/client/entity.md) - \[EntityPlayer\](https://scripting.breeze.rip/api/net/minecraft/client/entity/entityplayer.md) - \[EntityPlayerSP\](https://scripting.breeze.rip/api/net/minecraft/client/entity/entityplayersp.md) - \[InventoryPlayer\](https://scripting.breeze.rip/api/net/minecraft/client/entity/inventoryplayer.md) - \[gui\](https://scripting.breeze.rip/api/net/minecraft/client/gui.md) - \[GuiChest\](https://scripting.breeze.rip/api/net/minecraft/client/gui/guichest.md) - \[GuiContainer\](https://scripting.breeze.rip/api/net/minecraft/client/gui/guicontainer.md) - \[GuiInventory\](https://scripting.breeze.rip/api/net/minecraft/client/gui/guiinventory.md) - \[GuiScreen\](https://scripting.breeze.rip/api/net/minecraft/client/gui/guiscreen.md) - \[settings\](https://scripting.breeze.rip/api/net/minecraft/client/settings.md) - \[GameSettings\](https://scripting.breeze.rip/api/net/minecraft/client/settings/gamesettings.md) - \[MCKeyBinding\](https://scripting.breeze.rip/api/net/minecraft/client/settings/mckeybinding.md) - \[PlayerControllerMP\](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp.md) - \[World\](https://scripting.breeze.rip/api/net/minecraft/client/world.md) - \[entity\](https://scripting.breeze.rip/api/net/minecraft/entity.md) - \[Entity\](https://scripting.breeze.rip/api/net/minecraft/entity/entity.md) - \[LivingEntity\](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity.md) - \[inventory\](https://scripting.breeze.rip/api/net/minecraft/inventory.md) - \[Container\](https://scripting.breeze.rip/api/net/minecraft/inventory/container.md) - \[Slot\](https://scripting.breeze.rip/api/net/minecraft/inventory/slot.md) - \[item\](https://scripting.breeze.rip/api/net/minecraft/item.md) - \[ItemStack\](https://scripting.breeze.rip/api/net/minecraft/item/itemstack.md) - \[network\](https://scripting.breeze.rip/api/net/minecraft/network.md) - \[client\](https://scripting.breeze.rip/api/net/minecraft/network/client.md) - \[C00PacketKeepAlive\](https://scripting.breeze.rip/api/net/minecraft/network/client/c00packetkeepalive.md) - \[C01PacketChatMessage\](https://scripting.breeze.rip/api/net/minecraft/network/client/c01packetchatmessage.md) - \[C02PacketUseEntity\](https://scripting.breeze.rip/api/net/minecraft/network/client/c02packetuseentity.md) - \[C03PacketPlayer\](https://scripting.breeze.rip/api/net/minecraft/network/client/c03packetplayer.md) - \[C04PacketPlayerPosition\](https://scripting.breeze.rip/api/net/minecraft/network/client/c04packetplayerposition.md) - \[C05PacketPlayerLook\](https://scripting.breeze.rip/api/net/minecraft/network/client/c05packetplayerlook.md) - \[C06PacketPlayerPosition\](https://scripting.breeze.rip/api/net/minecraft/network/client/c06packetplayerposition.md) - \[C07PacketPlayerDigging\](https://scripting.breeze.rip/api/net/minecraft/network/client/c07packetplayerdigging.md) - \[C08PacketBlockPlacement\](https://scripting.breeze.rip/api/net/minecraft/network/client/c08packetblockplacement.md) - \[C09PacketHeldItemChange\](https://scripting.breeze.rip/api/net/minecraft/network/client/c09packethelditemchange.md) - \[C0APacketAnimation\](https://scripting.breeze.rip/api/net/minecraft/network/client/c0apacketanimation.md) - \[C0BPacketEntityAction\](https://scripting.breeze.rip/api/net/minecraft/network/client/c0bpacketentityaction.md) - \[C0CPacketInput\](https://scripting.breeze.rip/api/net/minecraft/network/client/c0cpacketinput.md) - \[C0DPacketCloseWindow\](https://scripting.breeze.rip/api/net/minecraft/network/client/c0dpacketclosewindow.md) - \[C0EPacketClickWindow\](https://scripting.breeze.rip/api/net/minecraft/network/client/c0epacketclickwindow.md) - \[C0FPacketConfirmTransaction\](https://scripting.breeze.rip/api/net/minecraft/network/client/c0fpacketconfirmtransaction.md) - \[C17PacketCustomPayload\](https://scripting.breeze.rip/api/net/minecraft/network/client/c17packetcustompayload.md) - \[server\](https://scripting.breeze.rip/api/net/minecraft/network/server.md) - \[S00PacketKeepAlive\](https://scripting.breeze.rip/api/net/minecraft/network/server/s00packetkeepalive.md) - \[S01PacketJoinGame\](https://scripting.breeze.rip/api/net/minecraft/network/server/s01packetjoingame.md) - \[S02PacketChat\](https://scripting.breeze.rip/api/net/minecraft/network/server/s02packetchat.md) - \[S03PacketTimeUpdate\](https://scripting.breeze.rip/api/net/minecraft/network/server/s03packettimeupdate.md) - \[S04PacketEntityEquipment\](https://scripting.breeze.rip/api/net/minecraft/network/server/s04packetentityequipment.md) - \[S05PacketSpawnPosition\](https://scripting.breeze.rip/api/net/minecraft/network/server/s05packetspawnposition.md) - \[S06PacketUpdateHealth\](https://scripting.breeze.rip/api/net/minecraft/network/server/s06packetupdatehealth.md) - \[S07PacketRespawn\](https://scripting.breeze.rip/api/net/minecraft/network/server/s07packetrespawn.md) - \[S08PacketPlayerPosLook\](https://scripting.breeze.rip/api/net/minecraft/network/server/s08packetplayerposlook.md) - \[S09PacketHeldItemChange\](https://scripting.breeze.rip/api/net/minecraft/network/server/s09packethelditemchange.md) - \[S0CPacketSpawnPlayer\](https://scripting.breeze.rip/api/net/minecraft/network/server/s0cpacketspawnplayer.md) - \[S0DPacketCollectItem\](https://scripting.breeze.rip/api/net/minecraft/network/server/s0dpacketcollectitem.md) - \[S0EPacketSpawnObject\](https://scripting.breeze.rip/api/net/minecraft/network/server/s0epacketspawnobject.md) - \[S0FPacketSpawnMob\](https://scripting.breeze.rip/api/net/minecraft/network/server/s0fpacketspawnmob.md) - \[S12PacketEntityVelocity\](https://scripting.breeze.rip/api/net/minecraft/network/server/s12packetentityvelocity.md) - \[S13PacketDestroyEntities\](https://scripting.breeze.rip/api/net/minecraft/network/server/s13packetdestroyentities.md) - \[S14PacketEntity\](https://scripting.breeze.rip/api/net/minecraft/network/server/s14packetentity.md) - \[S15PacketEntityRelMove\](https://scripting.breeze.rip/api/net/minecraft/network/server/s15packetentityrelmove.md) - \[S16PacketEntityLook\](https://scripting.breeze.rip/api/net/minecraft/network/server/s16packetentitylook.md) - \[S17PacketEntityLookMove\](https://scripting.breeze.rip/api/net/minecraft/network/server/s17packetentitylookmove.md) - \[S18PacketEntityTeleport\](https://scripting.breeze.rip/api/net/minecraft/network/server/s18packetentityteleport.md) - \[S19PacketEntityHeadLook\](https://scripting.breeze.rip/api/net/minecraft/network/server/s19packetentityheadlook.md) - \[S1APacketEntityStatus\](https://scripting.breeze.rip/api/net/minecraft/network/server/s1apacketentitystatus.md) - \[S27PacketExplosion\](https://scripting.breeze.rip/api/net/minecraft/network/server/s27packetexplosion.md) - \[S2APacketParticles\](https://scripting.breeze.rip/api/net/minecraft/network/server/s2apacketparticles.md) - \[S2CPacketSpawnGlobalEntity\](https://scripting.breeze.rip/api/net/minecraft/network/server/s2cpacketspawnglobalentity.md) - \[S2DPacketOpenWindow\](https://scripting.breeze.rip/api/net/minecraft/network/server/s2dpacketopenwindow.md) - \[S2EPacketCloseWindow\](https://scripting.breeze.rip/api/net/minecraft/network/server/s2epacketclosewindow.md) - \[S2FPacketSetSlot\](https://scripting.breeze.rip/api/net/minecraft/network/server/s2fpacketsetslot.md) - \[S3FPacketCustomPayload\](https://scripting.breeze.rip/api/net/minecraft/network/server/s3fpacketcustompayload.md) - \[Packet\](https://scripting.breeze.rip/api/net/minecraft/network/packet.md) - \[util\](https://scripting.breeze.rip/api/net/minecraft/util.md) - \[AxisAlignedBB\](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb.md) - \[BlockPos\](https://scripting.breeze.rip/api/net/minecraft/util/blockpos.md) - \[RaytraceResult\](https://scripting.breeze.rip/api/net/minecraft/util/raytraceresult.md) - \[Vec3\](https://scripting.breeze.rip/api/net/minecraft/util/vec3.md) - \[Variables\](https://scripting.breeze.rip/api/variables.md) - \[breeze.mcVersion\](https://scripting.breeze.rip/api/variables/breeze.mcversion.md) - \[breeze.version\](https://scripting.breeze.rip/api/variables/breeze.version.md) - \[breeze.versionFull\](https://scripting.breeze.rip/api/variables/breeze.versionfull.md) - \[breeze.versionSimple\](https://scripting.breeze.rip/api/variables/breeze.versionsimple.md) - \[formatting.ACCENT\](https://scripting.breeze.rip/api/variables/formatting.accent.md) - \[formatting.AQUA\](https://scripting.breeze.rip/api/variables/formatting.aqua.md) - \[formatting.BLACK\](https://scripting.breeze.rip/api/variables/formatting.black.md) - \[formatting.BLUE\](https://scripting.breeze.rip/api/variables/formatting.blue.md) - \[formatting.DARK AQUA\](https://scripting.breeze.rip/api/variables/formatting.dark\_aqua.md) - \[formatting.DARK BLUE\](https://scripting.breeze.rip/api/variables/formatting.dark\_blue.md) - \[formatting.DARK GRAY\](https://scripting.breeze.rip/api/variables/formatting.dark\_gray.md) - \[formatting.DARK GREEN\](https://scripting.breeze.rip/api/variables/formatting.dark\_green.md) - \[formatting.DARK PURPLE\](https://scripting.breeze.rip/api/variables/formatting.dark\_purple.md) - \[formatting.DARK RED\](https://scripting.breeze.rip/api/variables/formatting.dark\_red.md) - \[formatting.GLOW\](https://scripting.breeze.rip/api/variables/formatting.glow.md) - \[formatting.GOLD\](https://scripting.breeze.rip/api/variables/formatting.gold.md) - \[formatting.GRAY\](https://scripting.breeze.rip/api/variables/formatting.gray.md) - \[formatting.GREEN\](https://scripting.breeze.rip/api/variables/formatting.green.md) - \[formatting.LIGHT PURPLE\](https://scripting.breeze.rip/api/variables/formatting.light\_purple.md) - \[formatting.PRIMARY\](https://scripting.breeze.rip/api/variables/formatting.primary.md) - \[formatting.RED\](https://scripting.breeze.rip/api/variables/formatting.red.md) - \[formatting.RESET\](https://scripting.breeze.rip/api/variables/formatting.reset.md) - \[formatting.SECONDARY\](https://scripting.breeze.rip/api/variables/formatting.secondary.md) - \[formatting.TERTIARY\](https://scripting.breeze.rip/api/variables/formatting.tertiary.md) - \[formatting.WHITE\](https://scripting.breeze.rip/api/variables/formatting.white.md) - \[formatting.YELLOW\](https://scripting.breeze.rip/api/variables/formatting.yellow.md) - \[mc.currentScreen\](https://scripting.breeze.rip/api/variables/mc.currentscreen.md) - \[mc.gameSettings\](https://scripting.breeze.rip/api/variables/mc.gamesettings.md) - \[mc.leftClickCounter\](https://scripting.breeze.rip/api/variables/mc.leftclickcounter.md) - \[mc.objectMouseOver\](https://scripting.breeze.rip/api/variables/mc.objectmouseover.md) - \[mc.player\](https://scripting.breeze.rip/api/variables/mc.player.md) - \[mc.playerController\](https://scripting.breeze.rip/api/variables/mc.playercontroller.md) - \[mc.pointedEntity\](https://scripting.breeze.rip/api/variables/mc.pointedentity.md) - \[mc.rightClickDelayTimer\](https://scripting.breeze.rip/api/variables/mc.rightclickdelaytimer.md) - \[mc.timerSpeed\](https://scripting.breeze.rip/api/variables/mc.timerspeed.md) - \[mc.world\](https://scripting.breeze.rip/api/variables/mc.world.md) - \[script.allowBind\](https://scripting.breeze.rip/api/variables/script.allowbind.md) - \[script.allowHold\](https://scripting.breeze.rip/api/variables/script.allowhold.md) - \[script.description\](https://scripting.breeze.rip/api/variables/script.description.md) - \[PingSpoof\](https://scripting.breeze.rip/examples/pingspoof.md): A basic module showcasing the spoof manager - \[PlayerInfo\](https://scripting.breeze.rip/examples/playerinfo.md): A HUD element showing health, armor, coordinates, and held item. - \[QuickMine\](https://scripting.breeze.rip/examples/quickmine.md): A very basic module to break blocks at twice the speed. --- # Spoof Manager | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/spoof_manager.md) . The `spoofManager` namespace lets your script intercept, cancel, delay, and release packets in both directions. Like the rotation manager, it uses a priority system for when multiple scripts are active. This manager is mainly meant for making lag based modules. For basic packet manipulation we recommend [PacketSendEvent](https://scripting.breeze.rip/api/events/packetsendevent) . * * * ### Setup[](https://scripting.breeze.rip/spoof_manager#setup) Set your priority during initialization. Copy spoofManager.setPriority(10); * * * ### Intercepting Packets[](https://scripting.breeze.rip/spoof_manager#intercepting-packets) #### `onPacketSend`[](https://scripting.breeze.rip/spoof_manager#onpacketsend) Called for every outbound packet (client → server). Return a `SpoofAction` to decide what happens to it. Copy spoofManager.onPacketSend((packet) => { if (packet instanceof C0BPacketEntityAction) { if (packet.getAction() === "START_SNEAKING") { return "CANCEL"; // block sneak packets from reaching the server } } return "PROCESS"; // let everything else through }); * * * #### `onPacketReceive`[](https://scripting.breeze.rip/spoof_manager#onpacketreceive) Called for every inbound packet (server → client). Same `SpoofAction` return values apply. * * * ### SpoofAction Values[](https://scripting.breeze.rip/spoof_manager#spoofaction-values) Value Description `"PROCESS"` Do nothing, let the packet continue as normal `"CANCEL"` Drop the packet entirely — it will never be processed `"DELAY"` Hold the packet until you manually release it ### Releasing Delayed Packets[](https://scripting.breeze.rip/spoof_manager#releasing-delayed-packets) #### `onUpdate`[](https://scripting.breeze.rip/spoof_manager#onupdate) Called every tick when there are delayed packets waiting. Use this to decide when to release them. Each `DelayedPacket` exposes: Property / Method Description `packet` The original `Packet` object `time` Epoch ms timestamp of when it was delayed `direction()` `"IN"` or `"OUT"` `hasAged(ms)` `true` if the packet has been held for at least `ms` milliseconds ### Flushing Packets[](https://scripting.breeze.rip/spoof_manager#flushing-packets) If you need to release everything at once — for example when the script is disabled — use the flush helpers. > Always call `flushAll()` in your `script.onDisable` callback to avoid packets being stuck indefinitely. * * * ### Sending Packets Manually[](https://scripting.breeze.rip/spoof_manager#sending-packets-manually) You can also inject your own packets directly to the server. See [https://github.com/LoseBypass/breeze-docs/blob/main/docs/examples/page-1.md](https://github.com/LoseBypass/breeze-docs/blob/main/docs/examples/page-1.md) for a basic implementation of the spoof manager. Last updated 3 months ago * [Setup](https://scripting.breeze.rip/spoof_manager#setup) * [Intercepting Packets](https://scripting.breeze.rip/spoof_manager#intercepting-packets) * [SpoofAction Values](https://scripting.breeze.rip/spoof_manager#spoofaction-values) * [Releasing Delayed Packets](https://scripting.breeze.rip/spoof_manager#releasing-delayed-packets) * [Flushing Packets](https://scripting.breeze.rip/spoof_manager#flushing-packets) * [Sending Packets Manually](https://scripting.breeze.rip/spoof_manager#sending-packets-manually) Copy spoofManager.onPacketReceive((packet) => { if (packet instanceof S08PacketPlayerPosLook) { return "DELAY"; // hold the teleport packet until we're ready } return "PROCESS"; }); Copy spoofManager.onUpdate((packets) => { for (let packet of packets) { if (packet.hasAged(1000)) { // release after 1 second spoofManager.release(packet); } } }); Copy spoofManager.flushAll(); // release all delayed packets spoofManager.flushIncoming(); // release only inbound packets spoofManager.flushOutgoing(); // release only outbound packets Copy spoofManager.sendPacket(new C05PacketPlayerLook(90.0, 0.0, true), false); --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/event\_listeners.md). # Event Listeners Use \`script.addListener\` to react to game events. All listeners must be registered during script initialization. #### Basic Usage \`\`\`js script.addListener("EventName", (event) => { // handle event }); \`\`\` {% content-ref url="" %} {% endcontent-ref %} --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/rotation\_manager.md). # Rotation Manager The \`rotationManager\` namespace lets your script control the player's look direction (yaw/pitch). \*\*\* ### Setup Set your priority during initialization. Higher numbers run first. \`\`\`js rotationManager.setPriority(10); \`\`\` ### Registering Callbacks #### \*\*onRotate\*\* This is your main rotation callback — called every tick when your script has priority. Call \`rotationManager.rotate()\` inside here. \`\`\`js rotationManager.onRotate(() => { rotationManager.rotate(targetYaw, targetPitch, 8.0); }); \`\`\` #### onUpdateNoRotate Called every tick when another module has taken priority over yours. Use this to keep internal state updated even when you're not rotating. \`\`\`js rotationManager.onUpdateNoRotate(() => { // another module is rotating — idle tick }); \`\`\` ### Rotating #### \[\`rotationManager.rotate(yaw, pitch, speed)\`\](/api/functions/rotationmanager.rotate.md) Smoothly steps toward the target yaw/pitch by at most \`speed\` degrees per tick. Returns \`true\` when the target has been reached. \`\`\`js rotationManager.onRotate(() => { const done = rotationManager.rotate(90.0, 15.0, 6.0); if (done) { // we're now looking exactly at the target } }); \`\`\` ### Reading the Current Spoofed Angles You can read back the current spoofed rotation at any time — useful for calculating aim vectors or checking if you're on target. \`\`\`js var yaw = rotationManager.getSpoofedYaw(); var pitch = rotationManager.getSpoofedPitch(); \`\`\` ### Priority List These are the default priorities for each module in breeze. Highest priority gets to rotate first. | Module | Priority | | -------------------- | -------- | | SelfTrap | 45 | | BedNuker | 40 | | AntiFireball | 35 | | Scaffold | 30 | | Clutch | 25 | | MLG | 20 | | KnockBackManipulator | 15 | | SilentAim | 10 | | AutoRod | 5 | | KillAura | 0 | --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/spoof\_manager.md). # Spoof Manager The \`spoofManager\` namespace lets your script intercept, cancel, delay, and release packets in both directions. Like the rotation manager, it uses a priority system for when multiple scripts are active. This manager is mainly meant for making lag based modules. For basic packet manipulation we recommend \[PacketSendEvent\](/api/events/packetsendevent.md). \*\*\* ### Setup Set your priority during initialization. \`\`\`javascript spoofManager.setPriority(10); \`\`\` \*\*\* ### Intercepting Packets #### \`onPacketSend\` Called for every outbound packet (client → server). Return a \`SpoofAction\` to decide what happens to it. \`\`\`javascript spoofManager.onPacketSend((packet) => { if (packet instanceof C0BPacketEntityAction) { if (packet.getAction() === "START\_SNEAKING") { return "CANCEL"; // block sneak packets from reaching the server } } return "PROCESS"; // let everything else through }); \`\`\` \*\*\* #### \`onPacketReceive\` Called for every inbound packet (server → client). Same \`SpoofAction\` return values apply. \`\`\`javascript spoofManager.onPacketReceive((packet) => { if (packet instanceof S08PacketPlayerPosLook) { return "DELAY"; // hold the teleport packet until we're ready } return "PROCESS"; }); \`\`\` \*\*\* ### SpoofAction Values | Value | Description | | ----------- | ----------------------------------------------------- | | \`"PROCESS"\` | Do nothing, let the packet continue as normal | | \`"CANCEL"\` | Drop the packet entirely — it will never be processed | | \`"DELAY"\` | Hold the packet until you manually release it | ### Releasing Delayed Packets #### \`onUpdate\` Called every tick when there are delayed packets waiting. Use this to decide when to release them. \`\`\`javascript spoofManager.onUpdate((packets) => { for (let packet of packets) { if (packet.hasAged(1000)) { // release after 1 second spoofManager.release(packet); } } }); \`\`\` Each \`DelayedPacket\` exposes: | Property / Method | Description | | ----------------- | ----------------------------------------------------------------- | | \`packet\` | The original \`Packet\` object | | \`time\` | Epoch ms timestamp of when it was delayed | | \`direction()\` | \`"IN"\` or \`"OUT"\` | | \`hasAged(ms)\` | \`true\` if the packet has been held for at least \`ms\` milliseconds | ### Flushing Packets If you need to release everything at once — for example when the script is disabled — use the flush helpers. \`\`\`typescript spoofManager.flushAll(); // release all delayed packets spoofManager.flushIncoming(); // release only inbound packets spoofManager.flushOutgoing(); // release only outbound packets \`\`\` > Always call \`flushAll()\` in your \`script.onDisable\` callback to avoid packets being stuck indefinitely. \*\*\* ### Sending Packets Manually You can also inject your own packets directly to the server. \`\`\`typescript spoofManager.sendPacket(new C05PacketPlayerLook(90.0, 0.0, true), false); \`\`\` {% hint style="info" %} See \[https://github.com/LoseBypass/breeze-docs/blob/main/docs/examples/page-1.md\](https://github.com/LoseBypass/breeze-docs/blob/main/docs/examples/page-1.md "mention") for a basic implementation of the spoof manager. {% endhint %} --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/getting\_started.md). # Getting Started #### Creating the script file. To start you have to create a javascript file inside of the breeze scripting folder. You can find this folder in two ways: \* Pressing the :folder: icon inside of the breeze scripting tab.\\ !\[\](/files/ZaTIooPMcud6YtbYQho4) \* Or manually manouver to the appdata folder, the same folder where \[\`.minecraft\`\](https://stickypiston.co/account/knowledgebase/130/How-do-I-find-my-Minecraft-Folder.html) is. In the folder navigate the following path to find the breeze scripting folder -> \`breeze/1.8.9/scripts\` In the \`scripts\` directory create a file with the name of your script ending with \`.js\`. {% hint style="success" %} The script name that shows up inside of breeze is defined by what you name the file! For example calling your file \`PingSpoof.js\` will make the script show up as \*\*PingSpoof\*\*.\\\\ {% endhint %} #### Script Description To start your script we can use the \[script\](/api/namespaces/script.md) to set the description for the script. \`\`\`javascript script.description = "Test description for this script"; \`\`\` --- # HUD Scripting | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/hud_scripting.md) . HUD scripts let you render custom 2D overlays on screen using the `hudManager` and `hudRenderer` namespaces. Elements are draggable in the HUD editor and their positions persist to config automatically. * * * Render Pipeline[](https://scripting.breeze.rip/hud_scripting#render-pipeline) ------------------------------------------------------------------------------ Each frame breeze renders scripted HUD elements in two passes: 1. **Background pass** — your `onBackground` callback returns a list of `RoundedRect` shapes. These are collected alongside all other HUD backgrounds and rendered together (with blur/shadow) before any content is drawn. 2. **Render pass** — your `onRender` callback runs. Use `hudRenderer` functions here to draw text, shapes, and items. All drawing in both passes uses screen-space coordinates with the origin at the top-left corner (x right, y down). The `hudManager.x()` / `hudManager.y()` values give you the top-left corner of your element's current dragged position — offset everything you draw from those values. * * * hudManager[](https://scripting.breeze.rip/hud_scripting#hudmanager) -------------------------------------------------------------------- Registers callbacks and exposes layout information for your element. ### Callbacks[](https://scripting.breeze.rip/hud_scripting#callbacks) All callbacks must be registered during script initialization. Copy // Called every frame to draw your element's content. // x, y, scale are passed in directly so you don't need to call hudManager.x() etc. inside the callback. hudManager.onRender((x, y, scale) => { // use hudRenderer here }); // Returns an array of RoundedRect shapes drawn as the blurred background. hudManager.onBackground(() => { return [new RoundedRect(hudManager.x(), hudManager.y(), width, height, 4 * hudManager.scale())]; }); // Returns the pixel width of your element. Used by the HUD editor for snapping. hudManager.onWidth(() => 160); // Returns the pixel height of your element. hudManager.onHeight(() => 40); ### Position & Layout[](https://scripting.breeze.rip/hud_scripting#position-and-layout) Function Returns Description `hudManager.x()` `number` Left edge of the element on screen `hudManager.y()` `number` Top edge of the element on screen `hudManager.scale()` `number` User-configured HUD scale (use this to scale padding, radii, and sizes) `hudManager.fontHeight()` `number` Pixel height of the selected HUD font `hudManager.x()`, `hudManager.y()`, and `hudManager.scale()` are also passed directly into `onRender` as `(x, y, scale)` — you only need to call these getters explicitly in `onBackground`, `onWidth`, or `onHeight`. * * * hudRenderer[](https://scripting.breeze.rip/hud_scripting#hudrenderer) ---------------------------------------------------------------------- All drawing functions take absolute screen coordinates. Inside `onRender` use the `x` and `y` parameters passed to you; in other contexts call `hudManager.x()` / `hudManager.y()`. ### Text[](https://scripting.breeze.rip/hud_scripting#text) ### Rectangles[](https://scripting.breeze.rip/hud_scripting#rectangles) ### Circles[](https://scripting.breeze.rip/hud_scripting#circles) ### Items[](https://scripting.breeze.rip/hud_scripting#items) * * * RoundedRect[](https://scripting.breeze.rip/hud_scripting#roundedrect) ---------------------------------------------------------------------- Used exclusively in `onBackground` to describe the blurred background region. * * * Minimal Example[](https://scripting.breeze.rip/hud_scripting#minimal-example) ------------------------------------------------------------------------------ * * * Tips[](https://scripting.breeze.rip/hud_scripting#tips) -------------------------------------------------------- * **Scale everything** — multiply all padding, corner radii, and icon sizes by `hudManager.scale()` so the element looks right at any user scale. * **Guard nulls** — `mc.player` and `mc.world` can be null (e.g. on the main menu). Check before accessing them. * **Background vs content** — only use `onBackground` for the blurred rect outline. Decorations and text go in `onRender`. * **Dynamic size** — `onWidth` / `onHeight` are called every frame, so you can return a value based on current content. * * * See Also[](https://scripting.breeze.rip/hud_scripting#see-also) ---------------------------------------------------------------- * [hudManager namespace](https://scripting.breeze.rip/api/namespaces/hudmanager) * [hudRenderer namespace](https://scripting.breeze.rip/api/namespaces/hudrenderer) * [Defining Settings](https://scripting.breeze.rip/defining_settings) * [Example: PlayerInfo](https://scripting.breeze.rip/examples/playerinfo) Last updated 24 days ago * [Render Pipeline](https://scripting.breeze.rip/hud_scripting#render-pipeline) * [hudManager](https://scripting.breeze.rip/hud_scripting#hudmanager) * [Callbacks](https://scripting.breeze.rip/hud_scripting#callbacks) * [Position & Layout](https://scripting.breeze.rip/hud_scripting#position-and-layout) * [hudRenderer](https://scripting.breeze.rip/hud_scripting#hudrenderer) * [Text](https://scripting.breeze.rip/hud_scripting#text) * [Rectangles](https://scripting.breeze.rip/hud_scripting#rectangles) * [Circles](https://scripting.breeze.rip/hud_scripting#circles) * [Items](https://scripting.breeze.rip/hud_scripting#items) * [RoundedRect](https://scripting.breeze.rip/hud_scripting#roundedrect) * [Minimal Example](https://scripting.breeze.rip/hud_scripting#minimal-example) * [Tips](https://scripting.breeze.rip/hud_scripting#tips) * [See Also](https://scripting.breeze.rip/hud_scripting#see-also) Copy // Pixel width of a string in the current HUD font. const w = hudRenderer.stringWidth("Hello"); // Draw text. Optional fifth argument enables a drop shadow. hudRenderer.drawString(x, y, "Hello", new Color(255, 255, 255, 255)); hudRenderer.drawString(x, y, "Hello", new Color(255, 255, 255, 255), true); Copy // Solid color, uniform corner radius. hudRenderer.drawRect(x, y, w, h, radius, color); // Solid color, per-corner radii (TL, TR, BR, BL). hudRenderer.drawRect(x, y, w, h, rtl, rtr, rbr, rbl, color); // Two-color gradient. vertical=true → top-to-bottom, false → left-to-right. hudRenderer.drawRectGradient(x, y, w, h, radius, color1, color2, vertical); // Solid color with an outer glow. glowColor alpha controls max intensity. hudRenderer.drawRectGlow(x, y, w, h, radius, color, glowRadius, glowColor); // Uses the current HUD effect (rainbow / gradient / pulse / none). alpha is 0.0–1.0. hudRenderer.drawRectWithEffect(x, y, w, h, radius, alpha); Copy hudRenderer.drawCircle(cx, cy, radius, color); // Hollow ring. hudRenderer.drawRing(cx, cy, radius, thickness, color); // Uses the current HUD effect. alpha is 0.0–1.0. hudRenderer.drawCircleWithEffect(cx, cy, radius, alpha); Copy // Draw an ItemStack icon. size=16 is native resolution. hudRenderer.drawItemStack(stack, x, y, size); // With count and durability bar overlay. hudRenderer.drawItemStack(stack, x, y, size, true); Copy // Uniform radius new RoundedRect(x, y, w, h, radius) // Per-corner radii (TL, TR, BR, BL) new RoundedRect(x, y, w, h, rtl, rtr, rbr, rbl) Copy script.description = "Displays the player's health."; const PAD = 6; hudManager.onWidth(() => 120); hudManager.onHeight(() => hudManager.fontHeight() + PAD * 2 * hudManager.scale()); hudManager.onBackground(() => { const s = hudManager.scale(); return [new RoundedRect(hudManager.x(), hudManager.y(), 120, hudManager.fontHeight() + PAD * 2 * s, 4 * s)]; }); hudManager.onRender((x, y, scale) => { const pad = PAD * scale; const hp = mc.player != null ? Math.ceil(mc.player.getHealth()) : 0; hudRenderer.drawString(x + pad, y + pad, "Health: " + hp, new Color(255, 255, 255, 220), true); }); --- # event | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/breeze/event.md) . [CancellableEvent](https://scripting.breeze.rip/api/breeze/event/cancellableevent) Last updated 14 days ago --- # breeze | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/breeze.md) . [event](https://scripting.breeze.rip/api/breeze/event) [settings](https://scripting.breeze.rip/api/breeze/settings) [spoof](https://scripting.breeze.rip/api/breeze/spoof) [util](https://scripting.breeze.rip/api/breeze/util) [Module](https://scripting.breeze.rip/api/breeze/module) Last updated 14 days ago --- # spoof | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/breeze/spoof.md) . [DelayedPacket](https://scripting.breeze.rip/api/breeze/spoof/delayedpacket) Last updated 14 days ago --- # util | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/breeze/util.md) . [Color](https://scripting.breeze.rip/api/breeze/util/color) [RoundedRect](https://scripting.breeze.rip/api/breeze/util/roundedrect) Last updated 14 days ago --- # Color | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/breeze/util/color.md) . A simple color object. ### Constructors[](https://scripting.breeze.rip/api/breeze/util/color#constructors) #### Constructor[](https://scripting.breeze.rip/api/breeze/util/color#constructor) > **new Color**(`r`, `g`, `b`, `a`): `Color` **Parameters** **r** `number` **g** `number` **b** `number` **a** `number` **Returns** `Color` ### Methods[](https://scripting.breeze.rip/api/breeze/util/color#methods) #### blue()[](https://scripting.breeze.rip/api/breeze/util/color#blue) > **blue**(): `number` **Returns** `number` * * * #### green()[](https://scripting.breeze.rip/api/breeze/util/color#green) > **green**(): `number` **Returns** `number` * * * #### red()[](https://scripting.breeze.rip/api/breeze/util/color#red) > **red**(): `number` **Returns** `number` Last updated 8 months ago * [Constructors](https://scripting.breeze.rip/api/breeze/util/color#constructors) * [Methods](https://scripting.breeze.rip/api/breeze/util/color#methods) --- # DelayedPacket | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/breeze/spoof/delayedpacket.md) . A packet that is delayed until we release it. ### Properties[](https://scripting.breeze.rip/api/breeze/spoof/delayedpacket#properties) #### packet[](https://scripting.breeze.rip/api/breeze/spoof/delayedpacket#packet) > `readonly` **packet**: [`Packet`](https://scripting.breeze.rip/api/net/minecraft/network/packet) The packet that has been delayed. * * * #### time[](https://scripting.breeze.rip/api/breeze/spoof/delayedpacket#time) > `readonly` **time**: `number` The original time this packet was send. ### Methods[](https://scripting.breeze.rip/api/breeze/spoof/delayedpacket#methods) #### direction()[](https://scripting.breeze.rip/api/breeze/spoof/delayedpacket#direction) > **direction**(): [`PacketDirection`](https://scripting.breeze.rip/api/enum_types/packetdirection) Returns the direction of the packet, either IN or OUT. **Returns** [`PacketDirection`](https://scripting.breeze.rip/api/enum_types/packetdirection) * * * #### hasAged()[](https://scripting.breeze.rip/api/breeze/spoof/delayedpacket#hasaged) > **hasAged**(`ms`): `boolean` Checks if this packet has aged beyond the specified time. **Parameters** **ms** `number` The number of milliseconds. **Returns** `boolean` True if this packet has aged beyond the given time, false otherwise. Last updated 4 months ago * [Properties](https://scripting.breeze.rip/api/breeze/spoof/delayedpacket#properties) * [Methods](https://scripting.breeze.rip/api/breeze/spoof/delayedpacket#methods) --- # CancellableEvent | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/breeze/event/cancellableevent.md) . An event that can be cancelled ### Extended by[](https://scripting.breeze.rip/api/breeze/event/cancellableevent#extended-by) * [`JumpEvent`](https://scripting.breeze.rip/api/events/jumpevent) * [`MotionEvent`](https://scripting.breeze.rip/api/events/motionevent) * [`RenderHandEvent`](https://scripting.breeze.rip/api/events/renderhandevent) * [`AngleUpdateEvent`](https://scripting.breeze.rip/api/events/angleupdateevent) * [`KeyPressedEvent`](https://scripting.breeze.rip/api/events/keypressedevent) * [`MouseClickedEvent`](https://scripting.breeze.rip/api/events/mouseclickedevent) * [`PacketReceiveEvent`](https://scripting.breeze.rip/api/events/packetreceiveevent) * [`PacketSendEvent`](https://scripting.breeze.rip/api/events/packetsendevent) ### Methods[](https://scripting.breeze.rip/api/breeze/event/cancellableevent#methods) #### cancel()[](https://scripting.breeze.rip/api/breeze/event/cancellableevent#cancel) > **cancel**(): `void` Cancels the event. **Returns** `void` * * * #### isCancelled()[](https://scripting.breeze.rip/api/breeze/event/cancellableevent#iscancelled) > **isCancelled**(): `boolean` **Returns** `boolean` If the event is cancelled or not. Last updated 3 months ago * [Extended by](https://scripting.breeze.rip/api/breeze/event/cancellableevent#extended-by) * [Methods](https://scripting.breeze.rip/api/breeze/event/cancellableevent#methods) --- # settings | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/breeze/settings.md) . [BooleanSetting](https://scripting.breeze.rip/api/breeze/settings/booleansetting) [ColorSetting](https://scripting.breeze.rip/api/breeze/settings/colorsetting) [DoubleSetting](https://scripting.breeze.rip/api/breeze/settings/doublesetting) [IntSetting](https://scripting.breeze.rip/api/breeze/settings/intsetting) [ModeSetting](https://scripting.breeze.rip/api/breeze/settings/modesetting) [RangeSetting](https://scripting.breeze.rip/api/breeze/settings/rangesetting) [Setting](https://scripting.breeze.rip/api/breeze/settings/setting) [SubGroup](https://scripting.breeze.rip/api/breeze/settings/subgroup) Last updated 14 days ago --- # SubGroup | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/breeze/settings/subgroup.md) . A sub group of settings. ### Constructors[](https://scripting.breeze.rip/api/breeze/settings/subgroup#constructors) #### Constructor[](https://scripting.breeze.rip/api/breeze/settings/subgroup#constructor) > **new SubGroup**(`name`): `SubGroup` **Parameters** **name** `string` The name of the subgroup. **Returns** `SubGroup` ### Methods[](https://scripting.breeze.rip/api/breeze/settings/subgroup#methods) #### getName()[](https://scripting.breeze.rip/api/breeze/settings/subgroup#getname) > **getName**(): `string` **Returns** `string` Last updated 4 months ago * [Constructors](https://scripting.breeze.rip/api/breeze/settings/subgroup#constructors) * [Methods](https://scripting.breeze.rip/api/breeze/settings/subgroup#methods) --- # HitType | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/enum_types/hittype.md) . > **HitType** = `"BLOCK"` | `"ENTITY"` | `"MISS"` Last updated 8 months ago --- # EntityAction | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/enum_types/entityaction.md) . > **EntityAction** = `"START_SNEAKING"` | `"STOP_SNEAKING"` | `"STOP_SLEEPING"` | `"START_SPRINTING"` | `"STOP_SPRINTING"` | `"RIDING_JUMP"` | `"OPEN_INVENTORY"` Last updated 8 months ago --- # net | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net.md) . [minecraft](https://scripting.breeze.rip/api/net/minecraft) Last updated 14 days ago --- # DiggingAction | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/enum_types/diggingaction.md) . > **DiggingAction** = `"START_DESTROY_BLOCK"` | `"ABORT_DESTROY_BLOCK"` | `"STOP_DESTROY_BLOCK"` | `"DROP_ALL_ITEMS"` | `"DROP_ITEM"` | `"RELEASE_USE_ITEM"` Last updated 8 months ago --- # EnumFacing | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/enum_types/enumfacing.md) . > **EnumFacing** = `"DOWN"` | `"UP"` | `"NORTH"` | `"SOUTH"` | `"WEST"` | `"EAST"` Last updated 8 months ago --- # hudManager.onHeight | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudmanager.onheight.md) . > **onHeight**(`onHeight`): `void` Register a callback that returns the height of this HUD element. ### Parameters[](https://scripting.breeze.rip/api/functions/hudmanager.onheight#parameters) #### onHeight[](https://scripting.breeze.rip/api/functions/hudmanager.onheight#onheight) `Function` Function returning the height in pixels. ### Returns[](https://scripting.breeze.rip/api/functions/hudmanager.onheight#returns) `void` ### Example[](https://scripting.breeze.rip/api/functions/hudmanager.onheight#example) Copy hudManager.onHeight(() => { return 20; }); Last updated 4 months ago * [Parameters](https://scripting.breeze.rip/api/functions/hudmanager.onheight#parameters) * [Returns](https://scripting.breeze.rip/api/functions/hudmanager.onheight#returns) * [Example](https://scripting.breeze.rip/api/functions/hudmanager.onheight#example) --- # math.interpolateLastTickPos | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/math.interpolatelasttickpos.md) . > **interpolateLastTickPos**(`pos`, `lastPos`): `number` Interpolates a single coordinate between its previous and current tick value, using the current render partial ticks. ### Parameters[](https://scripting.breeze.rip/api/functions/math.interpolatelasttickpos#parameters) #### pos[](https://scripting.breeze.rip/api/functions/math.interpolatelasttickpos#pos) `number` The coordinate as of this tick. #### lastPos[](https://scripting.breeze.rip/api/functions/math.interpolatelasttickpos#lastpos) `number` The coordinate as of the previous tick. ### Returns[](https://scripting.breeze.rip/api/functions/math.interpolatelasttickpos#returns) `number` The coordinate where it should be drawn this frame. ### Remarks[](https://scripting.breeze.rip/api/functions/math.interpolatelasttickpos#remarks) Use this when you track positions yourself. For entities prefer interpolateEntityPosition. Last updated 14 days ago * [Parameters](https://scripting.breeze.rip/api/functions/math.interpolatelasttickpos#parameters) * [Returns](https://scripting.breeze.rip/api/functions/math.interpolatelasttickpos#returns) * [Remarks](https://scripting.breeze.rip/api/functions/math.interpolatelasttickpos#remarks) --- # PingSpoof | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/examples/pingspoof.md) . Copy script.description = "Delays all packets by a set amount of time." const delay = new IntSetting(script, "Delay", "The amount of ms to delay each packet for", 500, 0, 5000); spoofManager.onPacketSend(packet => { return "DELAY"; }); spoofManager.onUpdate((packets) => { for (let packet of packets) { if (packet.hasAged(delay.getValue())) { spoofManager.release(packet); } } }); Last updated 3 months ago --- # Module | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/breeze/module.md) . A module, can be used to get information about the module. ### Methods[](https://scripting.breeze.rip/api/breeze/module#methods) #### disable()[](https://scripting.breeze.rip/api/breeze/module#disable) > **disable**(): `void` Disables the module. **Returns** `void` * * * #### enable()[](https://scripting.breeze.rip/api/breeze/module#enable) > **enable**(): `void` Enables the module. **Returns** `void` * * * #### enabled()[](https://scripting.breeze.rip/api/breeze/module#enabled) > **enabled**(): `boolean` Returns whether the module is enabled or not. **Returns** `boolean` * * * #### getName()[](https://scripting.breeze.rip/api/breeze/module#getname) > **getName**(): `string` Returns the name of the module. **Returns** `string` * * * #### getSetting()[](https://scripting.breeze.rip/api/breeze/module#getsetting) > **getSetting**(`name`): [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) Returns a setting by name. **Parameters** **name** `string` **Returns** [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) * * * #### toggle()[](https://scripting.breeze.rip/api/breeze/module#toggle) > **toggle**(): `void` Toggles the module on/off state. **Returns** `void` Last updated 4 months ago --- # script.allowHold | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/script.allowhold.md) . > **allowHold**: `boolean` Whether this script allows hold mode. Last updated 3 months ago --- # hudManager.onBackground | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudmanager.onbackground.md) . > **onBackground**(`onBackground`): `void` Register a callback that runs when background rects are collected. ### Parameters[](https://scripting.breeze.rip/api/functions/hudmanager.onbackground#parameters) #### onBackground[](https://scripting.breeze.rip/api/functions/hudmanager.onbackground#onbackground) `Function` Function that will provide background for this HUD element. ### Returns[](https://scripting.breeze.rip/api/functions/hudmanager.onbackground#returns) `void` ### Example[](https://scripting.breeze.rip/api/functions/hudmanager.onbackground#example) Copy hudManager.onBackground(() => { return [new ScriptRoundedRect(hudManager.x, hudManager.y, 100, 20, 3 * hudManager.scale)]; }); Last updated 4 months ago * [Parameters](https://scripting.breeze.rip/api/functions/hudmanager.onbackground#parameters) * [Returns](https://scripting.breeze.rip/api/functions/hudmanager.onbackground#returns) * [Example](https://scripting.breeze.rip/api/functions/hudmanager.onbackground#example) --- # hudManager.onWidth | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudmanager.onwidth.md) . > **onWidth**(`onWidth`): `void` Register a callback that returns the width of this HUD element. ### Parameters[](https://scripting.breeze.rip/api/functions/hudmanager.onwidth#parameters) #### onWidth[](https://scripting.breeze.rip/api/functions/hudmanager.onwidth#onwidth) `Function` Function returning the width in pixels. ### Returns[](https://scripting.breeze.rip/api/functions/hudmanager.onwidth#returns) `void` ### Example[](https://scripting.breeze.rip/api/functions/hudmanager.onwidth#example) Copy hudManager.onWidth(() => { return 100; }); Last updated 4 months ago * [Parameters](https://scripting.breeze.rip/api/functions/hudmanager.onwidth#parameters) * [Returns](https://scripting.breeze.rip/api/functions/hudmanager.onwidth#returns) * [Example](https://scripting.breeze.rip/api/functions/hudmanager.onwidth#example) --- # RoundedRect | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/breeze/util/roundedrect.md) . A rounded rectangle used for HUD backgrounds. ### Constructors[](https://scripting.breeze.rip/api/breeze/util/roundedrect#constructors) #### Constructor[](https://scripting.breeze.rip/api/breeze/util/roundedrect#constructor) > **new RoundedRect**(`x`, `y`, `w`, `h`, `r`): `RoundedRect` **Parameters** **x** `number` **y** `number` **w** `number` **h** `number` **r** `number` **Returns** `RoundedRect` #### Constructor[](https://scripting.breeze.rip/api/breeze/util/roundedrect#constructor-1) > **new RoundedRect**(`x`, `y`, `w`, `h`, `rtl`, `rtr`, `rbr`, `rbl`): `RoundedRect` **Parameters** **x** `number` **y** `number` **w** `number` **h** `number` **rtl** `number` **rtr** `number` **rbr** `number` **rbl** `number` **Returns** `RoundedRect` ### Methods[](https://scripting.breeze.rip/api/breeze/util/roundedrect#methods) #### getH()[](https://scripting.breeze.rip/api/breeze/util/roundedrect#geth) > **getH**(): `number` **Returns** `number` * * * #### getRBL()[](https://scripting.breeze.rip/api/breeze/util/roundedrect#getrbl) > **getRBL**(): `number` **Returns** `number` * * * #### getRBR()[](https://scripting.breeze.rip/api/breeze/util/roundedrect#getrbr) > **getRBR**(): `number` **Returns** `number` * * * #### getRTL()[](https://scripting.breeze.rip/api/breeze/util/roundedrect#getrtl) > **getRTL**(): `number` **Returns** `number` * * * #### getRTR()[](https://scripting.breeze.rip/api/breeze/util/roundedrect#getrtr) > **getRTR**(): `number` **Returns** `number` * * * #### getW()[](https://scripting.breeze.rip/api/breeze/util/roundedrect#getw) > **getW**(): `number` **Returns** `number` * * * #### getX()[](https://scripting.breeze.rip/api/breeze/util/roundedrect#getx) > **getX**(): `number` **Returns** `number` * * * #### getY()[](https://scripting.breeze.rip/api/breeze/util/roundedrect#gety) > **getY**(): `number` **Returns** `number` Last updated 4 months ago * [Constructors](https://scripting.breeze.rip/api/breeze/util/roundedrect#constructors) * [Methods](https://scripting.breeze.rip/api/breeze/util/roundedrect#methods) --- # formatting.YELLOW | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.yellow.md) . > `const` **YELLOW**: `string` Last updated 8 months ago --- # hudManager.onRender | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudmanager.onrender.md) . > **onRender**(`onRender`): `void` Register a callback that runs on render. ### Parameters[](https://scripting.breeze.rip/api/functions/hudmanager.onrender#parameters) #### onRender[](https://scripting.breeze.rip/api/functions/hudmanager.onrender#onrender) `Function` Function that will render this HUD element. Receives (x, y, scale) as arguments. ### Returns[](https://scripting.breeze.rip/api/functions/hudmanager.onrender#returns) `void` ### Example[](https://scripting.breeze.rip/api/functions/hudmanager.onrender#example) Copy hudManager.onRender((x, y, scale) => { //draw something here }); Last updated 25 days ago * [Parameters](https://scripting.breeze.rip/api/functions/hudmanager.onrender#parameters) * [Returns](https://scripting.breeze.rip/api/functions/hudmanager.onrender#returns) * [Example](https://scripting.breeze.rip/api/functions/hudmanager.onrender#example) --- # hudRenderer.drawSVGWithEffect | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvgwitheffect.md) . ### Call Signature[](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvgwitheffect#call-signature) > **drawSVGWithEffect**(`url`, `x`, `y`, `scale`, `alpha`): `void` Draws an SVG from an http/https URL colored with the current HUD effect (rainbow/gradient/pulse/none). #### Parameters[](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvgwitheffect#parameters) **url** `string` An http/https SVG URL. **x** `number` The x position. **y** `number` The y position. **scale** `number` The rasterization scale. **alpha** `number` The opacity (0.0–1.0). #### Returns[](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvgwitheffect#returns) `void` ### Call Signature[](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvgwitheffect#call-signature-1) > **drawSVGWithEffect**(`url`, `x`, `y`, `scale`, `alpha`, `glowAmount`): `void` Draws an SVG from an http/https URL with the current HUD effect and a soft glow behind it. #### Parameters[](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvgwitheffect#parameters-1) **url** `string` An http/https SVG URL. **x** `number` The x position. **y** `number` The y position. **scale** `number` The rasterization scale. **alpha** `number` The opacity (0.0–1.0). **glowAmount** `number` The glow blur radius in pixels. #### Returns[](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvgwitheffect#returns-1) `void` Last updated 25 days ago * [Call Signature](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvgwitheffect#call-signature) * [Call Signature](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvgwitheffect#call-signature-1) --- # Setting | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/breeze/settings/setting.md) . ### Extended by[](https://scripting.breeze.rip/api/breeze/settings/setting#extended-by) * [`RangeSetting`](https://scripting.breeze.rip/api/breeze/settings/rangesetting) * [`ColorSetting`](https://scripting.breeze.rip/api/breeze/settings/colorsetting) * [`IntSetting`](https://scripting.breeze.rip/api/breeze/settings/intsetting) * [`ModeSetting`](https://scripting.breeze.rip/api/breeze/settings/modesetting) * [`BooleanSetting`](https://scripting.breeze.rip/api/breeze/settings/booleansetting) * [`DoubleSetting`](https://scripting.breeze.rip/api/breeze/settings/doublesetting) ### Methods[](https://scripting.breeze.rip/api/breeze/settings/setting#methods) #### description()[](https://scripting.breeze.rip/api/breeze/settings/setting#description) > **description**(): `string` **Returns** `string` The description of the setting. * * * #### name()[](https://scripting.breeze.rip/api/breeze/settings/setting#name) > **name**(): `string` **Returns** `string` The name of the setting. * * * #### visible()[](https://scripting.breeze.rip/api/breeze/settings/setting#visible) > **visible**(`visible`): `void` You can use this to hide settings temporarily depending on the user config. The callback should return a boolean. **Parameters** **visible** `Function` The function to determine if the setting should be visible or not. **Returns** `void` **Example** Last updated 3 months ago * [Extended by](https://scripting.breeze.rip/api/breeze/settings/setting#extended-by) * [Methods](https://scripting.breeze.rip/api/breeze/settings/setting#methods) Copy const delay = new IntSetting("Delay", "The amount of ticks to wait in between attacks.", false); delay.visible(() => { return someOtherSetting.getValue() }); --- # DoubleSetting | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/breeze/settings/doublesetting.md) . A double setting. ### Extends[](https://scripting.breeze.rip/api/breeze/settings/doublesetting#extends) * [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) ### Constructors[](https://scripting.breeze.rip/api/breeze/settings/doublesetting#constructors) #### Constructor[](https://scripting.breeze.rip/api/breeze/settings/doublesetting#constructor) > **new DoubleSetting**(`owner`, `name`, `description`, `defaultValue`, `min`, `max`): `DoubleSetting` **Parameters** **owner** `object` Can either be 'script' or a subgroup. **name** `string` The name of the setting. **description** `string` The description of the setting. **defaultValue** `number` The default value of the setting. **min** `number` The minimum value of the setting. **max** `number` The maximum value of the setting. **Returns** `DoubleSetting` **Overrides** `Setting.constructor` #### Constructor[](https://scripting.breeze.rip/api/breeze/settings/doublesetting#constructor-1) > **new DoubleSetting**(`owner`, `name`, `description`, `defaultValue`, `min`, `max`, `step`): `DoubleSetting` **Parameters** **owner** `object` Can either be 'script' or a subgroup. **name** `string` The name of the setting. **description** `string` The description of the setting. **defaultValue** `number` The default value of the setting. **min** `number` The minimum value of the setting. **max** `number` The maximum value of the setting. **step** `number` The amount to round the setting by when adjusting via the slider. **Returns** `DoubleSetting` **Overrides** `Setting.constructor` ### Methods[](https://scripting.breeze.rip/api/breeze/settings/doublesetting#methods) #### description()[](https://scripting.breeze.rip/api/breeze/settings/doublesetting#description) > **description**(): `string` **Returns** `string` The description of the setting. **Inherited from** [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) .[`description`](https://scripting.breeze.rip/api/breeze/settings/setting#description) * * * #### getValue()[](https://scripting.breeze.rip/api/breeze/settings/doublesetting#getvalue) > **getValue**(): `number` **Returns** `number` The value of the setting. * * * #### name()[](https://scripting.breeze.rip/api/breeze/settings/doublesetting#name) > **name**(): `string` **Returns** `string` The name of the setting. **Inherited from** [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) .[`name`](https://scripting.breeze.rip/api/breeze/settings/setting#name) * * * #### setValue()[](https://scripting.breeze.rip/api/breeze/settings/doublesetting#setvalue) > **setValue**(`value`): `void` **Parameters** **value** `number` The value to set the setting to. **Returns** `void` * * * #### visible()[](https://scripting.breeze.rip/api/breeze/settings/doublesetting#visible) > **visible**(`visible`): `void` You can use this to hide settings temporarily depending on the user config. The callback should return a boolean. **Parameters** **visible** `Function` The function to determine if the setting should be visible or not. **Returns** `void` **Example** **Inherited from** [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) .[`visible`](https://scripting.breeze.rip/api/breeze/settings/setting#visible) Last updated 4 months ago * [Extends](https://scripting.breeze.rip/api/breeze/settings/doublesetting#extends) * [Constructors](https://scripting.breeze.rip/api/breeze/settings/doublesetting#constructors) * [Methods](https://scripting.breeze.rip/api/breeze/settings/doublesetting#methods) Copy const delay = new IntSetting("Delay", "The amount of ticks to wait in between attacks.", false); delay.visible(() => { return someOtherSetting.getValue() }); --- # ModeSetting | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/breeze/settings/modesetting.md) . A mode setting. ### Extends[](https://scripting.breeze.rip/api/breeze/settings/modesetting#extends) * [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) ### Constructors[](https://scripting.breeze.rip/api/breeze/settings/modesetting#constructors) #### Constructor[](https://scripting.breeze.rip/api/breeze/settings/modesetting#constructor) > **new ModeSetting**(`owner`, `name`, `description`, `defaultValue`, `values`): `ModeSetting` **Parameters** **owner** `object` Can either be 'script' or a subgroup. **name** `string` The name of the setting. **description** `string` The description of the setting. **defaultValue** `string` The default mode of the setting. **values** `string`\[\] An array of possible mode for the setting. **Returns** `ModeSetting` **Overrides** `Setting.constructor` ### Methods[](https://scripting.breeze.rip/api/breeze/settings/modesetting#methods) #### description()[](https://scripting.breeze.rip/api/breeze/settings/modesetting#description) > **description**(): `string` **Returns** `string` The description of the setting. **Overrides** [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) .[`description`](https://scripting.breeze.rip/api/breeze/settings/setting#description) * * * #### getValue()[](https://scripting.breeze.rip/api/breeze/settings/modesetting#getvalue) > **getValue**(): `string` **Returns** `string` The name of the currently selected mode. * * * #### is()[](https://scripting.breeze.rip/api/breeze/settings/modesetting#is) > **is**(`mode`): `boolean` Check if the requested mode is the current one. **Parameters** **mode** `string` The mode you want to check. **Returns** `boolean` True if the mode is currently selected * * * #### name()[](https://scripting.breeze.rip/api/breeze/settings/modesetting#name) > **name**(): `string` **Returns** `string` The name of the setting. **Overrides** [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) .[`name`](https://scripting.breeze.rip/api/breeze/settings/setting#name) * * * #### setValue()[](https://scripting.breeze.rip/api/breeze/settings/modesetting#setvalue) > **setValue**(`mode`): `void` **Parameters** **mode** `string` The mode you want to set the setting to. **Returns** `void` * * * #### visible()[](https://scripting.breeze.rip/api/breeze/settings/modesetting#visible) > **visible**(`visible`): `void` You can use this to hide settings temporarily depending on the user config. The callback should return a boolean. **Parameters** **visible** `Function` The function to determine if the setting should be visible or not. **Returns** `void` **Example** **Inherited from** [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) .[`visible`](https://scripting.breeze.rip/api/breeze/settings/setting#visible) Last updated 4 months ago * [Extends](https://scripting.breeze.rip/api/breeze/settings/modesetting#extends) * [Constructors](https://scripting.breeze.rip/api/breeze/settings/modesetting#constructors) * [Methods](https://scripting.breeze.rip/api/breeze/settings/modesetting#methods) Copy const delay = new IntSetting("Delay", "The amount of ticks to wait in between attacks.", false); delay.visible(() => { return someOtherSetting.getValue() }); --- # BooleanSetting | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/breeze/settings/booleansetting.md) . A simple boolean setting. ### Remarks[](https://scripting.breeze.rip/api/breeze/settings/booleansetting#remarks) Can only be created while initializing the script. ### Example[](https://scripting.breeze.rip/api/breeze/settings/booleansetting#example) Copy const alwaysAttack = new BooleanSetting("AlwaysAttack", "If the module will always attack regardles of player health.", false); ### Extends[](https://scripting.breeze.rip/api/breeze/settings/booleansetting#extends) * [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) ### Constructors[](https://scripting.breeze.rip/api/breeze/settings/booleansetting#constructors) #### Constructor[](https://scripting.breeze.rip/api/breeze/settings/booleansetting#constructor) > **new BooleanSetting**(`holder`, `name`, `description`, `defaultValue`): `BooleanSetting` **Parameters** **holder** `object` Can either be 'script' or a subgroup. **name** `string` The name of the setting. **description** `string` The description of the setting. **defaultValue** `boolean` The default value of the setting. **Returns** `BooleanSetting` **Overrides** `Setting.constructor` ### Methods[](https://scripting.breeze.rip/api/breeze/settings/booleansetting#methods) #### description()[](https://scripting.breeze.rip/api/breeze/settings/booleansetting#description) > **description**(): `string` **Returns** `string` The description of the setting. **Inherited from** [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) .[`description`](https://scripting.breeze.rip/api/breeze/settings/setting#description) * * * #### getValue()[](https://scripting.breeze.rip/api/breeze/settings/booleansetting#getvalue) > **getValue**(): `boolean` **Returns** `boolean` If the settings is toggled or not. * * * #### name()[](https://scripting.breeze.rip/api/breeze/settings/booleansetting#name) > **name**(): `string` **Returns** `string` The name of the setting. **Inherited from** [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) .[`name`](https://scripting.breeze.rip/api/breeze/settings/setting#name) * * * #### setValue()[](https://scripting.breeze.rip/api/breeze/settings/booleansetting#setvalue) > **setValue**(`value`): `void` **Parameters** **value** `boolean` The value to set the setting to. **Returns** `void` * * * #### visible()[](https://scripting.breeze.rip/api/breeze/settings/booleansetting#visible) > **visible**(`visible`): `void` You can use this to hide settings temporarily depending on the user config. The callback should return a boolean. **Parameters** **visible** `Function` The function to determine if the setting should be visible or not. **Returns** `void` **Example** **Inherited from** [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) .[`visible`](https://scripting.breeze.rip/api/breeze/settings/setting#visible) Last updated 4 months ago * [Remarks](https://scripting.breeze.rip/api/breeze/settings/booleansetting#remarks) * [Example](https://scripting.breeze.rip/api/breeze/settings/booleansetting#example) * [Extends](https://scripting.breeze.rip/api/breeze/settings/booleansetting#extends) * [Constructors](https://scripting.breeze.rip/api/breeze/settings/booleansetting#constructors) * [Methods](https://scripting.breeze.rip/api/breeze/settings/booleansetting#methods) Copy const delay = new IntSetting("Delay", "The amount of ticks to wait in between attacks.", false); delay.visible(() => { return someOtherSetting.getValue() }); --- # math.clamp | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/math.clamp.md) . > **clamp**(`value`, `min`, `max`): `number` Clamps a value so it never leaves the given range. ### Parameters[](https://scripting.breeze.rip/api/functions/math.clamp#parameters) #### value[](https://scripting.breeze.rip/api/functions/math.clamp#value) `number` The value to clamp. #### min[](https://scripting.breeze.rip/api/functions/math.clamp#min) `number` The lowest value the result can be. #### max[](https://scripting.breeze.rip/api/functions/math.clamp#max) `number` The highest value the result can be. ### Returns[](https://scripting.breeze.rip/api/functions/math.clamp#returns) `number` The value, limited to the range between min and max. ### Example[](https://scripting.breeze.rip/api/functions/math.clamp#example) Last updated 14 days ago * [Parameters](https://scripting.breeze.rip/api/functions/math.clamp#parameters) * [Returns](https://scripting.breeze.rip/api/functions/math.clamp#returns) * [Example](https://scripting.breeze.rip/api/functions/math.clamp#example) Copy math.clamp(health, 0, 20); --- # rotationManager.rotate | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/rotationmanager.rotate.md) . > **rotate**(`yaw`, `pitch`, `speed`): `boolean` Request a smooth rotation toward the given yaw/pitch at the given speed (degrees per tick). Returns true when the target is reached this call. ### Parameters[](https://scripting.breeze.rip/api/functions/rotationmanager.rotate#parameters) #### yaw[](https://scripting.breeze.rip/api/functions/rotationmanager.rotate#yaw) `number` Target yaw in degrees. #### pitch[](https://scripting.breeze.rip/api/functions/rotationmanager.rotate#pitch) `number` Target pitch in degrees. #### speed[](https://scripting.breeze.rip/api/functions/rotationmanager.rotate#speed) `number` Max step (deg/tick). ### Returns[](https://scripting.breeze.rip/api/functions/rotationmanager.rotate#returns) `boolean` ### Example[](https://scripting.breeze.rip/api/functions/rotationmanager.rotate#example) Last updated 8 months ago * [Parameters](https://scripting.breeze.rip/api/functions/rotationmanager.rotate#parameters) * [Returns](https://scripting.breeze.rip/api/functions/rotationmanager.rotate#returns) * [Example](https://scripting.breeze.rip/api/functions/rotationmanager.rotate#example) Copy const done = rotationManager.rotate(90.0, 0.0, 10.0); --- # rotationManager.onRotate | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/rotationmanager.onrotate.md) . > **onRotate**(`onUpdate`): `void` Register the main rotation callback. This is where you call rotate(). ### Parameters[](https://scripting.breeze.rip/api/functions/rotationmanager.onrotate#parameters) #### onUpdate[](https://scripting.breeze.rip/api/functions/rotationmanager.onrotate#onupdate) `Function` Function invoked every tick. ### Returns[](https://scripting.breeze.rip/api/functions/rotationmanager.onrotate#returns) `void` ### Example[](https://scripting.breeze.rip/api/functions/rotationmanager.onrotate#example) Copy rotationManager.onRotate(() => { // Simple aim step rotationManager.rotate(targetYaw, targetPitch, 8.0); }); Last updated 2 months ago * [Parameters](https://scripting.breeze.rip/api/functions/rotationmanager.onrotate#parameters) * [Returns](https://scripting.breeze.rip/api/functions/rotationmanager.onrotate#returns) * [Example](https://scripting.breeze.rip/api/functions/rotationmanager.onrotate#example) --- # spoofManager.onUpdate | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/spoofmanager.onupdate.md) . > **onUpdate**(`f`): `void` Register the callback for updates. This is called whenever a packet is delayed. You can use this to release packets after a certain amount of time. ### Parameters[](https://scripting.breeze.rip/api/functions/spoofmanager.onupdate#parameters) #### f[](https://scripting.breeze.rip/api/functions/spoofmanager.onupdate#f) (`packets`) => `void` ### Returns[](https://scripting.breeze.rip/api/functions/spoofmanager.onupdate#returns) `void` ### Example[](https://scripting.breeze.rip/api/functions/spoofmanager.onupdate#example) Copy spoofManager.onUpdate(packets => { for (let packet of packets) { if (packet.hasAged(1000)) { // Release after 1 second spoofManager.release(packet); } } }); Last updated 8 months ago * [Parameters](https://scripting.breeze.rip/api/functions/spoofmanager.onupdate#parameters) * [Returns](https://scripting.breeze.rip/api/functions/spoofmanager.onupdate#returns) * [Example](https://scripting.breeze.rip/api/functions/spoofmanager.onupdate#example) --- # script.addListener | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/script.addlistener.md) . > **addListener**<`K`\>(`event`, `listener`): `void` Add an event listener to the script. ### Type Parameters[](https://scripting.breeze.rip/api/functions/script.addlistener#type-parameters) #### K[](https://scripting.breeze.rip/api/functions/script.addlistener#k) `K` _extends_ keyof `EventMap` ### Parameters[](https://scripting.breeze.rip/api/functions/script.addlistener#parameters) #### event[](https://scripting.breeze.rip/api/functions/script.addlistener#event) `K` The event to listen to. #### listener[](https://scripting.breeze.rip/api/functions/script.addlistener#listener) (`e`) => `void` The function to call when the event is fired. ### Returns[](https://scripting.breeze.rip/api/functions/script.addlistener#returns) `void` ### Remarks[](https://scripting.breeze.rip/api/functions/script.addlistener#remarks) This can only be used while the script is initializing. ### Example[](https://scripting.breeze.rip/api/functions/script.addlistener#example) Last updated 4 months ago * [Type Parameters](https://scripting.breeze.rip/api/functions/script.addlistener#type-parameters) * [Parameters](https://scripting.breeze.rip/api/functions/script.addlistener#parameters) * [Returns](https://scripting.breeze.rip/api/functions/script.addlistener#returns) * [Remarks](https://scripting.breeze.rip/api/functions/script.addlistener#remarks) * [Example](https://scripting.breeze.rip/api/functions/script.addlistener#example) Copy script.addListener("Render3DEvent", (event) => { // ... }); --- # QuickMine | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/examples/quickmine.md) . Copy script.description = "Mine blocks at twice the speed!"; const sendAnimation = new BooleanSetting(script, "SwingPacket", "If this is enabled the module will also send the needed swing packet", true); script.addListener("PreTickEvent", (event) => { if (mc.playerController.isHittingBlock() && mc.objectMouseOver.blockPos != null) { if (mc.playerController.damageBlock(mc.objectMouseOver.blockPos, mc.objectMouseOver.sideHit) && sendAnimation.getValue()) { spoofManager.sendPacket(new C0APacketAnimation()); } } }); Last updated 3 months ago --- # PacketDirection | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/enum_types/packetdirection.md) . > **PacketDirection** = `"IN"` | `"OUT"` Last updated 8 months ago --- # SpoofAction | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/enum_types/spoofaction.md) . > **SpoofAction** = `"PROCESS"` | `"CANCEL"` | `"DELAY"` Last updated 8 months ago --- # UseEntityAction | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/enum_types/useentityaction.md) . > **UseEntityAction** = `"ATTACK"` | `"INTERACT_AT"` | `"INTERACT"` Last updated 8 months ago --- # hudRenderer.drawCircle | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudrenderer.drawcircle.md) . > **drawCircle**(`cx`, `cy`, `radius`, `color`): `void` Draws a filled circle. ### Parameters[](https://scripting.breeze.rip/api/functions/hudrenderer.drawcircle#parameters) #### cx[](https://scripting.breeze.rip/api/functions/hudrenderer.drawcircle#cx) `number` The center x position. #### cy[](https://scripting.breeze.rip/api/functions/hudrenderer.drawcircle#cy) `number` The center y position. #### radius[](https://scripting.breeze.rip/api/functions/hudrenderer.drawcircle#radius) `number` The radius. #### color[](https://scripting.breeze.rip/api/functions/hudrenderer.drawcircle#color) [`Color`](https://scripting.breeze.rip/api/breeze/util/color) The fill color. ### Returns[](https://scripting.breeze.rip/api/functions/hudrenderer.drawcircle#returns) `void` Last updated 4 months ago * [Parameters](https://scripting.breeze.rip/api/functions/hudrenderer.drawcircle#parameters) * [Returns](https://scripting.breeze.rip/api/functions/hudrenderer.drawcircle#returns) --- # spoofManager.sendPacket | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/spoofmanager.sendpacket.md) . > **sendPacket**(`packet`, `event`): `void` Sends a packet to the server. ### Parameters[](https://scripting.breeze.rip/api/functions/spoofmanager.sendpacket#parameters) #### packet[](https://scripting.breeze.rip/api/functions/spoofmanager.sendpacket#packet) [`Packet`](https://scripting.breeze.rip/api/net/minecraft/network/packet) The packet to send. #### event[](https://scripting.breeze.rip/api/functions/spoofmanager.sendpacket#event) `boolean` Whether the packet is an event. ### Returns[](https://scripting.breeze.rip/api/functions/spoofmanager.sendpacket#returns) `void` ### Remarks[](https://scripting.breeze.rip/api/functions/spoofmanager.sendpacket#remarks) Sending server packets to the server is in most cases a very good way to get yourself banned! Last updated 4 months ago * [Parameters](https://scripting.breeze.rip/api/functions/spoofmanager.sendpacket#parameters) * [Returns](https://scripting.breeze.rip/api/functions/spoofmanager.sendpacket#returns) * [Remarks](https://scripting.breeze.rip/api/functions/spoofmanager.sendpacket#remarks) --- # mc.pointedEntity | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/mc.pointedentity.md) . > `const` **pointedEntity**: [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) The entity that the local player is looking at. Last updated 8 months ago --- # spoofManager.onPacketSend | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketsend.md) . > **onPacketSend**(`f`): `void` Register the callback for outbound packets. You should return a valid SpoofAction which can be: * PROCESS: Does nothing lets the packet continue just like normal. * CANCEL: Cancels the packet entirely. * DELAY: Starts delaying the packet until you decide to release it. ### Parameters[](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketsend#parameters) #### f[](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketsend#f) (`packet`) => [`SpoofAction`](https://scripting.breeze.rip/api/enum_types/spoofaction) ### Returns[](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketsend#returns) `void` ### Example[](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketsend#example) Copy spoofManager.onPacketSend(packet => { if (packet instanceof C0BPacketEntityAction && packet.getAction() === "START_SNEAKING") { return "CANCEL"; // Cancel sneaking packets } return "PROCESS"; }); Last updated 8 months ago * [Parameters](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketsend#parameters) * [Returns](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketsend#returns) * [Example](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketsend#example) --- # hudRenderer.drawRect | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudrenderer.drawrect.md) . ### Call Signature[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrect#call-signature) > **drawRect**(`x`, `y`, `w`, `h`, `radius`, `color`): `void` Draws a rounded rectangle with a uniform corner radius and a solid color. #### Parameters[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrect#parameters) **x** `number` The x position. **y** `number` The y position. **w** `number` The width. **h** `number` The height. **radius** `number` The corner radius. **color** [`Color`](https://scripting.breeze.rip/api/breeze/util/color) The fill color. #### Returns[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrect#returns) `void` ### Call Signature[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrect#call-signature-1) > **drawRect**(`x`, `y`, `w`, `h`, `rtl`, `rtr`, `rbr`, `rbl`, `color`): `void` Draws a rounded rectangle with per-corner radii (TL, TR, BR, BL) and a solid color. #### Parameters[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrect#parameters-1) **x** `number` The x position. **y** `number` The y position. **w** `number` The width. **h** `number` The height. **rtl** `number` Top-left radius. **rtr** `number` Top-right radius. **rbr** `number` Bottom-right radius. **rbl** `number` Bottom-left radius. **color** [`Color`](https://scripting.breeze.rip/api/breeze/util/color) The fill color. #### Returns[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrect#returns-1) `void` Last updated 4 months ago * [Call Signature](https://scripting.breeze.rip/api/functions/hudrenderer.drawrect#call-signature) * [Call Signature](https://scripting.breeze.rip/api/functions/hudrenderer.drawrect#call-signature-1) --- # hudRenderer.drawTextureGradient | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexturegradient.md) . > **drawTextureGradient**(`url`, `x`, `y`, `w`, `h`, `c1`, `c2`, `vertical`): `void` Draws an image from an http/https URL with a two-color gradient overlay blended on top of the texture RGB. ### Parameters[](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexturegradient#parameters) #### url[](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexturegradient#url) `string` An http/https image URL. #### x[](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexturegradient#x) `number` The x position. #### y[](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexturegradient#y) `number` The y position. #### w[](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexturegradient#w) `number` The width. #### h[](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexturegradient#h) `number` The height. #### c1[](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexturegradient#c1) [`Color`](https://scripting.breeze.rip/api/breeze/util/color) The start color. #### c2[](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexturegradient#c2) [`Color`](https://scripting.breeze.rip/api/breeze/util/color) The end color. #### vertical[](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexturegradient#vertical) `boolean` True for top-to-bottom, false for left-to-right. ### Returns[](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexturegradient#returns) `void` Last updated 25 days ago * [Parameters](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexturegradient#parameters) * [Returns](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexturegradient#returns) --- # RangeSetting | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/breeze/settings/rangesetting.md) . A range setting. ### Extends[](https://scripting.breeze.rip/api/breeze/settings/rangesetting#extends) * [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) ### Constructors[](https://scripting.breeze.rip/api/breeze/settings/rangesetting#constructors) #### Constructor[](https://scripting.breeze.rip/api/breeze/settings/rangesetting#constructor) > **new RangeSetting**(`owner`, `name`, `description`, `defaultMin`, `defaultMax`, `min`, `max`, `step`): `RangeSetting` **Parameters** **owner** `object` Can either be 'script' or a subgroup. **name** `string` The name of the setting. **description** `string` The description of the setting. **defaultMin** `number` The default minimum value. **defaultMax** `number` The default maximum value. **min** `number` The minimum allowed value. **max** `number` The maximum allowed value. **step** `number` The step size between values. **Returns** `RangeSetting` **Overrides** `Setting.constructor` ### Methods[](https://scripting.breeze.rip/api/breeze/settings/rangesetting#methods) #### description()[](https://scripting.breeze.rip/api/breeze/settings/rangesetting#description) > **description**(): `string` **Returns** `string` The description of the setting. **Inherited from** [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) .[`description`](https://scripting.breeze.rip/api/breeze/settings/setting#description) * * * #### getMax()[](https://scripting.breeze.rip/api/breeze/settings/rangesetting#getmax) > **getMax**(): `number` **Returns** `number` The maximum value of the setting. * * * #### getMin()[](https://scripting.breeze.rip/api/breeze/settings/rangesetting#getmin) > **getMin**(): `number` **Returns** `number` The minimum value of the setting. * * * #### name()[](https://scripting.breeze.rip/api/breeze/settings/rangesetting#name) > **name**(): `string` **Returns** `string` The name of the setting. **Inherited from** [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) .[`name`](https://scripting.breeze.rip/api/breeze/settings/setting#name) * * * #### random()[](https://scripting.breeze.rip/api/breeze/settings/rangesetting#random) > **random**(): `number` **Returns** `number` A random value within the selected range * * * #### visible()[](https://scripting.breeze.rip/api/breeze/settings/rangesetting#visible) > **visible**(`visible`): `void` You can use this to hide settings temporarily depending on the user config. The callback should return a boolean. **Parameters** **visible** `Function` The function to determine if the setting should be visible or not. **Returns** `void` **Example** **Inherited from** [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) .[`visible`](https://scripting.breeze.rip/api/breeze/settings/setting#visible) Last updated 4 months ago * [Extends](https://scripting.breeze.rip/api/breeze/settings/rangesetting#extends) * [Constructors](https://scripting.breeze.rip/api/breeze/settings/rangesetting#constructors) * [Methods](https://scripting.breeze.rip/api/breeze/settings/rangesetting#methods) Copy const delay = new IntSetting("Delay", "The amount of ticks to wait in between attacks.", false); delay.visible(() => { return someOtherSetting.getValue() }); --- # hudRenderer.drawTexture | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexture.md) . > **drawTexture**(`url`, `x`, `y`, `w`, `h`, `tint`): `void` Draws an image from an http/https URL with a flat colour tint. The download happens asynchronously; the call is silently skipped until the image is ready. Results are cached after the first successful load. ### Parameters[](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexture#parameters) #### url[](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexture#url) `string` An http/https image URL. #### x[](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexture#x) `number` The x position. #### y[](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexture#y) `number` The y position. #### w[](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexture#w) `number` The width. #### h[](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexture#h) `number` The height. #### tint[](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexture#tint) [`Color`](https://scripting.breeze.rip/api/breeze/util/color) The tint color (use Color(255,255,255,255) for no tint). ### Returns[](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexture#returns) `void` Last updated 25 days ago * [Parameters](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexture#parameters) * [Returns](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexture#returns) --- # Enum_Types | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/enum_types.md) . [DiggingAction](https://scripting.breeze.rip/api/enum_types/diggingaction) [EntityAction](https://scripting.breeze.rip/api/enum_types/entityaction) [EnumFacing](https://scripting.breeze.rip/api/enum_types/enumfacing) [HitType](https://scripting.breeze.rip/api/enum_types/hittype) [PacketDirection](https://scripting.breeze.rip/api/enum_types/packetdirection) [SpoofAction](https://scripting.breeze.rip/api/enum_types/spoofaction) [UseEntityAction](https://scripting.breeze.rip/api/enum_types/useentityaction) Last updated 14 days ago --- # hudRenderer.drawItemStack | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudrenderer.drawitemstack.md) . ### Call Signature[](https://scripting.breeze.rip/api/functions/hudrenderer.drawitemstack#call-signature) > **drawItemStack**(`stack`, `x`, `y`, `size`): `void` Draws an item stack scaled to the given size, with count and durability overlay. #### Parameters[](https://scripting.breeze.rip/api/functions/hudrenderer.drawitemstack#parameters) **stack** [`ItemStack`](https://scripting.breeze.rip/api/net/minecraft/item/itemstack) The item stack to draw. **x** `number` The x position. **y** `number` The y position. **size** `number` The size in pixels (native item size is 16). #### Returns[](https://scripting.breeze.rip/api/functions/hudrenderer.drawitemstack#returns) `void` ### Call Signature[](https://scripting.breeze.rip/api/functions/hudrenderer.drawitemstack#call-signature-1) > **drawItemStack**(`stack`, `x`, `y`, `size`, `overlay`): `void` Draws an item stack scaled to the given size, with optional count and durability overlay. #### Parameters[](https://scripting.breeze.rip/api/functions/hudrenderer.drawitemstack#parameters-1) **stack** [`ItemStack`](https://scripting.breeze.rip/api/net/minecraft/item/itemstack) The item stack to draw. **x** `number` The x position. **y** `number` The y position. **size** `number` The size in pixels (native item size is 16). **overlay** `boolean` Whether to draw the stack count and durability bar. #### Returns[](https://scripting.breeze.rip/api/functions/hudrenderer.drawitemstack#returns-1) `void` Last updated 4 months ago * [Call Signature](https://scripting.breeze.rip/api/functions/hudrenderer.drawitemstack#call-signature) * [Call Signature](https://scripting.breeze.rip/api/functions/hudrenderer.drawitemstack#call-signature-1) --- # hudRenderer.drawRectGradient | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectgradient.md) . > **drawRectGradient**(`x`, `y`, `w`, `h`, `radius`, `color1`, `color2`, `vertical`): `void` Draws a rounded rectangle filled with a two-color gradient. ### Parameters[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectgradient#parameters) #### x[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectgradient#x) `number` The x position. #### y[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectgradient#y) `number` The y position. #### w[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectgradient#w) `number` The width. #### h[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectgradient#h) `number` The height. #### radius[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectgradient#radius) `number` The corner radius. #### color1[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectgradient#color1) [`Color`](https://scripting.breeze.rip/api/breeze/util/color) color1 - The start color. #### color2[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectgradient#color2) [`Color`](https://scripting.breeze.rip/api/breeze/util/color) color2 - The end color. #### vertical[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectgradient#vertical) `boolean` True for top-to-bottom, false for left-to-right. ### Returns[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectgradient#returns) `void` Last updated 4 months ago * [Parameters](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectgradient#parameters) * [Returns](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectgradient#returns) --- # hudRenderer.drawString | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudrenderer.drawstring.md) . ### Call Signature[](https://scripting.breeze.rip/api/functions/hudrenderer.drawstring#call-signature) > **drawString**(`x`, `y`, `text`, `color`): `void` Draws a string at the given position using the current HUD font. #### Parameters[](https://scripting.breeze.rip/api/functions/hudrenderer.drawstring#parameters) **x** `number` The x position. **y** `number` The y position. **text** `string` The string to draw. **color** [`Color`](https://scripting.breeze.rip/api/breeze/util/color) The color of the text. #### Returns[](https://scripting.breeze.rip/api/functions/hudrenderer.drawstring#returns) `void` ### Call Signature[](https://scripting.breeze.rip/api/functions/hudrenderer.drawstring#call-signature-1) > **drawString**(`x`, `y`, `text`, `color`, `shadow`): `void` Draws a string at the given position using the current HUD font, with optional shadow. #### Parameters[](https://scripting.breeze.rip/api/functions/hudrenderer.drawstring#parameters-1) **x** `number` The x position. **y** `number` The y position. **text** `string` The string to draw. **color** [`Color`](https://scripting.breeze.rip/api/breeze/util/color) The color of the text. **shadow** `boolean` Whether to draw a drop shadow. #### Returns[](https://scripting.breeze.rip/api/functions/hudrenderer.drawstring#returns-1) `void` Last updated 4 months ago * [Call Signature](https://scripting.breeze.rip/api/functions/hudrenderer.drawstring#call-signature) * [Call Signature](https://scripting.breeze.rip/api/functions/hudrenderer.drawstring#call-signature-1) --- # hudRenderer.drawRectGlow | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectglow.md) . > **drawRectGlow**(`x`, `y`, `w`, `h`, `radius`, `color`, `glowRadius`, `glowColor`): `void` Draws a rounded rectangle with a solid color and an outer glow. ### Parameters[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectglow#parameters) #### x[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectglow#x) `number` The x position. #### y[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectglow#y) `number` The y position. #### w[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectglow#w) `number` The width. #### h[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectglow#h) `number` The height. #### radius[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectglow#radius) `number` The corner radius. #### color[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectglow#color) [`Color`](https://scripting.breeze.rip/api/breeze/util/color) The fill color. #### glowRadius[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectglow#glowradius) `number` The glow falloff radius in pixels. #### glowColor[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectglow#glowcolor) [`Color`](https://scripting.breeze.rip/api/breeze/util/color) The glow color (alpha controls maximum intensity). ### Returns[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectglow#returns) `void` Last updated 4 months ago * [Parameters](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectglow#parameters) * [Returns](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectglow#returns) --- # hudRenderer.drawRing | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudrenderer.drawring.md) . > **drawRing**(`cx`, `cy`, `radius`, `thickness`, `color`): `void` Draws a ring (hollow circle). ### Parameters[](https://scripting.breeze.rip/api/functions/hudrenderer.drawring#parameters) #### cx[](https://scripting.breeze.rip/api/functions/hudrenderer.drawring#cx) `number` The center x position. #### cy[](https://scripting.breeze.rip/api/functions/hudrenderer.drawring#cy) `number` The center y position. #### radius[](https://scripting.breeze.rip/api/functions/hudrenderer.drawring#radius) `number` The outer radius. #### thickness[](https://scripting.breeze.rip/api/functions/hudrenderer.drawring#thickness) `number` The ring thickness in pixels. #### color[](https://scripting.breeze.rip/api/functions/hudrenderer.drawring#color) [`Color`](https://scripting.breeze.rip/api/breeze/util/color) The fill color. ### Returns[](https://scripting.breeze.rip/api/functions/hudrenderer.drawring#returns) `void` Last updated 4 months ago * [Parameters](https://scripting.breeze.rip/api/functions/hudrenderer.drawring#parameters) * [Returns](https://scripting.breeze.rip/api/functions/hudrenderer.drawring#returns) --- # renderer.boundingESPBoxFilled | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/renderer.boundingespboxfilled.md) . > **boundingESPBoxFilled**(`bb`, `color`, `depth`): `void` Draws a filled ESP box using the specified bounding box, color and depth testing ### Parameters[](https://scripting.breeze.rip/api/functions/renderer.boundingespboxfilled#parameters) #### bb[](https://scripting.breeze.rip/api/functions/renderer.boundingespboxfilled#bb) [`AxisAlignedBB`](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb) The bounding box to draw, has to be given in world coordinates. #### color[](https://scripting.breeze.rip/api/functions/renderer.boundingespboxfilled#color) [`Color`](https://scripting.breeze.rip/api/breeze/util/color) The color of the bounding box. #### depth[](https://scripting.breeze.rip/api/functions/renderer.boundingespboxfilled#depth) `boolean` Use depth for rendering the box. ### Returns[](https://scripting.breeze.rip/api/functions/renderer.boundingespboxfilled#returns) `void` Last updated 4 months ago * [Parameters](https://scripting.breeze.rip/api/functions/renderer.boundingespboxfilled#parameters) * [Returns](https://scripting.breeze.rip/api/functions/renderer.boundingespboxfilled#returns) --- # spoofManager.onPacketReceive | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketreceive.md) . > **onPacketReceive**(`f`): `void` Register the callback for inbound packets. You should return a valid SpoofAction which can be: * PROCESS: Does nothing lets the packet continue just like normal. * CANCEL: Cancels the packet entirely. * DELAY: Starts delaying the packet until you decide to release it. ### Parameters[](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketreceive#parameters) #### f[](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketreceive#f) (`packet`) => [`SpoofAction`](https://scripting.breeze.rip/api/enum_types/spoofaction) ### Returns[](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketreceive#returns) `void` ### Example[](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketreceive#example) Copy spoofManager.onPacketReceive(packet => { if (packet instanceof S08PacketPlayerPosLook) { return "DELAY"; // Delay the packet for now until we release it. } return "PROCESS"; }); Last updated 8 months ago * [Parameters](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketreceive#parameters) * [Returns](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketreceive#returns) * [Example](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketreceive#example) --- # renderer.boundingESPBox | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/renderer.boundingespbox.md) . > **boundingESPBox**(`bb`, `color`, `lineWidth`, `depth`): `void` Draws an outline ESP box using the specified bounding box, color and depth testing ### Parameters[](https://scripting.breeze.rip/api/functions/renderer.boundingespbox#parameters) #### bb[](https://scripting.breeze.rip/api/functions/renderer.boundingespbox#bb) [`AxisAlignedBB`](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb) The bounding box to draw, has to be given in world coordinates. #### color[](https://scripting.breeze.rip/api/functions/renderer.boundingespbox#color) [`Color`](https://scripting.breeze.rip/api/breeze/util/color) The color of the bounding box. #### lineWidth[](https://scripting.breeze.rip/api/functions/renderer.boundingespbox#linewidth) `number` The width of the bounding box outline. #### depth[](https://scripting.breeze.rip/api/functions/renderer.boundingespbox#depth) `boolean` Use depth for rendering the box. ### Returns[](https://scripting.breeze.rip/api/functions/renderer.boundingespbox#returns) `void` Last updated 4 months ago * [Parameters](https://scripting.breeze.rip/api/functions/renderer.boundingespbox#parameters) * [Returns](https://scripting.breeze.rip/api/functions/renderer.boundingespbox#returns) --- # math.findBestVisiblePoint | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/math.findbestvisiblepoint.md) . > **findBestVisiblePoint**(`eyes`, `bb`): [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) Finds the closest point on a bounding box that can be seen from the given eye position without a block in the way. ### Parameters[](https://scripting.breeze.rip/api/functions/math.findbestvisiblepoint#parameters) #### eyes[](https://scripting.breeze.rip/api/functions/math.findbestvisiblepoint#eyes) [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) The position to look from, usually the local player's eyes. #### bb[](https://scripting.breeze.rip/api/functions/math.findbestvisiblepoint#bb) [`AxisAlignedBB`](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb) The bounding box to look at. ### Returns[](https://scripting.breeze.rip/api/functions/math.findbestvisiblepoint#returns) [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) The nearest unobstructed point, or null when every point is blocked. ### Remarks[](https://scripting.breeze.rip/api/functions/math.findbestvisiblepoint#remarks) Points along the vertical center of the box are preferred over its corners. This raytraces blocks, so it is not free, call it once per target per tick rather than per frame. ### Example[](https://scripting.breeze.rip/api/functions/math.findbestvisiblepoint#example) Last updated 14 days ago * [Parameters](https://scripting.breeze.rip/api/functions/math.findbestvisiblepoint#parameters) * [Returns](https://scripting.breeze.rip/api/functions/math.findbestvisiblepoint#returns) * [Remarks](https://scripting.breeze.rip/api/functions/math.findbestvisiblepoint#remarks) * [Example](https://scripting.breeze.rip/api/functions/math.findbestvisiblepoint#example) Copy const target = mc.pointedEntity; const point = math.findBestVisiblePoint(mc.player.getPositionEyes(), target.getEntityBoundingBox()); if (point !== null) script.log("visible at " + point.getY()); --- # math.interpolateEntityBB | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/math.interpolateentitybb.md) . ### Call Signature[](https://scripting.breeze.rip/api/functions/math.interpolateentitybb#call-signature) > **interpolateEntityBB**(`entity`): [`AxisAlignedBB`](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb) The bounding box of an entity interpolated to this frame, using the current render partial ticks. #### Parameters[](https://scripting.breeze.rip/api/functions/math.interpolateentitybb#parameters) **entity** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) The entity to interpolate. #### Returns[](https://scripting.breeze.rip/api/functions/math.interpolateentitybb#returns) [`AxisAlignedBB`](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb) The entity's bounding box this frame, or null when no entity was given. ### Call Signature[](https://scripting.breeze.rip/api/functions/math.interpolateentitybb#call-signature-1) > **interpolateEntityBB**(`entity`, `partialTicks`): [`AxisAlignedBB`](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb) The bounding box of an entity interpolated to this frame. #### Parameters[](https://scripting.breeze.rip/api/functions/math.interpolateentitybb#parameters-1) **entity** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) The entity to interpolate. **partialTicks** `number` The partial ticks, as given by a render event. #### Returns[](https://scripting.breeze.rip/api/functions/math.interpolateentitybb#returns-1) [`AxisAlignedBB`](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb) The entity's bounding box this frame, or null when no entity was given. #### Remarks[](https://scripting.breeze.rip/api/functions/math.interpolateentitybb#remarks) The box is expanded slightly, so an ESP drawn around it does not clip into the entity's model. Last updated 14 days ago * [Call Signature](https://scripting.breeze.rip/api/functions/math.interpolateentitybb#call-signature) * [Call Signature](https://scripting.breeze.rip/api/functions/math.interpolateentitybb#call-signature-1) --- # hudRenderer.drawSVG | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvg.md) . ### Call Signature[](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvg#call-signature) > **drawSVG**(`url`, `x`, `y`, `scale`, `color`): `void` Draws an SVG from an http/https URL, rasterised at the given scale (1.0 = native SVG size in pixels). The download happens asynchronously; the call is silently skipped until ready. Cached per (url, scale) so each distinct scale is sharp. #### Parameters[](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvg#parameters) **url** `string` An http/https SVG URL. **x** `number` The x position. **y** `number` The y position. **scale** `number` The rasterization scale. **color** [`Color`](https://scripting.breeze.rip/api/breeze/util/color) The flat tint color. #### Returns[](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvg#returns) `void` ### Call Signature[](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvg#call-signature-1) > **drawSVG**(`url`, `x`, `y`, `scale`, `color`, `glowAmount`): `void` Draws an SVG from an http/https URL with a soft glow behind it. #### Parameters[](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvg#parameters-1) **url** `string` An http/https SVG URL. **x** `number` The x position. **y** `number` The y position. **scale** `number` The rasterization scale. **color** [`Color`](https://scripting.breeze.rip/api/breeze/util/color) The flat tint color. **glowAmount** `number` The glow blur radius in pixels. #### Returns[](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvg#returns-1) `void` Last updated 25 days ago * [Call Signature](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvg#call-signature) * [Call Signature](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvg#call-signature-1) --- # math.interpolateEntityPosition | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/math.interpolateentityposition.md) . ### Call Signature[](https://scripting.breeze.rip/api/functions/math.interpolateentityposition#call-signature) > **interpolateEntityPosition**(`entity`): [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) The position of an entity interpolated to this frame, using the current render partial ticks. #### Parameters[](https://scripting.breeze.rip/api/functions/math.interpolateentityposition#parameters) **entity** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) The entity to interpolate. #### Returns[](https://scripting.breeze.rip/api/functions/math.interpolateentityposition#returns) [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) The entity's position this frame, or null when no entity was given. ### Call Signature[](https://scripting.breeze.rip/api/functions/math.interpolateentityposition#call-signature-1) > **interpolateEntityPosition**(`entity`, `partialTicks`): [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) The position of an entity interpolated to this frame. #### Parameters[](https://scripting.breeze.rip/api/functions/math.interpolateentityposition#parameters-1) **entity** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) The entity to interpolate. **partialTicks** `number` The partial ticks, as given by a render event. #### Returns[](https://scripting.breeze.rip/api/functions/math.interpolateentityposition#returns-1) [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) The entity's position this frame, or null when no entity was given. #### Example[](https://scripting.breeze.rip/api/functions/math.interpolateentityposition#example) Last updated 14 days ago * [Call Signature](https://scripting.breeze.rip/api/functions/math.interpolateentityposition#call-signature) * [Call Signature](https://scripting.breeze.rip/api/functions/math.interpolateentityposition#call-signature-1) Copy math.interpolateEntityPosition(mc.pointedEntity, event.getPartialTicks()); --- # minecraft | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft.md) . [client](https://scripting.breeze.rip/api/net/minecraft/client) [entity](https://scripting.breeze.rip/api/net/minecraft/entity) [inventory](https://scripting.breeze.rip/api/net/minecraft/inventory) [item](https://scripting.breeze.rip/api/net/minecraft/item) [network](https://scripting.breeze.rip/api/net/minecraft/network) [util](https://scripting.breeze.rip/api/net/minecraft/util) Last updated 14 days ago --- # item | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/item.md) . [ItemStack](https://scripting.breeze.rip/api/net/minecraft/item/itemstack) Last updated 14 days ago --- # inventory | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/inventory.md) . [Container](https://scripting.breeze.rip/api/net/minecraft/inventory/container) [Slot](https://scripting.breeze.rip/api/net/minecraft/inventory/slot) Last updated 14 days ago --- # IntSetting | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/breeze/settings/intsetting.md) . An integer setting. ### Example[](https://scripting.breeze.rip/api/breeze/settings/intsetting#example) Copy const delay = new IntSetting("Delay", "The amount of ticks to wait in between attacks.", false); ### Extends[](https://scripting.breeze.rip/api/breeze/settings/intsetting#extends) * [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) ### Constructors[](https://scripting.breeze.rip/api/breeze/settings/intsetting#constructors) #### Constructor[](https://scripting.breeze.rip/api/breeze/settings/intsetting#constructor) > **new IntSetting**(`owner`, `name`, `description`, `defaultValue`, `min`, `max`): `IntSetting` **Parameters** **owner** `object` Can either be 'script' or a subgroup. **name** `string` The name of the setting. **description** `string` The description of the setting. **defaultValue** `number` The default value of the setting. **min** `number` The minimum value of the setting. **max** `number` The maximum value of the setting. **Returns** `IntSetting` **Overrides** `Setting.constructor` #### Constructor[](https://scripting.breeze.rip/api/breeze/settings/intsetting#constructor-1) > **new IntSetting**(`owner`, `name`, `description`, `defaultValue`, `min`, `max`, `step`): `IntSetting` **Parameters** **owner** `object` Can either be 'script' or a subgroup. **name** `string` The name of the setting. **description** `string` The description of the setting. **defaultValue** `number` The default value of the setting. **min** `number` The minimum value of the setting. **max** `number` The maximum value of the setting. **step** `number` The amount to round the setting by when adjusting via the slider. **Returns** `IntSetting` **Overrides** `Setting.constructor` ### Methods[](https://scripting.breeze.rip/api/breeze/settings/intsetting#methods) #### description()[](https://scripting.breeze.rip/api/breeze/settings/intsetting#description) > **description**(): `string` **Returns** `string` The description of the setting. **Inherited from** [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) .[`description`](https://scripting.breeze.rip/api/breeze/settings/setting#description) * * * #### getValue()[](https://scripting.breeze.rip/api/breeze/settings/intsetting#getvalue) > **getValue**(): `number` **Returns** `number` The value of the setting. * * * #### name()[](https://scripting.breeze.rip/api/breeze/settings/intsetting#name) > **name**(): `string` **Returns** `string` The name of the setting. **Inherited from** [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) .[`name`](https://scripting.breeze.rip/api/breeze/settings/setting#name) * * * #### setValue()[](https://scripting.breeze.rip/api/breeze/settings/intsetting#setvalue) > **setValue**(`value`): `void` **Parameters** **value** `number` The value to set the setting to. **Returns** `void` * * * #### visible()[](https://scripting.breeze.rip/api/breeze/settings/intsetting#visible) > **visible**(`visible`): `void` You can use this to hide settings temporarily depending on the user config. The callback should return a boolean. **Parameters** **visible** `Function` The function to determine if the setting should be visible or not. **Returns** `void` **Example** **Inherited from** [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) .[`visible`](https://scripting.breeze.rip/api/breeze/settings/setting#visible) Last updated 4 months ago * [Example](https://scripting.breeze.rip/api/breeze/settings/intsetting#example) * [Extends](https://scripting.breeze.rip/api/breeze/settings/intsetting#extends) * [Constructors](https://scripting.breeze.rip/api/breeze/settings/intsetting#constructors) * [Methods](https://scripting.breeze.rip/api/breeze/settings/intsetting#methods) Copy const delay = new IntSetting("Delay", "The amount of ticks to wait in between attacks.", false); delay.visible(() => { return someOtherSetting.getValue() }); --- # Variables | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables.md) . Last updated 14 days ago --- # entity | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/entity.md) . [Entity](https://scripting.breeze.rip/api/net/minecraft/entity/entity) [LivingEntity](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity) Last updated 14 days ago --- # network | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/network.md) . [client](https://scripting.breeze.rip/api/net/minecraft/network/client) [server](https://scripting.breeze.rip/api/net/minecraft/network/server) [Packet](https://scripting.breeze.rip/api/net/minecraft/network/packet) Last updated 14 days ago --- # ColorSetting | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/breeze/settings/colorsetting.md) . A color setting. ### Remarks[](https://scripting.breeze.rip/api/breeze/settings/colorsetting#remarks) Can only be created while initializing the script. ### Example[](https://scripting.breeze.rip/api/breeze/settings/colorsetting#example) Copy const color = new ColorSetting(script, "Color", "The color to use.", new Color(255, 255, 255, 255)); ### Extends[](https://scripting.breeze.rip/api/breeze/settings/colorsetting#extends) * [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) ### Constructors[](https://scripting.breeze.rip/api/breeze/settings/colorsetting#constructors) #### Constructor[](https://scripting.breeze.rip/api/breeze/settings/colorsetting#constructor) > **new ColorSetting**(`holder`, `name`, `description`, `defaultValue`): `ColorSetting` **Parameters** **holder** `object` Can either be 'script' or a subgroup. **name** `string` The name of the setting. **description** `string` The description of the setting. **defaultValue** [`Color`](https://scripting.breeze.rip/api/breeze/util/color) The default color. **Returns** `ColorSetting` **Overrides** `Setting.constructor` #### Constructor[](https://scripting.breeze.rip/api/breeze/settings/colorsetting#constructor-1) > **new ColorSetting**(`holder`, `name`, `description`, `defaultValue`, `allowAlpha`): `ColorSetting` **Parameters** **holder** `object` Can either be 'script' or a subgroup. **name** `string` The name of the setting. **description** `string` The description of the setting. **defaultValue** [`Color`](https://scripting.breeze.rip/api/breeze/util/color) The default color. **allowAlpha** `boolean` Whether the alpha channel can be changed. **Returns** `ColorSetting` **Overrides** `Setting.constructor` ### Methods[](https://scripting.breeze.rip/api/breeze/settings/colorsetting#methods) #### description()[](https://scripting.breeze.rip/api/breeze/settings/colorsetting#description) > **description**(): `string` **Returns** `string` The description of the setting. **Inherited from** [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) .[`description`](https://scripting.breeze.rip/api/breeze/settings/setting#description) * * * #### getValue()[](https://scripting.breeze.rip/api/breeze/settings/colorsetting#getvalue) > **getValue**(): [`Color`](https://scripting.breeze.rip/api/breeze/util/color) **Returns** [`Color`](https://scripting.breeze.rip/api/breeze/util/color) The current color value. * * * #### name()[](https://scripting.breeze.rip/api/breeze/settings/colorsetting#name) > **name**(): `string` **Returns** `string` The name of the setting. **Inherited from** [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) .[`name`](https://scripting.breeze.rip/api/breeze/settings/setting#name) * * * #### setValue()[](https://scripting.breeze.rip/api/breeze/settings/colorsetting#setvalue) > **setValue**(`color`): `void` **Parameters** **color** [`Color`](https://scripting.breeze.rip/api/breeze/util/color) The color to set. **Returns** `void` * * * #### visible()[](https://scripting.breeze.rip/api/breeze/settings/colorsetting#visible) > **visible**(`visible`): `void` You can use this to hide settings temporarily depending on the user config. The callback should return a boolean. **Parameters** **visible** `Function` The function to determine if the setting should be visible or not. **Returns** `void` **Example** **Inherited from** [`Setting`](https://scripting.breeze.rip/api/breeze/settings/setting) .[`visible`](https://scripting.breeze.rip/api/breeze/settings/setting#visible) Last updated 3 months ago * [Remarks](https://scripting.breeze.rip/api/breeze/settings/colorsetting#remarks) * [Example](https://scripting.breeze.rip/api/breeze/settings/colorsetting#example) * [Extends](https://scripting.breeze.rip/api/breeze/settings/colorsetting#extends) * [Constructors](https://scripting.breeze.rip/api/breeze/settings/colorsetting#constructors) * [Methods](https://scripting.breeze.rip/api/breeze/settings/colorsetting#methods) Copy const delay = new IntSetting("Delay", "The amount of ticks to wait in between attacks.", false); delay.visible(() => { return someOtherSetting.getValue() }); --- # Namespaces | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/namespaces.md) . [breeze](https://scripting.breeze.rip/api/namespaces/breeze) [formatting](https://scripting.breeze.rip/api/namespaces/formatting) [hudManager](https://scripting.breeze.rip/api/namespaces/hudmanager) [hudRenderer](https://scripting.breeze.rip/api/namespaces/hudrenderer) [math](https://scripting.breeze.rip/api/namespaces/math) [mc](https://scripting.breeze.rip/api/namespaces/mc) [renderer](https://scripting.breeze.rip/api/namespaces/renderer) [rotationManager](https://scripting.breeze.rip/api/namespaces/rotationmanager) [script](https://scripting.breeze.rip/api/namespaces/script) [spoofManager](https://scripting.breeze.rip/api/namespaces/spoofmanager) [time](https://scripting.breeze.rip/api/namespaces/time) Last updated 14 days ago --- # Container | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/inventory/container.md) . ### Properties[](https://scripting.breeze.rip/api/net/minecraft/inventory/container#properties) #### windowId[](https://scripting.breeze.rip/api/net/minecraft/inventory/container#windowid) > `readonly` **windowId**: `number` Gets the window ID of the inventory, you can use this with the player controller to move items around. ### Methods[](https://scripting.breeze.rip/api/net/minecraft/inventory/container#methods) #### getSize()[](https://scripting.breeze.rip/api/net/minecraft/inventory/container#getsize) > **getSize**(): `number` Gets the size of the inventory. **Returns** `number` * * * #### getSlot()[](https://scripting.breeze.rip/api/net/minecraft/inventory/container#getslot) > **getSlot**(`slot`): [`Slot`](https://scripting.breeze.rip/api/net/minecraft/inventory/slot) Gets the ItemStack in the specified slot. **Parameters** **slot** `number` **Returns** [`Slot`](https://scripting.breeze.rip/api/net/minecraft/inventory/slot) The ItemStack Last updated 8 months ago * [Properties](https://scripting.breeze.rip/api/net/minecraft/inventory/container#properties) * [Methods](https://scripting.breeze.rip/api/net/minecraft/inventory/container#methods) --- # util | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/util.md) . [AxisAlignedBB](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb) [BlockPos](https://scripting.breeze.rip/api/net/minecraft/util/blockpos) [RaytraceResult](https://scripting.breeze.rip/api/net/minecraft/util/raytraceresult) [Vec3](https://scripting.breeze.rip/api/net/minecraft/util/vec3) Last updated 14 days ago --- # Slot | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/inventory/slot.md) . A slot in an inventory. ### Properties[](https://scripting.breeze.rip/api/net/minecraft/inventory/slot#properties) #### slotNumber[](https://scripting.breeze.rip/api/net/minecraft/inventory/slot#slotnumber) > `readonly` **slotNumber**: `number` The index of this slot. * * * #### xDisplayPosition[](https://scripting.breeze.rip/api/net/minecraft/inventory/slot#xdisplayposition) > `readonly` **xDisplayPosition**: `number` The X position of this slot. * * * #### yDisplayPosition[](https://scripting.breeze.rip/api/net/minecraft/inventory/slot#ydisplayposition) > `readonly` **yDisplayPosition**: `number` The Y position of this slot. ### Methods[](https://scripting.breeze.rip/api/net/minecraft/inventory/slot#methods) #### getStack()[](https://scripting.breeze.rip/api/net/minecraft/inventory/slot#getstack) > **getStack**(): [`ItemStack`](https://scripting.breeze.rip/api/net/minecraft/item/itemstack) **Returns** [`ItemStack`](https://scripting.breeze.rip/api/net/minecraft/item/itemstack) The stack in this slot. Last updated 8 months ago * [Properties](https://scripting.breeze.rip/api/net/minecraft/inventory/slot#properties) * [Methods](https://scripting.breeze.rip/api/net/minecraft/inventory/slot#methods) --- # server | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/network/server.md) . [S00PacketKeepAlive](https://scripting.breeze.rip/api/net/minecraft/network/server/s00packetkeepalive) [S01PacketJoinGame](https://scripting.breeze.rip/api/net/minecraft/network/server/s01packetjoingame) [S02PacketChat](https://scripting.breeze.rip/api/net/minecraft/network/server/s02packetchat) [S03PacketTimeUpdate](https://scripting.breeze.rip/api/net/minecraft/network/server/s03packettimeupdate) [S04PacketEntityEquipment](https://scripting.breeze.rip/api/net/minecraft/network/server/s04packetentityequipment) [S05PacketSpawnPosition](https://scripting.breeze.rip/api/net/minecraft/network/server/s05packetspawnposition) [S06PacketUpdateHealth](https://scripting.breeze.rip/api/net/minecraft/network/server/s06packetupdatehealth) [S07PacketRespawn](https://scripting.breeze.rip/api/net/minecraft/network/server/s07packetrespawn) [S08PacketPlayerPosLook](https://scripting.breeze.rip/api/net/minecraft/network/server/s08packetplayerposlook) [S09PacketHeldItemChange](https://scripting.breeze.rip/api/net/minecraft/network/server/s09packethelditemchange) [S0CPacketSpawnPlayer](https://scripting.breeze.rip/api/net/minecraft/network/server/s0cpacketspawnplayer) [S0DPacketCollectItem](https://scripting.breeze.rip/api/net/minecraft/network/server/s0dpacketcollectitem) [S0EPacketSpawnObject](https://scripting.breeze.rip/api/net/minecraft/network/server/s0epacketspawnobject) [S0FPacketSpawnMob](https://scripting.breeze.rip/api/net/minecraft/network/server/s0fpacketspawnmob) [S12PacketEntityVelocity](https://scripting.breeze.rip/api/net/minecraft/network/server/s12packetentityvelocity) [S13PacketDestroyEntities](https://scripting.breeze.rip/api/net/minecraft/network/server/s13packetdestroyentities) [S14PacketEntity](https://scripting.breeze.rip/api/net/minecraft/network/server/s14packetentity) [S15PacketEntityRelMove](https://scripting.breeze.rip/api/net/minecraft/network/server/s15packetentityrelmove) [S16PacketEntityLook](https://scripting.breeze.rip/api/net/minecraft/network/server/s16packetentitylook) [S17PacketEntityLookMove](https://scripting.breeze.rip/api/net/minecraft/network/server/s17packetentitylookmove) [S18PacketEntityTeleport](https://scripting.breeze.rip/api/net/minecraft/network/server/s18packetentityteleport) [S19PacketEntityHeadLook](https://scripting.breeze.rip/api/net/minecraft/network/server/s19packetentityheadlook) [S1APacketEntityStatus](https://scripting.breeze.rip/api/net/minecraft/network/server/s1apacketentitystatus) [S27PacketExplosion](https://scripting.breeze.rip/api/net/minecraft/network/server/s27packetexplosion) [S2APacketParticles](https://scripting.breeze.rip/api/net/minecraft/network/server/s2apacketparticles) [S2CPacketSpawnGlobalEntity](https://scripting.breeze.rip/api/net/minecraft/network/server/s2cpacketspawnglobalentity) [S2DPacketOpenWindow](https://scripting.breeze.rip/api/net/minecraft/network/server/s2dpacketopenwindow) [S2EPacketCloseWindow](https://scripting.breeze.rip/api/net/minecraft/network/server/s2epacketclosewindow) [S2FPacketSetSlot](https://scripting.breeze.rip/api/net/minecraft/network/server/s2fpacketsetslot) [S3FPacketCustomPayload](https://scripting.breeze.rip/api/net/minecraft/network/server/s3fpacketcustompayload) Last updated 14 days ago --- # Functions | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions.md) . Last updated 14 days ago --- # renderer | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/namespaces/renderer.md) . The renderer object, used for drawing 3d shapes. ### Functions[](https://scripting.breeze.rip/api/namespaces/renderer#functions) * [boundingESPBox](https://scripting.breeze.rip/api/functions/renderer.boundingespbox) * [boundingESPBoxFilled](https://scripting.breeze.rip/api/functions/renderer.boundingespboxfilled) Last updated 8 months ago --- # PlayerInfo | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/examples/playerinfo.md) . Demonstrates `hudManager`, `hudRenderer`, `RoundedRect`, `drawRectGradient`, `drawItemStack`, and user-configurable settings. Copy script.description = "Shows health, armor, coordinates, and held item on the HUD."; // ── Settings ────────────────────────────────────────────────────────────────── const showCoords = new BooleanSetting(script, "Coordinates", "Show XYZ position.", true); const showArmor = new BooleanSetting(script, "Armor", "Show armor value.", true); const showItem = new BooleanSetting(script, "Held Item", "Show held item icon.", true); const healthColor = new ColorSetting(script, "Health Color", "Color of the health bar.", new Color(200, 60, 60, 220)); const textColor = new ColorSetting(script, "Text Color", "Color of all text labels.", new Color(255, 255, 255, 220)); // ── Layout constants (scaled in render) ─────────────────────────────────────── const BASE_W = 160; const PAD = 5; const BAR_H = 4; const ITEM_SIZE = 16; // ── Dynamic dimensions ──────────────────────────────────────────────────────── function elementHeight() { const s = hudManager.scale(); const fh = hudManager.fontHeight(); let rows = 1; // health bar row if (showArmor.getValue()) rows++; if (showCoords.getValue()) rows++; const itemRow = showItem.getValue() ? ITEM_SIZE * s + PAD * s : 0; return PAD * s + rows * (fh + PAD * s) + BAR_H * s + PAD * s + itemRow; } hudManager.onWidth(() => BASE_W * hudManager.scale()); hudManager.onHeight(() => elementHeight()); // ── Background ──────────────────────────────────────────────────────────────── hudManager.onBackground(() => { const s = hudManager.scale(); const r = 4 * s; return [new RoundedRect(hudManager.x(), hudManager.y(), BASE_W * s, elementHeight(), r)]; }); // ── Render ──────────────────────────────────────────────────────────────────── hudManager.onRender((x, y, scale) => { if (mc.player == null) return; const s = scale; const fh = hudManager.fontHeight(); const pad = PAD * s; const w = BASE_W * s; const r = 3 * s; let cursor = y + pad; // Health label + bar const hp = mc.player.getHealth(); const maxHp = mc.player.getMaxHealth(); const hpPct = Math.max(0, Math.min(1, hp / maxHp)); const barW = w - pad * 2; const barH = BAR_H * s; hudRenderer.drawString(x + pad, cursor, "Health " + Math.ceil(hp) + " / " + maxHp, textColor.getValue(), true); cursor += fh + pad * 0.5; // track background hudRenderer.drawRect(x + pad, cursor, barW, barH, r, new Color(40, 40, 40, 180)); // filled portion: green → red gradient based on health const barFill = barW * hpPct; if (barFill > 0) { const c = healthColor.getValue(); const bright = new Color(Math.min(255, c.red() + 60), Math.min(255, c.green() + 60), c.blue(), c.alpha != null ? c.alpha() : 220); hudRenderer.drawRectGradient(x + pad, cursor, barFill, barH, r, bright, c, false); } cursor += barH + pad; // Armor if (showArmor.getValue()) { const armor = mc.player.inventory != null ? (mc.player.inventory.armorInventory != null ? mc.player.inventory.armorInventory.length : 0) : 0; // armor is 0-20; read total armor via a simple formula hudRenderer.drawString(x + pad, cursor, "Armor " + Math.round(mc.player.getHealth()), textColor.getValue(), true); // Note: use mc.player for a real armor value — this is illustrative cursor += fh + pad; } // Coordinates if (showCoords.getValue()) { const px = Math.floor(mc.player.posX); const py = Math.floor(mc.player.posY); const pz = Math.floor(mc.player.posZ); hudRenderer.drawString(x + pad, cursor, px + " " + py + " " + pz, textColor.getValue(), true); cursor += fh + pad; } // Held item if (showItem.getValue()) { const stack = mc.player.getHeldItem != null ? mc.player.getHeldItem() : null; if (stack != null && stack.exists()) { const iconSize = ITEM_SIZE * s; hudRenderer.drawItemStack(stack, x + pad, cursor, iconSize, true); const name = stack.getDisplayName(); hudRenderer.drawString(x + pad + iconSize + pad, cursor + (iconSize - fh) / 2, name, textColor.getValue(), true); } } }); Last updated 24 days ago --- # mc.closeUI | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/mc.closeui.md) . > **closeUI**(): `void` ### Returns[](https://scripting.breeze.rip/api/functions/mc.closeui#returns) `void` Last updated 8 months ago --- # mc.getScreenHeight | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/mc.getscreenheight.md) . > **getScreenHeight**(): `number` ### Returns[](https://scripting.breeze.rip/api/functions/mc.getscreenheight#returns) `number` Last updated 8 months ago --- # breeze.version | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/breeze.version.md) . > `const` **version**: `string` The breeze version string. Last updated 8 months ago --- # breeze.getUsername | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/breeze.getusername.md) . > **getUsername**(): `string` ### Returns[](https://scripting.breeze.rip/api/functions/breeze.getusername#returns) `string` The breeze username of the logged in user. Last updated 8 months ago --- # hudManager.scale | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudmanager.scale.md) . > **scale**(): `number` Gives the scale for the hud, things like padding, corner radii, and elements size should be based on this. ### Returns[](https://scripting.breeze.rip/api/functions/hudmanager.scale#returns) `number` Last updated 4 months ago --- # breeze.getRole | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/breeze.getrole.md) . > **getRole**(): `string` ### Returns[](https://scripting.breeze.rip/api/functions/breeze.getrole#returns) `string` The breeze role of the logged in user. Last updated 8 months ago --- # script.getName | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/script.getname.md) . > **getName**(): `string` ### Returns[](https://scripting.breeze.rip/api/functions/script.getname#returns) `string` The name of the script. Last updated 8 months ago --- # script.enabled | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/script.enabled.md) . > **enabled**(): `boolean` ### Returns[](https://scripting.breeze.rip/api/functions/script.enabled#returns) `boolean` If the module is enabled or not. Last updated 8 months ago --- # spoofManager.flushAll | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/spoofmanager.flushall.md) . > **flushAll**(): `void` Releases all delayed packets. ### Returns[](https://scripting.breeze.rip/api/functions/spoofmanager.flushall#returns) `void` Last updated 8 months ago --- # time.getTimeNS | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/time.gettimens.md) . > **getTimeNS**(): `number` The epoch time in nanoseconds ### Returns[](https://scripting.breeze.rip/api/functions/time.gettimens#returns) `number` Last updated 8 months ago --- # spoofManager.flushOutgoing | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/spoofmanager.flushoutgoing.md) . > **flushOutgoing**(): `void` Releases all delayed outbound packets. ### Returns[](https://scripting.breeze.rip/api/functions/spoofmanager.flushoutgoing#returns) `void` Last updated 8 months ago --- # time.getTimeMS | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/time.gettimems.md) . > **getTimeMS**(): `number` The epoch time in milliseconds ### Returns[](https://scripting.breeze.rip/api/functions/time.gettimems#returns) `number` Last updated 8 months ago --- # formatting.BLUE | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.blue.md) . > `const` **BLUE**: `string` Last updated 8 months ago --- # breeze.versionFull | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/breeze.versionfull.md) . > `const` **versionFull**: `string` The full version string, includes git commit if its a beta release. Last updated 8 months ago --- # formatting.AQUA | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.aqua.md) . > `const` **AQUA**: `string` Last updated 8 months ago --- # formatting.LIGHT PURPLE | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.light_purple.md) . > `const` **LIGHT\_PURPLE**: `string` Last updated 8 months ago --- # formatting.GRAY | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.gray.md) . > `const` **GRAY**: `string` Last updated 8 months ago --- # formatting.RED | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.red.md) . > `const` **RED**: `string` Last updated 8 months ago --- # formatting.DARK BLUE | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.dark_blue.md) . > `const` **DARK\_BLUE**: `string` Last updated 8 months ago --- # formatting.SECONDARY | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.secondary.md) . > `const` **SECONDARY**: `string` The secondary text color defined by the theme. Last updated 8 months ago --- # hudManager.x | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudmanager.x.md) . > **x**(): `number` The current x position of this HUD element on screen. ### Returns[](https://scripting.breeze.rip/api/functions/hudmanager.x#returns) `number` Last updated 4 months ago --- # hudManager.y | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudmanager.y.md) . > **y**(): `number` The current y position of this HUD element on screen. ### Returns[](https://scripting.breeze.rip/api/functions/hudmanager.y#returns) `number` Last updated 4 months ago --- # mc.clickMouse | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/mc.clickmouse.md) . > **clickMouse**(): `void` Left click the mouse. ### Returns[](https://scripting.breeze.rip/api/functions/mc.clickmouse#returns) `void` Last updated 25 days ago --- # mc.getScreenWidth | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/mc.getscreenwidth.md) . > **getScreenWidth**(): `number` ### Returns[](https://scripting.breeze.rip/api/functions/mc.getscreenwidth#returns) `number` Last updated 8 months ago --- # mc.serverIP | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/mc.serverip.md) . > **serverIP**(): `string` ### Returns[](https://scripting.breeze.rip/api/functions/mc.serverip#returns) `string` The IP of the server you are currently connected to. Last updated 8 months ago --- # mc.rightClickMouse | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/mc.rightclickmouse.md) . > **rightClickMouse**(): `void` Right click the mouse. ### Returns[](https://scripting.breeze.rip/api/functions/mc.rightclickmouse#returns) `void` Last updated 25 days ago --- # script.disable | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/script.disable.md) . > **disable**(): `void` Disable the script. ### Returns[](https://scripting.breeze.rip/api/functions/script.disable#returns) `void` Last updated 8 months ago --- # script.onDisable | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/script.ondisable.md) . > **onDisable**(`callback`): `void` Register a callback to run when the script is disabled. ### Parameters[](https://scripting.breeze.rip/api/functions/script.ondisable#parameters) #### callback[](https://scripting.breeze.rip/api/functions/script.ondisable#callback) `Function` The function to run. ### Returns[](https://scripting.breeze.rip/api/functions/script.ondisable#returns) `void` ### Remarks[](https://scripting.breeze.rip/api/functions/script.ondisable#remarks) This can only be used while the script is initializing. Last updated 4 months ago * [Parameters](https://scripting.breeze.rip/api/functions/script.ondisable#parameters) * [Returns](https://scripting.breeze.rip/api/functions/script.ondisable#returns) * [Remarks](https://scripting.breeze.rip/api/functions/script.ondisable#remarks) --- # formatting.DARK AQUA | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.dark_aqua.md) . > `const` **DARK\_AQUA**: `string` Last updated 8 months ago --- # breeze.mcVersion | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/breeze.mcversion.md) . > `const` **mcVersion**: `string` The version of minecraft we are currently running Last updated 8 months ago --- # formatting.GLOW | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.glow.md) . > `const` **GLOW**: `string` Adds a slight glow effect to the text. Last updated 8 months ago --- # formatting.DARK GRAY | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.dark_gray.md) . > `const` **DARK\_GRAY**: `string` Last updated 8 months ago --- # formatting.DARK GREEN | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.dark_green.md) . > `const` **DARK\_GREEN**: `string` Last updated 8 months ago --- # formatting.WHITE | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.white.md) . > `const` **WHITE**: `string` Last updated 8 months ago --- # formatting.GOLD | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.gold.md) . > `const` **GOLD**: `string` Last updated 8 months ago --- # mc.leftClickCounter | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/mc.leftclickcounter.md) . > **leftClickCounter**: `number` The left click counter, the game uses this for calculating the miss mechanics when clicking, left clicks will only go through when this is 0. Last updated 25 days ago --- # formatting.ACCENT | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.accent.md) . > `const` **ACCENT**: `string` Colors the text with the accent color defined by the theme. Last updated 8 months ago --- # mc.timerSpeed | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/mc.timerspeed.md) . > **timerSpeed**: `number` The current timer speed, the default being 1. Last updated 8 months ago --- # hudRenderer.drawCircleWithEffect | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudrenderer.drawcirclewitheffect.md) . > **drawCircleWithEffect**(`cx`, `cy`, `radius`, `alpha`): `void` Draws a filled circle colored with the current HUD effect (rainbow/gradient/pulse). ### Parameters[](https://scripting.breeze.rip/api/functions/hudrenderer.drawcirclewitheffect#parameters) #### cx[](https://scripting.breeze.rip/api/functions/hudrenderer.drawcirclewitheffect#cx) `number` The center x position. #### cy[](https://scripting.breeze.rip/api/functions/hudrenderer.drawcirclewitheffect#cy) `number` The center y position. #### radius[](https://scripting.breeze.rip/api/functions/hudrenderer.drawcirclewitheffect#radius) `number` The radius. #### alpha[](https://scripting.breeze.rip/api/functions/hudrenderer.drawcirclewitheffect#alpha) `number` The opacity (0.0–1.0). ### Returns[](https://scripting.breeze.rip/api/functions/hudrenderer.drawcirclewitheffect#returns) `void` Last updated 4 months ago * [Parameters](https://scripting.breeze.rip/api/functions/hudrenderer.drawcirclewitheffect#parameters) * [Returns](https://scripting.breeze.rip/api/functions/hudrenderer.drawcirclewitheffect#returns) --- # hudRenderer.drawRectWithEffect | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectwitheffect.md) . > **drawRectWithEffect**(`x`, `y`, `w`, `h`, `radius`, `alpha`): `void` Draws a rounded rectangle colored with the current HUD effect (rainbow/gradient/pulse). Falls back to the user's static color when the effect is NONE. ### Parameters[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectwitheffect#parameters) #### x[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectwitheffect#x) `number` The x position. #### y[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectwitheffect#y) `number` The y position. #### w[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectwitheffect#w) `number` The width. #### h[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectwitheffect#h) `number` The height. #### radius[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectwitheffect#radius) `number` The corner radius. #### alpha[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectwitheffect#alpha) `number` The opacity (0.0–1.0). ### Returns[](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectwitheffect#returns) `void` Last updated 4 months ago * [Parameters](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectwitheffect#parameters) * [Returns](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectwitheffect#returns) --- # hudManager.fontHeight | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudmanager.fontheight.md) . > **fontHeight**(): `number` Gives the fontHeight of the font that the user has selected. ### Returns[](https://scripting.breeze.rip/api/functions/hudmanager.fontheight#returns) `number` Last updated 4 months ago --- # rotationManager.setPriority | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/rotationmanager.setpriority.md) . > **setPriority**(`priority`): `void` Set this script’s rotation priority. Higher runs earlier. ### Parameters[](https://scripting.breeze.rip/api/functions/rotationmanager.setpriority#parameters) #### priority[](https://scripting.breeze.rip/api/functions/rotationmanager.setpriority#priority) `number` Integer priority value. ### Returns[](https://scripting.breeze.rip/api/functions/rotationmanager.setpriority#returns) `void` ### Example[](https://scripting.breeze.rip/api/functions/rotationmanager.setpriority#example) Copy rotationManager.setPriority(8); Last updated 8 months ago * [Parameters](https://scripting.breeze.rip/api/functions/rotationmanager.setpriority#parameters) * [Returns](https://scripting.breeze.rip/api/functions/rotationmanager.setpriority#returns) * [Example](https://scripting.breeze.rip/api/functions/rotationmanager.setpriority#example) --- # gui | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/client/gui.md) . [GuiChest](https://scripting.breeze.rip/api/net/minecraft/client/gui/guichest) [GuiContainer](https://scripting.breeze.rip/api/net/minecraft/client/gui/guicontainer) [GuiInventory](https://scripting.breeze.rip/api/net/minecraft/client/gui/guiinventory) [GuiScreen](https://scripting.breeze.rip/api/net/minecraft/client/gui/guiscreen) Last updated 14 days ago --- # settings | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/client/settings.md) . [GameSettings](https://scripting.breeze.rip/api/net/minecraft/client/settings/gamesettings) [MCKeyBinding](https://scripting.breeze.rip/api/net/minecraft/client/settings/mckeybinding) Last updated 14 days ago --- # entity | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/client/entity.md) . [EntityPlayer](https://scripting.breeze.rip/api/net/minecraft/client/entity/entityplayer) [EntityPlayerSP](https://scripting.breeze.rip/api/net/minecraft/client/entity/entityplayersp) [InventoryPlayer](https://scripting.breeze.rip/api/net/minecraft/client/entity/inventoryplayer) Last updated 14 days ago --- # client | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/client.md) . [entity](https://scripting.breeze.rip/api/net/minecraft/client/entity) [gui](https://scripting.breeze.rip/api/net/minecraft/client/gui) [settings](https://scripting.breeze.rip/api/net/minecraft/client/settings) [PlayerControllerMP](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp) [World](https://scripting.breeze.rip/api/net/minecraft/client/world) Last updated 14 days ago --- # breeze.getModules | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/breeze.getmodules.md) . > **getModules**(): [`Module`](https://scripting.breeze.rip/api/breeze/module) > \[\] ### Returns[](https://scripting.breeze.rip/api/functions/breeze.getmodules#returns) [`Module`](https://scripting.breeze.rip/api/breeze/module) \[\] A list of all loaded breeze modules. Last updated 25 days ago --- # breeze.getRoleColor | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/breeze.getrolecolor.md) . > **getRoleColor**(): [`Color`](https://scripting.breeze.rip/api/breeze/util/color) ### Returns[](https://scripting.breeze.rip/api/functions/breeze.getrolecolor#returns) [`Color`](https://scripting.breeze.rip/api/breeze/util/color) The breeze role color of the logged in user. Last updated 8 months ago --- # ItemStack | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/item/itemstack.md) . Describes a minecraft item-stack. ### Properties[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#properties) #### itemDamage[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#itemdamage) > `readonly` **itemDamage**: `number` * * * #### maxStackSize[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#maxstacksize) > `readonly` **maxStackSize**: `number` * * * #### stackSize[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#stacksize) > **stackSize**: `number` The amount of items in the stack. ### Methods[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#methods) #### exists()[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#exists) > **exists**(): `boolean` **Returns** `boolean` Whether the item exists (not null/empty). * * * #### getDisplayName()[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#getdisplayname) > **getDisplayName**(): `string` **Returns** `string` The name of the item. * * * #### getItemId()[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#getitemid) > **getItemId**(): `number` **Returns** `number` The id of the item. * * * #### getRemainingDurability()[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#getremainingdurability) > **getRemainingDurability**(): `number` **Returns** `number` The remaining durability of the item. * * * #### getUnlocalizedName()[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#getunlocalizedname) > **getUnlocalizedName**(): `string` **Returns** `string` The unlocalized name of the item. * * * #### hasEnchantments()[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#hasenchantments) > **hasEnchantments**(): `boolean` **Returns** `boolean` Whether the item has enchantments. * * * #### isAxe()[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#isaxe) > **isAxe**(): `boolean` **Returns** `boolean` Whether the item is an axe. * * * #### isBlock()[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#isblock) > **isBlock**(): `boolean` **Returns** `boolean` Whether the item is a block. * * * #### isBroken()[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#isbroken) > **isBroken**(): `boolean` **Returns** `boolean` Whether the item is broken. * * * #### isDamageable()[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#isdamageable) > **isDamageable**(): `boolean` **Returns** `boolean` Whether the item can be damaged. * * * #### isHoe()[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#ishoe) > **isHoe**(): `boolean` **Returns** `boolean` Whether the item is a hoe. * * * #### isPickaxe()[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#ispickaxe) > **isPickaxe**(): `boolean` **Returns** `boolean` Whether the item is a pickaxe. * * * #### isShovel()[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#isshovel) > **isShovel**(): `boolean` **Returns** `boolean` Whether the item is a shovel. * * * #### isStackable()[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#isstackable) > **isStackable**(): `boolean` **Returns** `boolean` Whether the item can be stacked. * * * #### isSword()[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#issword) > **isSword**(): `boolean` **Returns** `boolean` Whether the item is a sword. * * * #### isTool()[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#istool) > **isTool**(): `boolean` **Returns** `boolean` Whether the item is a tool or weapon. * * * #### setNBTData()[](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#setnbtdata) > **setNBTData**(): `string` Sets the NBT data of the item. **Returns** `string` Last updated 8 months ago * [Properties](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#properties) * [Methods](https://scripting.breeze.rip/api/net/minecraft/item/itemstack#methods) --- # time | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/namespaces/time.md) . The time namespace, can be used for retrieving the current epoch time. ### Functions[](https://scripting.breeze.rip/api/namespaces/time#functions) * [getTimeMS](https://scripting.breeze.rip/api/functions/time.gettimems) * [getTimeNS](https://scripting.breeze.rip/api/functions/time.gettimens) * [getTimeSeconds](https://scripting.breeze.rip/api/functions/time.gettimeseconds) Last updated 8 months ago --- # AxisAlignedBB | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb.md) . A bounding box in 3d space. ### Constructors[](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb#constructors) #### Constructor[](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb#constructor) > **new AxisAlignedBB**(`minX`, `minY`, `minZ`, `maxX`, `maxY`, `maxZ`): `AxisAlignedBB` **Parameters** **minX** `number` **minY** `number` **minZ** `number` **maxX** `number` **maxY** `number` **maxZ** `number` **Returns** `AxisAlignedBB` ### Properties[](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb#properties) #### maxX[](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb#maxx) > `readonly` **maxX**: `number` * * * #### maxY[](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb#maxy) > `readonly` **maxY**: `number` * * * #### maxZ[](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb#maxz) > `readonly` **maxZ**: `number` * * * #### minX[](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb#minx) > `readonly` **minX**: `number` * * * #### minY[](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb#miny) > `readonly` **minY**: `number` * * * #### minZ[](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb#minz) > `readonly` **minZ**: `number` ### Methods[](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb#methods) #### intersectsWith()[](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb#intersectswith) > **intersectsWith**(`other`): `boolean` Check if two bounding boxes intersect. **Parameters** **other** `AxisAlignedBB` The bounding box to check with. **Returns** `boolean` True if the bounding boxes intersect. * * * #### rayTrace()[](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb#raytrace) > **rayTrace**(`from`, `to`): [`RaytraceResult`](https://scripting.breeze.rip/api/net/minecraft/util/raytraceresult) Ray traces this bounding box. **Parameters** **from** [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) The starting position of the ray. **to** [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) The end position of the ray. **Returns** [`RaytraceResult`](https://scripting.breeze.rip/api/net/minecraft/util/raytraceresult) The result of the ray trace, or null if no intersection was found. Last updated 4 months ago * [Constructors](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb#constructors) * [Properties](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb#properties) * [Methods](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb#methods) --- # rotationManager.onUpdateNoRotate | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/rotationmanager.onupdatenorotate.md) . > **onUpdateNoRotate**(`onUpdate`): `void` Register a callback that runs on rotation updates when the module has no priority ### Parameters[](https://scripting.breeze.rip/api/functions/rotationmanager.onupdatenorotate#parameters) #### onUpdate[](https://scripting.breeze.rip/api/functions/rotationmanager.onupdatenorotate#onupdate) `Function` Function to invoke each update without rotation. ### Returns[](https://scripting.breeze.rip/api/functions/rotationmanager.onupdatenorotate#returns) `void` ### Example[](https://scripting.breeze.rip/api/functions/rotationmanager.onupdatenorotate#example) Copy rotationManager.onUpdateNoRotate(() => { //idle tick }); Last updated 8 months ago * [Parameters](https://scripting.breeze.rip/api/functions/rotationmanager.onupdatenorotate#parameters) * [Returns](https://scripting.breeze.rip/api/functions/rotationmanager.onupdatenorotate#returns) * [Example](https://scripting.breeze.rip/api/functions/rotationmanager.onupdatenorotate#example) --- # hudRenderer.stringWidth | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/hudrenderer.stringwidth.md) . > **stringWidth**(`text`): `number` Returns the pixel width of a string using the current HUD font. ### Parameters[](https://scripting.breeze.rip/api/functions/hudrenderer.stringwidth#parameters) #### text[](https://scripting.breeze.rip/api/functions/hudrenderer.stringwidth#text) `string` The string to measure. ### Returns[](https://scripting.breeze.rip/api/functions/hudrenderer.stringwidth#returns) `number` The width of the string in pixels. Last updated 4 months ago * [Parameters](https://scripting.breeze.rip/api/functions/hudrenderer.stringwidth#parameters) * [Returns](https://scripting.breeze.rip/api/functions/hudrenderer.stringwidth#returns) --- # mc.chatMessage | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/mc.chatmessage.md) . > **chatMessage**(`message`, `prefix`): `void` Sends a chat message with an optional prefix to the player. ### Parameters[](https://scripting.breeze.rip/api/functions/mc.chatmessage#parameters) #### message[](https://scripting.breeze.rip/api/functions/mc.chatmessage#message) `string` The message you want shown in chat. #### prefix[](https://scripting.breeze.rip/api/functions/mc.chatmessage#prefix) `boolean` If you want the \[Breeze\] prefix added. ### Returns[](https://scripting.breeze.rip/api/functions/mc.chatmessage#returns) `void` Last updated 4 months ago * [Parameters](https://scripting.breeze.rip/api/functions/mc.chatmessage#parameters) * [Returns](https://scripting.breeze.rip/api/functions/mc.chatmessage#returns) --- # spoofManager.flushIncoming | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/spoofmanager.flushincoming.md) . > **flushIncoming**(): `void` Releases all delayed inbound packets. ### Returns[](https://scripting.breeze.rip/api/functions/spoofmanager.flushincoming#returns) `void` Last updated 8 months ago --- # time.getTimeSeconds | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/time.gettimeseconds.md) . > **getTimeSeconds**(): `number` The epoch time in seconds ### Returns[](https://scripting.breeze.rip/api/functions/time.gettimeseconds#returns) `number` Last updated 8 months ago --- # formatting.DARK PURPLE | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.dark_purple.md) . > `const` **DARK\_PURPLE**: `string` Last updated 8 months ago --- # formatting.RESET | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.reset.md) . > `const` **RESET**: `string` Resets all previous color formatting. Last updated 8 months ago --- # formatting.PRIMARY | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.primary.md) . > `const` **PRIMARY**: `string` The primary text color defined by the theme. Last updated 8 months ago --- # formatting.BLACK | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.black.md) . > `const` **BLACK**: `string` Last updated 8 months ago --- # mc.rightClickDelayTimer | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/mc.rightclickdelaytimer.md) . > **rightClickDelayTimer**: `number` The right click delay timer, the game uses this for auto right clicking when you are holding down the mouse. Manipulating this can be used to make a fast place module for example. Last updated 25 days ago --- # breeze.versionSimple | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/breeze.versionsimple.md) . > `const` **versionSimple**: `string` Simplified version of the breeze version string. Last updated 8 months ago --- # formatting.TERTIARY | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.tertiary.md) . > `const` **TERTIARY**: `string` The tertiary text color defined by the theme. Last updated 8 months ago --- # mc.gameSettings | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/mc.gamesettings.md) . > `const` **gameSettings**: [`GameSettings`](https://scripting.breeze.rip/api/net/minecraft/client/settings/gamesettings) Last updated 8 months ago --- # script.onEnable | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/script.onenable.md) . > **onEnable**(`callback`): `void` Register a callback to run when the script is enabled. ### Parameters[](https://scripting.breeze.rip/api/functions/script.onenable#parameters) #### callback[](https://scripting.breeze.rip/api/functions/script.onenable#callback) `Function` The function to run. ### Returns[](https://scripting.breeze.rip/api/functions/script.onenable#returns) `void` ### Remarks[](https://scripting.breeze.rip/api/functions/script.onenable#remarks) This can only be used while the script is initializing. Last updated 4 months ago * [Parameters](https://scripting.breeze.rip/api/functions/script.onenable#parameters) * [Returns](https://scripting.breeze.rip/api/functions/script.onenable#returns) * [Remarks](https://scripting.breeze.rip/api/functions/script.onenable#remarks) --- # script.metadata | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/script.metadata.md) . > **metadata**(`callback`): `void` Register a callback to provide script metadata, this metadata can be displayed in the arraylist. ### Parameters[](https://scripting.breeze.rip/api/functions/script.metadata#parameters) #### callback[](https://scripting.breeze.rip/api/functions/script.metadata#callback) `Function` The function to run for retrieving metadata. ### Returns[](https://scripting.breeze.rip/api/functions/script.metadata#returns) `void` ### Remarks[](https://scripting.breeze.rip/api/functions/script.metadata#remarks) This can only be used while the script is initializing. Last updated 4 months ago * [Parameters](https://scripting.breeze.rip/api/functions/script.metadata#parameters) * [Returns](https://scripting.breeze.rip/api/functions/script.metadata#returns) * [Remarks](https://scripting.breeze.rip/api/functions/script.metadata#remarks) --- # spoofManager.setPriority | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/spoofmanager.setpriority.md) . > **setPriority**(`priority`): `void` ### Parameters[](https://scripting.breeze.rip/api/functions/spoofmanager.setpriority#parameters) #### priority[](https://scripting.breeze.rip/api/functions/spoofmanager.setpriority#priority) `number` ### Returns[](https://scripting.breeze.rip/api/functions/spoofmanager.setpriority#returns) `void` Last updated 8 months ago * [Parameters](https://scripting.breeze.rip/api/functions/spoofmanager.setpriority#parameters) * [Returns](https://scripting.breeze.rip/api/functions/spoofmanager.setpriority#returns) --- # formatting.GREEN | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.green.md) . > `const` **GREEN**: `string` Last updated 8 months ago --- # rotationManager.getSpoofedPitch | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/rotationmanager.getspoofedpitch.md) . > **getSpoofedPitch**(): `number` Get the current spoofed pitch in degrees. ### Returns[](https://scripting.breeze.rip/api/functions/rotationmanager.getspoofedpitch#returns) `number` ### Example[](https://scripting.breeze.rip/api/functions/rotationmanager.getspoofedpitch#example) Copy const pitch = rotationManager.getSpoofedPitch(); Last updated 8 months ago * [Returns](https://scripting.breeze.rip/api/functions/rotationmanager.getspoofedpitch#returns) * [Example](https://scripting.breeze.rip/api/functions/rotationmanager.getspoofedpitch#example) --- # formatting.DARK RED | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/formatting.dark_red.md) . > `const` **DARK\_RED**: `string` Last updated 8 months ago --- # rotationManager.getSpoofedYaw | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/rotationmanager.getspoofedyaw.md) . > **getSpoofedYaw**(): `number` Get the current spoofed yaw in degrees. ### Returns[](https://scripting.breeze.rip/api/functions/rotationmanager.getspoofedyaw#returns) `number` ### Example[](https://scripting.breeze.rip/api/functions/rotationmanager.getspoofedyaw#example) Copy const yaw = rotationManager.getSpoofedYaw(); Last updated 8 months ago * [Returns](https://scripting.breeze.rip/api/functions/rotationmanager.getspoofedyaw#returns) * [Example](https://scripting.breeze.rip/api/functions/rotationmanager.getspoofedyaw#example) --- # mc.currentScreen | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/mc.currentscreen.md) . > `const` **currentScreen**: [`GuiScreen`](https://scripting.breeze.rip/api/net/minecraft/client/gui/guiscreen) The current screen. Last updated 8 months ago --- # mc.player | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/mc.player.md) . > `const` **player**: [`EntityPlayerSP`](https://scripting.breeze.rip/api/net/minecraft/client/entity/entityplayersp) The main client player. ### Remarks[](https://scripting.breeze.rip/api/variables/mc.player#remarks) Can be null sometimes. Last updated 8 months ago --- # script.allowBind | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/script.allowbind.md) . > **allowBind**: `boolean` Whether this script allows a keybind. Last updated 3 months ago --- # script.description | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/script.description.md) . > **description**: `string` The description of the script. Last updated 8 months ago --- # Vec3 | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/util/vec3.md) . A point in 3d space. ### Constructors[](https://scripting.breeze.rip/api/net/minecraft/util/vec3#constructors) #### Constructor[](https://scripting.breeze.rip/api/net/minecraft/util/vec3#constructor) > **new Vec3**(`x`, `y`, `z`): `Vec3` Creates a new Vec3 instance with the given coordinates **Parameters** **x** `number` **y** `number` **z** `number` **Returns** `Vec3` ### Methods[](https://scripting.breeze.rip/api/net/minecraft/util/vec3#methods) #### add()[](https://scripting.breeze.rip/api/net/minecraft/util/vec3#add) > **add**(`vec3`): `Vec3` Adds another vector to this one **Parameters** **vec3** `Vec3` The vector to add **Returns** `Vec3` A new vector representing the sum * * * #### distanceTo()[](https://scripting.breeze.rip/api/net/minecraft/util/vec3#distanceto) > **distanceTo**(`vec3`): `number` Calculates the distance to another vector **Parameters** **vec3** `Vec3` The vector to calculate distance to **Returns** `number` The distance between the two vectors * * * #### getLength()[](https://scripting.breeze.rip/api/net/minecraft/util/vec3#getlength) > **getLength**(): `number` Gets the length/magnitude of this vector **Returns** `number` The vector length * * * #### getX()[](https://scripting.breeze.rip/api/net/minecraft/util/vec3#getx) > **getX**(): `number` Gets the X coordinate **Returns** `number` The X coordinate * * * #### getY()[](https://scripting.breeze.rip/api/net/minecraft/util/vec3#gety) > **getY**(): `number` Gets the Y coordinate **Returns** `number` The Y coordinate * * * #### getZ()[](https://scripting.breeze.rip/api/net/minecraft/util/vec3#getz) > **getZ**(): `number` Gets the Z coordinate **Returns** `number` The Z coordinate * * * #### normalize()[](https://scripting.breeze.rip/api/net/minecraft/util/vec3#normalize) > **normalize**(): `Vec3` Normalizes this vector to have a length of 1 **Returns** `Vec3` A new normalized vector * * * #### subtract()[](https://scripting.breeze.rip/api/net/minecraft/util/vec3#subtract) > **subtract**(`vec3`): `Vec3` Subtracts another vector from this one **Parameters** **vec3** `Vec3` The vector to subtract **Returns** `Vec3` A new vector representing the difference Last updated 8 months ago * [Constructors](https://scripting.breeze.rip/api/net/minecraft/util/vec3#constructors) * [Methods](https://scripting.breeze.rip/api/net/minecraft/util/vec3#methods) --- # RaytraceResult | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/util/raytraceresult.md) . Represents the result of a raytrace. ### Properties[](https://scripting.breeze.rip/api/net/minecraft/util/raytraceresult#properties) #### blockPos[](https://scripting.breeze.rip/api/net/minecraft/util/raytraceresult#blockpos) > `readonly` **blockPos**: [`BlockPos`](https://scripting.breeze.rip/api/net/minecraft/util/blockpos) The block position the raytrace might have hit. **Remarks** May be null if the raytrace didn't hit a block. * * * #### entityHit[](https://scripting.breeze.rip/api/net/minecraft/util/raytraceresult#entityhit) > `readonly` **entityHit**: [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) The entity the raytrace might have hit. **Remarks** May be null if the raytrace didn't hit an entity. * * * #### hitVec[](https://scripting.breeze.rip/api/net/minecraft/util/raytraceresult#hitvec) > `readonly` **hitVec**: [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) The hit vector of the raytrace, can be null. * * * #### sideHit[](https://scripting.breeze.rip/api/net/minecraft/util/raytraceresult#sidehit) > `readonly` **sideHit**: `string` The side of the block the raytrace might have hit. Will be a EnumFacing. **Remarks** May be null if the raytrace didn't hit a block. ### Methods[](https://scripting.breeze.rip/api/net/minecraft/util/raytraceresult#methods) #### getHitType()[](https://scripting.breeze.rip/api/net/minecraft/util/raytraceresult#gethittype) > **getHitType**(): [`HitType`](https://scripting.breeze.rip/api/enum_types/hittype) **Returns** [`HitType`](https://scripting.breeze.rip/api/enum_types/hittype) The type of hit that was made. One of: BLOCK, ENTITY, MISS. Last updated 4 months ago * [Properties](https://scripting.breeze.rip/api/net/minecraft/util/raytraceresult#properties) * [Methods](https://scripting.breeze.rip/api/net/minecraft/util/raytraceresult#methods) --- # breeze.getModule | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/breeze.getmodule.md) . > **getModule**(`name`): [`Module`](https://scripting.breeze.rip/api/breeze/module) Get a module by its name ### Parameters[](https://scripting.breeze.rip/api/functions/breeze.getmodule#parameters) #### name[](https://scripting.breeze.rip/api/functions/breeze.getmodule#name) `string` The name of the module. ### Returns[](https://scripting.breeze.rip/api/functions/breeze.getmodule#returns) [`Module`](https://scripting.breeze.rip/api/breeze/module) The module, or null if no module was found. Last updated 4 months ago * [Parameters](https://scripting.breeze.rip/api/functions/breeze.getmodule#parameters) * [Returns](https://scripting.breeze.rip/api/functions/breeze.getmodule#returns) --- # mc.world | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/mc.world.md) . > `const` **world**: [`World`](https://scripting.breeze.rip/api/net/minecraft/client/world) The main world ### Remarks[](https://scripting.breeze.rip/api/variables/mc.world#remarks) Can be null sometimes. Last updated 8 months ago --- # mc.playerController | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/mc.playercontroller.md) . > `const` **playerController**: [`PlayerControllerMP`](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp) The player controller, can be used for controlling the local player and inventory. Last updated 8 months ago --- # mc.objectMouseOver | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/variables/mc.objectmouseover.md) . > **objectMouseOver**: [`RaytraceResult`](https://scripting.breeze.rip/api/net/minecraft/util/raytraceresult) The object that the local player is looking at, if this is null it crashes your game. Last updated 8 months ago --- # script.log | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/script.log.md) . ### Call Signature[](https://scripting.breeze.rip/api/functions/script.log#call-signature) > **log**(`message`): `void` Log a message to the script console. #### Parameters[](https://scripting.breeze.rip/api/functions/script.log#parameters) **message** `string` The message to log. #### Returns[](https://scripting.breeze.rip/api/functions/script.log#returns) `void` ### Call Signature[](https://scripting.breeze.rip/api/functions/script.log#call-signature-1) > **log**(`message`, `color`): `void` Log a message to the script console. With a given color. #### Parameters[](https://scripting.breeze.rip/api/functions/script.log#parameters-1) **message** `string` The message to log. **color** [`Color`](https://scripting.breeze.rip/api/breeze/util/color) The color you want the log to appear in. #### Returns[](https://scripting.breeze.rip/api/functions/script.log#returns-1) `void` Last updated 4 months ago * [Call Signature](https://scripting.breeze.rip/api/functions/script.log#call-signature) * [Call Signature](https://scripting.breeze.rip/api/functions/script.log#call-signature-1) --- # spoofManager.release | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/spoofmanager.release.md) . > **release**(`packet`): `void` Releases the packet. ### Parameters[](https://scripting.breeze.rip/api/functions/spoofmanager.release#parameters) #### packet[](https://scripting.breeze.rip/api/functions/spoofmanager.release#packet) [`DelayedPacket`](https://scripting.breeze.rip/api/breeze/spoof/delayedpacket) ### Returns[](https://scripting.breeze.rip/api/functions/spoofmanager.release#returns) `void` Last updated 8 months ago * [Parameters](https://scripting.breeze.rip/api/functions/spoofmanager.release#parameters) * [Returns](https://scripting.breeze.rip/api/functions/spoofmanager.release#returns) --- # BlockPos | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/util/blockpos.md) . A block position. ### Constructors[](https://scripting.breeze.rip/api/net/minecraft/util/blockpos#constructors) #### Constructor[](https://scripting.breeze.rip/api/net/minecraft/util/blockpos#constructor) > **new BlockPos**(`x`, `y`, `z`): `BlockPos` **Parameters** **x** `number` **y** `number` **z** `number` **Returns** `BlockPos` ### Properties[](https://scripting.breeze.rip/api/net/minecraft/util/blockpos#properties) #### posX[](https://scripting.breeze.rip/api/net/minecraft/util/blockpos#posx) > `readonly` **posX**: `number` Gets the X coordinate. * * * #### posY[](https://scripting.breeze.rip/api/net/minecraft/util/blockpos#posy) > `readonly` **posY**: `number` Gets the Y coordinate. * * * #### posZ[](https://scripting.breeze.rip/api/net/minecraft/util/blockpos#posz) > `readonly` **posZ**: `number` Gets the Z coordinate. ### Methods[](https://scripting.breeze.rip/api/net/minecraft/util/blockpos#methods) #### down()[](https://scripting.breeze.rip/api/net/minecraft/util/blockpos#down) > **down**(): `BlockPos` Gets the BlockPos one block down. **Returns** `BlockPos` * * * #### east()[](https://scripting.breeze.rip/api/net/minecraft/util/blockpos#east) > **east**(): `BlockPos` Gets the BlockPos one block east. **Returns** `BlockPos` * * * #### getBlockId()[](https://scripting.breeze.rip/api/net/minecraft/util/blockpos#getblockid) > **getBlockId**(): `number` Gets the block ID at this position. **Returns** `number` * * * #### getHardness()[](https://scripting.breeze.rip/api/net/minecraft/util/blockpos#gethardness) > **getHardness**(): `number` Gets the hardness of the block at this position. **Returns** `number` * * * #### isAir()[](https://scripting.breeze.rip/api/net/minecraft/util/blockpos#isair) > **isAir**(): `boolean` Checks if the block at this position is air. **Returns** `boolean` * * * #### isReplaceable()[](https://scripting.breeze.rip/api/net/minecraft/util/blockpos#isreplaceable) > **isReplaceable**(): `boolean` Checks if the block at this position is replaceable. **Returns** `boolean` * * * #### isSolid()[](https://scripting.breeze.rip/api/net/minecraft/util/blockpos#issolid) > **isSolid**(): `boolean` Checks if the block at this position is solid. **Returns** `boolean` * * * #### north()[](https://scripting.breeze.rip/api/net/minecraft/util/blockpos#north) > **north**(): `BlockPos` Gets the BlockPos one block north. **Returns** `BlockPos` * * * #### south()[](https://scripting.breeze.rip/api/net/minecraft/util/blockpos#south) > **south**(): `BlockPos` Gets the BlockPos one block south. **Returns** `BlockPos` * * * #### up()[](https://scripting.breeze.rip/api/net/minecraft/util/blockpos#up) > **up**(): `BlockPos` Gets the BlockPos one block up. **Returns** `BlockPos` * * * #### west()[](https://scripting.breeze.rip/api/net/minecraft/util/blockpos#west) > **west**(): `BlockPos` Gets the BlockPos one block west. **Returns** `BlockPos` Last updated 8 months ago * [Constructors](https://scripting.breeze.rip/api/net/minecraft/util/blockpos#constructors) * [Properties](https://scripting.breeze.rip/api/net/minecraft/util/blockpos#properties) * [Methods](https://scripting.breeze.rip/api/net/minecraft/util/blockpos#methods) --- # Packet | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/network/packet.md) . The base minecraft packet class. ### Extended by[](https://scripting.breeze.rip/api/net/minecraft/network/packet#extended-by) * [`C00PacketKeepAlive`](https://scripting.breeze.rip/api/net/minecraft/network/client/c00packetkeepalive) * [`C0CPacketInput`](https://scripting.breeze.rip/api/net/minecraft/network/client/c0cpacketinput) * [`C0BPacketEntityAction`](https://scripting.breeze.rip/api/net/minecraft/network/client/c0bpacketentityaction) * [`S04PacketEntityEquipment`](https://scripting.breeze.rip/api/net/minecraft/network/server/s04packetentityequipment) * [`S05PacketSpawnPosition`](https://scripting.breeze.rip/api/net/minecraft/network/server/s05packetspawnposition) * [`S0CPacketSpawnPlayer`](https://scripting.breeze.rip/api/net/minecraft/network/server/s0cpacketspawnplayer) * [`C0FPacketConfirmTransaction`](https://scripting.breeze.rip/api/net/minecraft/network/client/c0fpacketconfirmtransaction) * [`S00PacketKeepAlive`](https://scripting.breeze.rip/api/net/minecraft/network/server/s00packetkeepalive) * [`S01PacketJoinGame`](https://scripting.breeze.rip/api/net/minecraft/network/server/s01packetjoingame) * [`C0APacketAnimation`](https://scripting.breeze.rip/api/net/minecraft/network/client/c0apacketanimation) * [`S12PacketEntityVelocity`](https://scripting.breeze.rip/api/net/minecraft/network/server/s12packetentityvelocity) * [`S3FPacketCustomPayload`](https://scripting.breeze.rip/api/net/minecraft/network/server/s3fpacketcustompayload) * [`S06PacketUpdateHealth`](https://scripting.breeze.rip/api/net/minecraft/network/server/s06packetupdatehealth) * [`S13PacketDestroyEntities`](https://scripting.breeze.rip/api/net/minecraft/network/server/s13packetdestroyentities) * [`C07PacketPlayerDigging`](https://scripting.breeze.rip/api/net/minecraft/network/client/c07packetplayerdigging) * [`C0EPacketClickWindow`](https://scripting.breeze.rip/api/net/minecraft/network/client/c0epacketclickwindow) * [`S27PacketExplosion`](https://scripting.breeze.rip/api/net/minecraft/network/server/s27packetexplosion) * [`S2APacketParticles`](https://scripting.breeze.rip/api/net/minecraft/network/server/s2apacketparticles) * [`S14PacketEntity`](https://scripting.breeze.rip/api/net/minecraft/network/server/s14packetentity) * [`S19PacketEntityHeadLook`](https://scripting.breeze.rip/api/net/minecraft/network/server/s19packetentityheadlook) * [`S02PacketChat`](https://scripting.breeze.rip/api/net/minecraft/network/server/s02packetchat) * [`C08PacketBlockPlacement`](https://scripting.breeze.rip/api/net/minecraft/network/client/c08packetblockplacement) * [`S2EPacketCloseWindow`](https://scripting.breeze.rip/api/net/minecraft/network/server/s2epacketclosewindow) * [`S03PacketTimeUpdate`](https://scripting.breeze.rip/api/net/minecraft/network/server/s03packettimeupdate) * [`S0DPacketCollectItem`](https://scripting.breeze.rip/api/net/minecraft/network/server/s0dpacketcollectitem) * [`C02PacketUseEntity`](https://scripting.breeze.rip/api/net/minecraft/network/client/c02packetuseentity) * [`S08PacketPlayerPosLook`](https://scripting.breeze.rip/api/net/minecraft/network/server/s08packetplayerposlook) * [`S1APacketEntityStatus`](https://scripting.breeze.rip/api/net/minecraft/network/server/s1apacketentitystatus) * [`C03PacketPlayer`](https://scripting.breeze.rip/api/net/minecraft/network/client/c03packetplayer) * [`S2FPacketSetSlot`](https://scripting.breeze.rip/api/net/minecraft/network/server/s2fpacketsetslot) * [`C09PacketHeldItemChange`](https://scripting.breeze.rip/api/net/minecraft/network/client/c09packethelditemchange) * [`S09PacketHeldItemChange`](https://scripting.breeze.rip/api/net/minecraft/network/server/s09packethelditemchange) * [`S2DPacketOpenWindow`](https://scripting.breeze.rip/api/net/minecraft/network/server/s2dpacketopenwindow) * [`S0EPacketSpawnObject`](https://scripting.breeze.rip/api/net/minecraft/network/server/s0epacketspawnobject) * [`C01PacketChatMessage`](https://scripting.breeze.rip/api/net/minecraft/network/client/c01packetchatmessage) * [`S07PacketRespawn`](https://scripting.breeze.rip/api/net/minecraft/network/server/s07packetrespawn) * [`C17PacketCustomPayload`](https://scripting.breeze.rip/api/net/minecraft/network/client/c17packetcustompayload) * [`C0DPacketCloseWindow`](https://scripting.breeze.rip/api/net/minecraft/network/client/c0dpacketclosewindow) * [`S18PacketEntityTeleport`](https://scripting.breeze.rip/api/net/minecraft/network/server/s18packetentityteleport) * [`S2CPacketSpawnGlobalEntity`](https://scripting.breeze.rip/api/net/minecraft/network/server/s2cpacketspawnglobalentity) * [`S0FPacketSpawnMob`](https://scripting.breeze.rip/api/net/minecraft/network/server/s0fpacketspawnmob) ### Methods[](https://scripting.breeze.rip/api/net/minecraft/network/packet#methods) #### getPacketID()[](https://scripting.breeze.rip/api/net/minecraft/network/packet#getpacketid) > **getPacketID**(): `string` Get the ID of the packet. **Returns** `string` The ID of the packet. Last updated 8 months ago * [Extended by](https://scripting.breeze.rip/api/net/minecraft/network/packet#extended-by) * [Methods](https://scripting.breeze.rip/api/net/minecraft/network/packet#methods) --- # client | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/network/client.md) . [C00PacketKeepAlive](https://scripting.breeze.rip/api/net/minecraft/network/client/c00packetkeepalive) [C01PacketChatMessage](https://scripting.breeze.rip/api/net/minecraft/network/client/c01packetchatmessage) [C02PacketUseEntity](https://scripting.breeze.rip/api/net/minecraft/network/client/c02packetuseentity) [C03PacketPlayer](https://scripting.breeze.rip/api/net/minecraft/network/client/c03packetplayer) [C04PacketPlayerPosition](https://scripting.breeze.rip/api/net/minecraft/network/client/c04packetplayerposition) [C05PacketPlayerLook](https://scripting.breeze.rip/api/net/minecraft/network/client/c05packetplayerlook) [C06PacketPlayerPosition](https://scripting.breeze.rip/api/net/minecraft/network/client/c06packetplayerposition) [C07PacketPlayerDigging](https://scripting.breeze.rip/api/net/minecraft/network/client/c07packetplayerdigging) [C08PacketBlockPlacement](https://scripting.breeze.rip/api/net/minecraft/network/client/c08packetblockplacement) [C09PacketHeldItemChange](https://scripting.breeze.rip/api/net/minecraft/network/client/c09packethelditemchange) [C0APacketAnimation](https://scripting.breeze.rip/api/net/minecraft/network/client/c0apacketanimation) [C0BPacketEntityAction](https://scripting.breeze.rip/api/net/minecraft/network/client/c0bpacketentityaction) [C0CPacketInput](https://scripting.breeze.rip/api/net/minecraft/network/client/c0cpacketinput) [C0DPacketCloseWindow](https://scripting.breeze.rip/api/net/minecraft/network/client/c0dpacketclosewindow) [C0EPacketClickWindow](https://scripting.breeze.rip/api/net/minecraft/network/client/c0epacketclickwindow) [C0FPacketConfirmTransaction](https://scripting.breeze.rip/api/net/minecraft/network/client/c0fpacketconfirmtransaction) [C17PacketCustomPayload](https://scripting.breeze.rip/api/net/minecraft/network/client/c17packetcustompayload) Last updated 14 days ago --- # math.getCenter | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/functions/math.getcenter.md) . > **getCenter**(`bb`): [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) The point in the middle of a bounding box. ### Parameters[](https://scripting.breeze.rip/api/functions/math.getcenter#parameters) #### bb[](https://scripting.breeze.rip/api/functions/math.getcenter#bb) [`AxisAlignedBB`](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb) The bounding box to take the center of. ### Returns[](https://scripting.breeze.rip/api/functions/math.getcenter#returns) [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) The center of the box, or null when no box was given. Last updated 14 days ago * [Parameters](https://scripting.breeze.rip/api/functions/math.getcenter#parameters) * [Returns](https://scripting.breeze.rip/api/functions/math.getcenter#returns) --- # Events | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/events.md) . [AngleUpdateEvent](https://scripting.breeze.rip/api/events/angleupdateevent) [CharTypedEvent](https://scripting.breeze.rip/api/events/chartypedevent) [JumpEvent](https://scripting.breeze.rip/api/events/jumpevent) [KeyPressedEvent](https://scripting.breeze.rip/api/events/keypressedevent) [MotionEvent](https://scripting.breeze.rip/api/events/motionevent) [MouseClickedEvent](https://scripting.breeze.rip/api/events/mouseclickedevent) [PacketReceiveEvent](https://scripting.breeze.rip/api/events/packetreceiveevent) [PacketSendEvent](https://scripting.breeze.rip/api/events/packetsendevent) [PostAttackEvent](https://scripting.breeze.rip/api/events/postattackevent) [PostMotionEvent](https://scripting.breeze.rip/api/events/postmotionevent) [PreAttackEvent](https://scripting.breeze.rip/api/events/preattackevent) [PreMotionEvent](https://scripting.breeze.rip/api/events/premotionevent) [PreTickEvent](https://scripting.breeze.rip/api/events/pretickevent) [Render2DEvent](https://scripting.breeze.rip/api/events/render2devent) [Render3DEvent](https://scripting.breeze.rip/api/events/render3devent) [RenderEntityEvent](https://scripting.breeze.rip/api/events/renderentityevent) [RenderHandEvent](https://scripting.breeze.rip/api/events/renderhandevent) [RunGameLoopEvent](https://scripting.breeze.rip/api/events/rungameloopevent) [SpoofInputEvent](https://scripting.breeze.rip/api/events/spoofinputevent) [WorldChangedEvent](https://scripting.breeze.rip/api/events/worldchangedevent) Last updated 14 days ago --- # World | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/client/world.md) . getEntities()[](https://scripting.breeze.rip/api/net/minecraft/client/world#getentities) ----------------------------------------------------------------------------------------- > **getEntities**(): [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) > \[\] Gets all entities in the world. ### Returns[](https://scripting.breeze.rip/api/net/minecraft/client/world#returns) [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) \[\] * * * getPlayers()[](https://scripting.breeze.rip/api/net/minecraft/client/world#getplayers) --------------------------------------------------------------------------------------- > **getPlayers**(): [`EntityPlayer`](https://scripting.breeze.rip/api/net/minecraft/client/entity/entityplayer) > \[\] Gets all players in the world. ### Returns[](https://scripting.breeze.rip/api/net/minecraft/client/world#returns-1) [`EntityPlayer`](https://scripting.breeze.rip/api/net/minecraft/client/entity/entityplayer) \[\] * * * rayTraceBlocks()[](https://scripting.breeze.rip/api/net/minecraft/client/world#raytraceblocks) ----------------------------------------------------------------------------------------------- > **rayTraceBlocks**(`from`, `to`): [`RaytraceResult`](https://scripting.breeze.rip/api/net/minecraft/util/raytraceresult) Ray traces through the world from one point to another. ### Parameters[](https://scripting.breeze.rip/api/net/minecraft/client/world#parameters) #### from[](https://scripting.breeze.rip/api/net/minecraft/client/world#from) [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) The starting position of the ray. #### to[](https://scripting.breeze.rip/api/net/minecraft/client/world#to) [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) The ending position of the ray. ### Returns[](https://scripting.breeze.rip/api/net/minecraft/client/world#returns-2) [`RaytraceResult`](https://scripting.breeze.rip/api/net/minecraft/util/raytraceresult) The result of the ray trace, or null if no intersection was found. Last updated 4 months ago * [getEntities()](https://scripting.breeze.rip/api/net/minecraft/client/world#getentities) * [Returns](https://scripting.breeze.rip/api/net/minecraft/client/world#returns) * [getPlayers()](https://scripting.breeze.rip/api/net/minecraft/client/world#getplayers) * [Returns](https://scripting.breeze.rip/api/net/minecraft/client/world#returns-1) * [rayTraceBlocks()](https://scripting.breeze.rip/api/net/minecraft/client/world#raytraceblocks) * [Parameters](https://scripting.breeze.rip/api/net/minecraft/client/world#parameters) * [Returns](https://scripting.breeze.rip/api/net/minecraft/client/world#returns-2) --- # CharTypedEvent | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/events/chartypedevent.md) . Gets called when a character is typed. ### Methods[](https://scripting.breeze.rip/api/events/chartypedevent#methods) #### getChar()[](https://scripting.breeze.rip/api/events/chartypedevent#getchar) > **getChar**(): `string` **Returns** `string` Last updated 8 months ago --- # PostMotionEvent | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/events/postmotionevent.md) . Gets called after the player motion packets have been send. Last updated 8 months ago --- # Render3DEvent | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/events/render3devent.md) . Called when the 3D world is rendered. ### Methods[](https://scripting.breeze.rip/api/events/render3devent#methods) #### getPartialTicks()[](https://scripting.breeze.rip/api/events/render3devent#getpartialticks) > **getPartialTicks**(): `number` **Returns** `number` Last updated 8 months ago --- # RunGameLoopEvent | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/events/rungameloopevent.md) . Gets called at each iteration of the main gameLoop. Last updated 8 months ago --- # rotationManager | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/namespaces/rotationmanager.md) . The rotation manager. ### Example[](https://scripting.breeze.rip/api/namespaces/rotationmanager#example) Copy rotationManager.setPriority(10); rotationManager.onRotate((updateNoRotate) => { // Aim 45° yaw, 10° pitch at 6°/tick rotationManager.rotate(45.0, 10.0, 6.0); }); rotationManager.onUpdateNoRotate(() => { // Called when this module has lost priority to another rotation module }); ### Functions[](https://scripting.breeze.rip/api/namespaces/rotationmanager#functions) * [getSpoofedPitch](https://scripting.breeze.rip/api/functions/rotationmanager.getspoofedpitch) * [getSpoofedYaw](https://scripting.breeze.rip/api/functions/rotationmanager.getspoofedyaw) * [onRotate](https://scripting.breeze.rip/api/functions/rotationmanager.onrotate) * [onUpdateNoRotate](https://scripting.breeze.rip/api/functions/rotationmanager.onupdatenorotate) * [rotate](https://scripting.breeze.rip/api/functions/rotationmanager.rotate) * [setPriority](https://scripting.breeze.rip/api/functions/rotationmanager.setpriority) Last updated 2 months ago * [Example](https://scripting.breeze.rip/api/namespaces/rotationmanager#example) * [Functions](https://scripting.breeze.rip/api/namespaces/rotationmanager#functions) --- # Render2DEvent | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/events/render2devent.md) . Gets called when the 2D renderer is called. ### Methods[](https://scripting.breeze.rip/api/events/render2devent#methods) #### getPartialTicks()[](https://scripting.breeze.rip/api/events/render2devent#getpartialticks) > **getPartialTicks**(): `number` **Returns** `number` Last updated 8 months ago --- # math | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/namespaces/math.md) . The math namespace, the same helpers breeze uses internally for tick interpolation, clamping and visibility checks. ### Remarks[](https://scripting.breeze.rip/api/namespaces/math#remarks) Entity positions only move once per tick. Anything you draw in a render event should use the interpolated variants here, otherwise it will visibly stutter. ### Example[](https://scripting.breeze.rip/api/namespaces/math#example) Copy script.addListener("Render3DEvent", (event) => { if (mc.pointedEntity === null) return; const box = math.interpolateEntityBB(mc.pointedEntity, event.getPartialTicks()); renderer.boundingESPBox(box, new Color(255, 0, 0), 2, false); }); ### Functions[](https://scripting.breeze.rip/api/namespaces/math#functions) * [clamp](https://scripting.breeze.rip/api/functions/math.clamp) * [findBestVisiblePoint](https://scripting.breeze.rip/api/functions/math.findbestvisiblepoint) * [getCenter](https://scripting.breeze.rip/api/functions/math.getcenter) * [interpolateEntityBB](https://scripting.breeze.rip/api/functions/math.interpolateentitybb) * [interpolateEntityPosition](https://scripting.breeze.rip/api/functions/math.interpolateentityposition) * [interpolateLastTickPos](https://scripting.breeze.rip/api/functions/math.interpolatelasttickpos) Last updated 14 days ago * [Remarks](https://scripting.breeze.rip/api/namespaces/math#remarks) * [Example](https://scripting.breeze.rip/api/namespaces/math#example) * [Functions](https://scripting.breeze.rip/api/namespaces/math#functions) --- # AngleUpdateEvent | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/events/angleupdateevent.md) . Gets called when the player's angles are updated. ### Extends[](https://scripting.breeze.rip/api/events/angleupdateevent#extends) * [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) ### Properties[](https://scripting.breeze.rip/api/events/angleupdateevent#properties) #### pitchChange[](https://scripting.breeze.rip/api/events/angleupdateevent#pitchchange) > **pitchChange**: `number` * * * #### yawChange[](https://scripting.breeze.rip/api/events/angleupdateevent#yawchange) > **yawChange**: `number` ### Methods[](https://scripting.breeze.rip/api/events/angleupdateevent#methods) #### cancel()[](https://scripting.breeze.rip/api/events/angleupdateevent#cancel) > **cancel**(): `void` Cancels the event. **Returns** `void` **Inherited from** [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) .[`cancel`](https://scripting.breeze.rip/api/breeze/event/cancellableevent#cancel) * * * #### isCancelled()[](https://scripting.breeze.rip/api/events/angleupdateevent#iscancelled) > **isCancelled**(): `boolean` **Returns** `boolean` If the event is cancelled or not. **Inherited from** [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) .[`isCancelled`](https://scripting.breeze.rip/api/breeze/event/cancellableevent#iscancelled) Last updated 8 months ago * [Extends](https://scripting.breeze.rip/api/events/angleupdateevent#extends) * [Properties](https://scripting.breeze.rip/api/events/angleupdateevent#properties) * [Methods](https://scripting.breeze.rip/api/events/angleupdateevent#methods) --- # PostAttackEvent | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/events/postattackevent.md) . KillAura calls this after attacking, you can use this to script a custom autoblock. ### Properties[](https://scripting.breeze.rip/api/events/postattackevent#properties) #### attacked[](https://scripting.breeze.rip/api/events/postattackevent#attacked) > `readonly` **attacked**: `boolean` If the KillAura send an attack packet. * * * #### hitVec[](https://scripting.breeze.rip/api/events/postattackevent#hitvec) > `readonly` **hitVec**: [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) The hitVector that was used for the attack. * * * #### swung[](https://scripting.breeze.rip/api/events/postattackevent#swung) > `readonly` **swung**: `boolean` If the KillAura send a animation packet. Last updated 4 months ago --- # PreMotionEvent | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/events/premotionevent.md) . Gets called before calculating the move of the player ### Properties[](https://scripting.breeze.rip/api/events/premotionevent#properties) #### forward[](https://scripting.breeze.rip/api/events/premotionevent#forward) > **forward**: `number` * * * #### friction[](https://scripting.breeze.rip/api/events/premotionevent#friction) > **friction**: `number` * * * #### strafe[](https://scripting.breeze.rip/api/events/premotionevent#strafe) > **strafe**: `number` Last updated 8 months ago --- # WorldChangedEvent | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/events/worldchangedevent.md) . Gets called when the world is changed. Last updated 8 months ago --- # PreTickEvent | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/events/pretickevent.md) . Gets called before every tick. Last updated 8 months ago --- # hudManager | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/namespaces/hudmanager.md) . Used for registering hud scripts. ### Functions[](https://scripting.breeze.rip/api/namespaces/hudmanager#functions) * [fontHeight](https://scripting.breeze.rip/api/functions/hudmanager.fontheight) * [onBackground](https://scripting.breeze.rip/api/functions/hudmanager.onbackground) * [onHeight](https://scripting.breeze.rip/api/functions/hudmanager.onheight) * [onRender](https://scripting.breeze.rip/api/functions/hudmanager.onrender) * [onWidth](https://scripting.breeze.rip/api/functions/hudmanager.onwidth) * [scale](https://scripting.breeze.rip/api/functions/hudmanager.scale) * [x](https://scripting.breeze.rip/api/functions/hudmanager.x) * [y](https://scripting.breeze.rip/api/functions/hudmanager.y) Last updated 4 months ago --- # JumpEvent | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/events/jumpevent.md) . Gets called when the player jumps. ### Extends[](https://scripting.breeze.rip/api/events/jumpevent#extends) * [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) ### Methods[](https://scripting.breeze.rip/api/events/jumpevent#methods) #### cancel()[](https://scripting.breeze.rip/api/events/jumpevent#cancel) > **cancel**(): `void` Cancels the event. **Returns** `void` **Inherited from** [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) .[`cancel`](https://scripting.breeze.rip/api/breeze/event/cancellableevent#cancel) * * * #### isCancelled()[](https://scripting.breeze.rip/api/events/jumpevent#iscancelled) > **isCancelled**(): `boolean` **Returns** `boolean` If the event is cancelled or not. **Inherited from** [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) .[`isCancelled`](https://scripting.breeze.rip/api/breeze/event/cancellableevent#iscancelled) Last updated 4 months ago * [Extends](https://scripting.breeze.rip/api/events/jumpevent#extends) * [Methods](https://scripting.breeze.rip/api/events/jumpevent#methods) --- # KeyPressedEvent | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/events/keypressedevent.md) . Gets called when a key is pressed. ### Extends[](https://scripting.breeze.rip/api/events/keypressedevent#extends) * [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) ### Methods[](https://scripting.breeze.rip/api/events/keypressedevent#methods) #### cancel()[](https://scripting.breeze.rip/api/events/keypressedevent#cancel) > **cancel**(): `void` Cancels the event. **Returns** `void` **Inherited from** [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) .[`cancel`](https://scripting.breeze.rip/api/breeze/event/cancellableevent#cancel) * * * #### getKeyCode()[](https://scripting.breeze.rip/api/events/keypressedevent#getkeycode) > **getKeyCode**(): `number` Gets the key code of the key that was pressed. **Returns** `number` the key code of the key that was pressed. * * * #### isCancelled()[](https://scripting.breeze.rip/api/events/keypressedevent#iscancelled) > **isCancelled**(): `boolean` **Returns** `boolean` If the event is cancelled or not. **Inherited from** [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) .[`isCancelled`](https://scripting.breeze.rip/api/breeze/event/cancellableevent#iscancelled) Last updated 8 months ago * [Extends](https://scripting.breeze.rip/api/events/keypressedevent#extends) * [Methods](https://scripting.breeze.rip/api/events/keypressedevent#methods) --- # MouseClickedEvent | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/events/mouseclickedevent.md) . Gets called when the mouse is clicked. ### Extends[](https://scripting.breeze.rip/api/events/mouseclickedevent#extends) * [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) ### Methods[](https://scripting.breeze.rip/api/events/mouseclickedevent#methods) #### cancel()[](https://scripting.breeze.rip/api/events/mouseclickedevent#cancel) > **cancel**(): `void` Cancels the event. **Returns** `void` **Inherited from** [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) .[`cancel`](https://scripting.breeze.rip/api/breeze/event/cancellableevent#cancel) * * * #### getButton()[](https://scripting.breeze.rip/api/events/mouseclickedevent#getbutton) > **getButton**(): `string` Gets the button that was clicked. **Returns** `string` the type of MouseClickedEvent can be: LEFT, RIGHT, or HOLD\_LEFT * * * #### isCancelled()[](https://scripting.breeze.rip/api/events/mouseclickedevent#iscancelled) > **isCancelled**(): `boolean` **Returns** `boolean` If the event is cancelled or not. **Inherited from** [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) .[`isCancelled`](https://scripting.breeze.rip/api/breeze/event/cancellableevent#iscancelled) Last updated 8 months ago * [Extends](https://scripting.breeze.rip/api/events/mouseclickedevent#extends) * [Methods](https://scripting.breeze.rip/api/events/mouseclickedevent#methods) --- # RenderEntityEvent | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/events/renderentityevent.md) . Gets called when an entity is rendered. ### Methods[](https://scripting.breeze.rip/api/events/renderentityevent#methods) #### getEntity()[](https://scripting.breeze.rip/api/events/renderentityevent#getentity) > **getEntity**(): [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) Gets the entity that is being rendered. **Returns** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) * * * #### renderModel()[](https://scripting.breeze.rip/api/events/renderentityevent#rendermodel) > **renderModel**(): `void` Renders the entity's model to the world. **Returns** `void` Last updated 8 months ago --- # Entity | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/entity/entity.md) . The base class for all entities. ### Extended by[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#extended-by) * [`LivingEntity`](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity) ### Properties[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#properties) #### dimension[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#dimension) > **dimension**: `number` The dimension the entity is in: 0 for the Overworld, -1 for the Nether, and 1 for The End * * * #### entityID[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#entityid) > `readonly` **entityID**: `number` * * * #### height[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#height) > **height**: `number` The height of the entity. * * * #### isDead[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#isdead) > **isDead**: `boolean` * * * #### motionX[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#motionx) > **motionX**: `number` The X motion (velocity) of the entity. * * * #### motionY[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#motiony) > **motionY**: `number` The Y motion (velocity) of the entity. * * * #### motionZ[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#motionz) > **motionZ**: `number` The Z motion (velocity) of the entity. * * * #### onGround[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#onground) > `readonly` **onGround**: `boolean` * * * #### posX[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#posx) > **posX**: `number` The X position of the entity. * * * #### posY[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#posy) > **posY**: `number` The Y position of the entity. * * * #### posZ[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#posz) > **posZ**: `number` The Z position of the entity. * * * #### prevPosX[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#prevposx) > **prevPosX**: `number` The previous X position of the entity. * * * #### prevPosY[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#prevposy) > **prevPosY**: `number` The previous Y position of the entity. * * * #### prevPosZ[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#prevposz) > **prevPosZ**: `number` The previous Z position of the entity. * * * #### prevRotationPitch[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#prevrotationpitch) > **prevRotationPitch**: `number` The previous pitch rotation of the entity. * * * #### prevRotationYaw[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#prevrotationyaw) > **prevRotationYaw**: `number` The previous yaw rotation of the entity. * * * #### rotationPitch[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#rotationpitch) > **rotationPitch**: `number` The pitch rotation of the entity. * * * #### rotationYaw[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#rotationyaw) > **rotationYaw**: `number` The yaw rotation of the entity. * * * #### ticksAlive[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#ticksalive) > `readonly` **ticksAlive**: `number` The amount of ticks the entity has existed. * * * #### width[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#width) > **width**: `number` The width of the entity. ### Methods[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#methods) #### getCollisionBox()[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#getcollisionbox) > **getCollisionBox**(): [`AxisAlignedBB`](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb) Gets the collision box of the entity. **Returns** [`AxisAlignedBB`](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb) * * * #### getEntityBoundingBox()[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#getentityboundingbox) > **getEntityBoundingBox**(): [`AxisAlignedBB`](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb) **Returns** [`AxisAlignedBB`](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb) The bounding box of the entity. * * * #### getLookVec()[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#getlookvec) > **getLookVec**(): [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) **Returns** [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) A vector in the direction the entity is looking at. Very useful for raytracing. * * * #### getPosition()[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#getposition) > **getPosition**(): [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) Gets the position of the entity as vec3 **Returns** [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) * * * #### getPositionEyes()[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#getpositioneyes) > **getPositionEyes**(): [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) Gets the position of the eyes as vec3. **Returns** [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) * * * #### isBurning()[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#isburning) > **isBurning**(): `boolean` **Returns** `boolean` If the entity is burning. * * * #### isEating()[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#iseating) > **isEating**(): `boolean` **Returns** `boolean` If the entity is eating. * * * #### isInWater()[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#isinwater) > **isInWater**(): `boolean` **Returns** `boolean` If the entity is in water. * * * #### isRiding()[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#isriding) > **isRiding**(): `boolean` **Returns** `boolean` If the entity is riding something. * * * #### isSneaking()[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#issneaking) > **isSneaking**(): `boolean` **Returns** `boolean` If the entity is sneaking. * * * #### isSprinting()[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#issprinting) > **isSprinting**(): `boolean` **Returns** `boolean` If the entity is sprinting. * * * #### isWet()[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#iswet) > **isWet**(): `boolean` **Returns** `boolean` If the entity is wet. LOL * * * #### setEntityBoundingBox()[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#setentityboundingbox) > **setEntityBoundingBox**(`aabb`): `void` Sets the bounding box of the entity. **Parameters** **aabb** [`AxisAlignedBB`](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb) **Returns** `void` * * * #### setOnGround()[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#setonground) > **setOnGround**(`onGround`): `void` Sets the entities onGround state. **Parameters** **onGround** `boolean` **Returns** `void` * * * #### setPosition()[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#setposition) > **setPosition**(`x`, `y`, `z`): `void` Sets the position and updates its bounding box. **Parameters** **x** `number` **y** `number` **z** `number` **Returns** `void` * * * #### setSneaking()[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#setsneaking) > **setSneaking**(`sneaking`): `void` Sets the entities sneaking state. **Parameters** **sneaking** `boolean` **Returns** `void` * * * #### setSprinting()[](https://scripting.breeze.rip/api/net/minecraft/entity/entity#setsprinting) > **setSprinting**(`sprinting`): `void` Sets the entities sprinting state. **Parameters** **sprinting** `boolean` **Returns** `void` Last updated 8 months ago * [Extended by](https://scripting.breeze.rip/api/net/minecraft/entity/entity#extended-by) * [Properties](https://scripting.breeze.rip/api/net/minecraft/entity/entity#properties) * [Methods](https://scripting.breeze.rip/api/net/minecraft/entity/entity#methods) --- # RenderHandEvent | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/events/renderhandevent.md) . Gets called when the player's hand is rendered. ### Extends[](https://scripting.breeze.rip/api/events/renderhandevent#extends) * [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) ### Methods[](https://scripting.breeze.rip/api/events/renderhandevent#methods) #### cancel()[](https://scripting.breeze.rip/api/events/renderhandevent#cancel) > **cancel**(): `void` Cancels the event. **Returns** `void` **Inherited from** [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) .[`cancel`](https://scripting.breeze.rip/api/breeze/event/cancellableevent#cancel) * * * #### isCancelled()[](https://scripting.breeze.rip/api/events/renderhandevent#iscancelled) > **isCancelled**(): `boolean` **Returns** `boolean` If the event is cancelled or not. **Inherited from** [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) .[`isCancelled`](https://scripting.breeze.rip/api/breeze/event/cancellableevent#iscancelled) Last updated 8 months ago * [Extends](https://scripting.breeze.rip/api/events/renderhandevent#extends) * [Methods](https://scripting.breeze.rip/api/events/renderhandevent#methods) --- # PacketReceiveEvent | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/events/packetreceiveevent.md) . Gets called when a packet from the server is received. Cancel this to deny ever receiving the packet. ### Extends[](https://scripting.breeze.rip/api/events/packetreceiveevent#extends) * [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) ### Properties[](https://scripting.breeze.rip/api/events/packetreceiveevent#properties) #### packet[](https://scripting.breeze.rip/api/events/packetreceiveevent#packet) > `readonly` **packet**: [`Packet`](https://scripting.breeze.rip/api/net/minecraft/network/packet) ### Methods[](https://scripting.breeze.rip/api/events/packetreceiveevent#methods) #### cancel()[](https://scripting.breeze.rip/api/events/packetreceiveevent#cancel) > **cancel**(): `void` Cancels the event. **Returns** `void` **Inherited from** [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) .[`cancel`](https://scripting.breeze.rip/api/breeze/event/cancellableevent#cancel) * * * #### isCancelled()[](https://scripting.breeze.rip/api/events/packetreceiveevent#iscancelled) > **isCancelled**(): `boolean` **Returns** `boolean` If the event is cancelled or not. **Inherited from** [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) .[`isCancelled`](https://scripting.breeze.rip/api/breeze/event/cancellableevent#iscancelled) Last updated 3 months ago * [Extends](https://scripting.breeze.rip/api/events/packetreceiveevent#extends) * [Properties](https://scripting.breeze.rip/api/events/packetreceiveevent#properties) * [Methods](https://scripting.breeze.rip/api/events/packetreceiveevent#methods) --- # PacketSendEvent | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/events/packetsendevent.md) . The event for packets send from the client to the server, cancel this to prevent the packet from being send. ### Extends[](https://scripting.breeze.rip/api/events/packetsendevent#extends) * [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) ### Properties[](https://scripting.breeze.rip/api/events/packetsendevent#properties) #### packet[](https://scripting.breeze.rip/api/events/packetsendevent#packet) > `readonly` **packet**: [`Packet`](https://scripting.breeze.rip/api/net/minecraft/network/packet) ### Methods[](https://scripting.breeze.rip/api/events/packetsendevent#methods) #### cancel()[](https://scripting.breeze.rip/api/events/packetsendevent#cancel) > **cancel**(): `void` Cancels the event. **Returns** `void` **Inherited from** [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) .[`cancel`](https://scripting.breeze.rip/api/breeze/event/cancellableevent#cancel) * * * #### isCancelled()[](https://scripting.breeze.rip/api/events/packetsendevent#iscancelled) > **isCancelled**(): `boolean` **Returns** `boolean` If the event is cancelled or not. **Inherited from** [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) .[`isCancelled`](https://scripting.breeze.rip/api/breeze/event/cancellableevent#iscancelled) Last updated 8 months ago * [Extends](https://scripting.breeze.rip/api/events/packetsendevent#extends) * [Properties](https://scripting.breeze.rip/api/events/packetsendevent#properties) * [Methods](https://scripting.breeze.rip/api/events/packetsendevent#methods) --- # PreAttackEvent | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/events/preattackevent.md) . KillAura calls this before attacking, you can use this to script a custom autoblock. ### Properties[](https://scripting.breeze.rip/api/events/preattackevent#properties) #### attack[](https://scripting.breeze.rip/api/events/preattackevent#attack) > **attack**: `boolean` If the KillAura will attack this tick, can also be set to true if you want to force an attack. **Remarks** The attack will only happen if hitVec is not null. * * * #### hitVec[](https://scripting.breeze.rip/api/events/preattackevent#hitvec) > `readonly` **hitVec**: [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) The position vector for where we hit the enemy. * * * #### swing[](https://scripting.breeze.rip/api/events/preattackevent#swing) > **swing**: `boolean` Determines if the swing animation will occur this tick, can be set to modify swing behavior. Last updated 4 months ago --- # breeze | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/namespaces/breeze.md) . The breeze namespace. ### Variables[](https://scripting.breeze.rip/api/namespaces/breeze#variables) * [mcVersion](https://scripting.breeze.rip/api/variables/breeze.mcversion) * [version](https://scripting.breeze.rip/api/variables/breeze.version) * [versionFull](https://scripting.breeze.rip/api/variables/breeze.versionfull) * [versionSimple](https://scripting.breeze.rip/api/variables/breeze.versionsimple) ### Functions[](https://scripting.breeze.rip/api/namespaces/breeze#functions) * [getModule](https://scripting.breeze.rip/api/functions/breeze.getmodule) * [getModules](https://scripting.breeze.rip/api/functions/breeze.getmodules) * [getRole](https://scripting.breeze.rip/api/functions/breeze.getrole) * [getRoleColor](https://scripting.breeze.rip/api/functions/breeze.getrolecolor) * [getUsername](https://scripting.breeze.rip/api/functions/breeze.getusername) Last updated 24 days ago * [Variables](https://scripting.breeze.rip/api/namespaces/breeze#variables) * [Functions](https://scripting.breeze.rip/api/namespaces/breeze#functions) --- # MotionEvent | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/events/motionevent.md) . Gets called when the player's motion is updated, you can use this event to override the movement. ### Example[](https://scripting.breeze.rip/api/events/motionevent#example) Copy script.addListener("MotionEvent", (event) => { // make the player 50% faster event.x *= 1.5; event.z *= 1.5; }); ### Extends[](https://scripting.breeze.rip/api/events/motionevent#extends) * [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) ### Properties[](https://scripting.breeze.rip/api/events/motionevent#properties) #### x[](https://scripting.breeze.rip/api/events/motionevent#x) > **x**: `number` The amount to move the player in the x direction. * * * #### y[](https://scripting.breeze.rip/api/events/motionevent#y) > **y**: `number` The amount to move the player in the y direction. * * * #### z[](https://scripting.breeze.rip/api/events/motionevent#z) > **z**: `number` The amount to move the player in the z direction. ### Methods[](https://scripting.breeze.rip/api/events/motionevent#methods) #### cancel()[](https://scripting.breeze.rip/api/events/motionevent#cancel) > **cancel**(): `void` Cancels the event. **Returns** `void` **Inherited from** [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) .[`cancel`](https://scripting.breeze.rip/api/breeze/event/cancellableevent#cancel) * * * #### isCancelled()[](https://scripting.breeze.rip/api/events/motionevent#iscancelled) > **isCancelled**(): `boolean` **Returns** `boolean` If the event is cancelled or not. **Inherited from** [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent) .[`isCancelled`](https://scripting.breeze.rip/api/breeze/event/cancellableevent#iscancelled) Last updated 8 months ago * [Example](https://scripting.breeze.rip/api/events/motionevent#example) * [Extends](https://scripting.breeze.rip/api/events/motionevent#extends) * [Properties](https://scripting.breeze.rip/api/events/motionevent#properties) * [Methods](https://scripting.breeze.rip/api/events/motionevent#methods) --- # SpoofInputEvent | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/events/spoofinputevent.md) . Can be used to spoof keys being held down or released. ### Example[](https://scripting.breeze.rip/api/events/spoofinputevent#example) Copy script.addListener("SpoofInputEvent", (event) => { if (event.keyBinding == mc.gameSettings.keyBindSprint) { event.pressed = true; } }); ### Properties[](https://scripting.breeze.rip/api/events/spoofinputevent#properties) #### pressed[](https://scripting.breeze.rip/api/events/spoofinputevent#pressed) > **pressed**: `boolean` Modify this to spoof the key state. ### Methods[](https://scripting.breeze.rip/api/events/spoofinputevent#methods) #### getKeyBinding()[](https://scripting.breeze.rip/api/events/spoofinputevent#getkeybinding) > **getKeyBinding**(): [`MCKeyBinding`](https://scripting.breeze.rip/api/net/minecraft/client/settings/mckeybinding) Gets the key binding that was pressed. **Returns** [`MCKeyBinding`](https://scripting.breeze.rip/api/net/minecraft/client/settings/mckeybinding) Last updated 8 months ago * [Example](https://scripting.breeze.rip/api/events/spoofinputevent#example) * [Properties](https://scripting.breeze.rip/api/events/spoofinputevent#properties) * [Methods](https://scripting.breeze.rip/api/events/spoofinputevent#methods) --- # spoofManager | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/namespaces/spoofmanager.md) . Spoofing manager. ### Example[](https://scripting.breeze.rip/api/namespaces/spoofmanager#example) Copy const delay = new IntSetting(script, "Delay", "The amount of ms to delay each packet for", 500, 0, 5000); spoofManager.onPacketSend(packet => { return "DELAY"; }); spoofManager.onUpdate((packets) => { for (let packet of packets) { if (packet.hasAged(delay.getValue())) { spoofManager.release(packet); } } }); ### Functions[](https://scripting.breeze.rip/api/namespaces/spoofmanager#functions) * [flushAll](https://scripting.breeze.rip/api/functions/spoofmanager.flushall) * [flushIncoming](https://scripting.breeze.rip/api/functions/spoofmanager.flushincoming) * [flushOutgoing](https://scripting.breeze.rip/api/functions/spoofmanager.flushoutgoing) * [onPacketReceive](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketreceive) * [onPacketSend](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketsend) * [onUpdate](https://scripting.breeze.rip/api/functions/spoofmanager.onupdate) * [release](https://scripting.breeze.rip/api/functions/spoofmanager.release) * [sendPacket](https://scripting.breeze.rip/api/functions/spoofmanager.sendpacket) * [setPriority](https://scripting.breeze.rip/api/functions/spoofmanager.setpriority) Last updated 8 months ago * [Example](https://scripting.breeze.rip/api/namespaces/spoofmanager#example) * [Functions](https://scripting.breeze.rip/api/namespaces/spoofmanager#functions) --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/hud\_scripting.md). # HUD Scripting HUD scripts let you render custom 2D overlays on screen using the \`hudManager\` and \`hudRenderer\` namespaces. Elements are draggable in the HUD editor and their positions persist to config automatically. \*\*\* ## Render Pipeline Each frame breeze renders scripted HUD elements in two passes: 1. \*\*Background pass\*\* — your \`onBackground\` callback returns a list of \`RoundedRect\` shapes. These are collected alongside all other HUD backgrounds and rendered together (with blur/shadow) before any content is drawn. 2. \*\*Render pass\*\* — your \`onRender\` callback runs. Use \`hudRenderer\` functions here to draw text, shapes, and items. All drawing in both passes uses screen-space coordinates with the origin at the top-left corner (x right, y down). The \`hudManager.x()\` / \`hudManager.y()\` values give you the top-left corner of your element's current dragged position — offset everything you draw from those values. \*\*\* ## hudManager Registers callbacks and exposes layout information for your element. ### Callbacks All callbacks must be registered during script initialization. \`\`\`js // Called every frame to draw your element's content. // x, y, scale are passed in directly so you don't need to call hudManager.x() etc. inside the callback. hudManager.onRender((x, y, scale) => { // use hudRenderer here }); // Returns an array of RoundedRect shapes drawn as the blurred background. hudManager.onBackground(() => { return \[new RoundedRect(hudManager.x(), hudManager.y(), width, height, 4 \* hudManager.scale())\]; }); // Returns the pixel width of your element. Used by the HUD editor for snapping. hudManager.onWidth(() => 160); // Returns the pixel height of your element. hudManager.onHeight(() => 40); \`\`\` ### Position & Layout | Function | Returns | Description | | ------------------------- | -------- | ----------------------------------------------------------------------- | | \`hudManager.x()\` | \`number\` | Left edge of the element on screen | | \`hudManager.y()\` | \`number\` | Top edge of the element on screen | | \`hudManager.scale()\` | \`number\` | User-configured HUD scale (use this to scale padding, radii, and sizes) | | \`hudManager.fontHeight()\` | \`number\` | Pixel height of the selected HUD font | \`hudManager.x()\`, \`hudManager.y()\`, and \`hudManager.scale()\` are also passed directly into \`onRender\` as \`(x, y, scale)\` — you only need to call these getters explicitly in \`onBackground\`, \`onWidth\`, or \`onHeight\`. \*\*\* ## hudRenderer All drawing functions take absolute screen coordinates. Inside \`onRender\` use the \`x\` and \`y\` parameters passed to you; in other contexts call \`hudManager.x()\` / \`hudManager.y()\`. ### Text \`\`\`js // Pixel width of a string in the current HUD font. const w = hudRenderer.stringWidth("Hello"); // Draw text. Optional fifth argument enables a drop shadow. hudRenderer.drawString(x, y, "Hello", new Color(255, 255, 255, 255)); hudRenderer.drawString(x, y, "Hello", new Color(255, 255, 255, 255), true); \`\`\` ### Rectangles \`\`\`js // Solid color, uniform corner radius. hudRenderer.drawRect(x, y, w, h, radius, color); // Solid color, per-corner radii (TL, TR, BR, BL). hudRenderer.drawRect(x, y, w, h, rtl, rtr, rbr, rbl, color); // Two-color gradient. vertical=true → top-to-bottom, false → left-to-right. hudRenderer.drawRectGradient(x, y, w, h, radius, color1, color2, vertical); // Solid color with an outer glow. glowColor alpha controls max intensity. hudRenderer.drawRectGlow(x, y, w, h, radius, color, glowRadius, glowColor); // Uses the current HUD effect (rainbow / gradient / pulse / none). alpha is 0.0–1.0. hudRenderer.drawRectWithEffect(x, y, w, h, radius, alpha); \`\`\` ### Circles \`\`\`js hudRenderer.drawCircle(cx, cy, radius, color); // Hollow ring. hudRenderer.drawRing(cx, cy, radius, thickness, color); // Uses the current HUD effect. alpha is 0.0–1.0. hudRenderer.drawCircleWithEffect(cx, cy, radius, alpha); \`\`\` ### Items \`\`\`js // Draw an ItemStack icon. size=16 is native resolution. hudRenderer.drawItemStack(stack, x, y, size); // With count and durability bar overlay. hudRenderer.drawItemStack(stack, x, y, size, true); \`\`\` \*\*\* ## RoundedRect Used exclusively in \`onBackground\` to describe the blurred background region. \`\`\`js // Uniform radius new RoundedRect(x, y, w, h, radius) // Per-corner radii (TL, TR, BR, BL) new RoundedRect(x, y, w, h, rtl, rtr, rbr, rbl) \`\`\` \*\*\* ## Minimal Example \`\`\`js script.description = "Displays the player's health."; const PAD = 6; hudManager.onWidth(() => 120); hudManager.onHeight(() => hudManager.fontHeight() + PAD \* 2 \* hudManager.scale()); hudManager.onBackground(() => { const s = hudManager.scale(); return \[new RoundedRect(hudManager.x(), hudManager.y(), 120, hudManager.fontHeight() + PAD \* 2 \* s, 4 \* s)\]; }); hudManager.onRender((x, y, scale) => { const pad = PAD \* scale; const hp = mc.player != null ? Math.ceil(mc.player.getHealth()) : 0; hudRenderer.drawString(x + pad, y + pad, "Health: " + hp, new Color(255, 255, 255, 220), true); }); \`\`\` \*\*\* ## Tips \* \*\*Scale everything\*\* — multiply all padding, corner radii, and icon sizes by \`hudManager.scale()\` so the element looks right at any user scale. \* \*\*Guard nulls\*\* — \`mc.player\` and \`mc.world\` can be null (e.g. on the main menu). Check before accessing them. \* \*\*Background vs content\*\* — only use \`onBackground\` for the blurred rect outline. Decorations and text go in \`onRender\`. \* \*\*Dynamic size\*\* — \`onWidth\` / \`onHeight\` are called every frame, so you can return a value based on current content. \*\*\* ## See Also \* \[hudManager namespace\](/api/namespaces/hudmanager.md) \* \[hudRenderer namespace\](/api/namespaces/hudrenderer.md) \* \[Defining Settings\](/defining\_settings.md) \* \[Example: PlayerInfo\](/examples/playerinfo.md) --- # script | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/namespaces/script.md) . Can be used to register event listeners and settings. ### Variables[](https://scripting.breeze.rip/api/namespaces/script#variables) * [allowBind](https://scripting.breeze.rip/api/variables/script.allowbind) * [allowHold](https://scripting.breeze.rip/api/variables/script.allowhold) * [description](https://scripting.breeze.rip/api/variables/script.description) ### Functions[](https://scripting.breeze.rip/api/namespaces/script#functions) * [addListener](https://scripting.breeze.rip/api/functions/script.addlistener) * [disable](https://scripting.breeze.rip/api/functions/script.disable) * [enabled](https://scripting.breeze.rip/api/functions/script.enabled) * [getName](https://scripting.breeze.rip/api/functions/script.getname) * [log](https://scripting.breeze.rip/api/functions/script.log) * [metadata](https://scripting.breeze.rip/api/functions/script.metadata) * [onDisable](https://scripting.breeze.rip/api/functions/script.ondisable) * [onEnable](https://scripting.breeze.rip/api/functions/script.onenable) Last updated 3 months ago * [Variables](https://scripting.breeze.rip/api/namespaces/script#variables) * [Functions](https://scripting.breeze.rip/api/namespaces/script#functions) --- # PlayerControllerMP | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp.md) . Can be used for controlling the local player. ### Methods[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#methods) #### attackEntity()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#attackentity) > **attackEntity**(`entity`): `void` Attack an entity with the current item. **Parameters** **entity** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) The target entity. **Returns** `void` * * * #### clickBlock()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#clickblock) > **clickBlock**(`pos`, `facing`): `boolean` Start breaking a block. **Parameters** **pos** [`BlockPos`](https://scripting.breeze.rip/api/net/minecraft/util/blockpos) The block position **facing** [`EnumFacing`](https://scripting.breeze.rip/api/enum_types/enumfacing) The face being hit (e.g. NORTH, SOUTH, UP, DOWN, EAST, WEST) **Returns** `boolean` * * * #### damageBlock()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#damageblock) > **damageBlock**(`pos`, `facing`): `boolean` Continue damaging a block (hold action). **Parameters** **pos** [`BlockPos`](https://scripting.breeze.rip/api/net/minecraft/util/blockpos) The position of the block. **facing** [`EnumFacing`](https://scripting.breeze.rip/api/enum_types/enumfacing) The direction you are interacting with. **Returns** `boolean` True if action handled and we actually continue breaking the block. * * * #### destroyBlock()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#destroyblock) > **destroyBlock**(`pos`, `facing`): `boolean` Immediately destroy a block if allowed. **Parameters** **pos** [`BlockPos`](https://scripting.breeze.rip/api/net/minecraft/util/blockpos) The position of the block. **facing** [`EnumFacing`](https://scripting.breeze.rip/api/enum_types/enumfacing) The direction you are interacting with. **Returns** `boolean` * * * #### extendedReach()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#extendedreach) > **extendedReach**(): `boolean` **Returns** `boolean` True if extended reach is enabled (Creative). * * * #### flipPlayer()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#flipplayer) > **flipPlayer**(`player`): `void` Flip the player's yaw 180°. **Parameters** **player** [`EntityPlayer`](https://scripting.breeze.rip/api/net/minecraft/client/entity/entityplayer) The player to flip. **Returns** `void` * * * #### gameIsSurvivalOrAdventure()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#gameissurvivaloradventure) > **gameIsSurvivalOrAdventure**(): `boolean` **Returns** `boolean` True if in Survival or Adventure. * * * #### getBlockReachDistance()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#getblockreachdistance) > **getBlockReachDistance**(): `number` **Returns** `number` Reach distance in blocks. * * * #### getCurrentGameType()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#getcurrentgametype) > **getCurrentGameType**(): `number` **Returns** `number` Current game type ID (0=Survival,1=Creative,2=Adventure,3=Spectator). * * * #### interactWithEntity()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#interactwithentity) > **interactWithEntity**(`entity`): `boolean` Interact with an entity (right-click). **Parameters** **entity** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) The target entity. **Returns** `boolean` True if handled. * * * #### isHittingBlock()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#ishittingblock) > **isHittingBlock**(): `boolean` **Returns** `boolean` True if currently breaking a block. * * * #### isInCreativeMode()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#isincreativemode) > **isInCreativeMode**(): `boolean` **Returns** `boolean` True if in Creative. * * * #### isNotCreative()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#isnotcreative) > **isNotCreative**(): `boolean` **Returns** `boolean` True if not in Creative. * * * #### isRidingHorse()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#isridinghorse) > **isRidingHorse**(): `boolean` **Returns** `boolean` True if the local player is riding a horse. * * * #### isSpectator()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#isspectator) > **isSpectator**(): `boolean` **Returns** `boolean` If the player is a spectator. * * * #### isSpectatorMode()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#isspectatormode) > **isSpectatorMode**(): `boolean` **Returns** `boolean` True if in Spectator mode. * * * #### resetBlockRemoving()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#resetblockremoving) > **resetBlockRemoving**(): `void` Abort current block breaking progress. **Returns** `void` * * * #### rightClickBlock()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#rightclickblock) > **rightClickBlock**(`pos`, `facing`, `hitVec`): `boolean` Right-click a block with the currently held item. **Parameters** **pos** [`BlockPos`](https://scripting.breeze.rip/api/net/minecraft/util/blockpos) The position of the block. **facing** [`EnumFacing`](https://scripting.breeze.rip/api/enum_types/enumfacing) The direction you are interacting with. **hitVec** [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) The vector point you are hitting the block at. **Returns** `boolean` True if action handled. * * * #### setGameType()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#setgametype) > **setGameType**(`gameType`): `void` Set the game type: 0 -> survival 1 -> creative 2 -> adventure 3 -> spectator **Parameters** **gameType** `number` **Returns** `void` * * * #### shouldDrawHUD()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#shoulddrawhud) > **shouldDrawHUD**(): `boolean` **Returns** `boolean` True if the HUD should be drawn for the current game mode. * * * #### stopUsingItem()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#stopusingitem) > **stopUsingItem**(): `void` Release right-click usage (bows, food, etc.). **Returns** `void` * * * #### syncHotbar()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#synchotbar) > **syncHotbar**(): `void` Sync the selected hotbar slot to the server. **Returns** `void` * * * #### updateController()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#updatecontroller) > **updateController**(): `void` Process incoming packets and keep controller in sync. **Returns** `void` * * * #### useItemInHand()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#useiteminhand) > **useItemInHand**(): `boolean` Use the currently held item (right-click in air). **Returns** `boolean` True if the stack changed. * * * #### windowClick()[](https://scripting.breeze.rip/api/net/minecraft/client/playercontrollermp#windowclick) > **windowClick**(`windowId`, `slot`, `button`, `mode`): `object` Perform an inventory click (client-side send + local container logic). Parameters: * windowId: The container window ID (0 = player inventory, other IDs for open GUIs). * slot: Slot index to click. Use -999 to click outside (cursor drop). * button: Mouse button / index depending on mode. * mode: Integer 0..6: 0=PICKUP, 1=QUICK\_MOVE, 2=SWAP, 3=CLONE, 4=THROW, 5=QUICK\_CRAFT, 6=PICKUP\_ALL Returns: The ItemStack on the cursor after the click (or null if empty). **Parameters** **windowId** `number` windowId **slot** `number` slot **button** `number` button **mode** `number` mode **Returns** `object` ItemStack | null Last updated 4 months ago --- # hudRenderer | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/namespaces/hudrenderer.md) . Can be used for drawing hud elements. ### Functions[](https://scripting.breeze.rip/api/namespaces/hudrenderer#functions) * [drawCircle](https://scripting.breeze.rip/api/functions/hudrenderer.drawcircle) * [drawCircleWithEffect](https://scripting.breeze.rip/api/functions/hudrenderer.drawcirclewitheffect) * [drawItemStack](https://scripting.breeze.rip/api/functions/hudrenderer.drawitemstack) * [drawRect](https://scripting.breeze.rip/api/functions/hudrenderer.drawrect) * [drawRectGlow](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectglow) * [drawRectGradient](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectgradient) * [drawRectWithEffect](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectwitheffect) * [drawRing](https://scripting.breeze.rip/api/functions/hudrenderer.drawring) * [drawString](https://scripting.breeze.rip/api/functions/hudrenderer.drawstring) * [drawSVG](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvg) * [drawSVGWithEffect](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvgwitheffect) * [drawTexture](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexture) * [drawTextureGradient](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexturegradient) * [stringWidth](https://scripting.breeze.rip/api/functions/hudrenderer.stringwidth) Last updated 24 days ago --- # LivingEntity | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity.md) . Living entity. ### Extends[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#extends) * [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) ### Extended by[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#extended-by) * [`EntityPlayer`](https://scripting.breeze.rip/api/net/minecraft/client/entity/entityplayer) ### Properties[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#properties) #### dimension[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#dimension) > **dimension**: `number` The dimension the entity is in: 0 for the Overworld, -1 for the Nether, and 1 for The End **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`dimension`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#dimension) * * * #### entityID[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#entityid) > `readonly` **entityID**: `number` **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`entityID`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#entityid) * * * #### height[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#height) > **height**: `number` The height of the entity. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`height`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#height) * * * #### hurtTime[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#hurttime) > **hurtTime**: `number` The hurt time in ticks. * * * #### isDead[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#isdead) > **isDead**: `boolean` **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`isDead`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#isdead) * * * #### motionX[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#motionx) > **motionX**: `number` The X motion (velocity) of the entity. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`motionX`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#motionx) * * * #### motionY[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#motiony) > **motionY**: `number` The Y motion (velocity) of the entity. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`motionY`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#motiony) * * * #### motionZ[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#motionz) > **motionZ**: `number` The Z motion (velocity) of the entity. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`motionZ`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#motionz) * * * #### onGround[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#onground) > `readonly` **onGround**: `boolean` **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`onGround`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#onground) * * * #### posX[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#posx) > **posX**: `number` The X position of the entity. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`posX`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#posx) * * * #### posY[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#posy) > **posY**: `number` The Y position of the entity. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`posY`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#posy) * * * #### posZ[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#posz) > **posZ**: `number` The Z position of the entity. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`posZ`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#posz) * * * #### prevPosX[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#prevposx) > **prevPosX**: `number` The previous X position of the entity. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`prevPosX`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#prevposx) * * * #### prevPosY[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#prevposy) > **prevPosY**: `number` The previous Y position of the entity. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`prevPosY`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#prevposy) * * * #### prevPosZ[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#prevposz) > **prevPosZ**: `number` The previous Z position of the entity. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`prevPosZ`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#prevposz) * * * #### prevRotationPitch[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#prevrotationpitch) > **prevRotationPitch**: `number` The previous pitch rotation of the entity. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`prevRotationPitch`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#prevrotationpitch) * * * #### prevRotationYaw[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#prevrotationyaw) > **prevRotationYaw**: `number` The previous yaw rotation of the entity. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`prevRotationYaw`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#prevrotationyaw) * * * #### rotationPitch[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#rotationpitch) > **rotationPitch**: `number` The pitch rotation of the entity. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`rotationPitch`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#rotationpitch) * * * #### rotationYaw[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#rotationyaw) > **rotationYaw**: `number` The yaw rotation of the entity. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`rotationYaw`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#rotationyaw) * * * #### ticksAlive[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#ticksalive) > `readonly` **ticksAlive**: `number` The amount of ticks the entity has existed. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`ticksAlive`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#ticksalive) * * * #### width[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#width) > **width**: `number` The width of the entity. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`width`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#width) ### Methods[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#methods) #### getCollisionBox()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#getcollisionbox) > **getCollisionBox**(): [`AxisAlignedBB`](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb) Gets the collision box of the entity. **Returns** [`AxisAlignedBB`](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb) **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`getCollisionBox`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#getcollisionbox) * * * #### getEntityBoundingBox()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#getentityboundingbox) > **getEntityBoundingBox**(): [`AxisAlignedBB`](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb) **Returns** [`AxisAlignedBB`](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb) The bounding box of the entity. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`getEntityBoundingBox`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#getentityboundingbox) * * * #### getHealth()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#gethealth) > **getHealth**(): `number` **Returns** `number` The current health of the entity. * * * #### getHeldItem()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#gethelditem) > **getHeldItem**(): [`ItemStack`](https://scripting.breeze.rip/api/net/minecraft/item/itemstack) **Returns** [`ItemStack`](https://scripting.breeze.rip/api/net/minecraft/item/itemstack) The item the entity is currently holding. * * * #### getLookVec()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#getlookvec) > **getLookVec**(): [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) **Returns** [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) A vector in the direction the entity is looking at. Very useful for raytracing. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`getLookVec`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#getlookvec) * * * #### getMaxHealth()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#getmaxhealth) > **getMaxHealth**(): `number` **Returns** `number` The maximum health of the entity. * * * #### getPosition()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#getposition) > **getPosition**(): [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) Gets the position of the entity as vec3 **Returns** [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`getPosition`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#getposition) * * * #### getPositionEyes()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#getpositioneyes) > **getPositionEyes**(): [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) Gets the position of the eyes as vec3. **Returns** [`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3) **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`getPositionEyes`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#getpositioneyes) * * * #### heal()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#heal) > **heal**(`amount`): `void` Heals the entity by the specified amount of health. **Parameters** **amount** `number` The amount of health to heal. **Returns** `void` * * * #### isBurning()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#isburning) > **isBurning**(): `boolean` **Returns** `boolean` If the entity is burning. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`isBurning`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#isburning) * * * #### isEating()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#iseating) > **isEating**(): `boolean` **Returns** `boolean` If the entity is eating. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`isEating`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#iseating) * * * #### isInWater()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#isinwater) > **isInWater**(): `boolean` **Returns** `boolean` If the entity is in water. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`isInWater`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#isinwater) * * * #### isRiding()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#isriding) > **isRiding**(): `boolean` **Returns** `boolean` If the entity is riding something. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`isRiding`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#isriding) * * * #### isSneaking()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#issneaking) > **isSneaking**(): `boolean` **Returns** `boolean` If the entity is sneaking. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`isSneaking`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#issneaking) * * * #### isSprinting()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#issprinting) > **isSprinting**(): `boolean` **Returns** `boolean` If the entity is sprinting. **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`isSprinting`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#issprinting) * * * #### isWet()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#iswet) > **isWet**(): `boolean` **Returns** `boolean` If the entity is wet. LOL **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`isWet`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#iswet) * * * #### setEntityBoundingBox()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#setentityboundingbox) > **setEntityBoundingBox**(`aabb`): `void` Sets the bounding box of the entity. **Parameters** **aabb** [`AxisAlignedBB`](https://scripting.breeze.rip/api/net/minecraft/util/axisalignedbb) **Returns** `void` **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`setEntityBoundingBox`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#setentityboundingbox) * * * #### setHealth()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#sethealth) > **setHealth**(`amount`): `void` Sets the health of the entity to the specified amount of health. **Parameters** **amount** `number` The amount of health to set the entity to. **Returns** `void` * * * #### setOnGround()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#setonground) > **setOnGround**(`onGround`): `void` Sets the entities onGround state. **Parameters** **onGround** `boolean` **Returns** `void` **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`setOnGround`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#setonground) * * * #### setPosition()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#setposition) > **setPosition**(`x`, `y`, `z`): `void` Sets the position and updates its bounding box. **Parameters** **x** `number` **y** `number` **z** `number` **Returns** `void` **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`setPosition`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#setposition) * * * #### setSneaking()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#setsneaking) > **setSneaking**(`sneaking`): `void` Sets the entities sneaking state. **Parameters** **sneaking** `boolean` **Returns** `void` **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`setSneaking`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#setsneaking) * * * #### setSprinting()[](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#setsprinting) > **setSprinting**(`sprinting`): `void` Sets the entities sprinting state. **Parameters** **sprinting** `boolean` **Returns** `void` **Inherited from** [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity) .[`setSprinting`](https://scripting.breeze.rip/api/net/minecraft/entity/entity#setsprinting) Last updated 4 months ago * [Extends](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#extends) * [Extended by](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#extended-by) * [Properties](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#properties) * [Methods](https://scripting.breeze.rip/api/net/minecraft/entity/livingentity#methods) --- # mc | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/namespaces/mc.md) . The Minecraft object. ### Variables[](https://scripting.breeze.rip/api/namespaces/mc#variables) * [currentScreen](https://scripting.breeze.rip/api/variables/mc.currentscreen) * [gameSettings](https://scripting.breeze.rip/api/variables/mc.gamesettings) * [leftClickCounter](https://scripting.breeze.rip/api/variables/mc.leftclickcounter) * [objectMouseOver](https://scripting.breeze.rip/api/variables/mc.objectmouseover) * [player](https://scripting.breeze.rip/api/variables/mc.player) * [playerController](https://scripting.breeze.rip/api/variables/mc.playercontroller) * [pointedEntity](https://scripting.breeze.rip/api/variables/mc.pointedentity) * [rightClickDelayTimer](https://scripting.breeze.rip/api/variables/mc.rightclickdelaytimer) * [timerSpeed](https://scripting.breeze.rip/api/variables/mc.timerspeed) * [world](https://scripting.breeze.rip/api/variables/mc.world) ### Functions[](https://scripting.breeze.rip/api/namespaces/mc#functions) * [chatMessage](https://scripting.breeze.rip/api/functions/mc.chatmessage) * [clickMouse](https://scripting.breeze.rip/api/functions/mc.clickmouse) * [closeUI](https://scripting.breeze.rip/api/functions/mc.closeui) * [getScreenHeight](https://scripting.breeze.rip/api/functions/mc.getscreenheight) * [getScreenWidth](https://scripting.breeze.rip/api/functions/mc.getscreenwidth) * [rightClickMouse](https://scripting.breeze.rip/api/functions/mc.rightclickmouse) * [serverIP](https://scripting.breeze.rip/api/functions/mc.serverip) Last updated 24 days ago * [Variables](https://scripting.breeze.rip/api/namespaces/mc#variables) * [Functions](https://scripting.breeze.rip/api/namespaces/mc#functions) --- # formatting | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/namespaces/formatting.md) . Can be used for manipulating the color formatting of strings that are being rendered by breeze. ### Variables[](https://scripting.breeze.rip/api/namespaces/formatting#variables) * [ACCENT](https://scripting.breeze.rip/api/variables/formatting.accent) * [AQUA](https://scripting.breeze.rip/api/variables/formatting.aqua) * [BLACK](https://scripting.breeze.rip/api/variables/formatting.black) * [BLUE](https://scripting.breeze.rip/api/variables/formatting.blue) * [DARK\_AQUA](https://scripting.breeze.rip/api/variables/formatting.dark_aqua) * [DARK\_BLUE](https://scripting.breeze.rip/api/variables/formatting.dark_blue) * [DARK\_GRAY](https://scripting.breeze.rip/api/variables/formatting.dark_gray) * [DARK\_GREEN](https://scripting.breeze.rip/api/variables/formatting.dark_green) * [DARK\_PURPLE](https://scripting.breeze.rip/api/variables/formatting.dark_purple) * [DARK\_RED](https://scripting.breeze.rip/api/variables/formatting.dark_red) * [GLOW](https://scripting.breeze.rip/api/variables/formatting.glow) * [GOLD](https://scripting.breeze.rip/api/variables/formatting.gold) * [GRAY](https://scripting.breeze.rip/api/variables/formatting.gray) * [GREEN](https://scripting.breeze.rip/api/variables/formatting.green) * [LIGHT\_PURPLE](https://scripting.breeze.rip/api/variables/formatting.light_purple) * [PRIMARY](https://scripting.breeze.rip/api/variables/formatting.primary) * [RED](https://scripting.breeze.rip/api/variables/formatting.red) * [RESET](https://scripting.breeze.rip/api/variables/formatting.reset) * [SECONDARY](https://scripting.breeze.rip/api/variables/formatting.secondary) * [TERTIARY](https://scripting.breeze.rip/api/variables/formatting.tertiary) * [WHITE](https://scripting.breeze.rip/api/variables/formatting.white) * [YELLOW](https://scripting.breeze.rip/api/variables/formatting.yellow) Last updated 8 months ago --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/breeze.md). # breeze - \[event\](https://scripting.breeze.rip/api/breeze/event.md) - \[CancellableEvent\](https://scripting.breeze.rip/api/breeze/event/cancellableevent.md) - \[settings\](https://scripting.breeze.rip/api/breeze/settings.md) - \[BooleanSetting\](https://scripting.breeze.rip/api/breeze/settings/booleansetting.md) - \[ColorSetting\](https://scripting.breeze.rip/api/breeze/settings/colorsetting.md) - \[DoubleSetting\](https://scripting.breeze.rip/api/breeze/settings/doublesetting.md) - \[IntSetting\](https://scripting.breeze.rip/api/breeze/settings/intsetting.md) - \[ModeSetting\](https://scripting.breeze.rip/api/breeze/settings/modesetting.md) - \[RangeSetting\](https://scripting.breeze.rip/api/breeze/settings/rangesetting.md) - \[Setting\](https://scripting.breeze.rip/api/breeze/settings/setting.md) - \[SubGroup\](https://scripting.breeze.rip/api/breeze/settings/subgroup.md) - \[spoof\](https://scripting.breeze.rip/api/breeze/spoof.md) - \[DelayedPacket\](https://scripting.breeze.rip/api/breeze/spoof/delayedpacket.md) - \[util\](https://scripting.breeze.rip/api/breeze/util.md) - \[Color\](https://scripting.breeze.rip/api/breeze/util/color.md) - \[RoundedRect\](https://scripting.breeze.rip/api/breeze/util/roundedrect.md) - \[Module\](https://scripting.breeze.rip/api/breeze/module.md) --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/breeze/event.md). # event - \[CancellableEvent\](https://scripting.breeze.rip/api/breeze/event/cancellableevent.md) --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/breeze/event/cancellableevent.md). # CancellableEvent An event that can be cancelled ### Extended by \* \[\`JumpEvent\`\](/api/events/jumpevent.md) \* \[\`MotionEvent\`\](/api/events/motionevent.md) \* \[\`RenderHandEvent\`\](/api/events/renderhandevent.md) \* \[\`AngleUpdateEvent\`\](/api/events/angleupdateevent.md) \* \[\`KeyPressedEvent\`\](/api/events/keypressedevent.md) \* \[\`MouseClickedEvent\`\](/api/events/mouseclickedevent.md) \* \[\`PacketReceiveEvent\`\](/api/events/packetreceiveevent.md) \* \[\`PacketSendEvent\`\](/api/events/packetsendevent.md) ### Methods #### cancel() > \*\*cancel\*\*(): \`void\` Cancels the event. \*\*Returns\*\* \`void\` \*\*\* #### isCancelled() > \*\*isCancelled\*\*(): \`boolean\` \*\*Returns\*\* \`boolean\` If the event is cancelled or not. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/breeze/spoof.md). # spoof - \[DelayedPacket\](https://scripting.breeze.rip/api/breeze/spoof/delayedpacket.md) --- # breeze | Scripting For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt) . This page is also available as [Markdown](https://scripting.breeze.rip/api/breeze.md) . [event](https://scripting.breeze.rip/api/breeze/event) [settings](https://scripting.breeze.rip/api/breeze/settings) [spoof](https://scripting.breeze.rip/api/breeze/spoof) [util](https://scripting.breeze.rip/api/breeze/util) [Module](https://scripting.breeze.rip/api/breeze/module) Last updated 14 days ago --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/breeze/util.md). # util - \[Color\](https://scripting.breeze.rip/api/breeze/util/color.md) - \[RoundedRect\](https://scripting.breeze.rip/api/breeze/util/roundedrect.md) --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/breeze/util/color.md). # Color A simple color object. ### Constructors #### Constructor > \*\*new Color\*\*(\`r\`, \`g\`, \`b\`, \`a\`): \`Color\` \*\*Parameters\*\* \*\*r\*\* \`number\` \*\*g\*\* \`number\` \*\*b\*\* \`number\` \*\*a\*\* \`number\` \*\*Returns\*\* \`Color\` ### Methods #### blue() > \*\*blue\*\*(): \`number\` \*\*Returns\*\* \`number\` \*\*\* #### green() > \*\*green\*\*(): \`number\` \*\*Returns\*\* \`number\` \*\*\* #### red() > \*\*red\*\*(): \`number\` \*\*Returns\*\* \`number\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/breeze/spoof/delayedpacket.md). # DelayedPacket A packet that is delayed until we release it. ### Properties #### packet > \`readonly\` \*\*packet\*\*: \[\`Packet\`\](/api/net/minecraft/network/packet.md) The packet that has been delayed. \*\*\* #### time > \`readonly\` \*\*time\*\*: \`number\` The original time this packet was send. ### Methods #### direction() > \*\*direction\*\*(): \[\`PacketDirection\`\](/api/enum\_types/packetdirection.md) Returns the direction of the packet, either IN or OUT. \*\*Returns\*\* \[\`PacketDirection\`\](/api/enum\_types/packetdirection.md) \*\*\* #### hasAged() > \*\*hasAged\*\*(\`ms\`): \`boolean\` Checks if this packet has aged beyond the specified time. \*\*Parameters\*\* \*\*ms\*\* \`number\` The number of milliseconds. \*\*Returns\*\* \`boolean\` True if this packet has aged beyond the given time, false otherwise. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/breeze/settings.md). # settings - \[BooleanSetting\](https://scripting.breeze.rip/api/breeze/settings/booleansetting.md) - \[ColorSetting\](https://scripting.breeze.rip/api/breeze/settings/colorsetting.md) - \[DoubleSetting\](https://scripting.breeze.rip/api/breeze/settings/doublesetting.md) - \[IntSetting\](https://scripting.breeze.rip/api/breeze/settings/intsetting.md) - \[ModeSetting\](https://scripting.breeze.rip/api/breeze/settings/modesetting.md) - \[RangeSetting\](https://scripting.breeze.rip/api/breeze/settings/rangesetting.md) - \[Setting\](https://scripting.breeze.rip/api/breeze/settings/setting.md) - \[SubGroup\](https://scripting.breeze.rip/api/breeze/settings/subgroup.md) --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/breeze/settings/subgroup.md). # SubGroup A sub group of settings. ### Constructors #### Constructor > \*\*new SubGroup\*\*(\`name\`): \`SubGroup\` \*\*Parameters\*\* \*\*name\*\* \`string\` The name of the subgroup. \*\*Returns\*\* \`SubGroup\` ### Methods #### getName() > \*\*getName\*\*(): \`string\` \*\*Returns\*\* \`string\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/breeze/settings/doublesetting.md). # DoubleSetting A double setting. ### Extends \* \[\`Setting\`\](/api/breeze/settings/setting.md) ### Constructors #### Constructor > \*\*new DoubleSetting\*\*(\`owner\`, \`name\`, \`description\`, \`defaultValue\`, \`min\`, \`max\`): \`DoubleSetting\` \*\*Parameters\*\* \*\*owner\*\* \`object\` Can either be 'script' or a subgroup. \*\*name\*\* \`string\` The name of the setting. \*\*description\*\* \`string\` The description of the setting. \*\*defaultValue\*\* \`number\` The default value of the setting. \*\*min\*\* \`number\` The minimum value of the setting. \*\*max\*\* \`number\` The maximum value of the setting. \*\*Returns\*\* \`DoubleSetting\` \*\*Overrides\*\* \`Setting.constructor\` #### Constructor > \*\*new DoubleSetting\*\*(\`owner\`, \`name\`, \`description\`, \`defaultValue\`, \`min\`, \`max\`, \`step\`): \`DoubleSetting\` \*\*Parameters\*\* \*\*owner\*\* \`object\` Can either be 'script' or a subgroup. \*\*name\*\* \`string\` The name of the setting. \*\*description\*\* \`string\` The description of the setting. \*\*defaultValue\*\* \`number\` The default value of the setting. \*\*min\*\* \`number\` The minimum value of the setting. \*\*max\*\* \`number\` The maximum value of the setting. \*\*step\*\* \`number\` The amount to round the setting by when adjusting via the slider. \*\*Returns\*\* \`DoubleSetting\` \*\*Overrides\*\* \`Setting.constructor\` ### Methods #### description() > \*\*description\*\*(): \`string\` \*\*Returns\*\* \`string\` The description of the setting. \*\*Inherited from\*\* \[\`Setting\`\](/api/breeze/settings/setting.md).\[\`description\`\](/api/breeze/settings/setting.md#description) \*\*\* #### getValue() > \*\*getValue\*\*(): \`number\` \*\*Returns\*\* \`number\` The value of the setting. \*\*\* #### name() > \*\*name\*\*(): \`string\` \*\*Returns\*\* \`string\` The name of the setting. \*\*Inherited from\*\* \[\`Setting\`\](/api/breeze/settings/setting.md).\[\`name\`\](/api/breeze/settings/setting.md#name) \*\*\* #### setValue() > \*\*setValue\*\*(\`value\`): \`void\` \*\*Parameters\*\* \*\*value\*\* \`number\` The value to set the setting to. \*\*Returns\*\* \`void\` \*\*\* #### visible() > \*\*visible\*\*(\`visible\`): \`void\` You can use this to hide settings temporarily depending on the user config. The callback should return a boolean. \*\*Parameters\*\* \*\*visible\*\* \`Function\` The function to determine if the setting should be visible or not. \*\*Returns\*\* \`void\` \*\*Example\*\* \`\`\`ts const delay = new IntSetting("Delay", "The amount of ticks to wait in between attacks.", false); delay.visible(() => { return someOtherSetting.getValue() }); \`\`\` \*\*Inherited from\*\* \[\`Setting\`\](/api/breeze/settings/setting.md).\[\`visible\`\](/api/breeze/settings/setting.md#visible) --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/breeze/settings/setting.md). # Setting ### Extended by \* \[\`RangeSetting\`\](/api/breeze/settings/rangesetting.md) \* \[\`ColorSetting\`\](/api/breeze/settings/colorsetting.md) \* \[\`IntSetting\`\](/api/breeze/settings/intsetting.md) \* \[\`ModeSetting\`\](/api/breeze/settings/modesetting.md) \* \[\`BooleanSetting\`\](/api/breeze/settings/booleansetting.md) \* \[\`DoubleSetting\`\](/api/breeze/settings/doublesetting.md) ### Methods #### description() > \*\*description\*\*(): \`string\` \*\*Returns\*\* \`string\` The description of the setting. \*\*\* #### name() > \*\*name\*\*(): \`string\` \*\*Returns\*\* \`string\` The name of the setting. \*\*\* #### visible() > \*\*visible\*\*(\`visible\`): \`void\` You can use this to hide settings temporarily depending on the user config. The callback should return a boolean. \*\*Parameters\*\* \*\*visible\*\* \`Function\` The function to determine if the setting should be visible or not. \*\*Returns\*\* \`void\` \*\*Example\*\* \`\`\`ts const delay = new IntSetting("Delay", "The amount of ticks to wait in between attacks.", false); delay.visible(() => { return someOtherSetting.getValue() }); \`\`\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/breeze/settings/modesetting.md). # ModeSetting A mode setting. ### Extends \* \[\`Setting\`\](/api/breeze/settings/setting.md) ### Constructors #### Constructor > \*\*new ModeSetting\*\*(\`owner\`, \`name\`, \`description\`, \`defaultValue\`, \`values\`): \`ModeSetting\` \*\*Parameters\*\* \*\*owner\*\* \`object\` Can either be 'script' or a subgroup. \*\*name\*\* \`string\` The name of the setting. \*\*description\*\* \`string\` The description of the setting. \*\*defaultValue\*\* \`string\` The default mode of the setting. \*\*values\*\* \`string\`\\\[\] An array of possible mode for the setting. \*\*Returns\*\* \`ModeSetting\` \*\*Overrides\*\* \`Setting.constructor\` ### Methods #### description() > \*\*description\*\*(): \`string\` \*\*Returns\*\* \`string\` The description of the setting. \*\*Overrides\*\* \[\`Setting\`\](/api/breeze/settings/setting.md).\[\`description\`\](/api/breeze/settings/setting.md#description) \*\*\* #### getValue() > \*\*getValue\*\*(): \`string\` \*\*Returns\*\* \`string\` The name of the currently selected mode. \*\*\* #### is() > \*\*is\*\*(\`mode\`): \`boolean\` Check if the requested mode is the current one. \*\*Parameters\*\* \*\*mode\*\* \`string\` The mode you want to check. \*\*Returns\*\* \`boolean\` True if the mode is currently selected \*\*\* #### name() > \*\*name\*\*(): \`string\` \*\*Returns\*\* \`string\` The name of the setting. \*\*Overrides\*\* \[\`Setting\`\](/api/breeze/settings/setting.md).\[\`name\`\](/api/breeze/settings/setting.md#name) \*\*\* #### setValue() > \*\*setValue\*\*(\`mode\`): \`void\` \*\*Parameters\*\* \*\*mode\*\* \`string\` The mode you want to set the setting to. \*\*Returns\*\* \`void\` \*\*\* #### visible() > \*\*visible\*\*(\`visible\`): \`void\` You can use this to hide settings temporarily depending on the user config. The callback should return a boolean. \*\*Parameters\*\* \*\*visible\*\* \`Function\` The function to determine if the setting should be visible or not. \*\*Returns\*\* \`void\` \*\*Example\*\* \`\`\`ts const delay = new IntSetting("Delay", "The amount of ticks to wait in between attacks.", false); delay.visible(() => { return someOtherSetting.getValue() }); \`\`\` \*\*Inherited from\*\* \[\`Setting\`\](/api/breeze/settings/setting.md).\[\`visible\`\](/api/breeze/settings/setting.md#visible) --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/breeze/settings/booleansetting.md). # BooleanSetting A simple boolean setting. ### Remarks Can only be created while initializing the script. ### Example \`\`\`ts const alwaysAttack = new BooleanSetting("AlwaysAttack", "If the module will always attack regardles of player health.", false); \`\`\` ### Extends \* \[\`Setting\`\](/api/breeze/settings/setting.md) ### Constructors #### Constructor > \*\*new BooleanSetting\*\*(\`holder\`, \`name\`, \`description\`, \`defaultValue\`): \`BooleanSetting\` \*\*Parameters\*\* \*\*holder\*\* \`object\` Can either be 'script' or a subgroup. \*\*name\*\* \`string\` The name of the setting. \*\*description\*\* \`string\` The description of the setting. \*\*defaultValue\*\* \`boolean\` The default value of the setting. \*\*Returns\*\* \`BooleanSetting\` \*\*Overrides\*\* \`Setting.constructor\` ### Methods #### description() > \*\*description\*\*(): \`string\` \*\*Returns\*\* \`string\` The description of the setting. \*\*Inherited from\*\* \[\`Setting\`\](/api/breeze/settings/setting.md).\[\`description\`\](/api/breeze/settings/setting.md#description) \*\*\* #### getValue() > \*\*getValue\*\*(): \`boolean\` \*\*Returns\*\* \`boolean\` If the settings is toggled or not. \*\*\* #### name() > \*\*name\*\*(): \`string\` \*\*Returns\*\* \`string\` The name of the setting. \*\*Inherited from\*\* \[\`Setting\`\](/api/breeze/settings/setting.md).\[\`name\`\](/api/breeze/settings/setting.md#name) \*\*\* #### setValue() > \*\*setValue\*\*(\`value\`): \`void\` \*\*Parameters\*\* \*\*value\*\* \`boolean\` The value to set the setting to. \*\*Returns\*\* \`void\` \*\*\* #### visible() > \*\*visible\*\*(\`visible\`): \`void\` You can use this to hide settings temporarily depending on the user config. The callback should return a boolean. \*\*Parameters\*\* \*\*visible\*\* \`Function\` The function to determine if the setting should be visible or not. \*\*Returns\*\* \`void\` \*\*Example\*\* \`\`\`ts const delay = new IntSetting("Delay", "The amount of ticks to wait in between attacks.", false); delay.visible(() => { return someOtherSetting.getValue() }); \`\`\` \*\*Inherited from\*\* \[\`Setting\`\](/api/breeze/settings/setting.md).\[\`visible\`\](/api/breeze/settings/setting.md#visible) --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/breeze/settings/rangesetting.md). # RangeSetting A range setting. ### Extends \* \[\`Setting\`\](/api/breeze/settings/setting.md) ### Constructors #### Constructor > \*\*new RangeSetting\*\*(\`owner\`, \`name\`, \`description\`, \`defaultMin\`, \`defaultMax\`, \`min\`, \`max\`, \`step\`): \`RangeSetting\` \*\*Parameters\*\* \*\*owner\*\* \`object\` Can either be 'script' or a subgroup. \*\*name\*\* \`string\` The name of the setting. \*\*description\*\* \`string\` The description of the setting. \*\*defaultMin\*\* \`number\` The default minimum value. \*\*defaultMax\*\* \`number\` The default maximum value. \*\*min\*\* \`number\` The minimum allowed value. \*\*max\*\* \`number\` The maximum allowed value. \*\*step\*\* \`number\` The step size between values. \*\*Returns\*\* \`RangeSetting\` \*\*Overrides\*\* \`Setting.constructor\` ### Methods #### description() > \*\*description\*\*(): \`string\` \*\*Returns\*\* \`string\` The description of the setting. \*\*Inherited from\*\* \[\`Setting\`\](/api/breeze/settings/setting.md).\[\`description\`\](/api/breeze/settings/setting.md#description) \*\*\* #### getMax() > \*\*getMax\*\*(): \`number\` \*\*Returns\*\* \`number\` The maximum value of the setting. \*\*\* #### getMin() > \*\*getMin\*\*(): \`number\` \*\*Returns\*\* \`number\` The minimum value of the setting. \*\*\* #### name() > \*\*name\*\*(): \`string\` \*\*Returns\*\* \`string\` The name of the setting. \*\*Inherited from\*\* \[\`Setting\`\](/api/breeze/settings/setting.md).\[\`name\`\](/api/breeze/settings/setting.md#name) \*\*\* #### random() > \*\*random\*\*(): \`number\` \*\*Returns\*\* \`number\` A random value within the selected range \*\*\* #### visible() > \*\*visible\*\*(\`visible\`): \`void\` You can use this to hide settings temporarily depending on the user config. The callback should return a boolean. \*\*Parameters\*\* \*\*visible\*\* \`Function\` The function to determine if the setting should be visible or not. \*\*Returns\*\* \`void\` \*\*Example\*\* \`\`\`ts const delay = new IntSetting("Delay", "The amount of ticks to wait in between attacks.", false); delay.visible(() => { return someOtherSetting.getValue() }); \`\`\` \*\*Inherited from\*\* \[\`Setting\`\](/api/breeze/settings/setting.md).\[\`visible\`\](/api/breeze/settings/setting.md#visible) --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/breeze/settings/colorsetting.md). # ColorSetting A color setting. ### Remarks Can only be created while initializing the script. ### Example \`\`\`ts const color = new ColorSetting(script, "Color", "The color to use.", new Color(255, 255, 255, 255)); \`\`\` ### Extends \* \[\`Setting\`\](/api/breeze/settings/setting.md) ### Constructors #### Constructor > \*\*new ColorSetting\*\*(\`holder\`, \`name\`, \`description\`, \`defaultValue\`): \`ColorSetting\` \*\*Parameters\*\* \*\*holder\*\* \`object\` Can either be 'script' or a subgroup. \*\*name\*\* \`string\` The name of the setting. \*\*description\*\* \`string\` The description of the setting. \*\*defaultValue\*\* \[\`Color\`\](/api/breeze/util/color.md) The default color. \*\*Returns\*\* \`ColorSetting\` \*\*Overrides\*\* \`Setting.constructor\` #### Constructor > \*\*new ColorSetting\*\*(\`holder\`, \`name\`, \`description\`, \`defaultValue\`, \`allowAlpha\`): \`ColorSetting\` \*\*Parameters\*\* \*\*holder\*\* \`object\` Can either be 'script' or a subgroup. \*\*name\*\* \`string\` The name of the setting. \*\*description\*\* \`string\` The description of the setting. \*\*defaultValue\*\* \[\`Color\`\](/api/breeze/util/color.md) The default color. \*\*allowAlpha\*\* \`boolean\` Whether the alpha channel can be changed. \*\*Returns\*\* \`ColorSetting\` \*\*Overrides\*\* \`Setting.constructor\` ### Methods #### description() > \*\*description\*\*(): \`string\` \*\*Returns\*\* \`string\` The description of the setting. \*\*Inherited from\*\* \[\`Setting\`\](/api/breeze/settings/setting.md).\[\`description\`\](/api/breeze/settings/setting.md#description) \*\*\* #### getValue() > \*\*getValue\*\*(): \[\`Color\`\](/api/breeze/util/color.md) \*\*Returns\*\* \[\`Color\`\](/api/breeze/util/color.md) The current color value. \*\*\* #### name() > \*\*name\*\*(): \`string\` \*\*Returns\*\* \`string\` The name of the setting. \*\*Inherited from\*\* \[\`Setting\`\](/api/breeze/settings/setting.md).\[\`name\`\](/api/breeze/settings/setting.md#name) \*\*\* #### setValue() > \*\*setValue\*\*(\`color\`): \`void\` \*\*Parameters\*\* \*\*color\*\* \[\`Color\`\](/api/breeze/util/color.md) The color to set. \*\*Returns\*\* \`void\` \*\*\* #### visible() > \*\*visible\*\*(\`visible\`): \`void\` You can use this to hide settings temporarily depending on the user config. The callback should return a boolean. \*\*Parameters\*\* \*\*visible\*\* \`Function\` The function to determine if the setting should be visible or not. \*\*Returns\*\* \`void\` \*\*Example\*\* \`\`\`ts const delay = new IntSetting("Delay", "The amount of ticks to wait in between attacks.", false); delay.visible(() => { return someOtherSetting.getValue() }); \`\`\` \*\*Inherited from\*\* \[\`Setting\`\](/api/breeze/settings/setting.md).\[\`visible\`\](/api/breeze/settings/setting.md#visible) --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/breeze/settings/intsetting.md). # IntSetting An integer setting. ### Example \`\`\`ts const delay = new IntSetting("Delay", "The amount of ticks to wait in between attacks.", false); \`\`\` ### Extends \* \[\`Setting\`\](/api/breeze/settings/setting.md) ### Constructors #### Constructor > \*\*new IntSetting\*\*(\`owner\`, \`name\`, \`description\`, \`defaultValue\`, \`min\`, \`max\`): \`IntSetting\` \*\*Parameters\*\* \*\*owner\*\* \`object\` Can either be 'script' or a subgroup. \*\*name\*\* \`string\` The name of the setting. \*\*description\*\* \`string\` The description of the setting. \*\*defaultValue\*\* \`number\` The default value of the setting. \*\*min\*\* \`number\` The minimum value of the setting. \*\*max\*\* \`number\` The maximum value of the setting. \*\*Returns\*\* \`IntSetting\` \*\*Overrides\*\* \`Setting.constructor\` #### Constructor > \*\*new IntSetting\*\*(\`owner\`, \`name\`, \`description\`, \`defaultValue\`, \`min\`, \`max\`, \`step\`): \`IntSetting\` \*\*Parameters\*\* \*\*owner\*\* \`object\` Can either be 'script' or a subgroup. \*\*name\*\* \`string\` The name of the setting. \*\*description\*\* \`string\` The description of the setting. \*\*defaultValue\*\* \`number\` The default value of the setting. \*\*min\*\* \`number\` The minimum value of the setting. \*\*max\*\* \`number\` The maximum value of the setting. \*\*step\*\* \`number\` The amount to round the setting by when adjusting via the slider. \*\*Returns\*\* \`IntSetting\` \*\*Overrides\*\* \`Setting.constructor\` ### Methods #### description() > \*\*description\*\*(): \`string\` \*\*Returns\*\* \`string\` The description of the setting. \*\*Inherited from\*\* \[\`Setting\`\](/api/breeze/settings/setting.md).\[\`description\`\](/api/breeze/settings/setting.md#description) \*\*\* #### getValue() > \*\*getValue\*\*(): \`number\` \*\*Returns\*\* \`number\` The value of the setting. \*\*\* #### name() > \*\*name\*\*(): \`string\` \*\*Returns\*\* \`string\` The name of the setting. \*\*Inherited from\*\* \[\`Setting\`\](/api/breeze/settings/setting.md).\[\`name\`\](/api/breeze/settings/setting.md#name) \*\*\* #### setValue() > \*\*setValue\*\*(\`value\`): \`void\` \*\*Parameters\*\* \*\*value\*\* \`number\` The value to set the setting to. \*\*Returns\*\* \`void\` \*\*\* #### visible() > \*\*visible\*\*(\`visible\`): \`void\` You can use this to hide settings temporarily depending on the user config. The callback should return a boolean. \*\*Parameters\*\* \*\*visible\*\* \`Function\` The function to determine if the setting should be visible or not. \*\*Returns\*\* \`void\` \*\*Example\*\* \`\`\`ts const delay = new IntSetting("Delay", "The amount of ticks to wait in between attacks.", false); delay.visible(() => { return someOtherSetting.getValue() }); \`\`\` \*\*Inherited from\*\* \[\`Setting\`\](/api/breeze/settings/setting.md).\[\`visible\`\](/api/breeze/settings/setting.md#visible) --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/mc.closeui.md). # mc.closeUI > \*\*closeUI\*\*(): \`void\` ### Returns \`void\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions.md). # Functions - \[breeze.getModule\](https://scripting.breeze.rip/api/functions/breeze.getmodule.md) - \[breeze.getModules\](https://scripting.breeze.rip/api/functions/breeze.getmodules.md) - \[breeze.getRole\](https://scripting.breeze.rip/api/functions/breeze.getrole.md) - \[breeze.getRoleColor\](https://scripting.breeze.rip/api/functions/breeze.getrolecolor.md) - \[breeze.getUsername\](https://scripting.breeze.rip/api/functions/breeze.getusername.md) - \[hudManager.fontHeight\](https://scripting.breeze.rip/api/functions/hudmanager.fontheight.md) - \[hudManager.onBackground\](https://scripting.breeze.rip/api/functions/hudmanager.onbackground.md) - \[hudManager.onHeight\](https://scripting.breeze.rip/api/functions/hudmanager.onheight.md) - \[hudManager.onRender\](https://scripting.breeze.rip/api/functions/hudmanager.onrender.md) - \[hudManager.onWidth\](https://scripting.breeze.rip/api/functions/hudmanager.onwidth.md) - \[hudManager.scale\](https://scripting.breeze.rip/api/functions/hudmanager.scale.md) - \[hudManager.x\](https://scripting.breeze.rip/api/functions/hudmanager.x.md) - \[hudManager.y\](https://scripting.breeze.rip/api/functions/hudmanager.y.md) - \[hudRenderer.drawCircle\](https://scripting.breeze.rip/api/functions/hudrenderer.drawcircle.md) - \[hudRenderer.drawCircleWithEffect\](https://scripting.breeze.rip/api/functions/hudrenderer.drawcirclewitheffect.md) - \[hudRenderer.drawItemStack\](https://scripting.breeze.rip/api/functions/hudrenderer.drawitemstack.md) - \[hudRenderer.drawRect\](https://scripting.breeze.rip/api/functions/hudrenderer.drawrect.md) - \[hudRenderer.drawRectGlow\](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectglow.md) - \[hudRenderer.drawRectGradient\](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectgradient.md) - \[hudRenderer.drawRectWithEffect\](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectwitheffect.md) - \[hudRenderer.drawRing\](https://scripting.breeze.rip/api/functions/hudrenderer.drawring.md) - \[hudRenderer.drawString\](https://scripting.breeze.rip/api/functions/hudrenderer.drawstring.md) - \[hudRenderer.drawSVG\](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvg.md) - \[hudRenderer.drawSVGWithEffect\](https://scripting.breeze.rip/api/functions/hudrenderer.drawsvgwitheffect.md) - \[hudRenderer.drawTexture\](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexture.md) - \[hudRenderer.drawTextureGradient\](https://scripting.breeze.rip/api/functions/hudrenderer.drawtexturegradient.md) - \[hudRenderer.stringWidth\](https://scripting.breeze.rip/api/functions/hudrenderer.stringwidth.md) - \[math.clamp\](https://scripting.breeze.rip/api/functions/math.clamp.md) - \[math.findBestVisiblePoint\](https://scripting.breeze.rip/api/functions/math.findbestvisiblepoint.md) - \[math.getCenter\](https://scripting.breeze.rip/api/functions/math.getcenter.md) - \[math.interpolateEntityBB\](https://scripting.breeze.rip/api/functions/math.interpolateentitybb.md) - \[math.interpolateEntityPosition\](https://scripting.breeze.rip/api/functions/math.interpolateentityposition.md) - \[math.interpolateLastTickPos\](https://scripting.breeze.rip/api/functions/math.interpolatelasttickpos.md) - \[mc.chatMessage\](https://scripting.breeze.rip/api/functions/mc.chatmessage.md) - \[mc.clickMouse\](https://scripting.breeze.rip/api/functions/mc.clickmouse.md) - \[mc.closeUI\](https://scripting.breeze.rip/api/functions/mc.closeui.md) - \[mc.getScreenHeight\](https://scripting.breeze.rip/api/functions/mc.getscreenheight.md) - \[mc.getScreenWidth\](https://scripting.breeze.rip/api/functions/mc.getscreenwidth.md) - \[mc.rightClickMouse\](https://scripting.breeze.rip/api/functions/mc.rightclickmouse.md) - \[mc.serverIP\](https://scripting.breeze.rip/api/functions/mc.serverip.md) - \[renderer.boundingESPBox\](https://scripting.breeze.rip/api/functions/renderer.boundingespbox.md) - \[renderer.boundingESPBoxFilled\](https://scripting.breeze.rip/api/functions/renderer.boundingespboxfilled.md) - \[rotationManager.getSpoofedPitch\](https://scripting.breeze.rip/api/functions/rotationmanager.getspoofedpitch.md) - \[rotationManager.getSpoofedYaw\](https://scripting.breeze.rip/api/functions/rotationmanager.getspoofedyaw.md) - \[rotationManager.onRotate\](https://scripting.breeze.rip/api/functions/rotationmanager.onrotate.md) - \[rotationManager.onUpdateNoRotate\](https://scripting.breeze.rip/api/functions/rotationmanager.onupdatenorotate.md) - \[rotationManager.rotate\](https://scripting.breeze.rip/api/functions/rotationmanager.rotate.md) - \[rotationManager.setPriority\](https://scripting.breeze.rip/api/functions/rotationmanager.setpriority.md) - \[script.addListener\](https://scripting.breeze.rip/api/functions/script.addlistener.md) - \[script.disable\](https://scripting.breeze.rip/api/functions/script.disable.md) - \[script.enabled\](https://scripting.breeze.rip/api/functions/script.enabled.md) - \[script.getName\](https://scripting.breeze.rip/api/functions/script.getname.md) - \[script.log\](https://scripting.breeze.rip/api/functions/script.log.md) - \[script.metadata\](https://scripting.breeze.rip/api/functions/script.metadata.md) - \[script.onDisable\](https://scripting.breeze.rip/api/functions/script.ondisable.md) - \[script.onEnable\](https://scripting.breeze.rip/api/functions/script.onenable.md) - \[spoofManager.flushAll\](https://scripting.breeze.rip/api/functions/spoofmanager.flushall.md) - \[spoofManager.flushIncoming\](https://scripting.breeze.rip/api/functions/spoofmanager.flushincoming.md) - \[spoofManager.flushOutgoing\](https://scripting.breeze.rip/api/functions/spoofmanager.flushoutgoing.md) - \[spoofManager.onPacketReceive\](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketreceive.md) - \[spoofManager.onPacketSend\](https://scripting.breeze.rip/api/functions/spoofmanager.onpacketsend.md) - \[spoofManager.onUpdate\](https://scripting.breeze.rip/api/functions/spoofmanager.onupdate.md) - \[spoofManager.release\](https://scripting.breeze.rip/api/functions/spoofmanager.release.md) - \[spoofManager.sendPacket\](https://scripting.breeze.rip/api/functions/spoofmanager.sendpacket.md) - \[spoofManager.setPriority\](https://scripting.breeze.rip/api/functions/spoofmanager.setpriority.md) - \[time.getTimeMS\](https://scripting.breeze.rip/api/functions/time.gettimems.md) - \[time.getTimeNS\](https://scripting.breeze.rip/api/functions/time.gettimens.md) - \[time.getTimeSeconds\](https://scripting.breeze.rip/api/functions/time.gettimeseconds.md) --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables.md). # Variables - \[breeze.mcVersion\](https://scripting.breeze.rip/api/variables/breeze.mcversion.md) - \[breeze.version\](https://scripting.breeze.rip/api/variables/breeze.version.md) - \[breeze.versionFull\](https://scripting.breeze.rip/api/variables/breeze.versionfull.md) - \[breeze.versionSimple\](https://scripting.breeze.rip/api/variables/breeze.versionsimple.md) - \[formatting.ACCENT\](https://scripting.breeze.rip/api/variables/formatting.accent.md) - \[formatting.AQUA\](https://scripting.breeze.rip/api/variables/formatting.aqua.md) - \[formatting.BLACK\](https://scripting.breeze.rip/api/variables/formatting.black.md) - \[formatting.BLUE\](https://scripting.breeze.rip/api/variables/formatting.blue.md) - \[formatting.DARK AQUA\](https://scripting.breeze.rip/api/variables/formatting.dark\_aqua.md) - \[formatting.DARK BLUE\](https://scripting.breeze.rip/api/variables/formatting.dark\_blue.md) - \[formatting.DARK GRAY\](https://scripting.breeze.rip/api/variables/formatting.dark\_gray.md) - \[formatting.DARK GREEN\](https://scripting.breeze.rip/api/variables/formatting.dark\_green.md) - \[formatting.DARK PURPLE\](https://scripting.breeze.rip/api/variables/formatting.dark\_purple.md) - \[formatting.DARK RED\](https://scripting.breeze.rip/api/variables/formatting.dark\_red.md) - \[formatting.GLOW\](https://scripting.breeze.rip/api/variables/formatting.glow.md) - \[formatting.GOLD\](https://scripting.breeze.rip/api/variables/formatting.gold.md) - \[formatting.GRAY\](https://scripting.breeze.rip/api/variables/formatting.gray.md) - \[formatting.GREEN\](https://scripting.breeze.rip/api/variables/formatting.green.md) - \[formatting.LIGHT PURPLE\](https://scripting.breeze.rip/api/variables/formatting.light\_purple.md) - \[formatting.PRIMARY\](https://scripting.breeze.rip/api/variables/formatting.primary.md) - \[formatting.RED\](https://scripting.breeze.rip/api/variables/formatting.red.md) - \[formatting.RESET\](https://scripting.breeze.rip/api/variables/formatting.reset.md) - \[formatting.SECONDARY\](https://scripting.breeze.rip/api/variables/formatting.secondary.md) - \[formatting.TERTIARY\](https://scripting.breeze.rip/api/variables/formatting.tertiary.md) - \[formatting.WHITE\](https://scripting.breeze.rip/api/variables/formatting.white.md) - \[formatting.YELLOW\](https://scripting.breeze.rip/api/variables/formatting.yellow.md) - \[mc.currentScreen\](https://scripting.breeze.rip/api/variables/mc.currentscreen.md) - \[mc.gameSettings\](https://scripting.breeze.rip/api/variables/mc.gamesettings.md) - \[mc.leftClickCounter\](https://scripting.breeze.rip/api/variables/mc.leftclickcounter.md) - \[mc.objectMouseOver\](https://scripting.breeze.rip/api/variables/mc.objectmouseover.md) - \[mc.player\](https://scripting.breeze.rip/api/variables/mc.player.md) - \[mc.playerController\](https://scripting.breeze.rip/api/variables/mc.playercontroller.md) - \[mc.pointedEntity\](https://scripting.breeze.rip/api/variables/mc.pointedentity.md) - \[mc.rightClickDelayTimer\](https://scripting.breeze.rip/api/variables/mc.rightclickdelaytimer.md) - \[mc.timerSpeed\](https://scripting.breeze.rip/api/variables/mc.timerspeed.md) - \[mc.world\](https://scripting.breeze.rip/api/variables/mc.world.md) - \[script.allowBind\](https://scripting.breeze.rip/api/variables/script.allowbind.md) - \[script.allowHold\](https://scripting.breeze.rip/api/variables/script.allowhold.md) - \[script.description\](https://scripting.breeze.rip/api/variables/script.description.md) --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/mc.getscreenheight.md). # mc.getScreenHeight > \*\*getScreenHeight\*\*(): \`number\` ### Returns \`number\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/breeze.getusername.md). # breeze.getUsername > \*\*getUsername\*\*(): \`string\` ### Returns \`string\` The breeze username of the logged in user. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/hudmanager.scale.md). # hudManager.scale > \*\*scale\*\*(): \`number\` Gives the scale for the hud, things like padding, corner radii, and elements size should be based on this. ### Returns \`number\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/breeze.version.md). # breeze.version > \`const\` \*\*version\*\*: \`string\` The breeze version string. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/breeze.getrole.md). # breeze.getRole > \*\*getRole\*\*(): \`string\` ### Returns \`string\` The breeze role of the logged in user. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/script.getname.md). # script.getName > \*\*getName\*\*(): \`string\` ### Returns \`string\` The name of the script. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/spoofmanager.flushall.md). # spoofManager.flushAll > \*\*flushAll\*\*(): \`void\` Releases all delayed packets. ### Returns \`void\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/script.enabled.md). # script.enabled > \*\*enabled\*\*(): \`boolean\` ### Returns \`boolean\` If the module is enabled or not. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/time.gettimens.md). # time.getTimeNS > \*\*getTimeNS\*\*(): \`number\` The epoch time in nanoseconds ### Returns \`number\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/spoofmanager.flushoutgoing.md). # spoofManager.flushOutgoing > \*\*flushOutgoing\*\*(): \`void\` Releases all delayed outbound packets. ### Returns \`void\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/time.gettimems.md). # time.getTimeMS > \*\*getTimeMS\*\*(): \`number\` The epoch time in milliseconds ### Returns \`number\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/formatting.blue.md). # formatting.BLUE > \`const\` \*\*BLUE\*\*: \`string\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/breeze.versionfull.md). # breeze.versionFull > \`const\` \*\*versionFull\*\*: \`string\` The full version string, includes git commit if its a beta release. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/formatting.aqua.md). # formatting.AQUA > \`const\` \*\*AQUA\*\*: \`string\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/formatting.light\_purple.md). # formatting.LIGHT PURPLE > \`const\` \*\*LIGHT\\\_PURPLE\*\*: \`string\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/formatting.gray.md). # formatting.GRAY > \`const\` \*\*GRAY\*\*: \`string\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/formatting.dark\_blue.md). # formatting.DARK BLUE > \`const\` \*\*DARK\\\_BLUE\*\*: \`string\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/formatting.secondary.md). # formatting.SECONDARY > \`const\` \*\*SECONDARY\*\*: \`string\` The secondary text color defined by the theme. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/formatting.red.md). # formatting.RED > \`const\` \*\*RED\*\*: \`string\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/breeze.getmodules.md). # breeze.getModules > \*\*getModules\*\*(): \[\`Module\`\](/api/breeze/module.md)\\\[\] ### Returns \[\`Module\`\](/api/breeze/module.md)\\\[\] A list of all loaded breeze modules. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/hudmanager.x.md). # hudManager.x > \*\*x\*\*(): \`number\` The current x position of this HUD element on screen. ### Returns \`number\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/hudmanager.y.md). # hudManager.y > \*\*y\*\*(): \`number\` The current y position of this HUD element on screen. ### Returns \`number\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/mc.clickmouse.md). # mc.clickMouse > \*\*clickMouse\*\*(): \`void\` Left click the mouse. ### Returns \`void\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/mc.getscreenwidth.md). # mc.getScreenWidth > \*\*getScreenWidth\*\*(): \`number\` ### Returns \`number\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/mc.serverip.md). # mc.serverIP > \*\*serverIP\*\*(): \`string\` ### Returns \`string\` The IP of the server you are currently connected to. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/mc.rightclickmouse.md). # mc.rightClickMouse > \*\*rightClickMouse\*\*(): \`void\` Right click the mouse. ### Returns \`void\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/script.disable.md). # script.disable > \*\*disable\*\*(): \`void\` Disable the script. ### Returns \`void\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/script.ondisable.md). # script.onDisable > \*\*onDisable\*\*(\`callback\`): \`void\` Register a callback to run when the script is disabled. ### Parameters #### callback \`Function\` The function to run. ### Returns \`void\` ### Remarks This can only be used while the script is initializing. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/formatting.dark\_aqua.md). # formatting.DARK AQUA > \`const\` \*\*DARK\\\_AQUA\*\*: \`string\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/breeze.mcversion.md). # breeze.mcVersion > \`const\` \*\*mcVersion\*\*: \`string\` The version of minecraft we are currently running --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/formatting.dark\_gray.md). # formatting.DARK GRAY > \`const\` \*\*DARK\\\_GRAY\*\*: \`string\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/formatting.dark\_green.md). # formatting.DARK GREEN > \`const\` \*\*DARK\\\_GREEN\*\*: \`string\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/formatting.glow.md). # formatting.GLOW > \`const\` \*\*GLOW\*\*: \`string\` Adds a slight glow effect to the text. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/formatting.white.md). # formatting.WHITE > \`const\` \*\*WHITE\*\*: \`string\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/formatting.gold.md). # formatting.GOLD > \`const\` \*\*GOLD\*\*: \`string\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/mc.leftclickcounter.md). # mc.leftClickCounter > \*\*leftClickCounter\*\*: \`number\` The left click counter, the game uses this for calculating the miss mechanics when clicking, left clicks will only go through when this is 0. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/mc.timerspeed.md). # mc.timerSpeed > \*\*timerSpeed\*\*: \`number\` The current timer speed, the default being 1. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/hudrenderer.drawcirclewitheffect.md). # hudRenderer.drawCircleWithEffect > \*\*drawCircleWithEffect\*\*(\`cx\`, \`cy\`, \`radius\`, \`alpha\`): \`void\` Draws a filled circle colored with the current HUD effect (rainbow/gradient/pulse). ### Parameters #### cx \`number\` The center x position. #### cy \`number\` The center y position. #### radius \`number\` The radius. #### alpha \`number\` The opacity (0.0–1.0). ### Returns \`void\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/formatting.accent.md). # formatting.ACCENT > \`const\` \*\*ACCENT\*\*: \`string\` Colors the text with the accent color defined by the theme. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/breeze.getrolecolor.md). # breeze.getRoleColor > \*\*getRoleColor\*\*(): \[\`Color\`\](/api/breeze/util/color.md) ### Returns \[\`Color\`\](/api/breeze/util/color.md) The breeze role color of the logged in user. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/hudrenderer.drawrectwitheffect.md). # hudRenderer.drawRectWithEffect > \*\*drawRectWithEffect\*\*(\`x\`, \`y\`, \`w\`, \`h\`, \`radius\`, \`alpha\`): \`void\` Draws a rounded rectangle colored with the current HUD effect (rainbow/gradient/pulse). Falls back to the user's static color when the effect is NONE. ### Parameters #### x \`number\` The x position. #### y \`number\` The y position. #### w \`number\` The width. #### h \`number\` The height. #### radius \`number\` The corner radius. #### alpha \`number\` The opacity (0.0–1.0). ### Returns \`void\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/hudmanager.fontheight.md). # hudManager.fontHeight > \*\*fontHeight\*\*(): \`number\` Gives the fontHeight of the font that the user has selected. ### Returns \`number\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/rotationmanager.setpriority.md). # rotationManager.setPriority > \*\*setPriority\*\*(\`priority\`): \`void\` Set this script’s rotation priority. Higher runs earlier. ### Parameters #### priority \`number\` Integer priority value. ### Returns \`void\` ### Example \`\`\`ts rotationManager.setPriority(8); \`\`\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/rotationmanager.onupdatenorotate.md). # rotationManager.onUpdateNoRotate > \*\*onUpdateNoRotate\*\*(\`onUpdate\`): \`void\` Register a callback that runs on rotation updates when the module has no priority ### Parameters #### onUpdate \`Function\` Function to invoke each update without rotation. ### Returns \`void\` ### Example \`\`\`ts rotationManager.onUpdateNoRotate(() => { //idle tick }); \`\`\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/hudrenderer.stringwidth.md). # hudRenderer.stringWidth > \*\*stringWidth\*\*(\`text\`): \`number\` Returns the pixel width of a string using the current HUD font. ### Parameters #### text \`string\` The string to measure. ### Returns \`number\` The width of the string in pixels. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/mc.chatmessage.md). # mc.chatMessage > \*\*chatMessage\*\*(\`message\`, \`prefix\`): \`void\` Sends a chat message with an optional prefix to the player. ### Parameters #### message \`string\` The message you want shown in chat. #### prefix \`boolean\` If you want the \\\[Breeze\] prefix added. ### Returns \`void\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/spoofmanager.flushincoming.md). # spoofManager.flushIncoming > \*\*flushIncoming\*\*(): \`void\` Releases all delayed inbound packets. ### Returns \`void\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/time.gettimeseconds.md). # time.getTimeSeconds > \*\*getTimeSeconds\*\*(): \`number\` The epoch time in seconds ### Returns \`number\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/breeze.getmodule.md). # breeze.getModule > \*\*getModule\*\*(\`name\`): \[\`Module\`\](/api/breeze/module.md) Get a module by its name ### Parameters #### name \`string\` The name of the module. ### Returns \[\`Module\`\](/api/breeze/module.md) The module, or null if no module was found. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/formatting.dark\_purple.md). # formatting.DARK PURPLE > \`const\` \*\*DARK\\\_PURPLE\*\*: \`string\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/mc.world.md). # mc.world > \`const\` \*\*world\*\*: \[\`World\`\](/api/net/minecraft/client/world.md) The main world ### Remarks Can be null sometimes. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/mc.playercontroller.md). # mc.playerController > \`const\` \*\*playerController\*\*: \[\`PlayerControllerMP\`\](/api/net/minecraft/client/playercontrollermp.md) The player controller, can be used for controlling the local player and inventory. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/formatting.reset.md). # formatting.RESET > \`const\` \*\*RESET\*\*: \`string\` Resets all previous color formatting. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/mc.objectmouseover.md). # mc.objectMouseOver > \*\*objectMouseOver\*\*: \[\`RaytraceResult\`\](/api/net/minecraft/util/raytraceresult.md) The object that the local player is looking at, if this is null it crashes your game. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/formatting.primary.md). # formatting.PRIMARY > \`const\` \*\*PRIMARY\*\*: \`string\` The primary text color defined by the theme. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/formatting.black.md). # formatting.BLACK > \`const\` \*\*BLACK\*\*: \`string\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/mc.rightclickdelaytimer.md). # mc.rightClickDelayTimer > \*\*rightClickDelayTimer\*\*: \`number\` The right click delay timer, the game uses this for auto right clicking when you are holding down the mouse. Manipulating this can be used to make a fast place module for example. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/breeze.versionsimple.md). # breeze.versionSimple > \`const\` \*\*versionSimple\*\*: \`string\` Simplified version of the breeze version string. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/mc.gamesettings.md). # mc.gameSettings > \`const\` \*\*gameSettings\*\*: \[\`GameSettings\`\](/api/net/minecraft/client/settings/gamesettings.md) --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/formatting.tertiary.md). # formatting.TERTIARY > \`const\` \*\*TERTIARY\*\*: \`string\` The tertiary text color defined by the theme. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/script.log.md). # script.log ### Call Signature > \*\*log\*\*(\`message\`): \`void\` Log a message to the script console. #### Parameters \*\*message\*\* \`string\` The message to log. #### Returns \`void\` ### Call Signature > \*\*log\*\*(\`message\`, \`color\`): \`void\` Log a message to the script console. With a given color. #### Parameters \*\*message\*\* \`string\` The message to log. \*\*color\*\* \[\`Color\`\](/api/breeze/util/color.md) The color you want the log to appear in. #### Returns \`void\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/math.getcenter.md). # math.getCenter > \*\*getCenter\*\*(\`bb\`): \[\`Vec3\`\](/api/net/minecraft/util/vec3.md) The point in the middle of a bounding box. ### Parameters #### bb \[\`AxisAlignedBB\`\](/api/net/minecraft/util/axisalignedbb.md) The bounding box to take the center of. ### Returns \[\`Vec3\`\](/api/net/minecraft/util/vec3.md) The center of the box, or null when no box was given. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/script.onenable.md). # script.onEnable > \*\*onEnable\*\*(\`callback\`): \`void\` Register a callback to run when the script is enabled. ### Parameters #### callback \`Function\` The function to run. ### Returns \`void\` ### Remarks This can only be used while the script is initializing. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/script.metadata.md). # script.metadata > \*\*metadata\*\*(\`callback\`): \`void\` Register a callback to provide script metadata, this metadata can be displayed in the arraylist. ### Parameters #### callback \`Function\` The function to run for retrieving metadata. ### Returns \`void\` ### Remarks This can only be used while the script is initializing. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/spoofmanager.setpriority.md). # spoofManager.setPriority > \*\*setPriority\*\*(\`priority\`): \`void\` ### Parameters #### priority \`number\` ### Returns \`void\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/spoofmanager.release.md). # spoofManager.release > \*\*release\*\*(\`packet\`): \`void\` Releases the packet. ### Parameters #### packet \[\`DelayedPacket\`\](/api/breeze/spoof/delayedpacket.md) ### Returns \`void\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/formatting.green.md). # formatting.GREEN > \`const\` \*\*GREEN\*\*: \`string\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/rotationmanager.getspoofedpitch.md). # rotationManager.getSpoofedPitch > \*\*getSpoofedPitch\*\*(): \`number\` Get the current spoofed pitch in degrees. ### Returns \`number\` ### Example \`\`\`ts const pitch = rotationManager.getSpoofedPitch(); \`\`\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/formatting.dark\_red.md). # formatting.DARK RED > \`const\` \*\*DARK\\\_RED\*\*: \`string\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/functions/rotationmanager.getspoofedyaw.md). # rotationManager.getSpoofedYaw > \*\*getSpoofedYaw\*\*(): \`number\` Get the current spoofed yaw in degrees. ### Returns \`number\` ### Example \`\`\`ts const yaw = rotationManager.getSpoofedYaw(); \`\`\` --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/mc.currentscreen.md). # mc.currentScreen > \`const\` \*\*currentScreen\*\*: \[\`GuiScreen\`\](/api/net/minecraft/client/gui/guiscreen.md) The current screen. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/script.allowbind.md). # script.allowBind > \*\*allowBind\*\*: \`boolean\` Whether this script allows a keybind. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/script.description.md). # script.description > \*\*description\*\*: \`string\` The description of the script. --- # Unknown \> For the complete documentation index, see \[llms.txt\](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending \`.md\` to page URLs; this page is available as \[Markdown\](https://scripting.breeze.rip/api/variables/mc.player.md). # mc.player > \`const\` \*\*player\*\*: \[\`EntityPlayerSP\`\](/api/net/minecraft/client/entity/entityplayersp.md) The main client player. ### Remarks Can be null sometimes. ---