Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions LCE/Packets/Clientbound/Animation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Animation Packet (Clientbound)

### Info
| Name | Value |
|----------------|-------------|
| ID | 0x12 (18) |
| Estimated Size | 5 |
| Direction | Clientbound |

## Network Structure
| Name | Type/Size |
|---------------------|---------------------|
| ID | Integer (0x04) |
| Action | Byte (0x01) |

## Class Structure
| Name | Type | Default |
|---------------------|---------------|----------|
| ID | int | -1 |
| Action | byte | 0 |
18 changes: 18 additions & 0 deletions LCE/Packets/Clientbound/Change Difficulty.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Change Difficulty Packet (Clientbound)

### Info
| Name | Value |
|----------------|-------------|
| ID | 0xFD (253) |
| Estimated Size | |
| Direction | Clientbound |

## Network Structure
| Name | Type/Size | Notes |
|------------|----------------------|---------------------------------------------|
| Difficulty | Unsigned Byte (0x01) | Stored as an unsigned byte over the network |

## Class Structure
| Name | Type | Notes |
|------------|-------------------|-----------------------------------------|
| Difficulty | Difficulty (enum) | Has no default |
18 changes: 18 additions & 0 deletions LCE/Packets/Clientbound/Keep Alive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Keep Alive Packet (Clientbound)

### Info
| Name | Value |
|----------------|-------------|
| ID | 0x00 (0) |
| Estimated Size | |
| Direction | Clientbound |

## Network Structure
| Name | Type/Size | Notes |
|------------|----------------------|---------------------------------------------|
| ID | Integer (0x04) | |

## Class Structure
| Name | Type | Default |
|------------|-------------------|-----------------------------------------|
| ID | int | 0 |
18 changes: 18 additions & 0 deletions LCE/Packets/Clientbound/Set Carried Item.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Set Carried Item Packet (Clientbound)

### Info
| Name | Value |
|----------------|-------------|
| ID | 0x10 (16) |
| Estimated Size | 2 |
| Direction | Clientbound |

## Network Structure
| Name | Type/Size |
|---------------------|---------------------|
| Item ID | Byte (0x01) |

## Class Structure
| Name | Type | Default |
|---------------------|---------------|----------|
| Item ID | byte | 0 |
22 changes: 22 additions & 0 deletions LCE/Packets/Clientbound/Set Experience.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Set Experience Packet (Clientbound)

### Info
| Name | Value |
|----------------|-------------|
| ID | 0x2B (43) |
| Estimated Size | |
| Direction | Clientbound |

## Network Structure
| Name | Type/Size |
|---------------------|----------------------|
| Experience Progress | Float (0x04) |
| Total Experience | Integer (0x04) |
| Experience Level | Integer (0x04) |

## Class Structure
| Name | Type | Default |
|---------------------|----------|----------|
| Experience Progress | float | 0.0 |
| Total Experience | int | 0 |
| Experience Level | int | 0 |
20 changes: 20 additions & 0 deletions LCE/Packets/Clientbound/Set Time.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Set Time Packet (Clientbound)

### Info
| Name | Value |
|----------------|-------------|
| ID | 0x04 (4) |
| Estimated Size | 16 |
| Direction | Clientbound |

## Network Structure
| Name | Type/Size |
|---------------------|---------------------|
| Game Time | Long (0x08) |
| Day Time | Long (0x08) |

## Class Structure
| Name | Type | Default |
|---------------------|---------------|----------|
| Game Time | long long | 0 |
| Day Time | long long | 0 |
72 changes: 72 additions & 0 deletions LCE/Packets/Clientbound/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,75 @@ Packets sent to the client from the server.
> [!NOTE]
> Table of contents is ordered by Packet ID.
### Table of contents

| Page | Class Name |
|--------------------------------------------------------------------------------|---------------------------------------------|
| [Keep Alive](/LCE/Packets/Clientbound/Keep%20Alive.md) | ClientboundKeepAlivePacket |
| TODO | ClientboundLoginPacket |
| TODO | ClientboundPreLoginPacket |
| TODO | ClientboundChatPacket |
| [Set Time](/LCE/Packets/Clientbound/Set%20Time.md) | ClientboundSetTimePacket |
| TODO | ClientboundSetEquippedItemPacket |
| TODO | ClientboundSetSpawnPositionPacket |
| TODO | ClientboundSetHealthPacket |
| TODO | ClientboundRespawnPacket |
| [Set Carried Item](/LCE/Packets/Clientbound/Set%20Carried%20Item.md) | ClientboundSetCarriedItemPacket |
| TODO | ClientboundPlayerSleepPacket |
| [Animation](/LCE/Packets/Clientbound/Animation.md) | ClientboundAnimatePacket |
| TODO | ClientboundAddPlayerPacket |
| TODO | ClientboundTakeItemEntityPacket |
| TODO | ClientboundAddEntityPacket |
| TODO | ClientboundAddMobPacket |
| TODO | ClientboundAddPaintingPacket |
| TODO | ClientboundAddExperienceOrbPacket |
| TODO | ClientboundSetEntityMotionPacket |
| TODO | ClientboundRemoveEntitiesPacket |
| TODO | ClientboundMoveEntityPacket |
| TODO | ClientboundTeleportEntityPacket |
| TODO | ClientboundRotateHeadPacket |
| TODO | ClientboundEntityEventPacket |
| TODO | ClientboundSetEntityLinkPacket |
| TODO | ClientboundSetEntityDataPacket |
| TODO | ClientboundUpdateMobEffectPacket |
| TODO | ClientboundRemoveMobEffectPacket |
| [Set Experience](/LCE/Packets/Clientbound/Set%20Experience.md) | ClientboundSetExperiencePacket |
| TODO | ClientboundUpdateAttributesPacket |
| TODO | ClientboundChunkBlocksUpdatePacket |
| TODO | ClientboundBlockUpdatePacket |
| TODO | ClientboundBlockEventPacket |
| TODO | ClientboundBlockDestructionPacket |
| TODO | ClientboundExplodePacket |
| TODO | ClientboundLevelEventPacket |
| TODO | ClientboundSoundPacket |
| TODO | ClientboundLevelParticlesPacket |
| TODO | ClientboundGameEventPacket |
| TODO | ClientboundAddGlobalEntityPacket |
| TODO | ClientboundContainerOpenPacket |
| TODO | ClientboundContainerClosePacket |
| TODO | ClientboundContainerSetSlotPacket |
| TODO | ClientboundContainerSetContentPacket |
| TODO | ClientboundContainerSetDataPacket |
| TODO | ClientboundContainerAckPacket |
| TODO | ClientboundBlockEntityDataPacket |
| TODO | ClientboundMoveVehiclePacket |
| TODO | ClientboundSetPassengersPacket |
| TODO | ClientboundBossEventPacket |
| TODO | ClientboundPowerupPacket |
| TODO | ClientboundAwardStatPacket |
| TODO | ClientboundPlayerAbilitiesPacket |
| TODO | ClientboundSetPlayerTeamPacket |
| TODO | ClientboundMapItemDataPacket |
| TODO | ClientboundOpenSignEditorPacket |
| TODO | ClientboundPlayerCombatPacket |
| TODO | ClientboundPlayerPositionPacket |
| TODO | ClientboundResourcePackPacket |
| TODO | ClientboundSetBorderPacket |
| TODO | ClientboundSetCameraPacket |
| TODO | ClientboundSetTitlesPacket |
| TODO | ClientboundTabListPacket |
| TODO | ClientboundDamageIndicatorPacket |
| TODO | ClientboundBlockCollectionDestructionPacket |
| TODO | ClientboundCooldownPacket |
| TODO | ClientboundMGPlayerSettingsUpdatePacket |
| TODO | ClientboundCustomPayloadPacket |
| [Change Difficulty](/LCE/Packets/Clientbound/Change%20Difficulty.md) | ClientboundChangeDifficultyPacket |