#How do you call Vectors (Velocity/Location)?
1 messages · Page 1 of 1 (latest)
Preview?
Its player.getVelocity() right
We need verson based docs current they like 1.19.70
Its just @beta
There is
But beta refers to the different modules that are still in beta
It just preview stable
actualy tru3
ok if people use Experimental APIs / Beta APIs they should test on latest version
that my opinion
use Stable API 😂
jk
so I guess my question is how would you then get the x, y or z location/velocity
player.getVelocity().y (1.19.70+)
ah
how would this work for blocks?
blocks?
since Location nand BlockLocation no longer exist
player.viewDirection = player.getViewDirection()
player.velocity = player.getVelocity()
my question was more geared towards how these have changed, thank you
he means post tags no types tags
I had it installed a day before I built my new computer
needs a way to discern between someone on preview builds vs stable
since there are instances where there are huge changes occuring
like right now
no it is
what is your version
.70.21
It didn't say player.tell was changed to sendMessage
it only said world and beforeChatEvent
make a package.json with just {} and run npm i --save @minecraft/server@beta and look at the typings for docs
me?
tell -> sendMessage
ya but for players
The changelogs do not say anywhere that player.tell has changed to sendMessage
no for BeforeChat
did you do?
changelog is autogenerated so itsnot always like that
thats wrong
I am sorry
nvm
thats why you use the typings as docs
goodbye
bye
^
you can just open the pack in the integrated terminal it will create a node_modules folder with the typings
