Skocz do zawartości
  • 0

Nakładanie przedmiotów


kubastion

Pytanie

Witam. 
Potrzebuję 2-ch wydarzeń, a mianowicie:
Jeśli mamy otwarty plecak, "złapiemy" jakiś przedmiot i "nałożymy" go na inny, to coś się wydarzy.
Kolejny to:
Przykładowo stworze GUI z 3 linijkami, pierwszą i trzecią ustawie na "unstealable", a w drugiej chciałbym, żeby była możliwość wkładania w przedmiotów.

Z góry dziękuje i pozdrawiam! :)

Odnośnik do komentarza
Udostępnij na innych stronach

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

1 to          on inventory click:

2 format slot :)

command /plecak
	trigger:
		open chest with 3 rows named "plecak" to player
		wait 2 tick
		format slot 0 of player with stone to be unstealable
		format slot 1 of player with stone to be unstealable
		format slot 2 of player with stone to be unstealable
		format slot 3 of player with stone to be unstealable
		format slot 4 of player with stone to be unstealable
		format slot 5 of player with stone to be unstealable
		format slot 6 of player with stone to be unstealable
		format slot 7 of player with stone to be unstealable
		format slot 8 of player with stone to be unstealable
		format slot 18 of player with stone to be unstealable
		format slot 19 of player with stone to be unstealable
		format slot 20 of player with stone to be unstealable
		format slot 21 of player with stone to be unstealable
		format slot 22 of player with stone to be unstealable
		format slot 23 of player with stone to be unstealable
		format slot 24 of player with stone to be unstealable
		format slot 25 of player with stone to be unstealable
		format slot 26 of player with stone to be unstealable	

powinno dziłać :)

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
1 minutę temu, kaol48s napisał:

1 to          on inventory click:

2 format slot :)


command /plecak
	trigger:
		open chest with 3 rows named "plecak" to player
		wait 2 tick
		format slot 0 of player with stone to be unstealable
		format slot 1 of player with stone to be unstealable
		format slot 2 of player with stone to be unstealable
		format slot 3 of player with stone to be unstealable
		format slot 4 of player with stone to be unstealable
		format slot 5 of player with stone to be unstealable
		format slot 6 of player with stone to be unstealable
		format slot 7 of player with stone to be unstealable
		format slot 8 of player with stone to be unstealable
		format slot 18 of player with stone to be unstealable
		format slot 19 of player with stone to be unstealable
		format slot 20 of player with stone to be unstealable
		format slot 21 of player with stone to be unstealable
		format slot 22 of player with stone to be unstealable
		format slot 23 of player with stone to be unstealable
		format slot 24 of player with stone to be unstealable
		format slot 25 of player with stone to be unstealable
		format slot 26 of player with stone to be unstealable	

powinno dziłać :)

on inventory click, to gdy klikamy w jakiś slot, można za pomocą tego wkladac przedmioty? o.oo.o 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
15 godzin temu, kaol48s napisał:

można jakoś jaśniej to opisać?

chodzi ci o takie jak są czasami skrzyki i klucze?

 

Jakie skrzynki i klucze? XD
Rozchodzi mi się o to, że zablokujemy 1 i 3 linijke, i w drugą będziemy mogli swobodnie wkładać przedmioty :)

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

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