{"action":"closed","issue":{"url":"https://api.github.com/repos/Vazkii/Psi/issues/5","repository_url":"https://api.github.com/repos/Vazkii/Psi","labels_url":"https://api.github.com/repos/Vazkii/Psi/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/Vazkii/Psi/issues/5/comments","events_url":"https://api.github.com/repos/Vazkii/Psi/issues/5/events","html_url":"https://github.com/Vazkii/Psi/issues/5","id":133073282,"number":5,"title":"Operator: Entity Motion gives unexpected results for Players","user":{"login":"fnuecke","id":514903,"avatar_url":"https://avatars.githubusercontent.com/u/514903?v=3","gravatar_id":"","url":"https://api.github.com/users/fnuecke","html_url":"https://github.com/fnuecke","followers_url":"https://api.github.com/users/fnuecke/followers","following_url":"https://api.github.com/users/fnuecke/following{/other_user}","gists_url":"https://api.github.com/users/fnuecke/gists{/gist_id}","starred_url":"https://api.github.com/users/fnuecke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fnuecke/subscriptions","organizations_url":"https://api.github.com/users/fnuecke/orgs","repos_url":"https://api.github.com/users/fnuecke/repos","events_url":"https://api.github.com/users/fnuecke/events{/privacy}","received_events_url":"https://api.github.com/users/fnuecke/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-11T19:57:27Z","updated_at":"2016-02-12T19:15:41Z","closed_at":"2016-02-12T19:15:41Z","body":"For player entities `Operator: Entity Motion` will almost always return `(0, -0.something, 0)`, because the `motionX/Y/Z` fields used in the operator don't take into account player input (yay Minecraft). This is the case both in singleplayer and in mutliplayer.\r\n\r\nSimple testcase, use this spell while moving around and observe the debug output always printing `Vector[0, -1, 0]` (unless jumping / falling / being pushed by water / other non-input based stuff):\r\n```{spellName:\"Entity Motion Test\",uuidMost:-7026662135838978948L,validSpell:1b,spellList:[0:{spellPosX:3,spellData:{spellKey:\"selectorCaster\",params:{}},spellPosY:3},1:{spellPosX:3,spellData:{spellKey:\"operatorEntityMotion\",params:{psi.spellparam.target:1}},spellPosY:4},2:{spellPosX:3,spellData:{spellKey:\"operatorVectorNormalize\",params:{psi.spellparam.target:1}},spellPosY:5},3:{spellPosX:3,spellData:{spellKey:\"trickDebug\",params:{psi.spellparam.number:0,psi.spellparam.target:1}},spellPosY:6}],uuidLeast:-6192799415032249109L}```"}}