{"action":"created","issue":{"url":"https://api.github.com/repos/ReikaKalseki/Reika_Mods_Issues/issues/674","repository_url":"https://api.github.com/repos/ReikaKalseki/Reika_Mods_Issues","labels_url":"https://api.github.com/repos/ReikaKalseki/Reika_Mods_Issues/issues/674/labels{/name}","comments_url":"https://api.github.com/repos/ReikaKalseki/Reika_Mods_Issues/issues/674/comments","events_url":"https://api.github.com/repos/ReikaKalseki/Reika_Mods_Issues/issues/674/events","html_url":"https://github.com/ReikaKalseki/Reika_Mods_Issues/issues/674","id":138718370,"number":674,"title":"DragonAPI v11b removes valid recipes for previously-invalid items.","user":{"login":"Haggle1996","id":11808184,"avatar_url":"https://avatars.githubusercontent.com/u/11808184?v=3","gravatar_id":"","url":"https://api.github.com/users/Haggle1996","html_url":"https://github.com/Haggle1996","followers_url":"https://api.github.com/users/Haggle1996/followers","following_url":"https://api.github.com/users/Haggle1996/following{/other_user}","gists_url":"https://api.github.com/users/Haggle1996/gists{/gist_id}","starred_url":"https://api.github.com/users/Haggle1996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Haggle1996/subscriptions","organizations_url":"https://api.github.com/users/Haggle1996/orgs","repos_url":"https://api.github.com/users/Haggle1996/repos","events_url":"https://api.github.com/users/Haggle1996/events{/privacy}","received_events_url":"https://api.github.com/users/Haggle1996/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-05T20:37:40Z","updated_at":"2016-03-06T20:54:10Z","closed_at":null,"body":"DragonAPI v11 removes items with nulled inputs during startup. This is great and the log helps. However, upon adding a valid crafting recipe for the item using Minetweaker, DragonAPI continues to remove the item. For example, the Apiarist's Chest in Forestry has a null input stack. Adding this line of minetweaker script should add a valid recipe for it:\r\n\r\n```\r\nrecipes.remove(<Forestry:apicultureChest>);\r\nrecipes.addShaped(<Forestry:apicultureChest>, [[null,<ore:blockGlass>,null],[<ore:beeComb>,<ore:chest>,<ore:beeComb>],[<ore:beeComb>,<ore:beeComb>,<ore:beeComb>]]);\r\n```\r\n\r\nHowever, loading the script results in this output in the console:\r\n```\r\n[05/3/2016 13:27:30 PM] [Server thread/INFO] [STDOUT]: [minetweaker.runtime.MTTweaker:load:158]: MineTweaker: Loading Forestry.zs\r\n[05/3/2016 13:27:30 PM] [Server thread/INFO] [FML]: DRAGONAPI: Invalid recipe, such as with nulled inputs, found. Removing to prevent crashes.\r\n```\r\n\r\nI know there's some other issues with Forestry items (per the reddit thread); I don't know if DragonAPI is also filtering these items because of those issues. If so, DragonAPI should note with an alternate message that the item is invalid, versus just the recipe.\r\n\r\nEDIT: To clarify, this only affects previously-erroring recipes. The null stack in the recipe above is used elsewhere and DragonAPI does not remove those recipes. "},"comment":{"url":"https://api.github.com/repos/ReikaKalseki/Reika_Mods_Issues/issues/comments/192989865","html_url":"https://github.com/ReikaKalseki/Reika_Mods_Issues/issues/674#issuecomment-192989865","issue_url":"https://api.github.com/repos/ReikaKalseki/Reika_Mods_Issues/issues/674","id":192989865,"user":{"login":"ReikaKalseki","id":3230328,"avatar_url":"https://avatars.githubusercontent.com/u/3230328?v=3","gravatar_id":"","url":"https://api.github.com/users/ReikaKalseki","html_url":"https://github.com/ReikaKalseki","followers_url":"https://api.github.com/users/ReikaKalseki/followers","following_url":"https://api.github.com/users/ReikaKalseki/following{/other_user}","gists_url":"https://api.github.com/users/ReikaKalseki/gists{/gist_id}","starred_url":"https://api.github.com/users/ReikaKalseki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReikaKalseki/subscriptions","organizations_url":"https://api.github.com/users/ReikaKalseki/orgs","repos_url":"https://api.github.com/users/ReikaKalseki/repos","events_url":"https://api.github.com/users/ReikaKalseki/events{/privacy}","received_events_url":"https://api.github.com/users/ReikaKalseki/received_events","type":"User","site_admin":false},"created_at":"2016-03-06T20:54:10Z","updated_at":"2016-03-06T20:54:10Z","body":"There is no way to find the mod that created it. I do print the recipe class, but if it is a vanilla/Forge ShapedRecipes or ShapedOreRecip (or the shapeless counterparts) that provides nothing useful."}}