- check_circle Functions
- check_circle Predicates
Published Mar 14th, 2021, 3/14/21 3:11 pm
- 1,758 views, 1 today
- 142 downloads, 0 today
182
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.
Compatibility | Minecraft 1.15 |
to | Minecraft 1.16 |
Tags |
5019757
119
Create an account or sign in to comment.