1.20.2-pre1

This commit is contained in:
Nassim Jahnke 2023-09-06 00:56:53 +10:00
parent 88fd52ac6e
commit e2546b8471
4 changed files with 8 additions and 3 deletions

View File

@ -136,7 +136,9 @@ public final class Protocol1_20To1_20_2 extends BackwardsProtocol<ClientboundPac
// Map some of the packets to their configuration counterparts
final int id = wrapper.getId();
if (id == ServerboundPackets1_19_4.PLUGIN_MESSAGE.getId()) {
if (id == ServerboundPackets1_19_4.CLIENT_SETTINGS.getId()) {
wrapper.setPacketType(ServerboundConfigurationPackets1_20_2.CLIENT_INFORMATION);
} else if (id == ServerboundPackets1_19_4.PLUGIN_MESSAGE.getId()) {
wrapper.setPacketType(ServerboundConfigurationPackets1_20_2.CUSTOM_PAYLOAD);
} else if (id == ServerboundPackets1_19_4.KEEP_ALIVE.getId()) {
wrapper.setPacketType(ServerboundConfigurationPackets1_20_2.KEEP_ALIVE);

View File

@ -57,6 +57,9 @@ public final class EntityPacketRewriter1_20_2 extends EntityRewriter<Clientbound
final int simulationDistance = wrapper.read(Type.VAR_INT);
final boolean reducedDebugInfo = wrapper.read(Type.BOOLEAN);
final boolean showRespawnScreen = wrapper.read(Type.BOOLEAN);
wrapper.read(Type.BOOLEAN); // Limited crafting
final String dimensionType = wrapper.read(Type.STRING);
final String world = wrapper.read(Type.STRING);
final long seed = wrapper.read(Type.LONG);

View File

@ -1,4 +1,4 @@
projectVersion=4.8.0-23w35a-SNAPSHOT
projectVersion=4.8.0-1.20.2-pre1-SNAPSHOT
# Smile emoji
mcVersions=1.20.1, 1.20, 1.19.4, 1.19.3, 1.19.2, 1.19.1, 1.19, 1.18.2, 1.18.1, 1.18, 1.17.1, 1.17, 1.16.5, 1.16.4, 1.16.3, 1.16.2, 1.16.1, 1.16, 1.15.2, 1.15.1, 1.15, 1.14.4, 1.14.3, 1.14.2, 1.14.1, 1.14, 1.13.2, 1.13.1, 1.13, 1.12.2, 1.12.1, 1.12, 1.11.2, 1.11.1, 1.11, 1.10.2, 1.10.1, 1.10

View File

@ -3,7 +3,7 @@ metadata.format.version = "1.1"
[versions]
# ViaVersion
viaver = "4.8.0-23w32a-SNAPSHOT"
viaver = "4.8.0-1.20.2-pre1-SNAPSHOT"
# Common provided
netty = "4.0.20.Final"