Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-12-24 23:30:26 +01:00
Support 1.14-pre2
Dieser Commit ist enthalten in:
Ursprung
2bba87e8da
Commit
37999ed32e
@ -27,7 +27,8 @@ public enum ProtocolVersion {
|
|||||||
MINECRAFT_1_13(393, "1.13"),
|
MINECRAFT_1_13(393, "1.13"),
|
||||||
MINECRAFT_1_13_1(401, "1.13.1"),
|
MINECRAFT_1_13_1(401, "1.13.1"),
|
||||||
MINECRAFT_1_13_2(404, "1.13.2"),
|
MINECRAFT_1_13_2(404, "1.13.2"),
|
||||||
MINECRAFT_1_14(477, "1.14");
|
MINECRAFT_1_14(477, "1.14"),
|
||||||
|
MINECRAFT_1_14_1(479, "1.14.1-pre2");
|
||||||
|
|
||||||
private final int protocol;
|
private final int protocol;
|
||||||
private final String name;
|
private final String name;
|
||||||
@ -39,7 +40,7 @@ public enum ProtocolVersion {
|
|||||||
/**
|
/**
|
||||||
* Represents the highest supported version.
|
* Represents the highest supported version.
|
||||||
*/
|
*/
|
||||||
public static final ProtocolVersion MAXIMUM_VERSION = MINECRAFT_1_14;
|
public static final ProtocolVersion MAXIMUM_VERSION = MINECRAFT_1_14_1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The user-friendly representation of the lowest and highest supported versions.
|
* The user-friendly representation of the lowest and highest supported versions.
|
||||||
|
@ -10,6 +10,7 @@ import static com.velocitypowered.api.network.ProtocolVersion.MINECRAFT_1_13;
|
|||||||
import static com.velocitypowered.api.network.ProtocolVersion.MINECRAFT_1_13_1;
|
import static com.velocitypowered.api.network.ProtocolVersion.MINECRAFT_1_13_1;
|
||||||
import static com.velocitypowered.api.network.ProtocolVersion.MINECRAFT_1_13_2;
|
import static com.velocitypowered.api.network.ProtocolVersion.MINECRAFT_1_13_2;
|
||||||
import static com.velocitypowered.api.network.ProtocolVersion.MINECRAFT_1_14;
|
import static com.velocitypowered.api.network.ProtocolVersion.MINECRAFT_1_14;
|
||||||
|
import static com.velocitypowered.api.network.ProtocolVersion.MINECRAFT_1_14_1;
|
||||||
import static com.velocitypowered.api.network.ProtocolVersion.MINECRAFT_1_8;
|
import static com.velocitypowered.api.network.ProtocolVersion.MINECRAFT_1_8;
|
||||||
import static com.velocitypowered.api.network.ProtocolVersion.MINECRAFT_1_9;
|
import static com.velocitypowered.api.network.ProtocolVersion.MINECRAFT_1_9;
|
||||||
import static com.velocitypowered.api.network.ProtocolVersion.MINECRAFT_1_9_1;
|
import static com.velocitypowered.api.network.ProtocolVersion.MINECRAFT_1_9_1;
|
||||||
@ -253,7 +254,7 @@ public enum StateRegistry {
|
|||||||
LINKED_PROTOCOL_VERSIONS.put(MINECRAFT_1_12, EnumSet.of(MINECRAFT_1_12_1));
|
LINKED_PROTOCOL_VERSIONS.put(MINECRAFT_1_12, EnumSet.of(MINECRAFT_1_12_1));
|
||||||
LINKED_PROTOCOL_VERSIONS.put(MINECRAFT_1_12_1, EnumSet.of(MINECRAFT_1_12_2));
|
LINKED_PROTOCOL_VERSIONS.put(MINECRAFT_1_12_1, EnumSet.of(MINECRAFT_1_12_2));
|
||||||
LINKED_PROTOCOL_VERSIONS.put(MINECRAFT_1_13, EnumSet.of(MINECRAFT_1_13_1, MINECRAFT_1_13_2));
|
LINKED_PROTOCOL_VERSIONS.put(MINECRAFT_1_13, EnumSet.of(MINECRAFT_1_13_1, MINECRAFT_1_13_2));
|
||||||
//for 1.14 ???
|
LINKED_PROTOCOL_VERSIONS.put(MINECRAFT_1_14, EnumSet.of(MINECRAFT_1_14_1));
|
||||||
}
|
}
|
||||||
|
|
||||||
private final Direction direction;
|
private final Direction direction;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren