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
Pickaxe recipe upside down? #231
Comments
good question. Let's check the burger extractor |
It's not just the pickaxe, I think it's all of them... I'm not quite sure how that section of code results an a 2D array shape... It looks like it loops over the "line" and converts item names into numeric IDs? |
In the array, the recipes are made assuming that inventory slot 0 is the bottom left corner of the grid, and slot 8 is the top right. |
Ahhh I thought 0 was top left! Thanks @TheDudeFromCI - I wonder if this should be documented here: |
Probably, yeah. I'll make a PR. |
So, apparently I never followed up on this issue. The recipes are indeed upside down and shouldn't be. The indices were loaded incorrectly which switching between versions. Relevant discussions: |
@TheDudeFromCI so is the bug in the burger extractor that I linked to in #231 (comment) ? |
Most likely, yeah. I guess when the chance in 1.13 occured, the way data was stored is changed. The extractor wasn't updated properly, I'm guessing. |
So in that code, it loops over the shape backwards ( |
Also checking the Minecraft version, but yes. I guess it was never really a hard issue to solve. Even ignoring the extractors, someone could just write a simple 10 line JS script to import/flip/export them. I just don't think anyone's gotten around to it. |
@TheDudeFromCI You mean like this? 😉 EDIT: wondering why that snippet reference isn't expanding out into a code snippet preview |
Yep, basically. |
bump! sorta solved, the crafting recipes are upside down, reversing them worked! |
Can you edit the file in GitHub with what you did ?
…On Mon, Dec 7, 2020, 00:34 Ly Phung ***@***.***> wrote:
bump! sorta solved, the crafting recipes are upside down, reversing them
worked!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#231 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR437R72VPRPXKHEJ4YF3DSTQII3ANCNFSM4G7PBSHQ>
.
|
minecraft-data/data/pc/1.13.2/recipes.json
Lines 6745 to 6769 in a3bdea5
According to https://minecraft.gamepedia.com/Pickaxe the iron should be along the top, not along the bottom.
Why is the recipe vertically inverted?
The text was updated successfully, but these errors were encountered: