Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-03 14:50:30 +01:00
1716a support
Dieser Commit ist enthalten in:
Ursprung
fe95bbf312
Commit
e1025afb54
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>viaversion-parent</artifactId>
|
<artifactId>viaversion-parent</artifactId>
|
||||||
<groupId>us.myles</groupId>
|
<groupId>us.myles</groupId>
|
||||||
<version>1.0.5-17w15a</version>
|
<version>1.0.5-17w16a</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>viaversion-parent</artifactId>
|
<artifactId>viaversion-parent</artifactId>
|
||||||
<groupId>us.myles</groupId>
|
<groupId>us.myles</groupId>
|
||||||
<version>1.0.5-17w15a</version>
|
<version>1.0.5-17w16a</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
@ -37,7 +37,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>us.myles</groupId>
|
<groupId>us.myles</groupId>
|
||||||
<artifactId>viaversion-common</artifactId>
|
<artifactId>viaversion-common</artifactId>
|
||||||
<version>1.0.5-17w15a</version>
|
<version>1.0.5-17w16a</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>viaversion-parent</artifactId>
|
<artifactId>viaversion-parent</artifactId>
|
||||||
<groupId>us.myles</groupId>
|
<groupId>us.myles</groupId>
|
||||||
<version>1.0.5-17w15a</version>
|
<version>1.0.5-17w16a</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
@ -55,7 +55,7 @@ public class ProtocolVersion {
|
|||||||
register(v1_10 = new ProtocolVersion(210, "1.10"));
|
register(v1_10 = new ProtocolVersion(210, "1.10"));
|
||||||
register(v1_11 = new ProtocolVersion(315, "1.11"));
|
register(v1_11 = new ProtocolVersion(315, "1.11"));
|
||||||
register(v1_11_1 = new ProtocolVersion(316, "1.11.1"));
|
register(v1_11_1 = new ProtocolVersion(316, "1.11.1"));
|
||||||
register(snapshot = new ProtocolVersion(321, "17w15a"));
|
register(snapshot = new ProtocolVersion(322, "17w16a"));
|
||||||
register(unknown = new ProtocolVersion(-1, "UNKNOWN"));
|
register(unknown = new ProtocolVersion(-1, "UNKNOWN"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ public class ProtocolSnapshotTo1_11_1 extends Protocol {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void registerPackets() {
|
protected void registerPackets() {
|
||||||
// As of 17w15a
|
// As of 17w16a
|
||||||
|
|
||||||
// Outgoing
|
// Outgoing
|
||||||
// New packet at 0x08
|
// New packet at 0x08
|
||||||
@ -173,9 +173,22 @@ public class ProtocolSnapshotTo1_11_1 extends Protocol {
|
|||||||
|
|
||||||
private int getNewSoundId(int id) { //TODO Make it better, suggestions are welcome. It's ugly and hardcoded now.
|
private int getNewSoundId(int id) { //TODO Make it better, suggestions are welcome. It's ugly and hardcoded now.
|
||||||
int newId = id;
|
int newId = id;
|
||||||
if (id >= 301) // Hello shulker boxes
|
if (id >= 26) // End Portal Sounds
|
||||||
|
newId += 2;
|
||||||
|
if (id >= 70) // New Block Notes
|
||||||
|
newId += 4;
|
||||||
|
if (id >= 74) // New Block Note 2
|
||||||
|
newId += 1;
|
||||||
|
if (id >= 143) // Boat Sounds
|
||||||
|
newId += 3;
|
||||||
|
if (id >= 185) // Endereye death
|
||||||
|
newId += 1;
|
||||||
|
if (id >= 263) // Illagers
|
||||||
|
newId += 3;
|
||||||
|
if (id >= 301) // Parrots
|
||||||
newId += 6;
|
newId += 6;
|
||||||
|
if (id >= 317) // Player Sounds
|
||||||
|
newId += 2;
|
||||||
return newId;
|
return newId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>viaversion-parent</artifactId>
|
<artifactId>viaversion-parent</artifactId>
|
||||||
<groupId>us.myles</groupId>
|
<groupId>us.myles</groupId>
|
||||||
<version>1.0.5-17w15a</version>
|
<version>1.0.5-17w16a</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<name>viaversion-jar</name>
|
<name>viaversion-jar</name>
|
||||||
|
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>us.myles</groupId>
|
<groupId>us.myles</groupId>
|
||||||
<artifactId>viaversion-parent</artifactId>
|
<artifactId>viaversion-parent</artifactId>
|
||||||
<version>1.0.5-17w15a</version>
|
<version>1.0.5-17w16a</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<name>viaversion-parent</name>
|
<name>viaversion-parent</name>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>viaversion-parent</artifactId>
|
<artifactId>viaversion-parent</artifactId>
|
||||||
<groupId>us.myles</groupId>
|
<groupId>us.myles</groupId>
|
||||||
<version>1.0.5-17w15a</version>
|
<version>1.0.5-17w16a</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>viaversion-parent</artifactId>
|
<artifactId>viaversion-parent</artifactId>
|
||||||
<groupId>us.myles</groupId>
|
<groupId>us.myles</groupId>
|
||||||
<version>1.0.5-17w15a</version>
|
<version>1.0.5-17w16a</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren