{"action":"created","issue":{"url":"https://api.github.com/repos/PrismarineJS/mineflayer/issues/743","repository_url":"https://api.github.com/repos/PrismarineJS/mineflayer","labels_url":"https://api.github.com/repos/PrismarineJS/mineflayer/issues/743/labels{/name}","comments_url":"https://api.github.com/repos/PrismarineJS/mineflayer/issues/743/comments","events_url":"https://api.github.com/repos/PrismarineJS/mineflayer/issues/743/events","html_url":"https://github.com/PrismarineJS/mineflayer/issues/743","id":379572184,"node_id":"MDU6SXNzdWUzNzk1NzIxODQ=","number":743,"title":"How can I intercept a velocity packet from the server?","user":{"login":"theonlygusti","id":10684786,"node_id":"MDQ6VXNlcjEwNjg0Nzg2","avatar_url":"https://avatars1.githubusercontent.com/u/10684786?v=4","gravatar_id":"","url":"https://api.github.com/users/theonlygusti","html_url":"https://github.com/theonlygusti","followers_url":"https://api.github.com/users/theonlygusti/followers","following_url":"https://api.github.com/users/theonlygusti/following{/other_user}","gists_url":"https://api.github.com/users/theonlygusti/gists{/gist_id}","starred_url":"https://api.github.com/users/theonlygusti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theonlygusti/subscriptions","organizations_url":"https://api.github.com/users/theonlygusti/orgs","repos_url":"https://api.github.com/users/theonlygusti/repos","events_url":"https://api.github.com/users/theonlygusti/events{/privacy}","received_events_url":"https://api.github.com/users/theonlygusti/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-11T22:46:04Z","updated_at":"2018-11-12T02:08:56Z","closed_at":"2018-11-11T23:54:33Z","author_association":"NONE","body":"Can I listen for a `setVelocity` packet from the server? \r\n\r\nAnd check the vector that the server is telling the bot to set its velocity to?"},"comment":{"url":"https://api.github.com/repos/PrismarineJS/mineflayer/issues/comments/437730458","html_url":"https://github.com/PrismarineJS/mineflayer/issues/743#issuecomment-437730458","issue_url":"https://api.github.com/repos/PrismarineJS/mineflayer/issues/743","id":437730458,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzczMDQ1OA==","user":{"login":"theonlygusti","id":10684786,"node_id":"MDQ6VXNlcjEwNjg0Nzg2","avatar_url":"https://avatars1.githubusercontent.com/u/10684786?v=4","gravatar_id":"","url":"https://api.github.com/users/theonlygusti","html_url":"https://github.com/theonlygusti","followers_url":"https://api.github.com/users/theonlygusti/followers","following_url":"https://api.github.com/users/theonlygusti/following{/other_user}","gists_url":"https://api.github.com/users/theonlygusti/gists{/gist_id}","starred_url":"https://api.github.com/users/theonlygusti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theonlygusti/subscriptions","organizations_url":"https://api.github.com/users/theonlygusti/orgs","repos_url":"https://api.github.com/users/theonlygusti/repos","events_url":"https://api.github.com/users/theonlygusti/events{/privacy}","received_events_url":"https://api.github.com/users/theonlygusti/received_events","type":"User","site_admin":false},"created_at":"2018-11-12T02:08:56Z","updated_at":"2018-11-12T02:08:56Z","author_association":"NONE","body":"@rom1504 isn't that a client-side thing?\r\n\r\nI am specifically interested in intercepting the knockback package sent by the server.\r\n\r\nI'm assuming the server's plugins use Bukkit's `Player#setVelocity(Vector)` to tell the player how they should be knocked back.\r\n\r\nI'd like to be able to add a listener for the packet generated by this to see the values the server plugins are telling my bot to set its velocity to.\r\n\r\n"}}
{"actor":{"display_login":"theonlygusti"}}