mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Implement Forge FML2 protocol (MC 1.13+) (#1184)
Forge uses a different handshake scheme in FML2 protocol. This handshake scheme uses LoginPluginRequest/Response packets.
This commit is contained in:
parent
aeac56890b
commit
a28409043c
5 changed files with 346 additions and 91 deletions
17
MinecraftClient/Protocol/Handlers/Forge/FMLVersion.cs
Normal file
17
MinecraftClient/Protocol/Handlers/Forge/FMLVersion.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace MinecraftClient.Protocol.Handlers.Forge
|
||||
{
|
||||
/// <summary>
|
||||
/// Version of the FML protocol
|
||||
/// </summary>
|
||||
/// <seealso href="https://github.com/MinecraftForge/MinecraftForge/blob/master/src/main/java/net/minecraftforge/fml/network/FMLNetworkConstants.java"/>
|
||||
enum FMLVersion
|
||||
{
|
||||
FML,
|
||||
FML2
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue