#Check entity motion
1 messages · Page 1 of 1 (latest)
execute if data only allows for checking the entire array of motion values
[nbt={}] is basically the same
i can't execute store result score because the values will be rounded to 0 most of the time
for this kind of thing i usually just use an absurdly large scale-up, Y motion is technically a very slight downward movement when the player is standing on a surface (im assuming its gravity or something) so you can basically sub that result as the “0” for Y movement (e.g. iirc if you get Y movement at a scale of 1000 it comes out as -79)
yea i wont be checking y motion anyways because that doesn't matter here
oh did you mean x and z?
anyways same method would work, no? just large scale?
I think u'll have to make a marker and if the maker is at the same position as before u didn't move
yea but how do scale it up- hold up what the heck is wrong with me i never wanted to check motion in the first place
dang
but if you execute store result score run data get entity @s Motion[0] 1000 it would be a scale of 1000
but anyways
oh you can do that with data commands?
why did i not know that
ig the long nights of working on datapack jam are getting to you…
i tried using execute store result score int 100 but that only works for storages because scores are always ints probably
lmao probably
thank you for your help anyways :D
ah i see
:white_check_mark: Marked this channel as resolved!
yeah np lol im surprised i could tell u anything u didnt already know, gl with jam