-
Notifications
You must be signed in to change notification settings - Fork 2
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
aa5beb4
commit 1780993
Showing
5 changed files
with
37 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[ | ||
{ | ||
"predicate": { | ||
"amount": { | ||
"min": 0.01 | ||
} | ||
}, | ||
"action": { | ||
"type": "run_function", | ||
"function": "lt:world_games/minigolf/events/random_mob/test" | ||
} | ||
} | ||
] |
19 changes: 17 additions & 2 deletions
19
data/lt/function/world_games/minigolf/events/random_mob/random.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,6 +1,21 @@ | ||
execute store result score random golf.events run random value 1..5 | ||
execute store result score random golf.events run random value 1..20 | ||
execute if score random golf.events matches 1 run disguise as ltminigames:driftwood | ||
execute if score random golf.events matches 2 run disguise as tropicraft:chair | ||
execute if score random golf.events matches 3 run disguise as tropicraft:sea_urchin | ||
execute if score random golf.events matches 4 run disguise as minecraft:bee | ||
execute if score random golf.events matches 5 run disguise as minecraft:breeze | ||
execute if score random golf.events matches 5 run disguise as minecraft:breeze | ||
execute if score random golf.events matches 6 run disguise as minecraft:armadillo | ||
execute if score random golf.events matches 7 run disguise as minecraft:sniffer | ||
execute if score random golf.events matches 8 run disguise as minecraft:axolotl | ||
execute if score random golf.events matches 9 run disguise as minecraft:illusioner | ||
execute if score random golf.events matches 10 run disguise as minecraft:goat | ||
execute if score random golf.events matches 11 run disguise as tropicraft:umbrella | ||
execute if score random golf.events matches 12 run disguise as tropicraft:cowktail | ||
execute if score random golf.events matches 13 run disguise as tropicraft:beach_float | ||
execute if score random golf.events matches 14 run disguise as tropicraft:fiddler_crab | ||
execute if score random golf.events matches 15 run disguise as minecraft:armor_stand | ||
execute if score random golf.events matches 16 run disguise as minecraft:wither | ||
execute if score random golf.events matches 17 run disguise as dummyplayers:dummy_player {NoBasePlate:true,Small:true,profile:{id:[I;-1505211345,-855292401,-2116995351,764383134]},CustomNameVisible:false} | ||
execute if score random golf.events matches 18 run disguise as minecraft:end_crystal | ||
execute if score random golf.events matches 19 run disguise as minecraft:evoker | ||
execute if score random golf.events matches 20 run disguise as minecraft:enderman |
1 change: 1 addition & 0 deletions
1
data/lt/function/world_games/minigolf/events/random_mob/test.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 |
---|---|---|
@@ -0,0 +1 @@ | ||
execute if score randomMob golf.events matches 1 as @a[role=live] run function lt:world_games/minigolf/events/random_mob/random |
2 changes: 1 addition & 1 deletion
2
data/lt/function/world_games/parkour/change_checkpoint.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,3 +1,3 @@ | ||
data modify gamedata lt:parkour @s[type=minecraft:player] number set from entity @e[type=minecraft:marker,sort=nearest,limit=1] data.number | ||
playsound minecraft:block.note_block.banjo voice @s | ||
tellraw @s {"translate":"lt.game.parkour.general.checkpoint_reached"} | ||
tellraw @s {"translate":"lt.game.parkour.general.checkpoint_reached "} |
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