Data Packs Challenge

Random Item - ScatterPlayz

  • 2.2k views 0 today
  • save_alt 268 downloads
Compatibility
Minecraft 1.13
to version
Minecraft 1.19
Changes include
  • Functions
  • 3
  • 1
Scatter_Playz
Lvl 31Artisan System
2
Use:
/function ranitem:start
#To Start

/function ranitem:stop
#To Stop

/function ranitem:uninstall
#Run Before Removing

/function ranitem:zcommands/resetdata
#Resets the Datapack

tag @s add spec
#Player with tag spec don't receive item.



Customizations:
scoreboard players set cooldown dataRainItem (integer)
#Sets the cooldown for giving random item. By Default set to 60


scoreboard players set mode dataRainItem (integer)
# Modes
# 1 = give all player
# 2 = give random player

Extra:
Random: Adds a way to get pseudo random number

/function random:uninstall
#Before removing

More like this

  Have something to say?

Welcome