Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some client and serverbound packets #236

Closed
wants to merge 20 commits into from

Conversation

Czompi
Copy link
Contributor

@Czompi Czompi commented Jan 22, 2022

Add some client and serverbound packets

Login

Clientbound

  • LoginPluginRequest (0x04)
    • Base class created with properties

Serverbound

  • LoginPluginResponse (0x02)
    • Base class created with properties

Play

Clientbound

  • TradeList (0x06)
    • Base class created with properties
    • Added WriteMethod for Trade class
  • TabComplete (0x11)
    • Base class created with properties
    • Added WriteMethod for MatchItem class

Serverbound

  • SetDifficulty (0x02) // It does nothing (in servers), but added packet anyway
  • Not implemented due to it's used only on integrated servers
  • TabComplete (0x06)
    • Base class created with properties
    • Add basic logic behind packet
  • EditBook (0x0B)
    • Base class created with properties
    • Add basic logic behind packet
  • QueryEntityNbt (0x0C)
    • Base class created with properties
    • Add basic logic behind packet
  • GenerateStructure (0x0E)
    • Base class created with properties
    • Add basic logic behind packet
  • LockDifficulty (0x10)
    • Base class created with properties
    • Add basic logic behind packet
  • PlayerMovement (0x14)
    • Base class created with properties
    • Add basic logic behind packet
  • VehicleMove (0x15)
    • Base class created with properties
    • Add basic logic behind packet
  • SteerBoat (0x16)
    • Base class created with properties
    • Add basic logic behind packet
  • SetRecipeBookState (0x1E)
    • Base class created with properties
    • Add basic logic behind packet
  • ResourcePackStatus (0x21)
    • Base class created with properties
    • Add basic logic behind packet
  • SelectTrade (0x23)
    • Base class created with properties
    • Add basic logic behind packet
  • SetBeaconEffect (0x24)
    • Base class created with properties
    • Add basic logic behind packet
  • UpdateJigsawBlock (0x29)
    • Base class created with properties
    • Add basic logic behind packet
  • UpdateSign (0x2B)
    • Base class created with properties
    • Add basic logic behind packet
  • Spectate (0x2D)
    • Base class created with properties
    • Add basic logic behind packet

A part of #85.

@Czompi Czompi changed the title Feature/add packets Add some client and serverbound packets Jan 22, 2022
@Czompi Czompi marked this pull request as draft January 29, 2022 20:29
@Naamloos
Copy link
Member

Naamloos commented Oct 6, 2022

I don't think this PR is still valid as we're ahead multiple protocol versions.. sorry ;(

@Naamloos Naamloos closed this Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants