geforkt von Mirrors/Velocity
Snapshot 21w19a
Dieser Commit ist enthalten in:
Ursprung
6eb2432e88
Commit
18466bb595
@ -54,7 +54,7 @@ public enum ProtocolVersion {
|
|||||||
MINECRAFT_1_16_2(751, "1.16.2"),
|
MINECRAFT_1_16_2(751, "1.16.2"),
|
||||||
MINECRAFT_1_16_3(753, "1.16.3"),
|
MINECRAFT_1_16_3(753, "1.16.3"),
|
||||||
MINECRAFT_1_16_4(754, "1.16.4", "1.16.5"),
|
MINECRAFT_1_16_4(754, "1.16.4", "1.16.5"),
|
||||||
MINECRAFT_1_17(-1, 26, "1.17"); // Snapshot: 21w18a, future protocol: 755
|
MINECRAFT_1_17(-1, 27, "1.17"); // Snapshot: 21w19a, future protocol: 755
|
||||||
|
|
||||||
private static final int SNAPSHOT_BIT = 30;
|
private static final int SNAPSHOT_BIT = 30;
|
||||||
|
|
||||||
|
@ -149,8 +149,7 @@ public enum StateRegistry {
|
|||||||
map(0x1D, MINECRAFT_1_13, false),
|
map(0x1D, MINECRAFT_1_13, false),
|
||||||
map(0x1F, MINECRAFT_1_14, false),
|
map(0x1F, MINECRAFT_1_14, false),
|
||||||
map(0x20, MINECRAFT_1_16, false),
|
map(0x20, MINECRAFT_1_16, false),
|
||||||
map(0x21, MINECRAFT_1_16_2, false),
|
map(0x21, MINECRAFT_1_16_2, false));
|
||||||
map(0x20, MINECRAFT_1_17, false));
|
|
||||||
|
|
||||||
clientbound.register(BossBar.class, BossBar::new,
|
clientbound.register(BossBar.class, BossBar::new,
|
||||||
map(0x0C, MINECRAFT_1_9, false),
|
map(0x0C, MINECRAFT_1_9, false),
|
||||||
@ -224,7 +223,7 @@ public enum StateRegistry {
|
|||||||
map(0x3B, MINECRAFT_1_15, true),
|
map(0x3B, MINECRAFT_1_15, true),
|
||||||
map(0x3A, MINECRAFT_1_16, true),
|
map(0x3A, MINECRAFT_1_16, true),
|
||||||
map(0x39, MINECRAFT_1_16_2, true),
|
map(0x39, MINECRAFT_1_16_2, true),
|
||||||
map(0x3C, MINECRAFT_1_17, true));
|
map(0x3D, MINECRAFT_1_17, true));
|
||||||
clientbound.register(ResourcePackRequest.class, ResourcePackRequest::new,
|
clientbound.register(ResourcePackRequest.class, ResourcePackRequest::new,
|
||||||
map(0x48, MINECRAFT_1_8, false),
|
map(0x48, MINECRAFT_1_8, false),
|
||||||
map(0x32, MINECRAFT_1_9, false),
|
map(0x32, MINECRAFT_1_9, false),
|
||||||
@ -235,7 +234,7 @@ public enum StateRegistry {
|
|||||||
map(0x3A, MINECRAFT_1_15, false),
|
map(0x3A, MINECRAFT_1_15, false),
|
||||||
map(0x39, MINECRAFT_1_16, false),
|
map(0x39, MINECRAFT_1_16, false),
|
||||||
map(0x38, MINECRAFT_1_16_2, false),
|
map(0x38, MINECRAFT_1_16_2, false),
|
||||||
map(0x3B, MINECRAFT_1_17, false));
|
map(0x3C, MINECRAFT_1_17, false));
|
||||||
clientbound.register(HeaderAndFooter.class, HeaderAndFooter::new,
|
clientbound.register(HeaderAndFooter.class, HeaderAndFooter::new,
|
||||||
map(0x47, MINECRAFT_1_8, true),
|
map(0x47, MINECRAFT_1_8, true),
|
||||||
map(0x48, MINECRAFT_1_9, true),
|
map(0x48, MINECRAFT_1_9, true),
|
||||||
@ -246,7 +245,7 @@ public enum StateRegistry {
|
|||||||
map(0x53, MINECRAFT_1_14, true),
|
map(0x53, MINECRAFT_1_14, true),
|
||||||
map(0x54, MINECRAFT_1_15, true),
|
map(0x54, MINECRAFT_1_15, true),
|
||||||
map(0x53, MINECRAFT_1_16, true),
|
map(0x53, MINECRAFT_1_16, true),
|
||||||
map(0x5D, MINECRAFT_1_17, true));
|
map(0x5E, MINECRAFT_1_17, true));
|
||||||
clientbound.register(LegacyTitlePacket.class, LegacyTitlePacket::new,
|
clientbound.register(LegacyTitlePacket.class, LegacyTitlePacket::new,
|
||||||
map(0x45, MINECRAFT_1_8, true),
|
map(0x45, MINECRAFT_1_8, true),
|
||||||
map(0x45, MINECRAFT_1_9, true),
|
map(0x45, MINECRAFT_1_9, true),
|
||||||
@ -257,13 +256,13 @@ public enum StateRegistry {
|
|||||||
map(0x50, MINECRAFT_1_15, true),
|
map(0x50, MINECRAFT_1_15, true),
|
||||||
map(0x4F, MINECRAFT_1_16, MINECRAFT_1_16_4, true));
|
map(0x4F, MINECRAFT_1_16, MINECRAFT_1_16_4, true));
|
||||||
clientbound.register(TitleSubtitlePacket.class, TitleSubtitlePacket::new,
|
clientbound.register(TitleSubtitlePacket.class, TitleSubtitlePacket::new,
|
||||||
map(0x56, MINECRAFT_1_17, true));
|
map(0x57, MINECRAFT_1_17, true));
|
||||||
clientbound.register(TitleTextPacket.class, TitleTextPacket::new,
|
clientbound.register(TitleTextPacket.class, TitleTextPacket::new,
|
||||||
map(0x58, MINECRAFT_1_17, true));
|
|
||||||
clientbound.register(TitleActionbarPacket.class, TitleActionbarPacket::new,
|
|
||||||
map(0x40, MINECRAFT_1_17, true));
|
|
||||||
clientbound.register(TitleTimesPacket.class, TitleTimesPacket::new,
|
|
||||||
map(0x59, MINECRAFT_1_17, true));
|
map(0x59, MINECRAFT_1_17, true));
|
||||||
|
clientbound.register(TitleActionbarPacket.class, TitleActionbarPacket::new,
|
||||||
|
map(0x41, MINECRAFT_1_17, true));
|
||||||
|
clientbound.register(TitleTimesPacket.class, TitleTimesPacket::new,
|
||||||
|
map(0x5A, MINECRAFT_1_17, true));
|
||||||
clientbound.register(TitleClearPacket.class, TitleClearPacket::new,
|
clientbound.register(TitleClearPacket.class, TitleClearPacket::new,
|
||||||
map(0x10, MINECRAFT_1_17, true));
|
map(0x10, MINECRAFT_1_17, true));
|
||||||
clientbound.register(PlayerListItem.class, PlayerListItem::new,
|
clientbound.register(PlayerListItem.class, PlayerListItem::new,
|
||||||
@ -275,7 +274,7 @@ public enum StateRegistry {
|
|||||||
map(0x34, MINECRAFT_1_15, false),
|
map(0x34, MINECRAFT_1_15, false),
|
||||||
map(0x33, MINECRAFT_1_16, false),
|
map(0x33, MINECRAFT_1_16, false),
|
||||||
map(0x32, MINECRAFT_1_16_2, false),
|
map(0x32, MINECRAFT_1_16_2, false),
|
||||||
map(0x35, MINECRAFT_1_17, false));
|
map(0x36, MINECRAFT_1_17, false));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
LOGIN {
|
LOGIN {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren