Skocz do zawartości
  • 0

blokowanie netheritowego armoru toolsow itd


Pytanie

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
55 minut temu, baran napisał:

siemka, poszukuje skryptu na zablokowanie na wersji 1.16.3 netheritowego armoru, netheritowych toolsow i wsszystkiego co z netheritem zwiazane
jezeli ktos cos ma, to byłbym wdzieczny za podeslanie czegos takiego :)

Proszę. Wymagany skript-reflect. W skrócie, należy wypisać wszystkie eventy, w których netherite'owe itemy mogą brać udział, gdyż Skript nie pozwala na całkowite zablokowanie danego itemu w grze.

on inventory click:
	if "%event-item's type%" contains "netherite":
		cancel event
		remove event-item from player's inventory

on pickup:
	if "%event-item's type%" contains "netherite":
		cancel event
		event-item.remove()
		
on drop:
	if "%event-item's type%" contains "netherite":
		cancel event
		remove event-item from player's inventory

on craft:
	if "%event-item's type%" contains "netherite":
		cancel event
		remove all iron ingots from player's inventory

on damage:
	if "%attacker's tool's type%" contains "netherite":
		cancel event
		set attacker's tool to air

on break:
	if "%player's tool's type%" contains "netherite":
		cancel event
		set player's tool to air
	
on click:
	if "%player's tool's type%" contains "netherite":
		cancel event
		set player's tool to air

 

Odnośnik do komentarza
https://skript.pl/temat/42188-blokowanie-netheritowego-armoru-toolsow-itd/#findComment-264527
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ę...