{"action":"created","issue":{"url":"https://api.github.com/repos/PaperMC/Paper/issues/1377","repository_url":"https://api.github.com/repos/PaperMC/Paper","labels_url":"https://api.github.com/repos/PaperMC/Paper/issues/1377/labels{/name}","comments_url":"https://api.github.com/repos/PaperMC/Paper/issues/1377/comments","events_url":"https://api.github.com/repos/PaperMC/Paper/issues/1377/events","html_url":"https://github.com/PaperMC/Paper/issues/1377","id":354078142,"node_id":"MDU6SXNzdWUzNTQwNzgxNDI=","number":1377,"title":"World#isChunkTicked(x, y) / Chunk#isTicked()","user":{"login":"cakoyo","id":39127005,"node_id":"MDQ6VXNlcjM5MTI3MDA1","avatar_url":"https://avatars0.githubusercontent.com/u/39127005?v=4","gravatar_id":"","url":"https://api.github.com/users/cakoyo","html_url":"https://github.com/cakoyo","followers_url":"https://api.github.com/users/cakoyo/followers","following_url":"https://api.github.com/users/cakoyo/following{/other_user}","gists_url":"https://api.github.com/users/cakoyo/gists{/gist_id}","starred_url":"https://api.github.com/users/cakoyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakoyo/subscriptions","organizations_url":"https://api.github.com/users/cakoyo/orgs","repos_url":"https://api.github.com/users/cakoyo/repos","events_url":"https://api.github.com/users/cakoyo/events{/privacy}","received_events_url":"https://api.github.com/users/cakoyo/received_events","type":"User","site_admin":false},"labels":[{"id":314954737,"node_id":"MDU6TGFiZWwzMTQ5NTQ3Mzc=","url":"https://api.github.com/repos/PaperMC/Paper/labels/invalid","name":"invalid","color":"e6e6e6","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-08-26T08:49:12Z","updated_at":"2018-08-27T06:03:28Z","closed_at":"2018-08-27T04:31:05Z","author_association":"CONTRIBUTOR","body":"**Is your feature request related to a problem? Please describe.**\r\nCurrently, there is no a method to check whether a chunk is actually generated/ready (terrain generated, light inited, decorated)\r\n\r\n**Describe the solution you'd like**\r\nSimply adding either or both methods: `World#isChunkTicked(x, y)` / `Chunk#isTicked()`\r\n\r\n**Describe alternatives you've considered**\r\nSimply expose `ticked` boolean in `Chunk` to API, `Chunk#v` in 1.13 and `Chunk#r` in 1.12.x\r\n\r\n**Additional context**\r\nThere is `isTerrainPopulated`(`done`) and `isLightPopulated`(`lit`) in 1.12.2 but seem gone in 1.13, it's nice if can add them as well.\r\n"},"comment":{"url":"https://api.github.com/repos/PaperMC/Paper/issues/comments/416123318","html_url":"https://github.com/PaperMC/Paper/issues/1377#issuecomment-416123318","issue_url":"https://api.github.com/repos/PaperMC/Paper/issues/1377","id":416123318,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjEyMzMxOA==","user":{"login":"cakoyo","id":39127005,"node_id":"MDQ6VXNlcjM5MTI3MDA1","avatar_url":"https://avatars0.githubusercontent.com/u/39127005?v=4","gravatar_id":"","url":"https://api.github.com/users/cakoyo","html_url":"https://github.com/cakoyo","followers_url":"https://api.github.com/users/cakoyo/followers","following_url":"https://api.github.com/users/cakoyo/following{/other_user}","gists_url":"https://api.github.com/users/cakoyo/gists{/gist_id}","starred_url":"https://api.github.com/users/cakoyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakoyo/subscriptions","organizations_url":"https://api.github.com/users/cakoyo/orgs","repos_url":"https://api.github.com/users/cakoyo/repos","events_url":"https://api.github.com/users/cakoyo/events{/privacy}","received_events_url":"https://api.github.com/users/cakoyo/received_events","type":"User","site_admin":false},"created_at":"2018-08-27T06:03:28Z","updated_at":"2018-08-27T06:03:28Z","author_association":"CONTRIBUTOR","body":"I tried to listen ChunkPopulateEvent and adding those chunks to a Set (newly generated world), and check whether there is a BlockPhysicsEvent from an unticked but populated chunk / ticked but unpopulated chunk and the result is odd, sometimes there is BPE from unticked but populated chunk while sometimes it's from ticked but unpopulated chunk (I teleported to the location to see what changed there, I saw mineshaft decorating, gravel dropping and water spread), none of them can indicate whether a chunk is finished its decoration."}}
{"actor":{"display_login":"cakoyo"}}