customize armor stands

This commit is contained in:
Daniel Løvbrøtte Olsen
2020-03-19 15:59:23 +01:00
parent 53d88fc3be
commit a8bfeda4bd
89 changed files with 2499 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
# Desc: Creates required global scores
#
# Called by: #main:init
scoreboard objectives add hc_tick dummy
scoreboard objectives add hc_uninstall dummy

View File

@@ -0,0 +1,17 @@
# Desc: Controls all function to run on the server. Make funtions run much less
#
# Called by: #minecraft:tick
scoreboard players add #hc_tick hc_tick 1
# Every tick
function #main:tick
# Every 1 second
execute if score #hc_tick hc_tick matches 1 run function #main:second
execute if score #hc_tick hc_tick matches 21 run function #main:second
execute if score #hc_tick hc_tick matches 41 run function #main:second
execute if score #hc_tick hc_tick matches 61 run function #main:second
execute if score #hc_tick hc_tick matches 81 run function #main:second
execute if score #hc_tick hc_tick matches 100.. run scoreboard players set #hc_tick hc_tick 0

View File

@@ -0,0 +1,9 @@
# Desc: Main uninstall message. Will only be displayed once.
#
# Called by: #main:uninstall
scoreboard players add @s hc_uninstall 1
tellraw @s[scores={hc_uninstall=1}] ["",{"text":"All ","color":"red"},{"text":"datapacks ","color":"yellow"},{"text":"removed. \nTo complete the process, remove all ","color":"red"},{"text":"unwanted datapacks ","color":"yellow"},{"text":"from your ","color":"red"},{"text":"datapacks ","color":"yellow"},{"text":"folder. ","color":"red"},{"text":"/reload ","color":"yellow"},{"text":"after.","color":"red"}]
scoreboard objectives remove hc_tick
scoreboard objectives remove hc_uninstall