Minecraft Data Packs / Challenge

Mob Rain - ScatterPlayz

  • check_circle Functions
  • 1,220 views, 4 today
  • 106 downloads, 0 today
  • 6
  • 4
Scatter_Playz's Avatar Scatter_Playz
Level 28 : Expert System
2
Use:
/function mobrain:start
#To Start

/function mobrain:stop
#To Stop

/function mobrain:uninstall
#Run Before Removing

/function mobrain:zcommands/resetdata
#Resets the Datapack

tag @s add spec
#Mobs doesn't spawn on the player with tag spec



Customizations:
scoreboard players set cooldown dataMobRain (integer)
#Sets the cooldown for spawning Mob. By Default set to 60


scoreboard players set mobMode dataMobRain (integer)
# Modes# 1 = hostile only# 2 = all normal# 3 = all including boss

scoreboard players set mode dataMobRain (integer)
# Modes
# 1 = rain all player
# 2 = rain random player

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

/function random:uninstall
#Before removing
CompatibilityMinecraft 1.13
toMinecraft 1.19
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome