General - Entity Id of Entity (Expression) — PacketEventsSK
Addon: PacketEventsSK · Category: Expression · Since: 1.0.0
Syntax
[the] (protocol|packet) [entity][ ]id of %entity%Description
Gets the entity id of an entity on the server
Examples
command killTargetForMe:
trigger:
set {_packet} to a new clientbound destroy entities packet:
entity ids: protocol id of target entity
silently send packet {_packet} to the player