I need a script thats will escape from eggs-snowballs
-
I do have one that(Projectlies+.js) is made for arrows and can only tp upwards or blockhit before the arrow hits you. Calculating snowball/egg trajectory might be similar as calculating arrow's. Part of the code is adapted from the
Projectiles
module from LiquidBounce. If you want one for eggs/snowballs, you can simply change the entity type to eggs/snowballs, and alternate the prediction. And make horizontal teleport. I am just too lazy to do that lol. (Would be grateful if you can make a pull request).ALSO BEWARE THE CODE IS LICENSED UNDER AGPL-v3, WHICH MEANS YOU CAN'T OBFUSCATE IT BEFORE YOU GIVE IT TO OTHERS. AND IF YOUR WORK USES THE CODE OF IT YOUR WORK MUST BE LICENSED UNDER AGPL-v3 TOO.
ALSO BEWARE THE LICENSE OF LiquidBounce IS GPL-v3.
THOUGH I AM NOT A LAWYER, IN SHORT, THESE WORK MUST BE KEPT OPEN-SOURCED UNLESS IT'S FOR PERSONAL USE.
However, there are problems,I think(not verified) the server updates the arrow's position/velocity in a interval, which makes the trajectory look like this. (Yellow for history trajectory, blue for prediction.). (I am referring to the problem of the two arrows have different trajectory which is supposed to be the same.)
(screen shot from my video)
-
@commandblock2 hq release as always
-
@commandblock2 this is so useful but i dont understand anything :d
and i cant pull request becuz i dont know how to do and i am not registered to github but i think this is so funny and useful this options. (egg-snowball projectiles, and legit horizontal moving escape fast)
I need this 'cuz i've played server have a egg that kill you %80 chance and if throwed i die
my english bad thats why sorry
-
@TheHacker I just don't have any motivation to write anything further. There is even more stuff on my wish list but I am just tired.
-
@commandblock2 I'm not sure I can help you, but it's not a must, buddy. it would be better if you just do
-
This post is deleted!
-
@leejames2305 i will bump you