Zmień kod w evencie on death of player na ten kod:
zmień w kodzie:
set {_deathchest} to location of block above player
na:
set {_deathchest} to location of block above block below player
albo:
set {_deathchest} to location of block at player
on spawn of villager: set {loc::%event-entity%} to location of event-entity apply slowness 10000 to event-entity for 99999 daysevery 2 seconds: loop all entities: if loop-entity is villager: teleport loop-entity to {loc::%loop-entity%}P.S + coś przeciwko zbędnemu trzymaniu tego w pamięci po zabiciu on death of villager: if {loc::%victim%} is set: delete {loc::%victim%}
spawn skeleton 3 meters in front of player
set name of last spawned entity to "The szkielet"
set tool of last spawned entity to diamond sword
equip last spawned entity with all diamond armour/armor of protection 4