From 7fd9c103fcf01f5f0c9cdde0e827a90eebe8296a Mon Sep 17 00:00:00 2001 From: Mrbysco Date: Wed, 23 Oct 2024 16:15:12 +0200 Subject: [PATCH] Change itemstack codec used by LaserRecipe --- .../7f59a03675256e210e43fea84b89db21b9eccf0d | 54 +++++++++---------- .../laser/crystalize_diamatine_crystal.json | 1 - .../crystalize_diamatine_crystal_block.json | 1 - .../laser/crystalize_emeradic_crystal.json | 1 - .../crystalize_emeradic_crystal_block.json | 1 - .../laser/crystalize_enori_crystal.json | 1 - .../laser/crystalize_enori_crystal_block.json | 1 - .../laser/crystalize_palis_crystal.json | 1 - .../laser/crystalize_palis_crystal_block.json | 1 - .../laser/crystalize_restonia_crystal.json | 1 - .../crystalize_restonia_crystal_block.json | 1 - .../recipe/laser/crystalize_void_crystal.json | 1 - .../laser/crystalize_void_crystal_block.json | 1 - .../laser/crystallized_canola_seed.json | 1 - .../recipe/laser/ethetic_green_block.json | 1 - .../recipe/laser/ethetic_white_block.json | 1 - .../recipe/laser/laser_relay.json | 1 - .../recipe/laser/laser_relay_fluids.json | 1 - .../recipe/laser/laser_relay_item.json | 1 - .../recipe/laser/leather.json | 1 - .../actuallyadditions/recipe/laser/lens.json | 1 - .../recipe/laser/lens_of_certain_death.json | 1 - .../recipe/laser/lens_of_color.json | 1 - .../recipe/laser/lens_of_detonation.json | 1 - .../recipe/laser/nether_wart.json | 1 - .../recipe/laser/prismarine_shard.json | 1 - .../recipe/laser/soul_sand.json | 1 - .../mod/crafting/LaserRecipe.java | 2 +- 28 files changed, 28 insertions(+), 54 deletions(-) diff --git a/src/generated/resources/.cache/7f59a03675256e210e43fea84b89db21b9eccf0d b/src/generated/resources/.cache/7f59a03675256e210e43fea84b89db21b9eccf0d index 7e1a0ff1c..bb4243e15 100644 --- a/src/generated/resources/.cache/7f59a03675256e210e43fea84b89db21b9eccf0d +++ b/src/generated/resources/.cache/7f59a03675256e210e43fea84b89db21b9eccf0d @@ -1,27 +1,27 @@ -// 1.21.1 2024-08-11T19:30:01.8293196 Laser Recipes -87241b118b814a391cbd863725adc11c133c0edc data/actuallyadditions/recipe/laser/crystalize_diamatine_crystal.json -754057c5a9afa9cf459ea90aaa5d909659d09b6a data/actuallyadditions/recipe/laser/crystalize_diamatine_crystal_block.json -590455ccbd96125c5d3a1d7e536cb71d219d91e9 data/actuallyadditions/recipe/laser/crystalize_emeradic_crystal.json -a727d81ff626e2f802654624b42e77a89b4f0e33 data/actuallyadditions/recipe/laser/crystalize_emeradic_crystal_block.json -6376e12087f78f041eb1f90147a016e382a383cf data/actuallyadditions/recipe/laser/crystalize_enori_crystal.json -e99076bbc74cab8baff64a91820188269bc6cd87 data/actuallyadditions/recipe/laser/crystalize_enori_crystal_block.json -89a8a53297e655fc0e0221ba97a5add18b335b0d data/actuallyadditions/recipe/laser/crystalize_palis_crystal.json -a32bca31753c71aa543df5c7a3147eadc1e78e45 data/actuallyadditions/recipe/laser/crystalize_palis_crystal_block.json -ca4fbcf92b3b3699cbd3cf1283884b426669df97 data/actuallyadditions/recipe/laser/crystalize_restonia_crystal.json -4729a2a3b8dbe6902d9fcebd0ac3905d044d483b data/actuallyadditions/recipe/laser/crystalize_restonia_crystal_block.json -b584add4655acb280bc24616b6ba1b1dd9d0b38b data/actuallyadditions/recipe/laser/crystalize_void_crystal.json -b2621aa91fdeebf9705b70fa4f01d4262096cba0 data/actuallyadditions/recipe/laser/crystalize_void_crystal_block.json -938bed9bceca162d173b6d4542e0dbd0366a4c49 data/actuallyadditions/recipe/laser/crystallized_canola_seed.json -736cf4b8226cb183a0bd651a1c28022c9acb3e52 data/actuallyadditions/recipe/laser/ethetic_green_block.json -9a44c080089e6b5e4b600da68c3fc972dcf6aa15 data/actuallyadditions/recipe/laser/ethetic_white_block.json -fd38a9081daa8646ef55f9ec25fd5b5e0a09255f data/actuallyadditions/recipe/laser/laser_relay.json -48c18a5791f50cc6f3b76660f8aac1bccabdf62a data/actuallyadditions/recipe/laser/laser_relay_fluids.json -3c20b765f9915a6c9466421603f355dccdcfb10c data/actuallyadditions/recipe/laser/laser_relay_item.json -7cf00be05e1fbb4f4a2f5ce44a08926851a21ff6 data/actuallyadditions/recipe/laser/leather.json -b85dd37d5988db90e345b2c396a8308ffc4ad22c data/actuallyadditions/recipe/laser/lens.json -de281395e6ba0b996c829d7a75a8713d82ac1d33 data/actuallyadditions/recipe/laser/lens_of_certain_death.json -6466842a3a7029e055118f1353d16a57b3e89e6c data/actuallyadditions/recipe/laser/lens_of_color.json -e10b210e3be18fbd1d3906796db7c373f963a86e data/actuallyadditions/recipe/laser/lens_of_detonation.json -48cab5f063ece53dabd7ba86221d378945fe6521 data/actuallyadditions/recipe/laser/nether_wart.json -6967a51223fad6a390bf2cef5a0ec944eb35ca60 data/actuallyadditions/recipe/laser/prismarine_shard.json -f56877c79cc053b38ae7bd71aeda43a022cb80ee data/actuallyadditions/recipe/laser/soul_sand.json +// 1.21.1 2024-10-23T15:56:03.829867 Laser Recipes +87f1b80067bdc8e1b27db0a2ff657307323977f1 data/actuallyadditions/recipe/laser/crystalize_diamatine_crystal.json +c361631711c92f959cf875fca71fcef784daf6d0 data/actuallyadditions/recipe/laser/crystalize_diamatine_crystal_block.json +73dbbbbc20514868a236bcc972ac28254a69725f data/actuallyadditions/recipe/laser/crystalize_emeradic_crystal.json +ca6b06f1ab8a31d05fc48045468c18cc8d37e6e0 data/actuallyadditions/recipe/laser/crystalize_emeradic_crystal_block.json +138b2663ca3dad2604cd3ac06eb98e6758de20ce data/actuallyadditions/recipe/laser/crystalize_enori_crystal.json +4c753a1f1a3d1ec4fe78b61065ab0814eb4634cf data/actuallyadditions/recipe/laser/crystalize_enori_crystal_block.json +c5ac8b550b215e367f5bcef4fb939b3daee5d1b1 data/actuallyadditions/recipe/laser/crystalize_palis_crystal.json +730697a9f711d44cfbc54b1a714ccff8d6cff89a data/actuallyadditions/recipe/laser/crystalize_palis_crystal_block.json +2014fcb70fdb0a7341db4500ac2569b07109e390 data/actuallyadditions/recipe/laser/crystalize_restonia_crystal.json +a634db4bfd67fbc35695b43d1afc354b0d1a75f2 data/actuallyadditions/recipe/laser/crystalize_restonia_crystal_block.json +5b8f7571e086d5978c30593e03f24508aa34cbd4 data/actuallyadditions/recipe/laser/crystalize_void_crystal.json +1a0a43d0324d2dcd83df2812e107d22a44a9456f data/actuallyadditions/recipe/laser/crystalize_void_crystal_block.json +3ba5e2bc709c69f2d2ff4da0311d57a323b030f7 data/actuallyadditions/recipe/laser/crystallized_canola_seed.json +85804eeb251bec6d093e707f0e1a1e827a239120 data/actuallyadditions/recipe/laser/ethetic_green_block.json +a42879186a3a7547c7ae4fd98eb748d8460aab6f data/actuallyadditions/recipe/laser/ethetic_white_block.json +99be24a9d1f51b3078ad53133f7b2f552509b81a data/actuallyadditions/recipe/laser/laser_relay.json +5a952fe0eeb86bc841771bf879d93a1f43380256 data/actuallyadditions/recipe/laser/laser_relay_fluids.json +0b853a3847b99aedd81d1ac01fa506e185f1d4b8 data/actuallyadditions/recipe/laser/laser_relay_item.json +e7d05995bdf8c32df06a0a4bbb5d3dcad22ae01a data/actuallyadditions/recipe/laser/leather.json +b8c2185c315a1b7f2a68fb270906265e2473b085 data/actuallyadditions/recipe/laser/lens.json +1596045dcc44b6271c2819263716c83ceb6e6269 data/actuallyadditions/recipe/laser/lens_of_certain_death.json +60d5c4148dfea328117b51315286d9a9fbd8465a data/actuallyadditions/recipe/laser/lens_of_color.json +615c1450083fd9abef8e250298600701ee6437c6 data/actuallyadditions/recipe/laser/lens_of_detonation.json +682d595ee483c26bc20f35679d6928eb324acf6c data/actuallyadditions/recipe/laser/nether_wart.json +c5930335da1b996509e6e72c943549c347a0c5e3 data/actuallyadditions/recipe/laser/prismarine_shard.json +15580fc1b94dcebcf061a8936e72a491733bba04 data/actuallyadditions/recipe/laser/soul_sand.json diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_diamatine_crystal.json b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_diamatine_crystal.json index c0d7462f7..f97d076cd 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_diamatine_crystal.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_diamatine_crystal.json @@ -5,7 +5,6 @@ "tag": "c:gems/diamond" }, "result": { - "count": 1, "id": "actuallyadditions:diamatine_crystal" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_diamatine_crystal_block.json b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_diamatine_crystal_block.json index 3eaa86d0f..4469f194b 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_diamatine_crystal_block.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_diamatine_crystal_block.json @@ -5,7 +5,6 @@ "tag": "c:storage_blocks/diamond" }, "result": { - "count": 1, "id": "actuallyadditions:diamatine_crystal_block" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_emeradic_crystal.json b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_emeradic_crystal.json index 7a22e15e9..d32f67a88 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_emeradic_crystal.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_emeradic_crystal.json @@ -5,7 +5,6 @@ "tag": "c:gems/emerald" }, "result": { - "count": 1, "id": "actuallyadditions:emeradic_crystal" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_emeradic_crystal_block.json b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_emeradic_crystal_block.json index 773f71a57..a6d982ba2 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_emeradic_crystal_block.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_emeradic_crystal_block.json @@ -5,7 +5,6 @@ "tag": "c:storage_blocks/emerald" }, "result": { - "count": 1, "id": "actuallyadditions:emeradic_crystal_block" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_enori_crystal.json b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_enori_crystal.json index 4b6ccc949..7257114f3 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_enori_crystal.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_enori_crystal.json @@ -5,7 +5,6 @@ "tag": "c:ingots/iron" }, "result": { - "count": 1, "id": "actuallyadditions:enori_crystal" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_enori_crystal_block.json b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_enori_crystal_block.json index df9c342e3..071235cdf 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_enori_crystal_block.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_enori_crystal_block.json @@ -5,7 +5,6 @@ "tag": "c:storage_blocks/iron" }, "result": { - "count": 1, "id": "actuallyadditions:enori_crystal_block" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_palis_crystal.json b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_palis_crystal.json index 04e439a38..4cc9088cf 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_palis_crystal.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_palis_crystal.json @@ -5,7 +5,6 @@ "tag": "c:gems/lapis" }, "result": { - "count": 1, "id": "actuallyadditions:palis_crystal" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_palis_crystal_block.json b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_palis_crystal_block.json index c59d3d922..6ac3a23ec 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_palis_crystal_block.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_palis_crystal_block.json @@ -5,7 +5,6 @@ "tag": "c:storage_blocks/lapis" }, "result": { - "count": 1, "id": "actuallyadditions:palis_crystal_block" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_restonia_crystal.json b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_restonia_crystal.json index 1c0839010..538ff6045 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_restonia_crystal.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_restonia_crystal.json @@ -5,7 +5,6 @@ "tag": "c:dusts/redstone" }, "result": { - "count": 1, "id": "actuallyadditions:restonia_crystal" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_restonia_crystal_block.json b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_restonia_crystal_block.json index 77beb3168..17ffde80a 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_restonia_crystal_block.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_restonia_crystal_block.json @@ -5,7 +5,6 @@ "tag": "c:storage_blocks/redstone" }, "result": { - "count": 1, "id": "actuallyadditions:restonia_crystal_block" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_void_crystal.json b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_void_crystal.json index b45ddcceb..548c42af8 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_void_crystal.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_void_crystal.json @@ -5,7 +5,6 @@ "tag": "minecraft:coals" }, "result": { - "count": 1, "id": "actuallyadditions:void_crystal" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_void_crystal_block.json b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_void_crystal_block.json index eeb832af9..cdfb74432 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_void_crystal_block.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/crystalize_void_crystal_block.json @@ -5,7 +5,6 @@ "tag": "c:storage_blocks/coal" }, "result": { - "count": 1, "id": "actuallyadditions:void_crystal_block" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/crystallized_canola_seed.json b/src/generated/resources/data/actuallyadditions/recipe/laser/crystallized_canola_seed.json index a783e14c5..751eddece 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/crystallized_canola_seed.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/crystallized_canola_seed.json @@ -5,7 +5,6 @@ "item": "actuallyadditions:canola_seeds" }, "result": { - "count": 1, "id": "actuallyadditions:crystallized_canola_seed" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/ethetic_green_block.json b/src/generated/resources/data/actuallyadditions/recipe/laser/ethetic_green_block.json index 9c7450cdf..d49ebe7ee 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/ethetic_green_block.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/ethetic_green_block.json @@ -5,7 +5,6 @@ "item": "minecraft:chiseled_quartz_block" }, "result": { - "count": 1, "id": "actuallyadditions:ethetic_green_block" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/ethetic_white_block.json b/src/generated/resources/data/actuallyadditions/recipe/laser/ethetic_white_block.json index c1c231361..f63b1773c 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/ethetic_white_block.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/ethetic_white_block.json @@ -5,7 +5,6 @@ "item": "minecraft:quartz_block" }, "result": { - "count": 1, "id": "actuallyadditions:ethetic_white_block" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/laser_relay.json b/src/generated/resources/data/actuallyadditions/recipe/laser/laser_relay.json index 52f40e4f1..274f12dce 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/laser_relay.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/laser_relay.json @@ -5,7 +5,6 @@ "item": "actuallyadditions:laser_relay_item" }, "result": { - "count": 1, "id": "actuallyadditions:laser_relay" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/laser_relay_fluids.json b/src/generated/resources/data/actuallyadditions/recipe/laser/laser_relay_fluids.json index 89b555637..4fc6290cf 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/laser_relay_fluids.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/laser_relay_fluids.json @@ -5,7 +5,6 @@ "item": "actuallyadditions:laser_relay" }, "result": { - "count": 1, "id": "actuallyadditions:laser_relay_fluids" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/laser_relay_item.json b/src/generated/resources/data/actuallyadditions/recipe/laser/laser_relay_item.json index 727a2cba3..7ba00fe1d 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/laser_relay_item.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/laser_relay_item.json @@ -5,7 +5,6 @@ "item": "actuallyadditions:laser_relay_fluids" }, "result": { - "count": 1, "id": "actuallyadditions:laser_relay_item" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/leather.json b/src/generated/resources/data/actuallyadditions/recipe/laser/leather.json index 6ee34a609..4685fd970 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/leather.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/leather.json @@ -5,7 +5,6 @@ "item": "minecraft:rotten_flesh" }, "result": { - "count": 1, "id": "minecraft:leather" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/lens.json b/src/generated/resources/data/actuallyadditions/recipe/laser/lens.json index dd377759c..772bbb756 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/lens.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/lens.json @@ -5,7 +5,6 @@ "item": "actuallyadditions:lens_of_certain_death" }, "result": { - "count": 1, "id": "actuallyadditions:lens" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/lens_of_certain_death.json b/src/generated/resources/data/actuallyadditions/recipe/laser/lens_of_certain_death.json index d1a6712b9..e11209651 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/lens_of_certain_death.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/lens_of_certain_death.json @@ -5,7 +5,6 @@ "item": "actuallyadditions:lens_of_detonation" }, "result": { - "count": 1, "id": "actuallyadditions:lens_of_certain_death" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/lens_of_color.json b/src/generated/resources/data/actuallyadditions/recipe/laser/lens_of_color.json index c4c21f018..ae6fb941c 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/lens_of_color.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/lens_of_color.json @@ -5,7 +5,6 @@ "item": "actuallyadditions:lens" }, "result": { - "count": 1, "id": "actuallyadditions:lens_of_color" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/lens_of_detonation.json b/src/generated/resources/data/actuallyadditions/recipe/laser/lens_of_detonation.json index 93838146d..d69d281a9 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/lens_of_detonation.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/lens_of_detonation.json @@ -5,7 +5,6 @@ "item": "actuallyadditions:lens_of_color" }, "result": { - "count": 1, "id": "actuallyadditions:lens_of_detonation" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/nether_wart.json b/src/generated/resources/data/actuallyadditions/recipe/laser/nether_wart.json index 2ae7c3dfe..da8d4e9e5 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/nether_wart.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/nether_wart.json @@ -5,7 +5,6 @@ "item": "minecraft:red_mushroom" }, "result": { - "count": 1, "id": "minecraft:nether_wart" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/prismarine_shard.json b/src/generated/resources/data/actuallyadditions/recipe/laser/prismarine_shard.json index d132ca146..305356ad6 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/prismarine_shard.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/prismarine_shard.json @@ -5,7 +5,6 @@ "item": "minecraft:quartz" }, "result": { - "count": 1, "id": "minecraft:prismarine_shard" } } \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipe/laser/soul_sand.json b/src/generated/resources/data/actuallyadditions/recipe/laser/soul_sand.json index ef3e42c21..7cad30c12 100644 --- a/src/generated/resources/data/actuallyadditions/recipe/laser/soul_sand.json +++ b/src/generated/resources/data/actuallyadditions/recipe/laser/soul_sand.json @@ -5,7 +5,6 @@ "tag": "c:sands" }, "result": { - "count": 1, "id": "minecraft:soul_sand" } } \ No newline at end of file diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/LaserRecipe.java b/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/LaserRecipe.java index 9fd02f0fc..2e9a08ab7 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/LaserRecipe.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/LaserRecipe.java @@ -101,7 +101,7 @@ public class LaserRecipe implements Recipe { public static class Serializer implements RecipeSerializer { private static final MapCodec CODEC = RecordCodecBuilder.mapCodec( instance -> instance.group( - ItemStack.STRICT_CODEC.fieldOf("result").forGetter(recipe -> recipe.result), + ItemStack.STRICT_SINGLE_ITEM_CODEC.fieldOf("result").forGetter(recipe -> recipe.result), Ingredient.CODEC_NONEMPTY.fieldOf("ingredient").forGetter(recipe -> recipe.itemIngredient), Codec.INT.fieldOf("energy").forGetter(recipe -> recipe.energy) )