[SK] İstek Sanırım Basitte

zSuleyman

Zombi Katili
Mesajlar
151
En iyi cevaplar
0
Beğeniler
28
Puanları
80
Beyler üstünde yürüdüğümüz bloğu nasıl değiştiririz mesela eğer süngerin üzerinde yürüyorsak süngeri kırmızı yün nasıl yaparız?
 


MhaWTHoR

Obsidyen Madencisi
Mesajlar
1,208
En iyi cevaplar
1
Beğeniler
1,161
Puanları
3,230
PHP:
on walk of sponge:
    set block below player to red wool
 

NeonSpade

Neon, the best
Mesajlar
299
En iyi cevaplar
0
Beğeniler
146
Puanları
0
*
PHP:
loop all blocks in radius 9 of player:
    if y-coord of loop-block is (y-coordinate of block at player - 1):
        set loop-block to red wool
**
Kod:
on walk of sponge:
    loop all blocks in radius 9 of player:
        if y-coord of loop-block is (y-coordinate of block at player - 1):
            set loop-block to red wool
 
S

Switcher

Ziyaretçi
**
Kod:
on walk of sponge:
    loop all blocks in radius 9 of player:
        if y-coord of loop-block is (y-coordinate of block at player - 1):
            set loop-block to red wool
**
Kod:
on walk of sponge:
    loop all blocks in radius 9 of player:
        loop-block is a sponge:
            if y-coord of loop-block is (y-coordinate of block at player - 1):
                set loop-block to red wool
                stop
 

Rosenrot

LAGOMORPHA
Mesajlar
1,411
En iyi cevaplar
0
Beğeniler
1,348
Puanları
3,200
**
Kod:
on walk of sponge:
    loop all blocks in radius 9 of player:
        if y-coord of loop-block is (y-coordinate of block at player - 1):
            set loop-block to red wool
**
Kod:
on walk of sponge:
    loop all blocks in radius 9 of player:
        loop-block is a sponge:
            if y-coord of loop-block is (y-coordinate of block at player - 1):
                set loop-block to red wool
                stop
****
PHP:
on walk of sponge:
    loop all blocks in radius 9 of player:
        loop-block is a sponge:
            if y-coord of loop-block is (y-coordinate of block at player - 2): #*
                set loop-block to red wool
 

zSuleyman

Zombi Katili
Mesajlar
151
En iyi cevaplar
0
Beğeniler
28
Puanları
80
Hepinize tek tek teşekkür ediyorum iyi forumlar!

Maalesef çalışmıyor can't understand event hatası on walkf of sponge hata veriyor

Hatayı buldum on walk of yerine on walk on olacakmış bi sorum daha olacak yürüdüğümüz yer kırmızı oldukdan sonra geri eski haline dönebilirmi?
 

Üst