Skip to content

Commit

Permalink
Merge pull request #53 from Exceptionflug/1.16.2dev
Browse files Browse the repository at this point in the history
1.16.2dev
  • Loading branch information
Exceptionflug authored Aug 12, 2020
2 parents 9cbff8e + 0eafd89 commit 4c8203b
Show file tree
Hide file tree
Showing 30 changed files with 2,612 additions and 1,093 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,25 @@ This is the full portfolio of protocolize dependencies:
<dependency>
<groupId>de.exceptionflug</groupId>
<artifactId>protocolize-api</artifactId>
<version>1.6.1-SNAPSHOT</version>
<version>1.6.2-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>de.exceptionflug</groupId>
<artifactId>protocolize-items</artifactId>
<version>1.6.1-SNAPSHOT</version>
<version>1.6.2-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>de.exceptionflug</groupId>
<artifactId>protocolize-inventory</artifactId>
<version>1.6.1-SNAPSHOT</version>
<version>1.6.2-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>de.exceptionflug</groupId>
<artifactId>protocolize-world</artifactId>
<version>1.6.1-SNAPSHOT</version>
<version>1.6.2-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
```
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>de.exceptionflug</groupId>
<artifactId>protocolize</artifactId>
<version>1.6.1-SNAPSHOT</version>
<version>1.6.2-SNAPSHOT</version>
<packaging>pom</packaging>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion protocolize-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<parent>
<groupId>de.exceptionflug</groupId>
<artifactId>protocolize</artifactId>
<version>1.6.1-SNAPSHOT</version>
<version>1.6.2-SNAPSHOT</version>
</parent>

<groupId>de.exceptionflug</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ public final class ProtocolVersions {
public final static int MINECRAFT_1_15_2 = 578;
public final static int MINECRAFT_1_16 = 735;
public final static int MINECRAFT_1_16_1 = 736;
public final static int MINECRAFT_1_16_2 = 751;


public final static int MINECRAFT_LATEST = MINECRAFT_1_16_1;
public final static int MINECRAFT_LATEST = MINECRAFT_1_16_2;

private ProtocolVersions() {}

Expand Down
8 changes: 4 additions & 4 deletions protocolize-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>de.exceptionflug</groupId>
<artifactId>protocolize</artifactId>
<version>1.6.1-SNAPSHOT</version>
<version>1.6.2-SNAPSHOT</version>
</parent>

<groupId>de.exceptionflug</groupId>
Expand All @@ -18,19 +18,19 @@
<dependency>
<groupId>de.exceptionflug</groupId>
<artifactId>protocolize-api</artifactId>
<version>1.6.1-SNAPSHOT</version>
<version>1.6.2-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>de.exceptionflug</groupId>
<artifactId>protocolize-items</artifactId>
<version>1.6.1-SNAPSHOT</version>
<version>1.6.2-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>de.exceptionflug</groupId>
<artifactId>protocolize-inventory</artifactId>
<version>1.6.1-SNAPSHOT</version>
<version>1.6.2-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions protocolize-inventory/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@
<parent>
<groupId>de.exceptionflug</groupId>
<artifactId>protocolize</artifactId>
<version>1.6.1-SNAPSHOT</version>
<version>1.6.2-SNAPSHOT</version>
</parent>

<groupId>de.exceptionflug</groupId>
<artifactId>protocolize-inventory</artifactId>
<version>1.6.1-SNAPSHOT</version>
<version>1.6.2-SNAPSHOT</version>

<dependencies>
<dependency>
<groupId>de.exceptionflug</groupId>
<artifactId>protocolize-api</artifactId>
<version>1.6.1-SNAPSHOT</version>
<version>1.6.2-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public class ClickWindow extends AbstractPacket {
MAPPING.put(MINECRAFT_1_15_2, 0x09);
MAPPING.put(MINECRAFT_1_16, 0x09);
MAPPING.put(MINECRAFT_1_16_1, 0x09);
MAPPING.put(MINECRAFT_1_16_2, 0x09);
}

private int windowId, actionNumber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public class CloseWindow extends AbstractPacket {
MAPPING_CLIENTBOUND.put(MINECRAFT_1_15_2, 0x14);
MAPPING_CLIENTBOUND.put(MINECRAFT_1_16, 0x13);
MAPPING_CLIENTBOUND.put(MINECRAFT_1_16_1, 0x13);
MAPPING_CLIENTBOUND.put(MINECRAFT_1_16_2, 0x12);

MAPPING_SERVERBOUND.put(MINECRAFT_1_8, 0x0D);
MAPPING_SERVERBOUND.put(MINECRAFT_1_9, 0x08);
Expand All @@ -65,6 +66,7 @@ public class CloseWindow extends AbstractPacket {
MAPPING_SERVERBOUND.put(MINECRAFT_1_15_2, 0x0A);
MAPPING_SERVERBOUND.put(MINECRAFT_1_16, 0x0A);
MAPPING_SERVERBOUND.put(MINECRAFT_1_16_1, 0x0A);
MAPPING_SERVERBOUND.put(MINECRAFT_1_16_2, 0x0A);
}

private int windowId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public class ConfirmTransaction extends AbstractPacket {
MAPPING_CLIENTBOUND.put(MINECRAFT_1_15_2, 0x13);
MAPPING_CLIENTBOUND.put(MINECRAFT_1_16, 0x12);
MAPPING_CLIENTBOUND.put(MINECRAFT_1_16_1, 0x12);
MAPPING_CLIENTBOUND.put(MINECRAFT_1_16_2, 0x11);

MAPPING_SERVERBOUND.put(MINECRAFT_1_9, 0x05);
MAPPING_SERVERBOUND.put(MINECRAFT_1_9_1, 0x05);
Expand All @@ -64,6 +65,7 @@ public class ConfirmTransaction extends AbstractPacket {
MAPPING_SERVERBOUND.put(MINECRAFT_1_15_1, 0x07);
MAPPING_SERVERBOUND.put(MINECRAFT_1_15_2, 0x07);
MAPPING_SERVERBOUND.put(MINECRAFT_1_16_1, 0x07);
MAPPING_SERVERBOUND.put(MINECRAFT_1_16_1, 0x07);
}

private int windowId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public class OpenWindow extends AbstractPacket {
MAPPING.put(MINECRAFT_1_15_2, 0x2F);
MAPPING.put(MINECRAFT_1_16, 0x2E);
MAPPING.put(MINECRAFT_1_16_1, 0x2E);
MAPPING.put(MINECRAFT_1_16_2, 0x2D);
}

private int windowId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class WindowProperty extends AbstractPacket {
MAPPING.put(MINECRAFT_1_15_1, 0x16);
MAPPING.put(MINECRAFT_1_15_2, 0x16);
MAPPING.put(MINECRAFT_1_16, 0x15);
MAPPING.put(MINECRAFT_1_16_1, 0x15);
MAPPING.put(MINECRAFT_1_16_1, 0x14);
}

private int windowId;
Expand Down
6 changes: 3 additions & 3 deletions protocolize-items/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<plugin>
<groupId>de.exceptionflug</groupId>
<artifactId>protocolize-protogen-plugin</artifactId>
<version>1.6.1-SNAPSHOT</version>
<version>1.6.2-SNAPSHOT</version>
<executions>
<execution>
<phase>generate-sources</phase>
Expand All @@ -33,12 +33,12 @@
<parent>
<groupId>de.exceptionflug</groupId>
<artifactId>protocolize</artifactId>
<version>1.6.1-SNAPSHOT</version>
<version>1.6.2-SNAPSHOT</version>
</parent>

<groupId>de.exceptionflug</groupId>
<artifactId>protocolize-items</artifactId>
<version>1.6.1-SNAPSHOT</version>
<version>1.6.2-SNAPSHOT</version>

<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public class BlockPlacement extends AbstractPacket {
MAPPING.put(MINECRAFT_1_15_2, 0x2C);
MAPPING.put(MINECRAFT_1_16, 0x2D);
MAPPING.put(MINECRAFT_1_16_1, 0x2D);
MAPPING.put(MINECRAFT_1_16_2, 0x2E);
}

private BlockPosition position;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public class HeldItemChange extends AbstractPacket {
MAPPING_CLIENTBOUND.put(MINECRAFT_1_15_2, 0x40);
MAPPING_CLIENTBOUND.put(MINECRAFT_1_16, 0x3F);
MAPPING_CLIENTBOUND.put(MINECRAFT_1_16_1, 0x3F);
MAPPING_CLIENTBOUND.put(MINECRAFT_1_16_2, 0x3F);

MAPPING_SERVERBOUND.put(MINECRAFT_1_8, 0x09);
MAPPING_SERVERBOUND.put(MINECRAFT_1_9, 0x17);
Expand All @@ -65,6 +66,7 @@ public class HeldItemChange extends AbstractPacket {
MAPPING_SERVERBOUND.put(MINECRAFT_1_15_2, 0x23);
MAPPING_SERVERBOUND.put(MINECRAFT_1_16, 0x24);
MAPPING_SERVERBOUND.put(MINECRAFT_1_16_1, 0x24);
MAPPING_SERVERBOUND.put(MINECRAFT_1_16_2, 0x25);
}

private short newSlot;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public class SetSlot extends AbstractPacket {
MAPPING.put(MINECRAFT_1_15_2, 0x17);
MAPPING.put(MINECRAFT_1_16, 0x16);
MAPPING.put(MINECRAFT_1_16_1, 0x16);
MAPPING.put(MINECRAFT_1_16_2, 0x15);
}

private byte windowId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public class UseItem extends AbstractPacket {
MAPPING.put(MINECRAFT_1_15_2, 0x2D);
MAPPING.put(MINECRAFT_1_16, 0x2E);
MAPPING.put(MINECRAFT_1_16_1, 0x2E);
MAPPING.put(MINECRAFT_1_16_2, 0x2F);
}

private Hand hand;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public class WindowItems extends AbstractPacket {
MAPPING.put(MINECRAFT_1_15_2, 0x15);
MAPPING.put(MINECRAFT_1_16, 0x14);
MAPPING.put(MINECRAFT_1_16_1, 0x14);
MAPPING.put(MINECRAFT_1_16_2, 0x13);
}

public WindowItems(final short windowId, final List<ItemStack> items) {
Expand Down
Loading

0 comments on commit 4c8203b

Please sign in to comment.