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 a year ago
Updated 2 months ago