Skip to content

Commit

Permalink
Update addEventListener.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ZXMushroom63 authored May 31, 2024
1 parent 6bc1a84 commit 14b1deb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/apidocs/events/addEventListener.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ It has the following valid values:

- `frame` Called every frame

- `render` Called every time a frame is done rendering. Passes an object with properties:
- `partialTicks`: The partial ticks into the frame. Eg, if the frame was rendered when the in-game clock hit a quarter of a tick, this would be 0.25.

- `sendchatmessage`
Called just before the player sends a chat message. Passes an object with properties:
- `message`: String representing the chat message.
Expand Down

0 comments on commit 14b1deb

Please sign in to comment.