burak51efe51
Somon Balığı Selam Vermeye Geldi
- Katılım
- 21 Nisan 2022
- Mesajlar
- 24
- Elmaslar
- 1
- Puan
- 1.995
- Konum
- Niğde
- Minecraft
- Burak_efe51
Discord:
Burak Efe#3826
bu kod hata veriyor
yardım eder misiniz
yardım eder misiniz
variables:
thirst_level: 100
on join:
- send "&eHoş geldin! Su kaynaklarına dikkat etmelisin."
- wait 1 tick
- set player's hunger bar to 20
- add objective "thirst" with criteria dummy
- setdisplay belowname thirst
- set max value of objective "thirst" to 100
on player move:
- if player is not holding water bucket:
- if biome at player's location is desert:
- if thirst_level < 25:
- send action bar "&cSusuzluk " & thirst_level
- else:
- set thirst_level to thirst_level - 3
- wait 30 ticks
- set score of player's thirst objective to thirst_level
- else:
- if thirst_level < 10:
- send action bar "&cSusuzluk " & thirst_level
- else:
- set thirst_level to thirst_level - 1
- wait 30 ticks
- set score of player's thirst objective to thirst_level
on player damage:
- if cause of damage is fire:
- if thirst_level < 10:
- send action bar "&cSıcaklık vücudundan suyu çekiyor. Hızlıca bir su kaynağına gitmelisin."
- damage player by 1
- else:
- set thirst_level to thirst_level - 2
- set score of player's thirst objective to thirst_level
on potion splash:
- if type of potion is water bottle:
- set thirst_level to min(thirst_level + 8, 100)
- send action bar "&aSusuzluk " & thirst_level
- set score of player's thirst objective to thirst_level
thirst_level: 100
on join:
- send "&eHoş geldin! Su kaynaklarına dikkat etmelisin."
- wait 1 tick
- set player's hunger bar to 20
- add objective "thirst" with criteria dummy
- setdisplay belowname thirst
- set max value of objective "thirst" to 100
on player move:
- if player is not holding water bucket:
- if biome at player's location is desert:
- if thirst_level < 25:
- send action bar "&cSusuzluk " & thirst_level
- else:
- set thirst_level to thirst_level - 3
- wait 30 ticks
- set score of player's thirst objective to thirst_level
- else:
- if thirst_level < 10:
- send action bar "&cSusuzluk " & thirst_level
- else:
- set thirst_level to thirst_level - 1
- wait 30 ticks
- set score of player's thirst objective to thirst_level
on player damage:
- if cause of damage is fire:
- if thirst_level < 10:
- send action bar "&cSıcaklık vücudundan suyu çekiyor. Hızlıca bir su kaynağına gitmelisin."
- damage player by 1
- else:
- set thirst_level to thirst_level - 2
- set score of player's thirst objective to thirst_level
on potion splash:
- if type of potion is water bottle:
- set thirst_level to min(thirst_level + 8, 100)
- send action bar "&aSusuzluk " & thirst_level
- set score of player's thirst objective to thirst_level
[19:33:17] [Server thread/ERROR]: 'thirst_level: 100' is not an entry (like 'name : value') (susuzluk.sk, line 2: thirst_level: 100')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - send "&eHo┼ş geldin! Su kaynaklar─▒na dikkat etmelisin." (susuzluk.sk, line 5: - send "&eHo┼ş geldin! Su kaynaklar─▒na dikkat etmelisin."')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - wait 1 tick (susuzluk.sk, line 6: - wait 1 tick')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - set player's hunger bar to 20 (susuzluk.sk, line 7: - set player's hunger bar to 20')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - add objective "thirst" with criteria dummy (susuzluk.sk, line 8: - add objective "thirst" with criteria dummy')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - setdisplay belowname thirst (susuzluk.sk, line 9: - setdisplay belowname thirst')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - set max value of objective "thirst" to 100 (susuzluk.sk, line 10: - set max value of objective "thirst" to 100')
[19:33:17] [Server thread/ERROR]: can't understand this event: 'on player move' (susuzluk.sk, line 12: on player move:')
[19:33:17] [Server thread/ERROR]: can't understand this event: 'on player damage' (susuzluk.sk, line 29: on player damage:')
[19:33:17] [Server thread/ERROR]: can't understand this event: 'on potion splash' (susuzluk.sk, line 38: on potion splash:')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - send "&eHo┼ş geldin! Su kaynaklar─▒na dikkat etmelisin." (susuzluk.sk, line 5: - send "&eHo┼ş geldin! Su kaynaklar─▒na dikkat etmelisin."')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - wait 1 tick (susuzluk.sk, line 6: - wait 1 tick')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - set player's hunger bar to 20 (susuzluk.sk, line 7: - set player's hunger bar to 20')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - add objective "thirst" with criteria dummy (susuzluk.sk, line 8: - add objective "thirst" with criteria dummy')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - setdisplay belowname thirst (susuzluk.sk, line 9: - setdisplay belowname thirst')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - set max value of objective "thirst" to 100 (susuzluk.sk, line 10: - set max value of objective "thirst" to 100')
[19:33:17] [Server thread/ERROR]: can't understand this event: 'on player move' (susuzluk.sk, line 12: on player move:')
[19:33:17] [Server thread/ERROR]: can't understand this event: 'on player damage' (susuzluk.sk, line 29: on player damage:')
[19:33:17] [Server thread/ERROR]: can't understand this event: 'on potion splash' (susuzluk.sk, line 38: on potion splash:')