İSTEK

HEXAGON73

Kızıltaş Madencisi
En iyi cevaplar
0
Arkadaşlar /sheepc komutu ile "&c&lKOYUN" adında koyun oluşturacak ve bu koyun hareket edemeyecek tek vuruşta ölecek ve içinden %50 şans ile "&b&lELMAS" adında bir elmas item düşecek sonrasını ben hallederim şimdiden teşekkürler!
 

ShiodomeMiuna

Nether Yerlisi
En iyi cevaplar
11
PHP:
command /sheepc:
    trigger:
        execute player command "/summon Sheep - - - {CustomName:""&6&c&lKOYUN"",NoAI:1}

on damage of sheep:
    if attacker is player:
        victim's name contains "&6&c":
            kill the victim
            chance of 50%:
                drop 1 diamond named "&b&lELMAS" at location of victim

Denemedim,NoAI için 1.8 gerekebilir. OP olman gerekiyor.
 

Blueyescat

Bedrock Kaşifi
En iyi cevaplar
0
SkStuff gerektirir
PHP:
command /sheepc:
    trigger:
        spawn a sheep
        set name of spawned sheep to "&c&lKOYUN"
        add "{NoAI:1}" to nbt of spawned sheep

on damage of sheep:
    if name of victim is "&c&lKOYUN":
        kill victim
        if chance of 50%:
            drop a diamond named "&b&lELMAS"
 

HEXAGON73

Kızıltaş Madencisi
En iyi cevaplar
0
SkStuff gerektirir
PHP:
command /sheepc:
    trigger:
        spawn a sheep
        set name of spawned sheep to "&c&lKOYUN"
        add "{NoAI:1}" to nbt of spawned sheep

on damage of sheep:
    if name of victim is "&c&lKOYUN":
        kill victim
        if chance of 50%:
            drop a diamond named "&b&lELMAS"
yok olmadı yün ve et düşüyor
 

Blueyescat

Bedrock Kaşifi
En iyi cevaplar
0
Sadece elmas düşeceğiini belirtmemiştin
PHP:
command /sheepc:
    trigger:
        spawn a sheep
        set name of spawned sheep to "&c&lKOYUN"
        add "{NoAI:1}" to nbt of spawned sheep

on damage of sheep:
    if name of victim is "&c&lKOYUN":
        kill victim
        clear drops
        if chance of 50%:
            drop a diamond named "&b&lELMAS"
 

HEXAGON73

Kızıltaş Madencisi
En iyi cevaplar
0
Sadece elmas düşeceğiini belirtmemiştin
PHP:
command /sheepc:
    trigger:
        spawn a sheep
        set name of spawned sheep to "&c&lKOYUN"
        add "{NoAI:1}" to nbt of spawned sheep

on damage of sheep:
    if name of victim is "&c&lKOYUN":
        kill victim
        clear drops
        if chance of 50%:
            drop a diamond named "&b&lELMAS"
"clear drops" kısmında hata veriyor
 

Blueyescat

Bedrock Kaşifi
En iyi cevaplar
0
Bu şekilde sorunsuz çalışması gerekiyor:
PHP:
command /sheepc:
    trigger:
        spawn a sheep
        set name of spawned sheep to "&c&lKOYUN"
        add "{NoAI:1}" to nbt of spawned sheep

on damage of sheep:
    if name of victim is "&c&lKOYUN":
        kill victim
        if chance of 50%:
            drop a diamond named "&b&lELMAS" at victim

on death of sheep:
    if name of victim is "&c&lKOYUN":
        clear drops
 

HEXAGON73

Kızıltaş Madencisi
En iyi cevaplar
0
Bu şekilde sorunsuz çalışması gerekiyor:
PHP:
command /sheepc:
    trigger:
        spawn a sheep
        set name of spawned sheep to "&c&lKOYUN"
        add "{NoAI:1}" to nbt of spawned sheep

on damage of sheep:
    if name of victim is "&c&lKOYUN":
        kill victim
        if chance of 50%:
            drop a diamond named "&b&lELMAS" at victim

on death of sheep:
    if name of victim is "&c&lKOYUN":
        clear drops
oldu teşekkürler
 
Üst