1
0

first commit

This commit is contained in:
2026-04-06 19:28:59 +02:00
commit d05c9d74c2
57 changed files with 1007 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
execute unless entity @s[type=minecraft:player] run return 0
scoreboard players set #gm noemie_mc_gm 0
execute if entity @s[gamemode=survival] run scoreboard players set #gm noemie_mc_gm 1
execute if entity @s[gamemode=creative] run scoreboard players set #gm noemie_mc_gm 2
execute if score #gm noemie_mc_gm matches 1 run function noemie_mc_gm:switch_gm/creative
execute if score #gm noemie_mc_gm matches 2 run function noemie_mc_gm:switch_gm/survival
scoreboard players reset #gm noemie_mc_gm