Sandığa Belirli İtemleri Rastgele Koyma

H

HardCore2

Ziyaretçi
Merhaba Arkadaşlar, Yine Bu Gün Sizden Yardım İsteyeceğim. Arkadaşlar Ben Bir Sandığa Rastgele İtem Koymak İstiyorum Kısacası..
/itemkoy Yazdığım Zaman Dünyaya Koyulmuş Olan Tüm Sandıkların İçine Elma Ve Taş Girsin Bunu Nasıl Yapabiliriz? Bir Kaç Kaynağı Araştırdım Ama Bulamadım Bu Konuda İse Çözümlenmemiş; Güncellemek Yerine Yeni Konu Açtım. Ayrıca Bu Kaynağada Baktım Ama Skript Biraz Karışık Geldi Doğrusu. Yardımcı Olan Herkese Teşekkürler.
 


Son düzenleme:

Rosenrot

LAGOMORPHA
Mesajlar
1,411
En iyi cevaplar
0
Beğeniler
1,348
Puanları
3,200
Kod:
command /itemkoy:
    trigger:
        loop all blocks:
            loop-block is a chest:
                add an apple to loop-block's inventory
                add a stone block to loop-block's inventory
 

HqeS

Elmas Madencisi
Mesajlar
888
En iyi cevaplar
0
Beğeniler
134
Puanları
570
Ruh hali
Kod:
on rightclick on chest:
          chance of 50%:
          set 1st slot of clicked block to Stone
          set 2nd slot of clicked block to Diamond Sword
          set 3rd slot of clicked block to Golden Apple
          chance of 50%:
          set 1st slot of clicked block to paper
          set 2nd slot of clicked block to string
          set 3rd slot of clicked block to stick

muhtemelen çalışır :D
 
H

HardCore2

Ziyaretçi
Kod:
command /itemkoy:
    trigger:
        loop all blocks:
            loop-block is a chest:
                add an apple to loop-block's inventory
                add a stone block to loop-block's inventory
teşekkürler ama ilk baştaki alma ekleme kodunda "an" kullanmışsın 2. stone ekleme kodunda ise "a" kullanmışsın bunun sebebi nedir?
 
H

HardCore2

Ziyaretçi
Kod:
on rightclick on chest:
          chance of 50%:
          set 1st slot of clicked block to Stone
          set 2nd slot of clicked block to Diamond Sword
          set 3rd slot of clicked block to Golden Apple
          chance of 50%:
          set 1st slot of clicked block to paper
          set 2nd slot of clicked block to string
          set 3rd slot of clicked block to stick

muhtemelen çalışır :D
teşekkürler ama bu chest her açılışında item koyuyor
 

HqeS

Elmas Madencisi
Mesajlar
888
En iyi cevaplar
0
Beğeniler
134
Puanları
570
Ruh hali
teşekkürler ama ilk baştaki alma ekleme kodunda "an" kullanmışsın 2. stone ekleme kodunda ise "a" kullanmışsın bunun sebebi nedir?
ingilizcede
bir kelime sesli harfle başlıyorsa (a,e,i,o,u,ü,ö)
başına "an" konur
Sessiz Harf İle Başlıyorsa "A" Konur
 

KaanGunlu

Işık Taşı Madencisi
Mesajlar
3,239
En iyi cevaplar
0
Beğeniler
4,843
Puanları
6,840
command "/itemkoy":
player has permission "enbuyukkurucu.op"
loop all blocks:
loop-block is a chest:
add a apple to loop-block's inventory
add a stone block to loop-block's inventory​
 

NeveseRC

Elmas Madencisi
Mesajlar
864
En iyi cevaplar
0
Beğeniler
736
Puanları
2,340
kardeş seni hiç forumda görmedim :D yenimisin dicem 3 yıl önce kayıt olmuşun :D
Şansa bak bende seni yeni görüyorum :) 2 ay önce bıraktım minecraftı bırakmıştım forumda takılıyorum 1-2 gündür
 

Üst