Fix `Create` 1.21.1 compatibility
- Updated
resultfield format to match the 1.21-introduced one withidinstead ofitem.
Fixes these errors:
...
[Render thread/ERROR] [net.minecraft.world.item.crafting.RecipeManager/]: Parsing error loading recipe create:crushing/sculk_stone_diamond_ore: com.google.gson.JsonParseException: Failed to parse either. First: No key amount in MapLike[{"chance":0.125,"item":"deeperdarker:cobbled_sculk_stone"}]; No key id in MapLike[{"chance":0.125,"item":"deeperdarker:cobbled_sculk_stone"}]; Second: Failed to parse either. First: No key id in MapLike[{"chance":0.125,"item":"deeperdarker:cobbled_sculk_stone"}]; Second: Failed to parse either. First: Not a JSON object: "deeperdarker:cobbled_sculk_stone"; Second: Compat cannot be deserialized; Failed to parse either. First: No key amount in MapLike[{"item":"create:experience_nugget"}]; No key id in MapLike[{"item":"create:experience_nugget"}]; Second: Failed to parse either. First: No key id in MapLike[{"item":"create:experience_nugget"}]; Second: Failed to parse either. First: Not a JSON object: "create:experience_nugget"; Second: Compat cannot be deserialized; Failed to parse either. First: No key amount in MapLike[{"chance":0.25,"item":"minecraft:diamond"}]; No key id in MapLike[{"chance":0.25,"item":"minecraft:diamond"}]; Second: Failed to parse either. First: No key id in MapLike[{"chance":0.25,"item":"minecraft:diamond"}]; Second: Failed to parse either. First: Not a JSON object: "minecraft:diamond"; Second: Compat cannot be deserialized; Failed to parse either. First: No key amount in MapLike[{"count":3,"item":"minecraft:diamond"}]; No key id in MapLike[{"count":3,"item":"minecraft:diamond"}]; Second: Failed to parse either. First: No key id in MapLike[{"count":3,"item":"minecraft:diamond"}]; Second: Failed to parse either. First: Not a JSON object: "minecraft:diamond"; Second: Compat cannot be deserialized
...
[Render thread/ERROR] [net.minecraft.world.item.crafting.RecipeManager/]: Parsing error loading recipe create:cutting/echo_log: com.google.gson.JsonParseException: Failed to parse either. First: No key amount in MapLike[{"item":"deeperdarker:stripped_echo_log"}]; No key id in MapLike[{"item":"deeperdarker:stripped_echo_log"}]; Second: Failed to parse either. First: No key id in MapLike[{"item":"deeperdarker:stripped_echo_log"}]; Second: Failed to parse either. First: Not a JSON object: "deeperdarker:stripped_echo_log"; Second: Compat cannot be deserialized
...
~Idk why it shows that I've made 576 deletions and 576 additions.~ ~Maybe because I have Windows and I've uploaded the files through a website.~
I think, we need the changings here and also from https://github.com/KyaniteMods/DeeperAndDarker/pull/449, because the path is also false where the issues are
Do you want me to move these recipes to /data/deeperdarker/recipes/create/crushing/?
I noticed that the paths are in the Create namespace for some reason, but I suggested that the author of the mod decide this himself.
Oh, your PR for the Fabric version. In this case, should I leave it to the author of the mod to pull the changes to the NeoForge 1.21 branch when my changes are merged?
I moved all Create recipes to a subfolder in deeperdarker/recipe/.