Compatibility
Minecraft: Java Edition
26.3-pre-3
26.2
26.1.x
1.21.x
1.20.x
1.19.x
Platforms
Links
Tags
Creators
Details
Licensed MIT
Published yesterday
Updated 5 days ago
πΊπΈ
A simple datapack: after your third death, you switch to spectator modeβjust like in Hardcore mode.
If you need to change the maximum number of deaths, navigate to one of the following paths: */data/deathcount/function(s)/hardcore.mcfunction
Change N to the desired number:
execute as @a[scores={death_count=N..},gamemode=!spectator] run gamemode spectator @s
π·πΊ
ΠΡΠΎΡΡΠ΅ΠΉΡΠΈΠΉ Π΄Π°ΡΠ°ΠΏΠ°ΠΊ, ΠΏΠΎΡΠ»Π΅ Π²Π°ΡΠ΅ΠΉ 3 ΡΠΌΠ΅ΡΡΠΈ Π²Ρ ΠΏΠ΅ΡΠ΅ΠΊΠ»ΡΡΠ°Π΅ΡΠ΅ΡΡ Π² ΡΠ΅ΠΆΠΈΠΌ Π½Π°Π±Π»ΡΠ΄Π°ΡΠ΅Π»Ρ - ΠΊΠ°ΠΊ Π² Ρ Π°ΡΠ΄ΠΊΠΎΡΠ΅.
ΠΡΠ»ΠΈ Π²Π°ΠΌ Π½ΡΠΆΠ½ΠΎ ΠΈΠ·ΠΌΠ΅Π½ΠΈΡΡ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎΠ΅ ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎ ΡΠΌΠ΅ΡΡΠ΅ΠΉ ΡΠΎ Π·Π°ΠΉΠ΄ΠΈΡΠ΅ ΠΏΠΎ ΠΏΡΡΠΈ - */data/deathcount/function(s)/hardcore.mcfunction
ΠΈΠ·ΠΌΠ΅Π½ΠΈΡΠ΅ N Π½Π° Π»ΡΠ±ΠΎΠ΅ Π½ΡΠΆΠ½ΠΎ ΡΠΈΡΠ»ΠΎ
execute as @a[scores={death_count=N..},gamemode=!spectator] run gamemode spectator @s

