-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4e80320
commit 083db09
Showing
7 changed files
with
12 additions
and
6 deletions.
There are no files selected for viewing
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
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
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,8 +1,10 @@ | ||
function nauthack:rmbcheck/check/get | ||
|
||
tp @e[type=minecraft:villager, tag=rmbcheck_found, limit=1] ^ ^ ^1 | ||
team join nautcore_nocoll @e[type=minecraft:villager, tag=rmbcheck_found, limit=1] | ||
effect give @e[type=minecraft:villager, tag=rmbcheck_found, limit=1] minecraft:resistance 999999 9 true | ||
effect give @e[type=minecraft:villager, tag=rmbcheck_found, limit=1] minecraft:regeneration 999999 9 true | ||
effect give @e[type=minecraft:villager, tag=rmbcheck_found, limit=1] minecraft:speed 999999 9 true | ||
effect give @e[type=minecraft:villager, tag=rmbcheck_found, limit=1] minecraft:invisibility 999999 9 true | ||
execute if score @s rmbcheck_clicks matches 1.. run function #nauthack:rmbcheck/exe | ||
execute if score @s rmbcheck_clicks matches 1.. run function #nauthack:rmbcheck/exe | ||
execute if score @s rmbcheck_clicks matches 1.. run function nauthack:rmbcheck/exe/exe |
3 changes: 2 additions & 1 deletion
3
data/nauthack/functions/rmbcheck/condition/condition.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 +1,2 @@ | ||
scoreboard players set rmbcheck_check nautmath_var 0 | ||
scoreboard players set rmbcheck_check nautmath_var 0 | ||
data modify storage nauthack:nauthack rmbcheck.id set value {} |
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
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,7 +1,6 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"nauthack:rmbcheck/condition/condition", | ||
"nauthack:rmbcheck/condition/default" | ||
] | ||
} |
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,7 +1,6 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"nauthack:rmbcheck/exe/exe", | ||
"nauthack:rmbcheck/exe/default" | ||
] | ||
} |