Yardım Nasıl yaparım ?

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
            create hologram "&aSalatalığın hasat edilebilir." at location 1 meter above event-location for 25 ticks

Burda eğer fern se bi 10 saniye sonra yok olmasını yapmak istiyorum ve yok olduğu yere çürük tohum atsın istiyorum ama yapamadım yardım edebilir misiniz ?
 

EnesFearless

Ağaç Yumruklayıcı
En iyi cevaplar
0
Merhaba, düşmesi yerine oyuncuya eşya verilmesini sağlamak daha mantıklı olmaz mı? En azından "Lag" da olmaz...
 

RigbGT

Ağaç Yumruklayıcı
En iyi cevaplar
1
Merhaba, düşmesi yerine oyuncuya eşya verilmesini sağlamak daha mantıklı olmaz mı? En azından "Lag" da olmaz...
Oyuncuya vermesi de olabilir ama sorun şu ki bir türlü fern i başka bir şeye belli bir süre sonra dönüşmüyor.Daha doğrusu ben yapamadı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:
            every 10 seconds
            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
Çalıştığından tam emin değilim.
[16:29:38 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (lynixcore.sk, line 133: if {_block} is a fern:')
[16:29:39 ERROR]: Can't understand this condition/effect: every 10 seconds (lynixcore.sk, line 134: every 10 seconds')
[16:29:39 ERROR]: Can't understand this condition/effect: set fern to air (lynixcore.sk, line 135: set fern to air')
 

EnesFearless

Ağaç Yumruklayıcı
En iyi cevaplar
0
Az önce yanlış bir şey yaptım, düzenledim bir dakika... şunu deneyiniz:
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:
            every 10 seconds:
            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
 

EnesFearless

Ağaç Yumruklayıcı
En iyi cevaplar
0
"Block"'u "Fern" olarak göstermiştim, düzenledim fakat yeni bir kod daha girdim onu deneyiniz.
 

RigbGT

Ağaç Yumruklayıcı
En iyi cevaplar
1
"Block"'u "Fern" olarak göstermiştim, düzenledim fakat yeni bir kod daha girdim onu deneyiniz.
10 saniye beklemek yerine direk gidiyor.
[16:42:11 ERROR]: can't understand this condition: 'every 10 seconds' (lynixcore.sk, line 135: every 10 seconds:')
[16:42:11 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (lynixcore.sk, line 135: every 10 seconds:')
şöyle hata kodunu da atayı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 10 seconds  
            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
 
Son düzenleme:

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 10 seconds
            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
wait second ile bende denedim ama silmiyor maalesef böyle de
 

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
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 silmiyor.
Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (lynixcore.sk, line 134: if {_block} is a fern:')
 
Üst