{"action":"created","issue":{"url":"https://api.github.com/repos/mhsjlw/pocket-minecraft-protocol/issues/1","repository_url":"https://api.github.com/repos/mhsjlw/pocket-minecraft-protocol","labels_url":"https://api.github.com/repos/mhsjlw/pocket-minecraft-protocol/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mhsjlw/pocket-minecraft-protocol/issues/1/comments","events_url":"https://api.github.com/repos/mhsjlw/pocket-minecraft-protocol/issues/1/events","html_url":"https://github.com/mhsjlw/pocket-minecraft-protocol/issues/1","id":133432534,"number":1,"title":"Handling datatypes","user":{"login":"mhsjlw","id":8526903,"avatar_url":"https://avatars.githubusercontent.com/u/8526903?v=3","gravatar_id":"","url":"https://api.github.com/users/mhsjlw","html_url":"https://github.com/mhsjlw","followers_url":"https://api.github.com/users/mhsjlw/followers","following_url":"https://api.github.com/users/mhsjlw/following{/other_user}","gists_url":"https://api.github.com/users/mhsjlw/gists{/gist_id}","starred_url":"https://api.github.com/users/mhsjlw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhsjlw/subscriptions","organizations_url":"https://api.github.com/users/mhsjlw/orgs","repos_url":"https://api.github.com/users/mhsjlw/repos","events_url":"https://api.github.com/users/mhsjlw/events{/privacy}","received_events_url":"https://api.github.com/users/mhsjlw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-13T13:36:07Z","updated_at":"2016-02-13T13:41:24Z","closed_at":null,"body":"Here's a list of datatypes ProtoDef doesn't handle\r\n\r\n> Note: We should also rename anything with `[]` to `_array` or something similar\r\n\r\nThese I suspect are doable:\r\n- [ ] int\r\n- [ ] long\r\n- [ ] byte\r\n- [ ] short\r\n- [ ] byte[] \r\n- [ ] string\r\n- [ ] float\r\n- [ ] uuid\r\n- [ ] vector3\r\n\r\nThese may take some more work and we have to take a look at MiNET\r\n- [ ] offline_message_data_id\r\n- [ ] ipendpoint\r\n- [ ] ipendpoint[]\r\n- [ ] item\r\n- [ ] metadatadictionary\r\n- [ ] entitylocations\r\n- [ ] blockrecords\r\n- [ ] records\r\n- [ ] playerattributes\r\n- [ ] playerrecords\r\n- [ ] blockcoordinates\r\n- [ ] entitymotions\r\n- [ ] itemstacks\r\n- [ ] metadataints\r\n- [ ] recipes\r\n- [ ] nbt"},"comment":{"url":"https://api.github.com/repos/mhsjlw/pocket-minecraft-protocol/issues/comments/183666271","html_url":"https://github.com/mhsjlw/pocket-minecraft-protocol/issues/1#issuecomment-183666271","issue_url":"https://api.github.com/repos/mhsjlw/pocket-minecraft-protocol/issues/1","id":183666271,"user":{"login":"rom1504","id":2346494,"avatar_url":"https://avatars.githubusercontent.com/u/2346494?v=3","gravatar_id":"","url":"https://api.github.com/users/rom1504","html_url":"https://github.com/rom1504","followers_url":"https://api.github.com/users/rom1504/followers","following_url":"https://api.github.com/users/rom1504/following{/other_user}","gists_url":"https://api.github.com/users/rom1504/gists{/gist_id}","starred_url":"https://api.github.com/users/rom1504/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rom1504/subscriptions","organizations_url":"https://api.github.com/users/rom1504/orgs","repos_url":"https://api.github.com/users/rom1504/repos","events_url":"https://api.github.com/users/rom1504/events{/privacy}","received_events_url":"https://api.github.com/users/rom1504/received_events","type":"User","site_admin":false},"created_at":"2016-02-13T13:41:24Z","updated_at":"2016-02-13T13:41:24Z","body":"Need much more details info.\r\nFrom just these information, I see nothing that cannot be implemented by protodef.\r\nThe problems might be in the details.\r\n\r\nFor example what is \"byte[]\" ? is it a length-prefixed array like in mcpc ?\r\n\r\nwhat is vector3 ?\r\n\r\nNeed info about what are these other complex datatypes.\r\n\r\nHere are some example on how complex types can be described with protodef https://github.com/PrismarineJS/minecraft-data/blob/master/data/1.8/protocol.json#L2\r\n\r\nsome other examples there https://github.com/PrismarineJS/prismarine-nbt/blob/master/nbt.json\r\n\r\nBasically we need to know what kind of types/fields are present in these complex datatypes."}}