{"action":"created","comment":{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/comments/53948587","id":53948587,"diff_hunk":"@@ -63,13 +63,13 @@ static Builder builder() {\n         Builder addIngredient(ItemStack ingredient);\n \n         /**\n-         * Adds a resultant ItemStack for when this ShapelessRecipe is\n+         * Sets the resultant ItemStack for when this ShapelessRecipe is\n          * correctly crafted.\n          *\n          * @param result The result\n          * @return fluent interface\n          */\n-        Builder addResult(ItemStack result);\n+        Builder result(ItemStack result);","path":"src/main/java/org/spongepowered/api/item/recipe/ShapelessRecipe.java","position":28,"original_position":28,"commit_id":"e48359bbc471d5d385de29bf05df6f3c43b6642c","original_commit_id":"e48359bbc471d5d385de29bf05df6f3c43b6642c","user":{"login":"simon816","id":1497508,"avatar_url":"https://avatars.githubusercontent.com/u/1497508?v=3","gravatar_id":"","url":"https://api.github.com/users/simon816","html_url":"https://github.com/simon816","followers_url":"https://api.github.com/users/simon816/followers","following_url":"https://api.github.com/users/simon816/following{/other_user}","gists_url":"https://api.github.com/users/simon816/gists{/gist_id}","starred_url":"https://api.github.com/users/simon816/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simon816/subscriptions","organizations_url":"https://api.github.com/users/simon816/orgs","repos_url":"https://api.github.com/users/simon816/repos","events_url":"https://api.github.com/users/simon816/events{/privacy}","received_events_url":"https://api.github.com/users/simon816/received_events","type":"User","site_admin":false},"body":"Should be varargs","created_at":"2016-02-24T14:51:50Z","updated_at":"2016-02-24T14:51:50Z","html_url":"https://github.com/SpongePowered/SpongeAPI/pull/1098#discussion_r53948587","pull_request_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/1098","_links":{"self":{"href":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/comments/53948587"},"html":{"href":"https://github.com/SpongePowered/SpongeAPI/pull/1098#discussion_r53948587"},"pull_request":{"href":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/1098"}}},"pull_request":{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/1098","id":60500989,"html_url":"https://github.com/SpongePowered/SpongeAPI/pull/1098","diff_url":"https://github.com/SpongePowered/SpongeAPI/pull/1098.diff","patch_url":"https://github.com/SpongePowered/SpongeAPI/pull/1098.patch","issue_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/1098","number":1098,"state":"open","locked":false,"title":"Use an aisle instead of x,y with ShapedRecipe","user":{"login":"kashike","id":5474071,"avatar_url":"https://avatars.githubusercontent.com/u/5474071?v=3","gravatar_id":"","url":"https://api.github.com/users/kashike","html_url":"https://github.com/kashike","followers_url":"https://api.github.com/users/kashike/followers","following_url":"https://api.github.com/users/kashike/following{/other_user}","gists_url":"https://api.github.com/users/kashike/gists{/gist_id}","starred_url":"https://api.github.com/users/kashike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kashike/subscriptions","organizations_url":"https://api.github.com/users/kashike/orgs","repos_url":"https://api.github.com/users/kashike/repos","events_url":"https://api.github.com/users/kashike/events{/privacy}","received_events_url":"https://api.github.com/users/kashike/received_events","type":"User","site_admin":false},"body":"Resolves https://github.com/SpongePowered/SpongeAPI/issues/1028\r\n\r\nThis PR changes `ShapedRecipe` (and `ShapedRecipe.Builder`) from using an x and y `int`-based system to an aisle-based system, with `char` being used to get/set ingredients.\r\nThis also changes `Recipe`, `ShapedRecipe`, and `ShapelessRecipe` to have a single result.\r\n\r\nExample usage:\r\n![sugar](https://miserable.ninja/i/Njg0O.png)\r\n```java\r\n/*\r\n * 1 x 1\r\n *\r\n * ---------\r\n * | REEDS |\r\n * ---------\r\n */\r\n// Re-create the sugar recipe\r\nShapedRecipe.builder()\r\n    .aisle(\r\n        \"#\"\r\n    )\r\n    .where('#', ItemStack.builder().itemType(ItemTypes.REEDS).build())\r\n    .result(ItemStack.builder().itemType(ItemTypes.SUGAR).build())\r\n    .build();\r\n```\r\n___\r\n![lever](https://miserable.ninja/i/ZmFmM.png)\r\n```java\r\n/*\r\n * 2 x 1\r\n *\r\n * ---------------\r\n * |    STICK    |\r\n * ---------------\r\n * | COBBLESTONE |\r\n * ---------------\r\n */\r\n// Re-create the lever recipe\r\nShapedRecipe.builder()\r\n    .aisle(\r\n        \"X\",\r\n        \"#\"\r\n    )\r\n    .where('X', ItemStack.builder().itemType(ItemTypes.STICK).build())\r\n    .where('#', ItemStack.builder().itemType(ItemTypes.COBBLESTONE).build())\r\n    .result(ItemStack.builder().itemType(ItemTypes.LEVER).build())\r\n    .build();\r\n```\r\n___\r\n![ladders](https://miserable.ninja/i/ODRmN.png)\r\n```java\r\n/*\r\n * 3 x 3\r\n *\r\n * -------------------------\r\n * | STICK |       | STICK |\r\n * -------------------------\r\n * | STICK | STICK | STICK |\r\n * -------------------------\r\n * | STICK |       | STICK |\r\n * -------------------------\r\n */\r\n// Re-create the ladder recipe\r\nShapedRecipe.builder()\r\n    .aisle(\r\n        \"# #\",\r\n        \"###\",\r\n        \"# #\"\r\n    )\r\n    .where('#', ItemStack.builder().itemType(ItemTypes.STICK).build())\r\n    .result(ItemStack.builder().itemType(ItemTypes.LADDER).quantity(3).build())\r\n    .build();\r\n```\r\n___\r\n![bedrock](https://miserable.ninja/i/Y2FjN.png)\r\n```java\r\n/*\r\n * 3 x 3\r\n *\r\n * ---------------------\r\n * | BED |  BED  | BED |\r\n * ---------------------\r\n * | BED | STONE | BED |\r\n * ---------------------\r\n * | BED |  BED  | BED |\r\n * ---------------------\r\n */\r\nShapedRecipe.builder()\r\n    .aisle(\r\n        \"BBB\",\r\n        \"BRB\",\r\n        \"BBB\"\r\n    )\r\n    .where('B', ItemStack.builder().itemType(ItemTypes.BED).build())\r\n    .where('R', ItemStack.builder().itemType(ItemTypes.STONE).build())\r\n    .result(ItemStack.builder().itemType(ItemTypes.BEDROCK).build())\r\n    .build();\r\n```","created_at":"2016-02-24T12:27:02Z","updated_at":"2016-02-24T14:51:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3bdb0fb6738b04756f24e420a8def6258d27226a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/1098/commits","review_comments_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/1098/comments","review_comment_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/1098/comments","statuses_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/statuses/e48359bbc471d5d385de29bf05df6f3c43b6642c","head":{"label":"kashike:feature/recipe","ref":"feature/recipe","sha":"e48359bbc471d5d385de29bf05df6f3c43b6642c","user":{"login":"kashike","id":5474071,"avatar_url":"https://avatars.githubusercontent.com/u/5474071?v=3","gravatar_id":"","url":"https://api.github.com/users/kashike","html_url":"https://github.com/kashike","followers_url":"https://api.github.com/users/kashike/followers","following_url":"https://api.github.com/users/kashike/following{/other_user}","gists_url":"https://api.github.com/users/kashike/gists{/gist_id}","starred_url":"https://api.github.com/users/kashike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kashike/subscriptions","organizations_url":"https://api.github.com/users/kashike/orgs","repos_url":"https://api.github.com/users/kashike/repos","events_url":"https://api.github.com/users/kashike/events{/privacy}","received_events_url":"https://api.github.com/users/kashike/received_events","type":"User","site_admin":false},"repo":{"id":38179414,"name":"SpongeAPI","full_name":"kashike/SpongeAPI","owner":{"login":"kashike","id":5474071,"avatar_url":"https://avatars.githubusercontent.com/u/5474071?v=3","gravatar_id":"","url":"https://api.github.com/users/kashike","html_url":"https://github.com/kashike","followers_url":"https://api.github.com/users/kashike/followers","following_url":"https://api.github.com/users/kashike/following{/other_user}","gists_url":"https://api.github.com/users/kashike/gists{/gist_id}","starred_url":"https://api.github.com/users/kashike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kashike/subscriptions","organizations_url":"https://api.github.com/users/kashike/orgs","repos_url":"https://api.github.com/users/kashike/repos","events_url":"https://api.github.com/users/kashike/events{/privacy}","received_events_url":"https://api.github.com/users/kashike/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kashike/SpongeAPI","description":"A Minecraft plugin API","fork":true,"url":"https://api.github.com/repos/kashike/SpongeAPI","forks_url":"https://api.github.com/repos/kashike/SpongeAPI/forks","keys_url":"https://api.github.com/repos/kashike/SpongeAPI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kashike/SpongeAPI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kashike/SpongeAPI/teams","hooks_url":"https://api.github.com/repos/kashike/SpongeAPI/hooks","issue_events_url":"https://api.github.com/repos/kashike/SpongeAPI/issues/events{/number}","events_url":"https://api.github.com/repos/kashike/SpongeAPI/events","assignees_url":"https://api.github.com/repos/kashike/SpongeAPI/assignees{/user}","branches_url":"https://api.github.com/repos/kashike/SpongeAPI/branches{/branch}","tags_url":"https://api.github.com/repos/kashike/SpongeAPI/tags","blobs_url":"https://api.github.com/repos/kashike/SpongeAPI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kashike/SpongeAPI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kashike/SpongeAPI/git/refs{/sha}","trees_url":"https://api.github.com/repos/kashike/SpongeAPI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kashike/SpongeAPI/statuses/{sha}","languages_url":"https://api.github.com/repos/kashike/SpongeAPI/languages","stargazers_url":"https://api.github.com/repos/kashike/SpongeAPI/stargazers","contributors_url":"https://api.github.com/repos/kashike/SpongeAPI/contributors","subscribers_url":"https://api.github.com/repos/kashike/SpongeAPI/subscribers","subscription_url":"https://api.github.com/repos/kashike/SpongeAPI/subscription","commits_url":"https://api.github.com/repos/kashike/SpongeAPI/commits{/sha}","git_commits_url":"https://api.github.com/repos/kashike/SpongeAPI/git/commits{/sha}","comments_url":"https://api.github.com/repos/kashike/SpongeAPI/comments{/number}","issue_comment_url":"https://api.github.com/repos/kashike/SpongeAPI/issues/comments{/number}","contents_url":"https://api.github.com/repos/kashike/SpongeAPI/contents/{+path}","compare_url":"https://api.github.com/repos/kashike/SpongeAPI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kashike/SpongeAPI/merges","archive_url":"https://api.github.com/repos/kashike/SpongeAPI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kashike/SpongeAPI/downloads","issues_url":"https://api.github.com/repos/kashike/SpongeAPI/issues{/number}","pulls_url":"https://api.github.com/repos/kashike/SpongeAPI/pulls{/number}","milestones_url":"https://api.github.com/repos/kashike/SpongeAPI/milestones{/number}","notifications_url":"https://api.github.com/repos/kashike/SpongeAPI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kashike/SpongeAPI/labels{/name}","releases_url":"https://api.github.com/repos/kashike/SpongeAPI/releases{/id}","deployments_url":"https://api.github.com/repos/kashike/SpongeAPI/deployments","created_at":"2015-06-27T23:40:23Z","updated_at":"2016-01-12T01:35:53Z","pushed_at":"2016-02-24T14:50:36Z","git_url":"git://github.com/kashike/SpongeAPI.git","ssh_url":"git@github.com:kashike/SpongeAPI.git","clone_url":"https://github.com/kashike/SpongeAPI.git","svn_url":"https://github.com/kashike/SpongeAPI","homepage":"http://www.spongepowered.org/","size":11773,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SpongePowered:bleeding","ref":"bleeding","sha":"f7c93a8afde3229b3e9215619e80127752f8fc65","user":{"login":"SpongePowered","id":8683473,"avatar_url":"https://avatars.githubusercontent.com/u/8683473?v=3","gravatar_id":"","url":"https://api.github.com/users/SpongePowered","html_url":"https://github.com/SpongePowered","followers_url":"https://api.github.com/users/SpongePowered/followers","following_url":"https://api.github.com/users/SpongePowered/following{/other_user}","gists_url":"https://api.github.com/users/SpongePowered/gists{/gist_id}","starred_url":"https://api.github.com/users/SpongePowered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpongePowered/subscriptions","organizations_url":"https://api.github.com/users/SpongePowered/orgs","repos_url":"https://api.github.com/users/SpongePowered/repos","events_url":"https://api.github.com/users/SpongePowered/events{/privacy}","received_events_url":"https://api.github.com/users/SpongePowered/received_events","type":"Organization","site_admin":false},"repo":{"id":23770421,"name":"SpongeAPI","full_name":"SpongePowered/SpongeAPI","owner":{"login":"SpongePowered","id":8683473,"avatar_url":"https://avatars.githubusercontent.com/u/8683473?v=3","gravatar_id":"","url":"https://api.github.com/users/SpongePowered","html_url":"https://github.com/SpongePowered","followers_url":"https://api.github.com/users/SpongePowered/followers","following_url":"https://api.github.com/users/SpongePowered/following{/other_user}","gists_url":"https://api.github.com/users/SpongePowered/gists{/gist_id}","starred_url":"https://api.github.com/users/SpongePowered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpongePowered/subscriptions","organizations_url":"https://api.github.com/users/SpongePowered/orgs","repos_url":"https://api.github.com/users/SpongePowered/repos","events_url":"https://api.github.com/users/SpongePowered/events{/privacy}","received_events_url":"https://api.github.com/users/SpongePowered/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SpongePowered/SpongeAPI","description":"A Minecraft plugin API","fork":false,"url":"https://api.github.com/repos/SpongePowered/SpongeAPI","forks_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/forks","keys_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/teams","hooks_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/hooks","issue_events_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/events{/number}","events_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/events","assignees_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/assignees{/user}","branches_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/branches{/branch}","tags_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/tags","blobs_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/git/refs{/sha}","trees_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/statuses/{sha}","languages_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/languages","stargazers_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/stargazers","contributors_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/contributors","subscribers_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/subscribers","subscription_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/subscription","commits_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/commits{/sha}","git_commits_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/git/commits{/sha}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/comments{/number}","issue_comment_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/comments{/number}","contents_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/contents/{+path}","compare_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/merges","archive_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/downloads","issues_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues{/number}","pulls_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls{/number}","milestones_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/milestones{/number}","notifications_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/labels{/name}","releases_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/releases{/id}","deployments_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/deployments","created_at":"2014-09-07T20:39:25Z","updated_at":"2016-02-19T12:39:33Z","pushed_at":"2016-02-24T14:50:38Z","git_url":"git://github.com/SpongePowered/SpongeAPI.git","ssh_url":"git@github.com:SpongePowered/SpongeAPI.git","clone_url":"https://github.com/SpongePowered/SpongeAPI.git","svn_url":"https://github.com/SpongePowered/SpongeAPI","homepage":"http://www.spongepowered.org/","size":21172,"stargazers_count":840,"watchers_count":840,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":347,"mirror_url":null,"open_issues_count":128,"forks":347,"open_issues":128,"watchers":840,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/1098"},"html":{"href":"https://github.com/SpongePowered/SpongeAPI/pull/1098"},"issue":{"href":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/1098"},"comments":{"href":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/1098/comments"},"review_comments":{"href":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/1098/comments"},"review_comment":{"href":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/1098/commits"},"statuses":{"href":"https://api.github.com/repos/SpongePowered/SpongeAPI/statuses/e48359bbc471d5d385de29bf05df6f3c43b6642c"}}}}