Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
radmanplays committed Mar 11, 2024
1 parent c7e8fdf commit 785b721
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/apidocs/events/ToServerEvents.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,23 +96,23 @@ Events called by packets being sent to the server by the client.
- `preventDefault`: Boolean representing whether or not to cancel processing the packet. Default is `false`.

- `sendpacketplayerdigging`
- `position`: [BlockPos](../globals/BlockPos.md)
- `position`: BlockPos
- `facing`: String
- Can be one of: `UP`, `DOWN`, `NORTH`, `SOUTH`, `EAST`, `WEST`
- `status`: String
- Can be one of: `START_DESTROY_BLOCK`, `ABORT_DESTROY_BLOCK`, `STOP_DESTROY_BLOCK`, `DROP_ALL_ITEMS`, `DROP_ITEM` or `RELEASE_USE_ITEM`
- `preventDefault`: Boolean representing whether or not to cancel processing the packet. Default is `false`.

- `sendpacketplayerdigging`
- `position`: [BlockPos](../globals/BlockPos.md)
- `position`: BlockPos
- `facing`: String
- Can be one of: `UP`, `DOWN`, `NORTH`, `SOUTH`, `EAST`, `WEST`
- `status`: String
- Can be one of: `START_DESTROY_BLOCK`, `ABORT_DESTROY_BLOCK`, `STOP_DESTROY_BLOCK`, `DROP_ALL_ITEMS`, `DROP_ITEM` or `RELEASE_USE_ITEM`
- `preventDefault`: Boolean representing whether or not to cancel processing the packet. Default is `false`.

- `sendpacketplayerblockplacement`
- `position`: [BlockPos](../globals/BlockPos.md)
- `position`: BlockPos
- `placedBlockDirection`: Integer
- `facingX`: Number
- `facingY`: Number
Expand All @@ -135,7 +135,7 @@ Events called by packets being sent to the server by the client.
- `preventDefault`: Boolean representing whether or not to cancel processing the packet. Default is `false`.

- `sendpacketupdatesign`
- `pos`: [BlockPos](../globals/BlockPos.md)
- `pos`: BlockPos
- `lines`: String[] [change-length]
- `preventDefault`: Boolean representing whether or not to cancel processing the packet. Default is `false`.

Expand All @@ -150,7 +150,7 @@ Events called by packets being sent to the server by the client.

- `sendpackettabcomplete`
- `message`: String
- `targetBlock`: [BlockPos](../globals/BlockPos.md)
- `targetBlock`: BlockPos
- `preventDefault`: Boolean representing whether or not to cancel processing the packet. Default is `false`.

- `sendpacketclientsettings`
Expand Down

0 comments on commit 785b721

Please sign in to comment.