NMS Send EntityData packet

  • After careful consideration and due to limited usage, we’ve made the decision to discontinue the PaperMC forums. Moving forward, we recommend using Hangar for plugin uploads, and for all other community discussions and support, please join us on Discord.

OwOchlé

New member
Aug 29, 2024
3
1
1
I've been trying to send an EntityData packet in order to make people glow for only one player, but I can't find a way to get the SynchedEntityData.DataValue<*> of the shared flags. The DataShared flag data accessor is protected on Entity and I can't find a way to have it.
For now, I have this code
Code:
ps.send(ClientboundSetEntityDataPacket(
    it.entityId,
    listOf(...)
))
And I don't know what to put in place of ...
 
  • Like
Reactions: cozyHousecat

mbaxter

Cat Wrangler
Staff member
Dec 14, 2021
128
25
21
18
over there
As this message has sat for several days - I suggest asking in a protocol-focused or internals-focused community. We primarily focus on the Paper API.
 
  • Like
Reactions: OwOchlé