{"action":"created","issue":{"url":"https://api.github.com/repos/SvenKayser/JMOD/issues/10","repository_url":"https://api.github.com/repos/SvenKayser/JMOD","labels_url":"https://api.github.com/repos/SvenKayser/JMOD/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/SvenKayser/JMOD/issues/10/comments","events_url":"https://api.github.com/repos/SvenKayser/JMOD/issues/10/events","html_url":"https://github.com/SvenKayser/JMOD/pull/10","id":157316103,"number":10,"title":"Support for AppleCore ModifyFoodValue Function","user":{"login":"nmarshall23","id":1574654,"avatar_url":"https://avatars.githubusercontent.com/u/1574654?v=3","gravatar_id":"","url":"https://api.github.com/users/nmarshall23","html_url":"https://github.com/nmarshall23","followers_url":"https://api.github.com/users/nmarshall23/followers","following_url":"https://api.github.com/users/nmarshall23/following{/other_user}","gists_url":"https://api.github.com/users/nmarshall23/gists{/gist_id}","starred_url":"https://api.github.com/users/nmarshall23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmarshall23/subscriptions","organizations_url":"https://api.github.com/users/nmarshall23/orgs","repos_url":"https://api.github.com/users/nmarshall23/repos","events_url":"https://api.github.com/users/nmarshall23/events{/privacy}","received_events_url":"https://api.github.com/users/nmarshall23/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/SvenKayser/JMOD/milestones/1","html_url":"https://github.com/SvenKayser/JMOD/milestones/v1.0.6","labels_url":"https://api.github.com/repos/SvenKayser/JMOD/milestones/1/labels","id":2061350,"number":1,"title":"v1.0.6","description":"","creator":{"login":"SvenKayser","id":21170287,"avatar_url":"https://avatars.githubusercontent.com/u/21170287?v=3","gravatar_id":"","url":"https://api.github.com/users/SvenKayser","html_url":"https://github.com/SvenKayser","followers_url":"https://api.github.com/users/SvenKayser/followers","following_url":"https://api.github.com/users/SvenKayser/following{/other_user}","gists_url":"https://api.github.com/users/SvenKayser/gists{/gist_id}","starred_url":"https://api.github.com/users/SvenKayser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvenKayser/subscriptions","organizations_url":"https://api.github.com/users/SvenKayser/orgs","repos_url":"https://api.github.com/users/SvenKayser/repos","events_url":"https://api.github.com/users/SvenKayser/events{/privacy}","received_events_url":"https://api.github.com/users/SvenKayser/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":1,"state":"open","created_at":"2016-10-11T06:59:59Z","updated_at":"2016-10-12T08:10:35Z","due_on":"2016-10-29T00:00:00Z","closed_at":null},"comments":5,"created_at":"2016-05-28T02:25:27Z","updated_at":"2016-10-12T18:34:20Z","closed_at":"2016-10-12T08:10:35Z","pull_request":{"url":"https://api.github.com/repos/SvenKayser/JMOD/pulls/10","html_url":"https://github.com/SvenKayser/JMOD/pull/10","diff_url":"https://github.com/SvenKayser/JMOD/pull/10.diff","patch_url":"https://github.com/SvenKayser/JMOD/pull/10.patch"},"body":"This Pull Request adds a new function to script modifications to food values.\r\n\r\nFor example:\r\n`Applcore.modifyFoodValue(\"minecraft:carrot\", 10, 0.5);`\r\n\r\nWould set carrots to restore 10 hunger and 5 Saturation. \r\n\r\nAlso if HungerOverhaul is loaded sends it a [IMC](https://github.com/progwml6/HungerOverhaul/wiki) so it doesn't over write any modifications to food values.\r\n"},"comment":{"url":"https://api.github.com/repos/SvenKayser/JMOD/issues/comments/253299080","html_url":"https://github.com/SvenKayser/JMOD/pull/10#issuecomment-253299080","issue_url":"https://api.github.com/repos/SvenKayser/JMOD/issues/10","id":253299080,"user":{"login":"nmarshall23","id":1574654,"avatar_url":"https://avatars.githubusercontent.com/u/1574654?v=3","gravatar_id":"","url":"https://api.github.com/users/nmarshall23","html_url":"https://github.com/nmarshall23","followers_url":"https://api.github.com/users/nmarshall23/followers","following_url":"https://api.github.com/users/nmarshall23/following{/other_user}","gists_url":"https://api.github.com/users/nmarshall23/gists{/gist_id}","starred_url":"https://api.github.com/users/nmarshall23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmarshall23/subscriptions","organizations_url":"https://api.github.com/users/nmarshall23/orgs","repos_url":"https://api.github.com/users/nmarshall23/repos","events_url":"https://api.github.com/users/nmarshall23/events{/privacy}","received_events_url":"https://api.github.com/users/nmarshall23/received_events","type":"User","site_admin":false},"created_at":"2016-10-12T18:34:20Z","updated_at":"2016-10-12T18:34:20Z","body":"> Why would it be desirable to modify just created food?\r\n\r\nSorry I wasn't clear. I want to have both a function that let's me set the correct food values for foods from external mods.\r\nAlso I want to have this function used automatically on food created by JMOD. It's kind of clunky to create a food then set the white listing. \r\n\r\nHowever I didn't see an extension point for build-in functions.\r\n\r\n"}}
{"actor":{"display_login":"nmarshall23"}}