Compatibility
Minecraft: Java Edition
26.1.x
1.21.x
1.20.x
1.19.x
Platforms
Supported environments
Client-side
Tags
Creators
Details
Licensed CC0-1.0
Published 2 years ago
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
Metadata
Release channel
ReleaseVersion number
1.0.4-1.21.2+Loaders
Fabric
Game versions
1.21.2–1.21.4Environment
Client-side only


