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

Pick block #397

Open
1 task done
IogaMaster opened this issue Dec 14, 2024 · 1 comment
Open
1 task done

Pick block #397

IogaMaster opened this issue Dec 14, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@IogaMaster
Copy link

I've searched existing issues and couldn't find a duplicate.

  • I confirm this is not a duplicate.

Is your feature request related to a problem? Please describe.

There is no support for pick block, sending packet id 34. Without handling it

Describe the solution you'd like

A functional handling of pick block:

  • CREATIVE: Adding the item to the player inventory and placing on the cursor
  • SURVIVAL/OTHER MODES: Moving the first stack of that block that is in the inventory to the cursor
@IogaMaster IogaMaster added the enhancement New feature or request label Dec 14, 2024
@DataM0del
Copy link
Contributor

This would be easy.
Also, creative mode doesn't add the item to the player's inventory if the already have that item, in that case, it will just move the first stack of that block that is in the inventory to the cursor, which is what survival mode does

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

No branches or pull requests

3 participants