[Küçük Bir Sorun] Mob ölünce yere düşenleri silme

Pentatonix

Zombi Katili
En iyi cevaplar
0
Denedim olmadı ya


teşekkür ederim fakat ben 2-5 arası sayıda elma düşmesini istiyorum

Kod:
on death of zombie or skeleton or creeper or spider:
    clear drops
    attacker is a player:
        chance of 95%:
            set {_sayi} to random integer between 2 and 5
            drop {_sayi} of gold nugget named "deneme" with lore "x1||x2" at victim's location
Birde böyle bir şey denedim yine "is not an entity type" hatası verdi

aşağıdaki kodda şu hata var "is not a text"
Kod:
on death of zombie:
    clear drops
    if chance of 85%:
        set {_sayi} to random integer between 2 and 5
        set {_esya} to {_sayi} of apple named "x" with lore "x||x"
        drop {_esya} at victim

Aşağıdaki kod çalıştı ama lore açıklamayı sildim açıklama girmem gerek
Kod:
on death of zombie or skeleton or creeper or spider:
    clear drops
    if chance of 85%:
        set {_sayi} to random integer between 2 and 5
        set {_esya} to {_sayi} of gold nugget named "deneme"
        drop {_esya} at victim's location
Kod:
on death of zombie or skeleton or creeper or spider:
    clear drops
    if chance of 95%:
        drop random integer between 2 and 5 of apple named "x" with lore "lore1||lore2||lore3" at victim
 

Blueyescat

Bedrock Kaşifi
En iyi cevaplar
0
Aslında bu saçma hatanın sebebi görünmez bir karaktermiş.
on death of zombie:
clear drops
if chance of 95%:
drop random integer between 2 and 5 of apple named "x" with lore "x1||x2" at victim​
"victim" yazısının sonuna tıklayıp silme tuşuna (backspace) basarsanız "m" harfi silinmez (görünmez karakter silinir) ve 2. basışta "m" harfi silinir.
PHP:
on death of zombie:
   clear drops
   if chance of 95%:
      drop random integer between 2 and 5 of apple named "x" with lore "x1||x2" at victim
 
Üst