Above-and-Beyond icon indicating copy to clipboard operation
Above-and-Beyond copied to clipboard

create:Sail_Frame to create:White_Sail not working

Open SangreAngel opened this issue 1 year ago • 2 comments

I found create sail frames in the generated create structures. Wanted to craft them back into white sail versions but unable to. JEI does not have a recipe for it and upon trying the default ways I dug through the .jar. The recipe is in the .jar but it does not work in game.

image image

SangreAngel avatar May 30 '23 20:05 SangreAngel

This is on version C:A&B v1.3 on MC 1.16.5 which is current version on CurseForge as of right now

SangreAngel avatar May 30 '23 20:05 SangreAngel

This modpack has an override of the original recipe of sails:

https://github.com/simibubi/Above-and-Beyond/blob/f551e984ee2a11c20b9aa3d10b670d4589fa34b2/kubejs/server_scripts/recipes.js#L1269-L1282

  • Line 1270 removes all recipes creating create:sail_frame
  • Line 1270 removes all recipes creating create:white_sail
  • Line 1272 add a new shapeless recipe to create the frame from a white sail
  • And then the rest of them are adding a new recipe using wool, iron and sticks

You can add back a recipe with a code change like this:

diff --git a/kubejs/server_scripts/recipes.js b/kubejs/server_scripts/recipes.js
index a347535..5af2211 100644
--- a/kubejs/server_scripts/recipes.js
+++ b/kubejs/server_scripts/recipes.js
@@ -1291,6 +1291,12 @@ function trickierWindmills(event) {
                N: 'minecraft:iron_nugget',
                S: 'minecraft:stick'
        })

+       event.shaped('create:white_sail', [
+               'FW'
+       ], {
+               F: 'create:sail_frame',
+               W: '#appliedenergistics2:wool'
+       })
 }

 function rubberMatters(event) {

kiskoza avatar Jun 05 '23 17:06 kiskoza