Minecraft Data Packs / Other

Random Choices and Possibilities | library for DP Creators

  • check_circle Functions
  • check_circle Predicates
  • 975 views, 5 today
  • 96 downloads, 0 today
UltroGhast avatar UltroGhast
Level 58 : Grandmaster Engineer
91
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.
CompatibilityMinecraft 1.15
toMinecraft 1.16
Tags

Create an account or sign in to comment.

1
03/16/2021 8:45 am
Level 1 : New Miner
Luknown
Luknown avatar
looks cool
Planet Minecraft

Website

© 2010 - 2021
www.planetminecraft.com

Welcome