Çözüldü SP KIRINCA ENV. GELME SKRİPTİ LAZIM

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Recep Aykal

! Hyalur#7603
Katılım
28 Ocak 2019
Mesajlar
39
Elmaslar
6
Puan
0
Minecraft
Hyalur
X
rcpjk

Discord:

Hyalur#7603

İpeksi kazma ile sp kırınca envantere gelme skripti lazım. Pluginlerde denedim olmadı birde skript ile deniyim olur belki.
 
Kod:
on block damage:
    if event-block is spawner:
        if tool of player is any pickaxe of silk touch
            set {_%event-block's location}
            wait 15 seconds
            set targeted block to {_var}
            if {_var} is {_%event-block's location}:
                set event-block to air
                drop 1 spawner at event-location
        else:
            send "&cHata &8» &bKazmanda ipeksi dokunuş yok!"

Kod:
on break:
    if gamemode of the player is not creative:
        if id of block below event-block is id of event-block:
            set {_block} to block below event-block
        else if id of block east event-block is id of event-block:
            set {_block} to block east event-block
        else if id of block west event-block is id of event-block:
            set {_block} to block west event-block
        else if id of block north event-block is id of event-block:
            set {_block} to block north event-block
        else if id of block south event-block is id of event-block:
            set {_block} to block south event-block
        else:
            set {_block} to event-block
        wait a tick
        if block below {_block} is an hopper:
            wait a tick
        else if hopper minecarts in radius 1 of block below {_block} is set:
            wait a tick
        loop dropped items and experience orbs in radius 0.6 of {_block}:
            if loop-entity exists:
                if loop-entity is an experience orb:
                    the player.giveExp(loop-entity.getExperience());
                else if loop-entity is a dropped item:
                    set {_item} to loop-entity.getItemStack()
                    if the player has space for {_item}:
                        give {_item} to the player
                    else:
                        drop {_item} at the player
                delete the loop-entity
 
SORUN ÇÖZÜLMÜŞTÜR. KONU KİLİTLENEBİLİR
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst