I just downloaded this mod, I read all of the instructions and I believe I am following them but when I press space (which I checked and is still mapped to spacebar) with the item selected (a sprinkler) nothing happens.. So I tried mapping it to Q, still nothing. Please help :/
Some items can't be decrafted for some reason. Maybe sprinkler is one of them, dunno. I used another similar mod (even together with this one, they don't mind each other) and some items couldn't be decrafted by either method (I was trying with some rings, that I crafted myself, so should have registered recipe, I guess, but no luck there). Try some easy items first to see if the mod works, it does uncraft fences with no issues, even that field snack gets decomposed into it's 3 ingredients.
Hello, recently I have these errors I was running with no errors now started these errors ..
[Mod Decrafting] Este mod falhou no evento Input.ButtonPressed. Detalhes técnicos: System.NullReferenceException: Referência de objeto não definida para uma instância de um objeto. em DecraftingModCS.CraftableItem.Equal (item item) na D: \ Developer \ Projects \ Visual Studio 2019 \ DecraftingModCS \ DecraftingModCS \ CraftableItem.cs: linha 27 em DecraftingModCS.ModEntry.OnPress (Object Sender, ButtonPressedEventArgs args) na D: \ Projects \ Visual Studio 2019 \ DecraftingModCS \ DecraftingModCS \ ModEntry.cs: linha 68 em StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise (TEventArgs args, Func`2 match) na C: \ source \ _Stardew \ SMAPI \ src \ SMAPI \ Framework \ Events \ ManagedEvent.cs: linha 125
Hi! Can you put the source code on GitHub instead of having a download here? See open source on the wiki for more info.
That lets other modders contribute fixes and improvements, lets you add a code license, and means the code will be available for automated analysis (e.g. I would have submitted an update for SMAPI 3.0 before it released).
Sorry for late response, the mod currently only recognizes crafting recipes that mods register as "Vanilla Recipes" due to technical limitations. I will try to fix that if any new recipes APIs are added to SMAPI. Sorry for the issue, again.
I'm having trouble getting this to work. Should I be holding the object? Do I need to press the keybind before or after? You don't really have any instructions here.
Highlight the item you wish to decraft and press the button to which the decraft function is mapped. Default button is space. I'm currently investigating how to decraft modded recipes, as I believe by default this mod only recognizes vanilla ones.
17 comments
Try some easy items first to see if the mod works, it does uncraft fences with no issues, even that field snack gets decomposed into it's 3 ingredients.
Works great on 1.5 (space bar)
[Mod Decrafting] Este mod falhou no evento Input.ButtonPressed. Detalhes técnicos:
System.NullReferenceException: Referência de objeto não definida para uma instância de um objeto.
em DecraftingModCS.CraftableItem.Equal (item item) na D: \ Developer \ Projects \ Visual Studio 2019 \ DecraftingModCS \ DecraftingModCS \ CraftableItem.cs: linha 27
em DecraftingModCS.ModEntry.OnPress (Object Sender, ButtonPressedEventArgs args) na D: \ Projects \ Visual Studio 2019 \ DecraftingModCS \ DecraftingModCS \ ModEntry.cs: linha 68
em StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise (TEventArgs args, Func`2 match) na C: \ source \ _Stardew \ SMAPI \ src \ SMAPI \ Framework \ Events \ ManagedEvent.cs: linha 125
That lets other modders contribute fixes and improvements, lets you add a code license, and means the code will be available for automated analysis (e.g. I would have submitted an update for SMAPI 3.0 before it released).
On a positive note, I am so happy to have this mod working again! *does happy dance*
I will try to fix that if any new recipes APIs are added to SMAPI.
Sorry for the issue, again.