Skocz do zawartości
  • 0

Błąd w skrypcie.


ZiomuuSss
 Udostępnij

Pytanie

CZemu nie działa mi ten kod:

on spawn:    if spawned entity is zombie:        set last spawned entity's max health to 20        equip zombie with diamond sword        heal last spawned entity        stop
Edytowane przez ZiomuuSss
Odnośnik do komentarza
Udostępnij na innych stronach

10 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Zamień:

equip zombie with diamond sword
set last spawned entity's max health to 20
Na:

equip last spawned entity with diamond sword
set health of spawned entity to 20
Proszę dawać nazwę tematu zgodną z jego treścią.

To już kolejne takie wykroczenie,

przy następnym zostaniesz ukarany 5 punktami ostrzeżeń.

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

kawałek z mojego kodu:

on spawn of zombie:#==============================##		Śnieżne zombie##==============================	if biome at event-location is ICE PLAINS or Ice Plains Spikes or Frozen River or Cold Beach or Cold Taiga:		chance of 30%:			set helmet of the event-entity to a leather helmet of Unbreaking 2			dye event-entity's helmet white			set chestplate of the event-entity to a leather chestplate			dye event-entity's chestplate white			set leggings of the event-entity to a leather leggings			dye event-entity's leggings white			set boots of the event-entity to a leather boots			dye event-entity's boots white			#set tool of the event-entity iron to a sword sword of Fire Aspect 2			set the event-entity's display name to "&f&nŚnieżne Zombie &6[lvl &41&6]"
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ę...