Packet Entity - Health (Expression) — skPackets
Addon: skPackets · Category: Expression · Since: 1.0.0
Syntax
[meta field] (health|hp) of [(fake|packet) entit(y|ies)] %packetentities%Description
The living entity health metadata value. Supports set, delete and reset; unsupported entity types are rejected.
Examples
command /healthy-mob:
trigger:
set {_mob} to a new packet entity:
entity: zombie
location: location of player
viewers: player
set meta field health of packet entity {_mob} to 20
wait 5 seconds
kill packet entity {_mob}