Skip to content

Commit

Permalink
advancement checks it's own condition, no need to have function grant…
Browse files Browse the repository at this point in the history
… it.
  • Loading branch information
Frustrated-Programmer committed Dec 27, 2024
1 parent f718d22 commit 0215440
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,5 @@ advancement grant @s only do2:hidden/adventuring/egg_hunt/level_3/3rd_level_show
# The egg isn't even hidden in the repair world. For all upgraded features, play on TrackedOut.
advancement grant @s only do2:hidden/adventuring/egg_hunt/level_3/zz_tango

# Grant "find all eggs advancement."
execute as @s[advancements={do2:hidden/adventuring/egg_hunt/level_1/bdoubleo=true,do2:hidden/adventuring/egg_hunt/level_1/false=true,do2:hidden/adventuring/egg_hunt/level_1/impulse=true,do2:hidden/adventuring/egg_hunt/level_1/iskall=true,do2:hidden/adventuring/egg_hunt/level_1/stress=true,do2:hidden/adventuring/egg_hunt/level_1/welsknight=true,do2:hidden/adventuring/egg_hunt/level_1/zedaph=true,do2:hidden/adventuring/egg_hunt/level_2/cubfan=true,do2:hidden/adventuring/egg_hunt/level_2/docm77=true,do2:hidden/adventuring/egg_hunt/level_2/hypno=true,do2:hidden/adventuring/egg_hunt/level_2/ijevin=true,do2:hidden/adventuring/egg_hunt/level_2/joehills=true,do2:hidden/adventuring/egg_hunt/level_2/vintagebeef=true,do2:hidden/adventuring/egg_hunt/level_2/xbcrafted=true,do2:hidden/adventuring/egg_hunt/level_3/grian=true,do2:hidden/adventuring/egg_hunt/level_3/pearlescentmoon=true,do2:hidden/adventuring/egg_hunt/level_3/scar=true,do2:hidden/adventuring/egg_hunt/level_3/xisuma=true,do2:hidden/adventuring/egg_hunt/level_3/zombiecleo=true,do2:hidden/adventuring/egg_hunt/level_3/zz_tango=true,do2:hidden/adventuring/egg_hunt/level_3/zzz_golden_egg=true}] run advancement grant @s only do2:hidden/adventuring/egg_hunt/egg_hunter

# Calculate total amount of eggs found. (Useful for stats screen only)
function do2:egg_hunt/calculate_total_found

0 comments on commit 0215440

Please sign in to comment.