-
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
c4c9ec1
commit 4e80320
Showing
10 changed files
with
24 additions
and
10 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
data/nauthack/functions/nautray/conditions/nauthack_collision.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,2 +1,2 @@ | ||
execute if data storage nauthack:nauthack nautray.args.nauthack_collision unless block ~ ~ ~ #nauthack:non_solid run scoreboard players set nautray_move nautmath_var 0 | ||
execute if data storage nauthack:nauthack nautray.args.nauthack_collision if entity @e[type = !#nauthack:nocoll, distance = ..1.5, team = !nauthack_nocoll] run scoreboard players set nautray_move nautmath_var 0 | ||
execute if data storage nauthack:nauthack nautray.args.nauthack_collision if entity @e[type = !#nauthack:nocoll, distance = ..1.5, team = !nautcore_nocoll] run scoreboard players set nautray_move nautmath_var 0 |
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,3 +1,11 @@ | ||
scoreboard players add nauttime_tick nautmath_var 1 | ||
|
||
execute if score nauttime_tick nautmath_var matches 5 run function nauthack:nauttime/5tick | ||
execute if score nauttime_tick nautmath_var matches 5 run function nauthack:nauttime/5tick | ||
|
||
execute unless score nauttime_odd nautmath_var matches 1 run scoreboard players set nauttime_odd nautmath_var 2 | ||
execute if score nauttime_odd nautmath_var matches 1 run scoreboard players set nauttime_odd nautmath_var 0 | ||
execute if score nauttime_odd nautmath_var matches 2 run scoreboard players set nauttime_odd nautmath_var 1 | ||
|
||
execute if score nauttime_odd nautmath_var matches 1 unless score nauttime_odd_odd nautmath_var matches 1 run scoreboard players set nauttime_odd_odd nautmath_var 2 | ||
execute if score nauttime_odd nautmath_var matches 1 if score nauttime_odd_odd nautmath_var matches 1 run scoreboard players set nauttime_odd_odd nautmath_var 0 | ||
execute if score nauttime_odd nautmath_var matches 1 if score nauttime_odd_odd nautmath_var matches 2 run scoreboard players set nauttime_odd_odd nautmath_var 1 |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[ | ||
{ | ||
"function": "minecraft:set_nbt", | ||
"tag": "{AttributeModifiers: []}" | ||
} | ||
] |
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
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