Motion Sending Pocket Computer

This computer sends events when a player does various actions


Event Return Value Description
worldChanged number old_dimension, number new_dimension Fired when the player switches between dimensions
locationChanged number diff_x, number diff_y, number diff_z Fired when the player's location changes.
rotationChanged number yaw, number pitch Fired when the player's rotation changes
blockHit Fired when the player hits a block
rightClick Fired when the player right clicks a block