Make "Random feature from list" block accept weight inputs

Started by CEntertain on

Topic category: Feature requests and ideas for MCreator

Last seen on 16:23, 27. Apr 2024
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make "Random feature from list" block accept weight inputs

The title is self-explanatory.

However, there is some additional detail I would like to add. Basically, the reason for this is that otherwise, we would have to add more unnecessary inputs to the feature list which essentially act as duplicates.

I get that you can theoretically use additional feature placement and then place an individual feature with a percentage chance, but to correct for that, you would then have to artificially increase the amount of placements - which is not ideal.

 

And a small additional request I have, if possible, is to please add local variables and math blocks to the feature element. I don't really see a reason why they aren't included since mathematical equations and variables in a custom code feature element don't cause compilation errors.