90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Changelog
Fixed randomization issue when only 2 block items were present. Implemented probability-based selection, ensuring even distribution: Each block now has a 100 / blockCount% chance to be chosen. Improved slot selection logic, preventing unnecessary re-selection of the same block. Refactored randomizeHotbarSlot for better readability and efficiency.
Dependencies
Files
randomblockplacement-1.0.4-1.21.2+.jar(16.6 KiB) Primary Download
Details
Licensed CC0-1.0
Published 5 months ago
Updated 5 days ago