mirror of
https://github.com/Nan1t/NanoLimbo.git
synced 2025-07-09 11:30:13 +02:00
Add 1.19 mappings
This commit is contained in:
parent
dc6f85f6b7
commit
b08599deda
@ -84,7 +84,8 @@ public enum State {
|
||||
map(0x0E, V1_13, V1_13_2),
|
||||
map(0x0F, V1_14, V1_15_2),
|
||||
map(0x10, V1_16, V1_16_4),
|
||||
map(0x0F, V1_17, V1_18_2)
|
||||
map(0x0F, V1_17, V1_18_2),
|
||||
map(0x11, V1_19, V1_19)
|
||||
);
|
||||
|
||||
clientBound.register(PacketDeclareCommands::new,
|
||||
@ -92,7 +93,8 @@ public enum State {
|
||||
map(0x12, V1_15, V1_15_2),
|
||||
map(0x11, V1_16, V1_16_1),
|
||||
map(0x10, V1_16_2, V1_16_4),
|
||||
map(0x12, V1_17, V1_18_2)
|
||||
map(0x12, V1_17, V1_18_2),
|
||||
map(0x0F, V1_19, V1_19)
|
||||
);
|
||||
clientBound.register(PacketJoinGame::new,
|
||||
map(0x01, V1_8, V1_8),
|
||||
@ -101,7 +103,8 @@ public enum State {
|
||||
map(0x26, V1_15, V1_15_2),
|
||||
map(0x25, V1_16, V1_16_1),
|
||||
map(0x24, V1_16_2, V1_16_4),
|
||||
map(0x26, V1_17, V1_18_2)
|
||||
map(0x26, V1_17, V1_18_2),
|
||||
map(0x23, V1_19, V1_19)
|
||||
);
|
||||
clientBound.register(PacketPluginMessage::new,
|
||||
map(0x19, V1_13, V1_13_2),
|
||||
@ -109,7 +112,8 @@ public enum State {
|
||||
map(0x19, V1_15, V1_15_2),
|
||||
map(0x18, V1_16, V1_16_1),
|
||||
map(0x17, V1_16_2, V1_16_4),
|
||||
map(0x18, V1_17, V1_18_2)
|
||||
map(0x18, V1_17, V1_18_2),
|
||||
map(0x15, V1_19, V1_19)
|
||||
);
|
||||
clientBound.register(PacketPlayerAbilities::new,
|
||||
map(0x39, V1_8, V1_8),
|
||||
@ -120,7 +124,8 @@ public enum State {
|
||||
map(0x32, V1_15, V1_15_2),
|
||||
map(0x31, V1_16, V1_16_1),
|
||||
map(0x30, V1_16_2, V1_16_4),
|
||||
map(0x32, V1_17, V1_18_2)
|
||||
map(0x32, V1_17, V1_18_2),
|
||||
map(0x2F, V1_19, V1_19)
|
||||
);
|
||||
clientBound.register(PacketPlayerPositionAndLook::new,
|
||||
map(0x08, V1_8, V1_8),
|
||||
@ -131,7 +136,8 @@ public enum State {
|
||||
map(0x36, V1_15, V1_15_2),
|
||||
map(0x35, V1_16, V1_16_1),
|
||||
map(0x34, V1_16_2, V1_16_4),
|
||||
map(0x38, V1_17, V1_18_2)
|
||||
map(0x38, V1_17, V1_18_2),
|
||||
map(0x36, V1_19, V1_19)
|
||||
);
|
||||
clientBound.register(PacketKeepAlive::new,
|
||||
map(0x00, V1_8, V1_8),
|
||||
@ -141,7 +147,8 @@ public enum State {
|
||||
map(0x21, V1_15, V1_15_2),
|
||||
map(0x20, V1_16, V1_16_1),
|
||||
map(0x1F, V1_16_2, V1_16_4),
|
||||
map(0x21, V1_17, V1_18_2)
|
||||
map(0x21, V1_17, V1_18_2),
|
||||
map(0x1E, V1_19, V1_19)
|
||||
);
|
||||
clientBound.register(PacketChatMessage::new,
|
||||
map(0x02, V1_8, V1_8),
|
||||
@ -149,13 +156,15 @@ public enum State {
|
||||
map(0x0E, V1_13, V1_14_4),
|
||||
map(0x0F, V1_15, V1_15_2),
|
||||
map(0x0E, V1_16, V1_16_4),
|
||||
map(0x0F, V1_17, V1_18_2)
|
||||
map(0x0F, V1_17, V1_18_2),
|
||||
map(0x5F, V1_19, V1_19)
|
||||
);
|
||||
clientBound.register(PacketBossBar::new,
|
||||
map(0x0C, V1_9, V1_14_4),
|
||||
map(0x0D, V1_15, V1_15_2),
|
||||
map(0x0C, V1_16, V1_16_4),
|
||||
map(0x0D, V1_17, V1_18_2)
|
||||
map(0x0D, V1_17, V1_18_2),
|
||||
map(0x0F, V1_19, V1_19)
|
||||
);
|
||||
clientBound.register(PacketPlayerInfo::new,
|
||||
map(0x38, V1_8, V1_8),
|
||||
@ -166,7 +175,8 @@ public enum State {
|
||||
map(0x34, V1_15, V1_15_2),
|
||||
map(0x33, V1_16, V1_16_1),
|
||||
map(0x32, V1_16_2, V1_16_4),
|
||||
map(0x36, V1_17, V1_18_2)
|
||||
map(0x36, V1_17, V1_18_2),
|
||||
map(0x34, V1_19, V1_19)
|
||||
);
|
||||
clientBound.register(PacketTitleLegacy::new,
|
||||
map(0x45, V1_8, V1_11_1),
|
||||
@ -175,19 +185,19 @@ public enum State {
|
||||
map(0x4B, V1_13, V1_13_2),
|
||||
map(0x4F, V1_14, V1_14_4),
|
||||
map(0x50, V1_15, V1_15_2),
|
||||
map(0x4F, V1_16, V1_16_4)
|
||||
map(0x4F, V1_16, V1_19)
|
||||
);
|
||||
clientBound.register(PacketTitleSetTitle::new,
|
||||
map(0x59, V1_17, V1_17_1),
|
||||
map(0x5A, V1_18, V1_18_2)
|
||||
map(0x5A, V1_18, V1_19)
|
||||
);
|
||||
clientBound.register(PacketTitleSetSubTitle::new,
|
||||
map(0x57, V1_17, V1_17_1),
|
||||
map(0x58, V1_18, V1_18_2)
|
||||
map(0x58, V1_18, V1_19)
|
||||
);
|
||||
clientBound.register(PacketTitleTimes::new,
|
||||
map(0x5A, V1_17, V1_17_1),
|
||||
map(0x5B, V1_18, V1_18_2)
|
||||
map(0x5B, V1_18, V1_19)
|
||||
);
|
||||
clientBound.register(PacketPlayerListHeader::new,
|
||||
map(0x47, V1_8, V1_8),
|
||||
@ -200,7 +210,7 @@ public enum State {
|
||||
map(0x54, V1_15, V1_15_2),
|
||||
map(0x53, V1_16, V1_16_4),
|
||||
map(0x5E, V1_17, V1_17_1),
|
||||
map(0x5F, V1_18, V1_18_2)
|
||||
map(0x60, V1_18, V1_18_2)
|
||||
);
|
||||
}
|
||||
};
|
||||
|
@ -58,7 +58,8 @@ public enum Version {
|
||||
V1_17_1(756),
|
||||
V1_18(757),
|
||||
// 1.18.1 has same protocol number
|
||||
V1_18_2(758);
|
||||
V1_18_2(758),
|
||||
V1_19(759);
|
||||
|
||||
private static final Map<Integer, Version> VERSION_MAP;
|
||||
private static final Version MAX;
|
||||
|
Loading…
x
Reference in New Issue
Block a user