1.12-pre3

This commit is contained in:
Myles 2017-05-17 16:26:12 +01:00
parent 833698fe8a
commit d7daab7e64
9 changed files with 12 additions and 10 deletions

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>viaversion-parent</artifactId>
<groupId>us.myles</groupId>
<version>1.0.5-1_12pre2</version>
<version>1.0.5-1_12pre3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>viaversion-parent</artifactId>
<groupId>us.myles</groupId>
<version>1.0.5-1_12pre2</version>
<version>1.0.5-1_12pre3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -37,7 +37,7 @@
<dependency>
<groupId>us.myles</groupId>
<artifactId>viaversion-common</artifactId>
<version>1.0.5-1_12pre2</version>
<version>1.0.5-1_12pre3</version>
</dependency>
</dependencies>
</project>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>viaversion-parent</artifactId>
<groupId>us.myles</groupId>
<version>1.0.5-1_12pre2</version>
<version>1.0.5-1_12pre3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -55,7 +55,7 @@ public class ProtocolVersion {
register(v1_10 = new ProtocolVersion(210, "1.10"));
register(v1_11 = new ProtocolVersion(315, "1.11"));
register(v1_11_1 = new ProtocolVersion(316, "1.11.1"));
register(snapshot = new ProtocolVersion(329, "1.12-pre2"));
register(snapshot = new ProtocolVersion(330, "1.12-pre3"));
register(unknown = new ProtocolVersion(-1, "UNKNOWN"));
}

View File

@ -12,7 +12,7 @@ public class ProtocolSnapshotTo1_11_1 extends Protocol {
@Override
protected void registerPackets() {
// As of 17w18a
// As of 1.12-pre3
// Outgoing
// New packet at 0x08
@ -112,6 +112,7 @@ public class ProtocolSnapshotTo1_11_1 extends Protocol {
registerOutgoing(State.PLAY, 0x49, 0x4b);
registerOutgoing(State.PLAY, 0x4a, 0x4c);
registerOutgoing(State.PLAY, 0x4b, 0x4d);
// New packet at 0x4e
// Incoming
// New packet at 0x01
@ -169,6 +170,7 @@ public class ProtocolSnapshotTo1_11_1 extends Protocol {
registerIncoming(State.PLAY, 0x1b, 0x1d);
registerIncoming(State.PLAY, 0x1c, 0x1e);
registerIncoming(State.PLAY, 0x1d, 0x1f);
// New packet at 0x20
}
private int getNewSoundId(int id) { //TODO Make it better, suggestions are welcome. It's ugly and hardcoded now.

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>viaversion-parent</artifactId>
<groupId>us.myles</groupId>
<version>1.0.5-1_12pre2</version>
<version>1.0.5-1_12pre3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<name>viaversion-jar</name>

View File

@ -6,7 +6,7 @@
<groupId>us.myles</groupId>
<artifactId>viaversion-parent</artifactId>
<version>1.0.5-1_12pre2</version>
<version>1.0.5-1_12pre3</version>
<packaging>pom</packaging>
<name>viaversion-parent</name>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>viaversion-parent</artifactId>
<groupId>us.myles</groupId>
<version>1.0.5-1_12pre2</version>
<version>1.0.5-1_12pre3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>viaversion-parent</artifactId>
<groupId>us.myles</groupId>
<version>1.0.5-1_12pre2</version>
<version>1.0.5-1_12pre3</version>
</parent>
<modelVersion>4.0.0</modelVersion>