Skip to content

Commit 98a431e

Browse files
committed
Add note about ChunkWatchEvent.Sent
1 parent a86c24d commit 98a431e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/datastorage/attachments.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ Currently, only serializable item stack attachments are synced between the clien
8989
This is done automatically.
9090

9191
To sync block entity, chunk, or entity attachments to a client, you need to [send a packet to the client][network] yourself.
92+
For chunks, you can use `ChunkWatchEvent.Sent` to know when to send chunk data to a player.
9293

9394
## Copying data on player death
9495
By default, entity data attachments are not copied on player death.

0 commit comments

Comments
 (0)