-
-
Notifications
You must be signed in to change notification settings - Fork 860
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
Server rejects Transaction while Crafting #1112
Comments
I added some more Craft Functions in my Code. Does the craft.js plugin has a delay between putting the items in the slots? |
I am also experiencing the same problem. mineflayer: 2.22.1 It's reproducable with the Stack trace:
|
Just checked in minecraft 1.16.1 with mineflayer version 2.23.0 with the same result |
Can you reproduce with older minecraft versions ? |
Doesn't look like it. |
Ok it's possible something wasn't updated properly in 1.15 and 1.16
regarding crafting then.
That's weird because we have tests for crafting.
I'll have a look later
…On Tue, Jul 7, 2020, 21:41 Sam Lord ***@***.***> wrote:
Doesn't look like it. 1.12 seems to work as expected, as does 1.14.2
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1112 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR437VFSKCYJ625PMCNZSTR2N3ADANCNFSM4OQ3PJBA>
.
|
I've just re-checked with minecraft version 1.14 specifically checking torches, giving the bot sticks, coal and charcoal and get the same error. So could well be that the issue is older. |
@rom1504 were you able to track down the cause for this? |
No, feel free to work on it |
Bit out of my depth, but had a look. The problem could be that recipes are being put in upside-down, possibly? If I give the bot iron ingots and ask it to create an iron helmet the server rejects the transaction, but if I then break the crafting table, a minecart pops out. This could also explain why, for example, crafting iron ingots into iron blocks and visa-versa works, but crafting a torch doesn't. Similarly, unshaped crafting like a book works, as does bookshelf, which is the same upside-down as the right way up. Edit: Testing in 1.16.1 |
I can confirm that's definitely the issue. I don't know where that fix needs to happen though, otherwise I'd put in a PR. |
duplicate of PrismarineJS/minecraft-data#231 |
[X] The FAQ doesn't contain a resolution to my issue
Versions
Detailed description of a problem
The Server rejects the Transaction while crafting a Iron Axe.
Current code
Expected behavior
It should not reject the Transaction and craft the iron axe.
Additional context
I don't know if it's relevant but i get the items from a chest first. That should not interfere with crafting though. I've read through some of the fixed Issues and they all seemed that they got fixed by adding a delay. This sadly did not fix my Problem.
I have provided the Recipe incase it helps debugging.
The text was updated successfully, but these errors were encountered: