Yardım Nasıl yaparım ?

EnesFearless

Ağaç Yumruklayıcı
Mesajlar
39
En iyi cevaplar
0
Beğeniler
18
Puanları
200
Kod:
on crop growth:
    if event-location is {tohumlar::salatalık::%event-location%}:
        if event-block is fully grown wheat plant:
            set event-block to fern
            if {_block} is a fern: 
            wait 100 tick
            wait 20 tick
            wait 20 tick
            wait 20 tick
            wait 20 tick
            wait 20 tick
            wait 20 tick
            wait 20 tick
            wait 20 tick
            wait 20 tick
            set {_block} to air
            execute console command "/give %player% wheat_seeds"
            create hologram "&aSalatalığın hasat edilebilir." at location 1 meter above event-location for 25 ticks
 

RigbGT

Ağaç Yumruklayıcı
Mesajlar
39
En iyi cevaplar
1
Beğeniler
9
Puanları
200
Kod:
on crop growth:
    if event-location is {tohumlar::salatalık::%event-location%}:
        if event-block is fully grown wheat plant:
            set event-block to fern
            if {_block} is a fern:
            wait 100 tick
            wait 20 tick
            wait 20 tick
            wait 20 tick
            wait 20 tick
            wait 20 tick
            wait 20 tick
            wait 20 tick
            wait 20 tick
            wait 20 tick
            set {_block} to air
            execute console command "/give %player% wheat_seeds"
            create hologram "&aSalatalığın hasat edilebilir." at location 1 meter above event-location for 25 ticks
Gene aynı silinmiyor.
 

EnesFearless

Ağaç Yumruklayıcı
Mesajlar
39
En iyi cevaplar
0
Beğeniler
18
Puanları
200
Neden "10" "Saniye" bekletmek istiyorsunuz?
 

RigbGT

Ağaç Yumruklayıcı
Mesajlar
39
En iyi cevaplar
1
Beğeniler
9
Puanları
200
Neden "10" "Saniye" bekletmek istiyorsunuz?
Oyuncu kırmadığında yok olmasını istiyorum normalde 10 saniye yapamayacağım 30 dk gibi bir süre düşünüyorum ama bu çalışmıyorsa o da çalışmaz diye düşünüyorum.
 

COBBLEMC

Marangoz
Mesajlar
42
En iyi cevaplar
2
Beğeniler
5
Puanları
70
Kod:
on crop growth:
    if event-location is {tohumlar::salatalık::%event-location%}:
        if event-block is fully grown wheat plant:
            set event-block to fern
            set {_block} to location of event-block
            wait 10 seconds
            if event-block is a fern:
                set {_block} to air
                execute console command "/give %player% wheat_seeds"
                create hologram "&aSalatalığın hasat edilebilir." at location 1 meter above event-location for 25 ticks
Dener misin ?
 

EnesFearless

Ağaç Yumruklayıcı
Mesajlar
39
En iyi cevaplar
0
Beğeniler
18
Puanları
200
Kod:
on crop growth:
    if event-location is {tohumlar::salatalık::%event-location%}:
        if event-block is fully grown wheat plant:
            set event-block to fern
            set {_block} to location of event-block
            wait 10 seconds
            if event-block is a fern:
                set {_block} to air
                execute console command "/give %player% wheat_seeds"
                create hologram "&aSalatalığın hasat edilebilir." at location 1 meter above event-location for 25 ticks
Dener misin ?
Sen benim yazdığım "CODE" aynı anlamını yazmışsın, bir kod dışında...
 

mcvzr

Sudan Çıkmış
Mesajlar
5
En iyi cevaplar
1
Beğeniler
1
Puanları
20
Sadece
Kod:
set {_block} to air

Kısmını

Kod:
set block at {_block} to air

Bu kısımla değiştirirsen olur 1. adım şeklinde yaparsan o değişeknin değerinini sadece air ile değiştirirsin fakat 2. kısımda o değişkenin locationuna air block koyarsın
 

Üst