#==========================================================# # Script by Chano # Zen ClearLag # Clears Lag on an Interval # MAKE SURE you change "INSERTWORLDHERE" to your World. # July 19, 2020 #==========================================================# clearlag_interval: type: world debug: false events: after system time minutely every:15: - actionbar "<&6><&l>Entities and Ground Items will be removed in..." targets: - wait 1s - actionbar "<&6><&l>4 <&7> Seconds" targets: - wait 1s - actionbar "<&6><&l>3 <&7> Seconds" targets: - wait 1s - actionbar "<&6><&l>2 <&7> Seconds" targets: - wait 1s - actionbar "<&6><&l>1 <&7> Seconds" targets: - wait 1s - actionbar "<&b><&l>Removed Ground Items and Entities!" targets: - playsound sound:ENTITY_EXPERIENCE_ORB_PICKUP volume:1 pitch:1 - remove Arrow|DROPPED_ITEM|Skeleton|Zombie|Creeper|Ghast|Pig_Zombie|WITHER_SKELETON|SPIDER|SLIME|BLAZE|ENDERMAN|IRON_GOLEM|WITHER world:INSERTWORLDHERE - wait 2s - actionbar "<&3><&l>Entities and Ground Items have been cleared. Next Clear in <&6><&l>15 Minutes" targets: - stop