{"issue":{"created_at":"2011-10-13T23:49:20Z","state":"open","updated_at":"2011-11-24T01:28:21Z","user":{"gravatar_id":"a2051ec5f2f820b5dc4567e7fe3080f5","id":341418,"url":"https://api.github.com/users/amaranth","login":"amaranth","avatar_url":"https://secure.gravatar.com/avatar/a2051ec5f2f820b5dc4567e7fe3080f5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":3,"body":"This allows plugins to mark entities as invisible and hides them completely (no further packets sent about them).\r\n\r\nA plugin can also handle the ENTITY_TRACK event to setup custom rules for what players can see what invisible entities.","assignee":null,"id":1906376,"pull_request":{"patch_url":"https://github.com/Bukkit/Bukkit/pull/381.patch","html_url":"https://github.com/Bukkit/Bukkit/pull/381","diff_url":"https://github.com/Bukkit/Bukkit/pull/381.diff"},"labels":[],"number":381,"title":"add EntityTrackEvent and Entity.setInvisible and Entity.isInvisible","closed_at":null,"html_url":"https://github.com/Bukkit/Bukkit/issues/381","milestone":null,"url":"https://api.github.com/repos/Bukkit/Bukkit/issues/381"},"action":"created","comment":{"created_at":"2011-11-24T01:28:21Z","updated_at":"2011-11-24T01:28:21Z","user":{"gravatar_id":"a2051ec5f2f820b5dc4567e7fe3080f5","id":341418,"url":"https://api.github.com/users/amaranth","login":"amaranth","avatar_url":"https://secure.gravatar.com/avatar/a2051ec5f2f820b5dc4567e7fe3080f5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"No, calling setInvisible removes their EntityTrackerEntry which causes the destroy packet to be sent to anyone tracking them then recreates it at which point the event can be used to stop people from being added.","id":2857245,"url":"https://api.github.com/repos/Bukkit/Bukkit/issues/comments/2857245"}}