Skip to content

Commit

Permalink
a release should come out
Browse files Browse the repository at this point in the history
  • Loading branch information
fedorinanutshell committed May 23, 2022
1 parent 4e80320 commit 083db09
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 6 deletions.
6 changes: 5 additions & 1 deletion data/nauthack/functions/nauttime/tick.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@ execute if score nauttime_odd nautmath_var matches 2 run scoreboard players set

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
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

execute if score nauttime_odd_odd nautmath_var matches 1 unless score nauttime_odd_odd_odd nautmath_var matches 1 run scoreboard players set nauttime_odd_odd_odd nautmath_var 2
execute if score nauttime_odd_odd nautmath_var matches 1 if score nauttime_odd_odd_odd nautmath_var matches 1 run scoreboard players set nauttime_odd_odd_odd nautmath_var 0
execute if score nauttime_odd_odd nautmath_var matches 1 if score nauttime_odd_odd_odd nautmath_var matches 2 run scoreboard players set nauttime_odd_odd_odd nautmath_var 1
2 changes: 1 addition & 1 deletion data/nauthack/functions/naututils/explode.mcfunction
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
summon minecraft:creeper ~ ~ ~ {NoAI: true, NoGravity: true, Invulnerable: true, Tags: ["naututils_explode"]}
summon minecraft:creeper ~ ~ ~ {CustomName: '{"text": "Explosion", "italic": false}', NoAI: true, NoGravity: true, Invulnerable: true, Tags: ["naututils_explode"]}
execute as @e[tag = naututils_explode] store result entity @s ExplosionRadius byte 1.0 run scoreboard players get naututils_explode_power nautmath_var
execute as @e[tag = naututils_explode] if score naututils_explode_silent nautmath_var matches 1 run data modify entity @s Silent set value true
execute as @e[tag = naututils_explode] run data modify entity @s Fuse set value 0s
Expand Down
4 changes: 3 additions & 1 deletion data/nauthack/functions/rmbcheck/check/tick.mcfunction
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
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 {}
1 change: 1 addition & 0 deletions data/nauthack/functions/rmbcheck/player/tick.mcfunction
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
function nauthack:rmbcheck/condition/condition
function #nauthack:rmbcheck/condition

execute if score rmbcheck_check nautmath_var matches 0 run scoreboard players set @s rmbcheck_clicks 0
Expand Down
1 change: 0 additions & 1 deletion data/nauthack/tags/functions/rmbcheck/condition.json
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"
]
}
1 change: 0 additions & 1 deletion data/nauthack/tags/functions/rmbcheck/exe.json
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"
]
}

0 comments on commit 083db09

Please sign in to comment.