Skip to content

A simple web-based tool to compare Minecraft Java Edition protocol packet structures across different versions.

License

Notifications You must be signed in to change notification settings

IconPippi/minecraft-protocol-diff-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft Protocol Diff Tool

A simple web-based tool to compare Minecraft Java Edition protocol packet structures across different versions.

This tool allows you to select a range of Minecraft versions, a protocol state (Handshaking, Status, Login, Play), a packet direction (Clientbound or Serverbound), and a specific packet name. It then displays how the Packet ID and structure definition for that packet changed over the selected version range.

Showcase

Features

  • Compare packet structures between specified Minecraft versions.
  • View changes in Packet ID and structure definition.
  • Displays the corresponding protocol version number range for each packet definition group.
  • Filter by protocol state and direction.
  • Simple web interface built with Node.js/Express.

Prerequisites

  • Node.js (LTS version recommended)
  • npm (included with Node.js)

Installation

  1. Clone the repository:
    git clone <repository-url> # Or download the source code
    cd <repository-directory>
  2. Install dependencies:
    npm install

Running the Server

  1. Start the server:
    node server.js
  2. The server will start, typically listening on http://localhost:3000. You'll see a confirmation message in your console.

Usage

  1. Open your web browser and navigate to http://localhost:3000.
  2. Select the desired Start Version and End Version for the comparison range using the dropdown menus.
  3. Choose the protocol State (e.g., Play, Login).
  4. Select the packet Direction (Server -> Client or Client -> Server).
  5. The Packet Name dropdown will populate based on your selections. Choose the specific packet you want to compare.
  6. Click the Compare button.
  7. The results area will display the comparison, showing groups of versions where the packet ID and structure remained the same. Changes between these groups will be highlighted. Protocol version numbers (e.g., p340) corresponding to the Minecraft versions will also be shown.

Data Source

This tool relies heavily on the protocol definitions provided by the minecraft-data library. Ensure this dependency is installed correctly.

About

A simple web-based tool to compare Minecraft Java Edition protocol packet structures across different versions.

Topics

Resources

License

Stars

Watchers

Forks