Skocz do zawartości
  • 0

particlesy


MrClaasPL
 Udostępnij

Pytanie

Witam :P

Pomoże mi ktoś w particlesach ?

Chodzi o oto aby nie otwierało się ich za pomocą komendy tylko jak się kliknie na patyk

i aby nie można było zabierać itemków z tego menu do własnego eq z góry dzieki ;)

KODZIK:

variables:
        {serca.%player%} = false
        {plomyki.%player%} = false
        {nuty.%player%} = false
        {wybuch.%player%} = false
        {magia.%player%} = false
        {chmura.%player%} = false
        {redd.%player%} = false
        {fajerw.%player%} = false
        {koleczki.%player%} = false
options:
        noperm: &cBrak uprawnien!
command /efekte:
        permission: efekt.y
        permission message:%{@noperm}%
        trigger:
                open chest with 3 rows named "             &cEfekty" to player
                wait 2 ticks
                format slot 0 of player with 1 of 160 named "" to close
                format slot 1 of player with 1 of 160 named "" to close
                format slot 2 of player with 1 of 160 named "" to close
                format slot 3 of player with 1 of 160 named "" to close
                format slot 4 of player with 1 of 160:14 named "&c&lWylacz wszystkie efekty!" to run "efekt %player% reset"
                format slot 5 of player with 1 of 160 named "" to close
                format slot 6 of player with 1 of 160 named "" to close
                format slot 7 of player with 1 of 160 named "" to close
                format slot 8 of player with 1 of 160 named "" to close
                format slot 9 of player with 1 of block of redstone named "&aEfekt: &cSerca" to run "efekt %player% serca"
                format slot 10 of player with 1 of fire named "&aEfekt: &4Plomyki" to run "efekt %player% plomyki"
                format slot 11 of player with 1 of note block named "&aEfekt: &1Nuty" to run "efekt %player% nuty"
                format slot 12 of player with 1 of tnt named "&aEfekt: &8Wybuch" to run "efekt %player% wybuch"
                format slot 13 of player with 1 of enchantment table named "&aEfekt: &bMagia" to run "efekt %player% magia"
                format slot 14 of player with 1 of snow named "&aEfekt: &7Chmura" to run "efekt %player% chmura"
                format slot 15 of player with 1 of redstone named "&aEfekt: &7Redstone" to run "efekt %player% redd"
                format slot 16 of player with 1 of firework rocket named "&aEfekt: &7Fajerwerki" to run "efekt %player% fajerw"
                format slot 17 of player with 1 of eye of ender named "&aEfekt: &5Koleczki" to run "efekt %player% koleczki"
                format slot 18 of player with 1 of 160 named "" to close
                format slot 19 of player with 1 of 160 named "" to close
                format slot 20 of player with 1 of 160 named "" to close
                format slot 21 of player with 1 of 160 named "" to close
                format slot 22 of player with 1 of 160:14 named "&c&lWylacz wszystkie efekty!" to run "efekt %player% reset"
                format slot 23 of player with 1 of 160 named "" to close
                format slot 24 of player with 1 of 160 named "" to close
                format slot 25 of player with 1 of 160 named "" to close
                format slot 26 of player with 1 of 160 named "" to close
command /efekt [<player>] [<text>]:
        trigger:
                if arg 2 is "serca":
                        if {serca.%arg-player%} is false:
                                set {serca.%arg-player%} to true
                        else:
                                set {serca.%arg-player%} to false
                if arg 2 is "plomyki":
                        if {plomyki.%arg-player%} is false:
                                set {plomyki.%arg-player%} to true
                        else:
                                set {plomyki.%arg-player%} to false
                if arg 2 is "nuty":
                        if {nuty.%arg-player%} is false:
                                set {nuty.%arg-player%} to true
                        else:
                                set {nuty.%arg-player%} to false
                if arg 2 is "wybuch":
                        if {wybuch.%arg-player%} is false:
                                set {wybuch.%arg-player%} to true
                        else:
                                set {wybuch.%arg-player%} to false
                if arg 2 is "magia":
                        if {magia.%arg-player%} is false:
                                set {magia.%arg-player%} to true
                        else:
                                set {magia.%arg-player%} to false
                if arg 2 is "chmura":
                        if {chmura.%arg-player%} is false:
                                set {chmura.%arg-player%} to true
                        else:
                                set {chmura.%arg-player%} to false
                if arg 2 is "redd":
                        if {redd.%arg-player%} is false:
                                set {redd.%arg-player%} to true
                        else:
                                set {redd.%arg-player%} to false
                if arg 2 is "fajerw":
                        if {fajerw.%arg-player%} is false:
                                set {fajerw.%arg-player%} to true
                        else:
                                set {fajerw.%arg-player%} to false
                if arg 2 is "koleczki":
                        if {koleczki.%arg-player%} is false:
                                set {koleczki.%arg-player%} to true
                        else:
                                set {koleczki.%arg-player%} to false
                if arg 2 is "reset":
                        set {serca.%arg-player%} to false
                        set {plomyki.%arg-player%} to false
                        set {nuty.%arg-player%} to false
                        set {wybuch.%arg-player%} to false
                        set {magia.%arg-player%} to false
                        set {chmura.%arg-player%} to false
                        set {redd.%arg-player%} to false
                        set {fajerw.%arg-player%} to false
                        set {koleczki.%arg-player%} to false
                        send "&cEfekty zostaly wylaczone!"
every 0.01 seconds:
        loop all players:
                if {serca.%loop-player%} is true:
                        spawn 5 of particle heart offset by 0.5, 1, 0.5 at loop-player
                if {plomyki.%loop-player%} is true:
                        spawn 5 of particle flame offset by 0.5, 1, 0.5 at loop-player
                if {nuty.%loop-player%} is true:
                        spawn 5 of particle note offset by 0.5, 1, 0.5 at loop-player
                if {wybuch.%loop-player%} is true:
                        spawn 5 of particle explode offset by 0.5, 1, 0.5 at loop-player
                if {magia.%loop-player%} is true:
                        spawn 10 of particle spell offset by 0.5, 1, 0.5 at loop-player
                if {fajerw.%loop-player%} is true:
                        spawn 10 of particle cloud offset by 0.5, 1, 0.5 at loop-player
                if {redd.%loop-player%} is true:
                        spawn 10 of particle red_dust offset by 0.5, 1, 0.5 at loop-player
                if {fajerw.%loop-player%} is true:
                        spawn 5 of particle fireworks_Spark offset by 0.5, 1, 0.5 at loop-player
                if {koleczki.%loop-player%} is true:
                        spawn 5 of particle magic_Crit offset by 0.5, 1, 0.5 at loop-player    
on quit:
        set {serca.%player%} to false
        set {plomyki.%player%} to false
        set {nuty.%player%} to false
        set {wybuch.%player%} to false
        set {magia.%player%} to false
        set {chmura.%player%} to false
        set {redd.%player%} to false
        set {fajerw.%player%} to false
        set {koleczki.%player%} to false

Edytowane przez MrClaasPL
Odnośnik do komentarza
Udostępnij na innych stronach

1 odpowiedź na to pytanie

Rekomendowane odpowiedzi

  • 0

Nie wiem czy ci chodzi o to ale xd:

on rightclick with stick:
    execute player command "/efekte"

Co do drugiego zamiast close napisz: to be unstealable i dodaj też to do włączania i wyłączania efektów

 

Edytowane przez Kapson1337
Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...