Skip to content
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

Auto pick-up blocks while mining in Fabric multiplayer server. #1906

Open
NAPPUS opened this issue Apr 30, 2024 · 3 comments
Open

Auto pick-up blocks while mining in Fabric multiplayer server. #1906

NAPPUS opened this issue Apr 30, 2024 · 3 comments

Comments

@NAPPUS
Copy link

NAPPUS commented Apr 30, 2024

Hello!
Hope You can help me.
I installed Carpet mod (fabric-carpet-1.20.5-1.4.140+v240423) in a fabric multiplayer server (0.15.10) for Minecraft 1.20.5.
Everytime i pick-up a block mined with pickaxe, shovel etc. it goes directly in the inventory and the blocks stacks in groups of two inside the inventory. See photo. I don't have any other mods installed.
Thanks for your help!
2024-04-30_20 26 59

@altrisi
Copy link
Collaborator

altrisi commented May 5, 2024

That shouldn't happen if you don't have other mods installed, what rules do you have enabled, and do you have any scarpet apps/scripts?

@NAPPUS
Copy link
Author

NAPPUS commented May 5, 2024

That shouldn't happen if you don't have other mods installed, what rules do you have enabled, and do you have any scarpet apps/scripts?

No, i tried it without any other mods, script etc.,
I am using the experimental features.

@gps08
Copy link

gps08 commented May 23, 2024

I think I found the issue, it's this check in script: && current:2 == item_nbt due item_nbt also including counts now for example: {count:1,id:"minecraft:stone"} this only matches once with the inventory slot and then never again. So workaround fix is to just change this condition to read like this: && current:2~'id' == item_nbt~'id' which only compares the id inside the nbt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants