-
Notifications
You must be signed in to change notification settings - Fork 549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disabling some Slimefun items shifted some multiblocks recipe #3286
Comments
Is this still an issue? |
yes it is. |
Do you know if it only happens with multiblocks or if it also happens with things like machines and the ancient altar |
just tested it and it only in multiblocks machine Update: i think this is why it happens Slimefun4/src/main/java/io/github/thebusybiscuit/slimefun4/core/multiblocks/MultiBlockMachine.java Lines 111 to 113 in fc207b6
This code checks for the item is disabled or not and added it to the recipe, thus making it shifted by 1 item. This make sures the item is not able to be crafted or used as a crafting recipe. Machines doesnt have this issue since it never check the item is disabled or not. Slimefun4/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.java Lines 327 to 333 in 137cdc9
But because it never checks the item is disabled or not, it still works inside the machine if you still have the items. nor do ancient altar |
Alright thank you, think I know what is causing it now |
Alright sorry for the delay but think I made a fix for this, @variananora any chance you could test a jar? I'm not home so I can't test it and I won't be home for a couple days |
yeah sure just ping me at discord for this things |
Got it 👍 |
❗ Checklist
📍 Description
In this case I'll disable Stone Chunks from
items.yml
and try using CompressorThis also happened here: Slimefun-Addon-Community/ExoticGarden#210
I think this is because when registering recipe it didn't check for the disabled items.
Slimefun4/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/Compressor.java
Lines 37 to 47 in fc207b6
I haven't tried anything else but looking at things I think I can make this work one Ore Grinder and Ore Crusher too..
📑 Reproduction Steps
items.yml
💡 Expected Behavior
The recipe should not be shifted.
📷 Screenshots / Videos
https://youtu.be/sgOPYilkLis
Side by side
Normal Recipe
Shifted Recipe
📜 Server Log
No response
📂
/error-reports/
folderNo response
💻 Server Software
Paper
🎮 Minecraft Version
1.17.x
⭐ Slimefun version
🧭 Other plugins
No response
The text was updated successfully, but these errors were encountered: