ccbluex / scriptapi Goto Github PK
View Code? Open in Web Editor NEWRepository for LiquidBounce's JavaScript API.
Home Page: https://ccbluex.net
License: MIT License
Repository for LiquidBounce's JavaScript API.
Home Page: https://ccbluex.net
License: MIT License
if there is, then how to do that? if not, then create function drawText() pls
like:
drawLine(x1, y1, x2, y2, color);
and
drawLine(x1, y1, length, degree, color);
The example drawing script draws a rect at x1=10 and y1=10 to x2=200 and y2=200 which means the totall size of the rect is 190x190 hoever the drawn square is 389x389 pixel and it doesn't start at x1=10 and y1=10 but x1=20 and y1=20. In conclusion it seems like the distance and size is always twice the given number.
Also please add a drawRectOutline, drawLine, drawTriangle, drawCircleOutline and drawText with custom fonts.
draws a rect but not filled
Having a float between -0.05 and 0.05 exclusive defaults down to 0.
I find it weird that that happens. Like I have it at 0.04 and it does nothing, but when it's at 0.05, it does stuff.
Nextgen
add more examples in the scripting
No response
https://liquidbounce.net/docs/ScriptAPI/Creating%20Inventory%20Tabs
"this.displayAllReleventItems"
This is a typo, relevant is how you spell that.
It's also missspelt in the code everywhere
https://github.com/CCBlueX/LiquidBounce/search?q=displayAllReleventItems&unscoped_q=displayAllReleventItems
Add the vclip and the hclip function to the lib
Add things from the old LiquidScript to it, like player.inairspeed, player.strafe.
for triangles
like: drawText(x, y, string, font, size, color); + return the width/height of the text
Please add script support for ubuntu. For me at ubuntu scripts doesn't work!
Describe your feature request.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I'd like to have all of these events (took screenshot from my client) in the ScriptApi. I know you already have some in the script api, but if you could add these, it'd make the ScriptApi MUCH better.
Additional context
Add any other context or screenshots about the feature request here.
ScreenShot of the ones I want:
https://cdn.discordapp.com/attachments/514613503466668033/659118171869020162/unknown.png
lib/minecraftUtils.js
is written in LiquidScript V1 while the scripts that refer to it were rewritten to LiquidScript V2?
https://scriptapi.liquidbounce.net/net/minecraft/entity/player/EntityPlayer.html
doesn't mention any reach variable
i could only find it in https://scriptapi.liquidbounce.net/net/minecraft/client/multiplayer/PlayerControllerMP.html
but i couldn't find from documentation or scripts how to access that from my script... (e.g. mc.thePlayer object vs net.minecraft.entity.player.EntityPlayer )
very confusing...
I'm trying to create a basic script for this new version but I could not find a replacement for command.execute {.command} how could I replace it?
Like drawCircle but not filled
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.