Tweakeroo

Tweakeroo

2M Downloads

new feature: weighted hotbar slot randomizer

end-user opened this issue ยท 4 comments

commented

Since there are now lists that act as parameters for some features, how about using a list for adding weights to the randomization? The way I'd envision it working is creating a list of weights (percentages) to be applied to the slots. For example, let's say I set my randomizer to the first 4 slots. Then I could create a list with 60, 25, 10, 5 to indicate how likely each slot was to be selected for placing. My goal was to create more infrequent placement of variations in blocks when building a wall, for example.

There could be some issues with the values not adding up when the number of slots changed. Perhaps an alternative is to use integers that are used to calculate percentages dynamically, with 1 being default for any slot.

commented

It doesn't have to add up to 100, it can just be relative weights with the total sum being whatever.

commented

Any progress on this? It would really help in building walls with better texture.

commented

It will be worked on in the main development branch at some point after the other mod restructuring and code clean-ups are done. No ETA of any kind when it might arrive to 1.18+.

commented

Is there another ticket tracking it? We could reference that one and close this one.