Give a block to the player when they use the pick block functionality (middle click).
Inspired by what's stated on the Hypixel Fandom Wiki:
There are actually a number of items you can craft by middle-clicking to get a stack, such as Carpets, Dyes, Wools, ...
Packet documentation is available on the wiki: Pick Item From Block.
You may need to implement the Set Player Inventory Slot packet as well.
What's required:
- Support all versions of the game this packet exists for
- Add a configuration setting to enable or disable this feature
- Add a configuration setting to customize the stack size of the item to give
- Update documentation with new settings
Optional feature:
- Add a setting to list allowed blocks to pick, but this may make this feature harder to implement
Anyone is free to implement this feature.
Give a block to the player when they use the pick block functionality (middle click).
Inspired by what's stated on the Hypixel Fandom Wiki:
Packet documentation is available on the wiki: Pick Item From Block.
You may need to implement the Set Player Inventory Slot packet as well.
What's required:
Optional feature:
Anyone is free to implement this feature.