Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 08:30:09 +01:00
1.20.2-pre1
Dieser Commit ist enthalten in:
Ursprung
a135a1414c
Commit
a109118a97
@ -84,7 +84,7 @@ public class ProtocolVersion {
|
||||
public static final ProtocolVersion v1_19_3 = register(761, "1.19.3");
|
||||
public static final ProtocolVersion v1_19_4 = register(762, "1.19.4");
|
||||
public static final ProtocolVersion v1_20 = register(763, "1.20/1.20.1", new VersionRange("1.20", 0, 1));
|
||||
public static final ProtocolVersion v1_20_2 = register(764, 147, "1.20.2");
|
||||
public static final ProtocolVersion v1_20_2 = register(764, 148, "1.20.2");
|
||||
public static final ProtocolVersion unknown = register(-1, "UNKNOWN");
|
||||
|
||||
public static ProtocolVersion register(int version, String name) {
|
||||
|
@ -109,6 +109,7 @@ public final class Protocol1_20_2To1_20 extends AbstractProtocol<ClientboundPack
|
||||
configurationState.sendQueuedPackets(wrapper.user());
|
||||
configurationState.clear();
|
||||
});
|
||||
registerServerbound(State.CONFIGURATION, ServerboundConfigurationPackets1_20_2.CLIENT_INFORMATION.getId(), -1, queueServerboundPacket(ServerboundPackets1_20_2.CLIENT_SETTINGS));
|
||||
registerServerbound(State.CONFIGURATION, ServerboundConfigurationPackets1_20_2.CUSTOM_PAYLOAD.getId(), -1, queueServerboundPacket(ServerboundPackets1_20_2.PLUGIN_MESSAGE));
|
||||
registerServerbound(State.CONFIGURATION, ServerboundConfigurationPackets1_20_2.KEEP_ALIVE.getId(), -1, queueServerboundPacket(ServerboundPackets1_20_2.KEEP_ALIVE));
|
||||
registerServerbound(State.CONFIGURATION, ServerboundConfigurationPackets1_20_2.PONG.getId(), -1, queueServerboundPacket(ServerboundPackets1_20_2.PONG));
|
||||
|
@ -22,11 +22,12 @@ import com.viaversion.viaversion.api.protocol.packet.State;
|
||||
|
||||
public enum ServerboundConfigurationPackets1_20_2 implements ServerboundPacketType {
|
||||
|
||||
CUSTOM_PAYLOAD, // 0x00
|
||||
FINISH_CONFIGURATION, // 0x01
|
||||
KEEP_ALIVE, // 0x02
|
||||
PONG, // 0x03
|
||||
RESOURCE_PACK; // 0x04
|
||||
CLIENT_INFORMATION, // 0x00
|
||||
CUSTOM_PAYLOAD, // 0x01
|
||||
FINISH_CONFIGURATION, // 0x02
|
||||
KEEP_ALIVE, // 0x03
|
||||
PONG, // 0x04
|
||||
RESOURCE_PACK; // 0x05
|
||||
|
||||
@Override
|
||||
public int getId() {
|
||||
|
@ -69,6 +69,7 @@ public final class EntityPacketRewriter1_20_2 extends EntityRewriter<Clientbound
|
||||
wrapper.passthrough(Type.BOOLEAN); // Reduced debug info
|
||||
wrapper.passthrough(Type.BOOLEAN); // Show death screen
|
||||
|
||||
wrapper.write(Type.BOOLEAN, false); // Limited crafting
|
||||
wrapper.write(Type.STRING, dimensionType);
|
||||
wrapper.write(Type.STRING, world);
|
||||
wrapper.write(Type.LONG, seed);
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Project properties - we put these here so they can be modified without causing a recompile of the build scripts
|
||||
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, 1.9.4, 1.9.3, 1.9.2, 1.9.1, 1.9, 1.8.9
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren