Skocz do zawartości
  • 0

'slot is not an item type' jak naprawic?


Pytanie

13 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
command /craftingi [<integer>]:
	trigger:
		if arg is not set:
			wait 1 tick
			open chest with 5 rows named "&4&lCraftingi:" to player
			format slot 0 of player with 1 of stone named "&6Sposob craftingu" to be unstealable
			format slot 1 of player with 1 of stone named "&6Sposob craftingu" to be unstealable
			format slot 2 of player with 1 of stone named "&6Sposob craftingu" to be unstealable
			format slot 9 of player with 1 of stone named "&6Sposob craftingu" to be unstealable
			format slot 11 of player with 1 of stone named "&6Sposob craftingu" to be unstealable
			format slot 18 of player with 1 of stone named "&6Sposob craftingu" to be unstealable
			format slot 19 of player with 1 of stone named "&6Sposob craftingu" to be unstealable
			format slot 20 of player with 1 of stone named "&6Sposob craftingu" to be unstealable
			format slot 10 of player with 1 of diamond pickaxe named "&6Sposob craftingu" to be unstealable
			format slot 37 of player with 1 of enchantment table named "&9&lKOPACZ FOSY" to be unstealable
			format slot 22 of player with 1 of rail named "&c&lNastepna strona" to run [make player execute command "craftingi 2"]
			format slot 6 of player with 1 of redstone named "&6Sposob craftingu" to be unstealable
			format slot 7 of player with 1 of iron ingot named "&6Sposob craftingu" to be unstealable
			format slot 8 of player with 1 of redstone named "&6Sposob craftingu" to be unstealable
			format slot 15 of player with 1 of iron ingot named "&6Sposob craftingu" to be unstealable
			format slot 17 of player with 1 of iron ingot named "&6Sposob craftingu" to be unstealable
			set slot 19 of player's current inventory to 1 of piston named "&c&lPowrot do menu"
			format slot 24 of player with 1 of redstone named "&6Sposob craftingu" to be unstealable
			format slot 26 of player with 1 of redstone named "&6Sposob craftingu" to be unstealable
			format slot 16 of player with 1 of stone named "&6Sposob craftingu" to be unstealable
			format slot 25 of player with 1 of piston base named "&6Sposob craftingu" to be unstealable
			format slot 43 of player with 1 of ender stone named "&aSTOWNIARKA" to be unstealable
		if arg is 2:
			wait 1 tick
			open chest with 5 rows named "&4&lCraftingi 2:" to player
			format slot 0 of player with 1 of obsidian named "&6Sposob craftingu" to be unstealable
			format slot 1 of player with 1 of obsidian named "&6Sposob craftingu" to be unstealable
			format slot 2 of player with 1 of obsidian named "&6Sposob craftingu" to be unstealable
			format slot 9 of player with 1 of obsidian named "&6Sposob craftingu" to be unstealable
			format slot 11 of player with 1 of obsidian named "&6Sposob craftingu" to be unstealable
			format slot 18 of player with 1 of obsidian named "&6Sposob craftingu" to be unstealable
			format slot 19 of player with 1 of obsidian named "&6Sposob craftingu" to be unstealable
			format slot 20 of player with 1 of obsidian named "&6Sposob craftingu" to be unstealable
			format slot 10 of player with 1 of enchanted golden apple named "&6Sposob craftingu" to be unstealable
			format slot 37 of player with 1 of ender portal frame named "&9&lBOYFARMER" to be unstealable
			format slot 6 of player with 1 of sand named "&6Sposob craftingu" to be unstealable
			format slot 7 of player with 1 of sand named "&6Sposob craftingu" to be unstealable
			format slot 8 of player with 1 of sand named "&6Sposob craftingu" to be unstealable
			format slot 15 of player with 1 of sand named "&6Sposob craftingu" to be unstealable
			format slot 17 of player with 1 of sand named "&6Sposob craftingu" to be unstealable
			format slot 24 of player with 1 of sand named "&6Sposob craftingu" to be unstealable
			format slot 25 of player with 1 of sand named "&6Sposob craftingu" to be unstealable
			format slot 26 of player with 1 of sand named "&6Sposob craftingu" to be unstealable
			format slot 16 of player with 1 of enchanted golden apple named "&6Sposob craftingu" to be unstealable
			format slot 43 of player with 1 of sand stone named "&9&lSANDFARMER" to be unstealable
			format slot 22 of player with 1 of rail named "&c&lPoprzednia strona" to run [make player execute command "craftingi"]
on inventory click:
	if inventory name of player's current inventory is "&4&lCraftingi:":
		cancel event
		if clicked slot is not 13:
			close player's inventory
		if clicked slot is 13:
			execute player command "craftingi 2"
	if inventory name of player's current inventory is "&4&lCraftingi 2:":
		cancel event
		if clicked slot is not 13 or 22:
			close player's inventory
		if clicked slot is 22:
			execute player command "craftingi"
		cancel event
				

 

Odnośnik do komentarza
https://skript.pl/temat/19759-slot-is-not-an-item-type-jak-naprawic/#findComment-134218
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ę...