-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed failure function for 1.16 attributes.
- Loading branch information
1 parent
c6b8b58
commit 39fc738
Showing
1 changed file
with
18 additions
and
18 deletions.
There are no files selected for viewing
36 changes: 18 additions & 18 deletions
36
datapacks/Chosen/data/praise/functions/failure.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
# Replace helmet slot | ||
|
||
scoreboard players operation @a[team=chosen] Failures = @e[tag=Chosen] Failures | ||
scoreboard players operation @a[team=servants] Failures = @e[tag=Servants] Failures | ||
scoreboard players operation @a[team=fallen] Failures = @e[tag=Fallen] Failures | ||
scoreboard players operation @a[team=devout] Failures = @e[tag=Devout] Failures | ||
scoreboard players operation @a[team=clergy] Failures = @e[tag=Clergy] Failures | ||
scoreboard players operation @a[team=collectors] Failures = @e[tag=Collectors] Failures | ||
scoreboard players operation @a[team=forsaken] Failures = @e[tag=Forsaken] Failures | ||
scoreboard players operation @a[team=believers] Failures = @e[tag=Believers] Failures | ||
|
||
replaceitem entity @a[scores={Failures=0}] armor.head minecraft:chainmail_helmet{Enchantments:[{lvl:1s,id:"minecraft:binding_curse"}],display:{Name:"{\"translate\":\"Circlet of the Gods\"}",Lore:['"You who wear this have"', '"been chosen by the Gods."']},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:0,Operation:0,UUIDMost:12763,UUIDLeast:129863786}],Unbreakable:1b,HideFlags:63} | ||
replaceitem entity @a[scores={Failures=1}] armor.head minecraft:chainmail_helmet{Enchantments:[{lvl:1s,id:"minecraft:binding_curse"}],display:{Name:"{\"translate\":\"Circlet of the Gods\"}",Lore:['"You are not as trustworthy"', '"as we would have hoped."']},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:-4,Operation:0,UUIDMost:12763,UUIDLeast:129863786}],Unbreakable:1b,HideFlags:63} | ||
replaceitem entity @a[scores={Failures=2}] armor.head minecraft:chainmail_helmet{Enchantments:[{lvl:1s,id:"minecraft:binding_curse"}],display:{Name:"{\"translate\":\"Circlet of the Gods\"}",Lore:['"You failed us again."', '"Reckless. Unruly."', '"Insubordinate. Heathen."']},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:-8,Operation:0,UUIDMost:12763,UUIDLeast:129863786}],Unbreakable:1b,HideFlags:63} | ||
replaceitem entity @a[scores={Failures=3}] armor.head minecraft:chainmail_helmet{Enchantments:[{lvl:1s,id:"minecraft:binding_curse"}],display:{Name:"{\"translate\":\"Circlet of the Gods\"}",Lore:['"Playing games with us will"', '"cost your heart and soul."']},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:-12,Operation:0,UUIDMost:12763,UUIDLeast:129863786}],Unbreakable:1b,HideFlags:63} | ||
replaceitem entity @a[scores={Failures=4}] armor.head minecraft:chainmail_helmet{Enchantments:[{lvl:1s,id:"minecraft:binding_curse"}],display:{Name:"{\"translate\":\"Circlet of the Gods\"}",Lore:['"Wrath of the Gods"', '"be upon you."']},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:-16,Operation:0,UUIDMost:12763,UUIDLeast:129863786}],Unbreakable:1b,HideFlags:63} | ||
kill @a[scores={Failures=5},gamemode=survival] | ||
|
||
# Replace helmet slot | ||
|
||
scoreboard players operation @a[team=chosen] Failures = @e[tag=Chosen] Failures | ||
scoreboard players operation @a[team=servants] Failures = @e[tag=Servants] Failures | ||
scoreboard players operation @a[team=fallen] Failures = @e[tag=Fallen] Failures | ||
scoreboard players operation @a[team=devout] Failures = @e[tag=Devout] Failures | ||
scoreboard players operation @a[team=clergy] Failures = @e[tag=Clergy] Failures | ||
scoreboard players operation @a[team=collectors] Failures = @e[tag=Collectors] Failures | ||
scoreboard players operation @a[team=forsaken] Failures = @e[tag=Forsaken] Failures | ||
scoreboard players operation @a[team=believers] Failures = @e[tag=Believers] Failures | ||
|
||
replaceitem entity @a[scores={Failures=0}] armor.head minecraft:chainmail_helmet{Enchantments:[{lvl:1s,id:"minecraft:binding_curse"}],display:{Name:"{\"translate\":\"Circlet of the Gods\"}",Lore:['"You who wear this have"', '"been chosen by the Gods."']},AttributeModifiers:[{AttributeName:"generic.max_health",Name:"generic.max_health",Amount:0,Operation:0,UUID:[I;12763,12986,9877,2766]}],Unbreakable:1b,HideFlags:63} | ||
replaceitem entity @a[scores={Failures=1}] armor.head minecraft:chainmail_helmet{Enchantments:[{lvl:1s,id:"minecraft:binding_curse"}],display:{Name:"{\"translate\":\"Circlet of the Gods\"}",Lore:['"You are not as trustworthy"', '"as we would have hoped."']},AttributeModifiers:[{AttributeName:"generic.max_health",Name:"generic.max_health",Amount:-4,Operation:0,UUID:[I;12763,12986,9877,2766]}],Unbreakable:1b,HideFlags:63} | ||
replaceitem entity @a[scores={Failures=2}] armor.head minecraft:chainmail_helmet{Enchantments:[{lvl:1s,id:"minecraft:binding_curse"}],display:{Name:"{\"translate\":\"Circlet of the Gods\"}",Lore:['"You failed us again."', '"Reckless. Unruly."', '"Insubordinate. Heathen."']},AttributeModifiers:[{AttributeName:"generic.max_health",Name:"generic.max_health",Amount:-8,Operation:0,UUID:[I;12763,12986,9877,2766]}],Unbreakable:1b,HideFlags:63} | ||
replaceitem entity @a[scores={Failures=3}] armor.head minecraft:chainmail_helmet{Enchantments:[{lvl:1s,id:"minecraft:binding_curse"}],display:{Name:"{\"translate\":\"Circlet of the Gods\"}",Lore:['"Playing games with us will"', '"cost your heart and soul."']},AttributeModifiers:[{AttributeName:"generic.max_health",Name:"generic.max_health",Amount:-12,Operation:0,UUID:[I;12763,12986,9877,2766]}],Unbreakable:1b,HideFlags:63} | ||
replaceitem entity @a[scores={Failures=4}] armor.head minecraft:chainmail_helmet{Enchantments:[{lvl:1s,id:"minecraft:binding_curse"}],display:{Name:"{\"translate\":\"Circlet of the Gods\"}",Lore:['"Wrath of the Gods"', '"be upon you."']},AttributeModifiers:[{AttributeName:"generic.max_health",Name:"generic.max_health",Amount:-16,Operation:0,UUID:[I;12763,12986,9877,2766]}],Unbreakable:1b,HideFlags:63} | ||
kill @a[scores={Failures=5},gamemode=survival] | ||
|