• 3/14/21 3:11 pm
- 2.4k views • 0 today
- save_alt 159 downloads
- Compatibility
- Minecraft 1.15
- to version
- Minecraft 1.16
- Changes include
- Functions
- Predicates
245
What is this?
As you can test, this is a totally useless datapack for players, but it is very useful for datapack creators.
It allows you to easily get a random value from 1 to 3, from 1 to 56 or from 1 to 64. (some examples)
It also gives 99 predicates for random chances from 1% to 99%.
So, if I want a command is executed with a 50% of possibility, I can use /execute if predicate _random:50percent.
How should I include it in my pack?
You could download the datapack and use it, but players would need to install your datapack and this library both. Instead, you can download only the _random folder or take it from the datapack, and place it inside YourDatapack/data.
I'm not offended if you don't mention me in the credits, but at least don't remove the credits file placed in my _random folder. Or I will cry till I flood your house.
So easy to include, so easy to use.
As you can test, this is a totally useless datapack for players, but it is very useful for datapack creators.
It allows you to easily get a random value from 1 to 3, from 1 to 56 or from 1 to 64. (some examples)
It also gives 99 predicates for random chances from 1% to 99%.
So, if I want a command is executed with a 50% of possibility, I can use /execute if predicate _random:50percent.
How should I include it in my pack?
You could download the datapack and use it, but players would need to install your datapack and this library both. Instead, you can download only the _random folder or take it from the datapack, and place it inside YourDatapack/data.
I'm not offended if you don't mention me in the credits, but at least don't remove the credits file placed in my _random folder. Or I will cry till I flood your house.
So easy to include, so easy to use.
More like this
5019757
119




Have something to say?