Yardım Nasıl yaparım ?

EnesFearless

Ağaç Yumruklayıcı
En iyi cevaplar
0
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ı
En iyi cevaplar
1
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.
 

COBBLEMC

Marangoz
En iyi cevaplar
2
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ı
En iyi cevaplar
0
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ış
En iyi cevaplar
1
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