Skip to content

Commit

Permalink
(0.13.10) I totally didn't forget death room ravager.
Browse files Browse the repository at this point in the history
  • Loading branch information
Frustrated-Programmer committed Dec 17, 2024
1 parent 3a6597b commit 5092c7e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ function do2:mob_controller/generate_mobs/zones/l4z1
function do2:mob_controller/generate_mobs/zones/l4z2
function do2:mob_controller/generate_mobs/zones/l4z3

# Other Mobs
function do2:mob_controller/generate_mobs/check_other_mobs

# Display any errors
execute store result score $dungeon do2.utility.mc.collectingLogs run data get storage do2:mobs mobCountErrors
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
scoreboard objectives add do2.tests.amountOfMobsExists


# Death Room Ravager
scoreboard players set $dungeon do2.tests.amountOfMobsExists 0
execute as @e[type=ravager,tag=L0DEATHROOM] run scoreboard players add $dungeon do2.tests.amountOfMobsExists 1
execute unless score $dungeon do2.tests.amountOfMobsExists matches 1 run kill @e[type=ravager,tag=L0DEATHROOM]
execute unless score $dungeon do2.tests.amountOfMobsExists matches 1 run summon minecraft:ravager -632 -48 1990 {PersistenceRequired:1b, Tags: ["L0DEATHROOM"], Invulnerable: 1b, Health: 100f, CustomName: '{"text":"nothing, they survived Decked Out"}', Fire: -1s}

# Todo: do checks for other killers. Such as skeleton, evokers, axolotals, etc

scoreboard objectives remove do2.tests.amountOfMobsExists
4 changes: 2 additions & 2 deletions Brilliance Datapack/data/do2/functions/version.mcfunction
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# DATAPACK VERSION NUMBER: 0.13.10
# DATAPACK VERSION NUMBER: 0.13.11

tellraw @s ["",{"text":"The §o§n§aBrilliance Datapack§r's version is: [§b0.13.10§r] Check latest version "},{"text":"§o§b§nhere§r","clickEvent":{"action":"open_url","value":"https://github.com/trackedout/Brilliance/blob/main/Brilliance%20Datapack/data/do2/functions/version.mcfunction"}},{"text":"."}]
tellraw @s ["",{"text":"The §o§n§aBrilliance Datapack§r's version is: [§b0.13.11§r] Check latest version "},{"text":"§o§b§nhere§r","clickEvent":{"action":"open_url","value":"https://github.com/trackedout/Brilliance/blob/main/Brilliance%20Datapack/data/do2/functions/version.mcfunction"}},{"text":"."}]

0 comments on commit 5092c7e

Please sign in to comment.