Bulundu Tavuklardan yumurta çıkıp çıkmama

  • Konuyu Başlatan Konuyu Başlatan CyberCOD
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 383
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

CyberCOD

Fırında Isıttığım İlk Taş
Katılım
17 Haziran 2016
Mesajlar
77
Elmaslar
17
Puan
9.010
Yaş
27
Konum
Kahramanmaraş
JavaScript:
on throwing of egg:
    tool's name is "test":
        spawn chicken
        set display name of spawned chicken to "test"


every 5 second:
    loop all entities of type chicken:
        loop-chicken's name contains "test"
        chance of 50%:
            drop 1 of gold ingot at loop-chicken
            stop



every 5 second:
    loop all entities of type chicken:
        chance of 100%:
            drop 1 of egg  named "test" at loop-chickens

alttaki test isimli tavuklarda bu alan çalışmasın.

JavaScript:
every 5 second:
    loop all entities of type chicken:
        chance of 100%:
            drop 1 of egg  named "test" at loop-chickens
 
Merhaba, tam olarak istediğin şey nedir? Açıklar mısınız?
 
Merhaba, tam olarak istediğin şey nedir? Açıklar mısınız?
JavaScript:
every 5 second:
    loop all entities of type chicken:
        chance of 100%:
            drop 1 of egg  named "test" at loop-chickens
Bu kod ile tavuklardan yumurta çıkıyor.
Test isimli tavuklarda bu yumurta çıkmasın istiyorum.
 
Merhaba, bu skripti kullanabilirsiniz.

Test edildi çalışıyor.
JavaScript:
options:
    yumurta-adi: &aTEST
    tavuk-adi: &7Test Tavuk
    komut: /tavuk-al
    süre: 10 second
    
on rightclick with egg:
    if tool's name is "{@yumurta-adi}":
        cancel event
        remove 1 egg named "{@yumurta-adi}" from player
        spawn chicken
        push spawned chicken upwards at speed 0.5
        set spawned chicken's name to "{@tavuk-adi}"
        stop
        
every {@süre}:
    loop all entities of type chicken:
        loop-chicken's name contains "{@tavuk-adi}"
        chance of 100%:
            drop 1 of gold ingot at loop-chickens
            
command {@komut}:
    trigger:
        if player is op:
            give 1 egg named "{@yumurta-adi}" to player
            stop
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst