#Entity metadata

9 messages · Page 1 of 1 (latest)

snow osprey
#

Hi everyone! I need to send additional data about an Entity from the server (Paper) to the client (Fabric), version 1.21.5. What is the best way to do this?

limber pine
#

custom payload

#

send the entity (network) id + the data in the payload

snow osprey
limber pine
#

what

#

you send both in a single custom payload packet

snow osprey
# limber pine what

Should I send the information as entity ID + data in a separate (custom payload) packet? If possible, I’d prefer to modify existing packets instead.

#

If that approach is considered bad practice, then I’ll go with your suggestion instead.

limber pine
#

it is, i don't even know if nms let's you modify existing packets (probably not)