Skocz do zawartości

Dobra Stoniarka


AdryKOX2

Rekomendowane odpowiedzi

command /stoniarka:

    permission: stoniarka.nitro

    trigger:

        give 1 end stone named "&aStoniarka" to player
on break:

    if event-block is stone:

        if block 1 down event-block is end stone:

            wait 0.1 second

            set event-block to stone

    if event-block is end stone:

        cancel event

        set event-block to air

        drop end stone named "&aStoniarka" at event-block
on place:

    if event-block is end stone:

        set block 1 up event-block to stone

Odnośnik do komentarza
Udostępnij na innych stronach

  • 1 rok później...

@up tez sie da zrobic z variables :P to moj przyklad stoniarek z arivi, ale nw czy bedzie dobrze dzialac jeszcze nie testowalem XD

 

on place:
    if {skstone::%event-block%} is false:
        if player's tool is end stone named "&5Generator stona":
            set {skstone::%event-block%} to true
            send "&8» &7Postawiles stoniarke!"
            set block 1 up event-block to stone
            set block 2 up event-block to stone
            
on break:
    if event-block is end stone:
        if {skstone::%event-block%} is true:
            set {stwyp} to true
            if player can hold 1 end stone named "&5Generator stona":
                give 1 end stone named "&5Generator stona" to player
            else:
                drop 1 end stone named "&5Generator stona" at event-block
    if event-block is stone:
        if block 1 down {skstone::%event-block%} is true:
            wait 0.5 second
            set block to stone
    if event-block is stone:
        if block 2 down {skstone::%event-block%} is true:
            wait 0.5 second
            set block to stone
            
on item spawn of end stone:
    if {stwyp} is true:
        cancel event
        set {stwyp} to false

Odnośnik do komentarza
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Gość
Dodaj odpowiedź do tematu...

×   Wklejono zawartość z formatowaniem.   Przywróć formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić obrazków. Dodaj lub załącz obrazki z adresu URL.

×
×
  • Dodaj nową pozycję...