on rightclick on dispenser:
cancel event
if player is holding Paper named "&bTest":
teleport player to location at -1003, 17, -1073
spawn 1 zombie at location -1003, 17, -1070
set the last spawned entity's max health to 50
heal last spawned entity
set the spawned zombie's display name to "&4&lGoblin &2%spawned zombie's health%&9/&c%max health of last spawned entity%"
set helmet of last spawned entity to diamond helmet
set chestplate of last spawned entity to diamond chestplate
set leggings of last spawned entity to diamond leggings
set boots of last spawned entity to diamond boots
set tool of last spawned entity to diamond sword of sharpness 5
Chodzi o to że jeśli ktoś bije bossa, to druga osoba nie może wbić do niego. Jeśli już go zabije, to będzie można wbić do bossa.
Pytanie
Kleks1 0
on rightclick on dispenser:
cancel event
if player is holding Paper named "&bTest":
teleport player to location at -1003, 17, -1073
spawn 1 zombie at location -1003, 17, -1070
set the last spawned entity's max health to 50
heal last spawned entity
set the spawned zombie's display name to "&4&lGoblin &2%spawned zombie's health%&9/&c%max health of last spawned entity%"
set helmet of last spawned entity to diamond helmet
set chestplate of last spawned entity to diamond chestplate
set leggings of last spawned entity to diamond leggings
set boots of last spawned entity to diamond boots
set tool of last spawned entity to diamond sword of sharpness 5
Chodzi o to że jeśli ktoś bije bossa, to druga osoba nie może wbić do niego. Jeśli już go zabije, to będzie można wbić do bossa.
Odnośnik do komentarza
Udostępnij na innych stronach
5 odpowiedzi na to pytanie
Rekomendowane odpowiedzi