3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-12-27 08:30:10 +01:00

Merge pull request #101 from creeper123123321/1.14

merge dev and add -19w11b suffix
Dieser Commit ist enthalten in:
Mats 2019-03-16 22:18:40 +01:00 committet von GitHub
Commit b6e1e7e35b
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23
9 geänderte Dateien mit 37 neuen und 37 gelöschten Zeilen

Datei anzeigen

@ -15,7 +15,7 @@
<parent> <parent>
<artifactId>viabackwards-parent</artifactId> <artifactId>viabackwards-parent</artifactId>
<groupId>nl.matsv</groupId> <groupId>nl.matsv</groupId>
<version>3.0.0-SNAPSHOT</version> <version>3.0.0-19w11b</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

Datei anzeigen

@ -15,7 +15,7 @@
<parent> <parent>
<artifactId>viabackwards-parent</artifactId> <artifactId>viabackwards-parent</artifactId>
<groupId>nl.matsv</groupId> <groupId>nl.matsv</groupId>
<version>3.0.0-SNAPSHOT</version> <version>3.0.0-19w11b</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

Datei anzeigen

@ -15,7 +15,7 @@
<parent> <parent>
<artifactId>viabackwards-parent</artifactId> <artifactId>viabackwards-parent</artifactId>
<groupId>nl.matsv</groupId> <groupId>nl.matsv</groupId>
<version>3.0.0-SNAPSHOT</version> <version>3.0.0-19w11b</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

Datei anzeigen

@ -15,7 +15,7 @@
<parent> <parent>
<artifactId>viabackwards-parent</artifactId> <artifactId>viabackwards-parent</artifactId>
<groupId>nl.matsv</groupId> <groupId>nl.matsv</groupId>
<version>3.0.0-SNAPSHOT</version> <version>3.0.0-19w11b</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

Datei anzeigen

@ -7,32 +7,32 @@ public class PaintingMapping {
private static Map<Integer, String> paintings = new HashMap<>(); private static Map<Integer, String> paintings = new HashMap<>();
public static void init() { public static void init() {
add("kebab"); add("Kebab");
add("aztec"); add("Aztec");
add("alban"); add("Alban");
add("aztec2"); add("Aztec2");
add("bomb"); add("Bomb");
add("plant"); add("Plant");
add("wasteland"); add("Wasteland");
add("pool"); add("Pool");
add("courbet"); add("Courbet");
add("sea"); add("Sea");
add("sunset"); add("Sunset");
add("creebet"); add("Creebet");
add("wanderer"); add("Wanderer");
add("graham"); add("Graham");
add("match"); add("Match");
add("bust"); add("Bust");
add("stage"); add("Stage");
add("void"); add("Void");
add("skullandroses"); add("SkullAndRoses");
add("wither"); add("Wither");
add("fighters"); add("Fighters");
add("pointer"); add("Pointer");
add("pigscene"); add("Pigscene");
add("burningskull"); add("BurningSkull");
add("skeleton"); add("Skeleton");
add("donkeykong"); add("DonkeyKong");
} }
private static void add(String motive) { private static void add(String motive) {

Datei anzeigen

@ -352,7 +352,7 @@ public class BlockItemPackets1_14 extends BlockItemRewriter<Protocol1_13_2To1_14
protocol.registerOutgoing(State.PLAY, 0x0A, 0x0A, new PacketRemapper() { protocol.registerOutgoing(State.PLAY, 0x0A, 0x0A, new PacketRemapper() {
@Override @Override
public void registerMap() { public void registerMap() {
map(Type.POSITION, Type.POSITION1_14); // Location map(Type.POSITION1_14, Type.POSITION); // Location
map(Type.UNSIGNED_BYTE); // Action id map(Type.UNSIGNED_BYTE); // Action id
map(Type.UNSIGNED_BYTE); // Action param map(Type.UNSIGNED_BYTE); // Action param
map(Type.VAR_INT); // Block id - /!\ NOT BLOCK STATE map(Type.VAR_INT); // Block id - /!\ NOT BLOCK STATE
@ -369,7 +369,7 @@ public class BlockItemPackets1_14 extends BlockItemRewriter<Protocol1_13_2To1_14
protocol.registerOutgoing(State.PLAY, 0xB, 0xB, new PacketRemapper() { protocol.registerOutgoing(State.PLAY, 0xB, 0xB, new PacketRemapper() {
@Override @Override
public void registerMap() { public void registerMap() {
map(Type.POSITION, Type.POSITION1_14); map(Type.POSITION1_14, Type.POSITION);
map(Type.VAR_INT); map(Type.VAR_INT);
handler(new PacketHandler() { handler(new PacketHandler() {
@Override @Override
@ -435,7 +435,7 @@ public class BlockItemPackets1_14 extends BlockItemRewriter<Protocol1_13_2To1_14
@Override @Override
public void registerMap() { public void registerMap() {
map(Type.INT); // Effect Id map(Type.INT); // Effect Id
map(Type.POSITION, Type.POSITION1_14); // Location map(Type.POSITION1_14, Type.POSITION); // Location
map(Type.INT); // Data map(Type.INT); // Data
handler(new PacketHandler() { handler(new PacketHandler() {
@Override @Override
@ -514,7 +514,7 @@ public class BlockItemPackets1_14 extends BlockItemRewriter<Protocol1_13_2To1_14
protocol.registerOutgoing(State.PLAY, 0x49, 0x49, new PacketRemapper() { protocol.registerOutgoing(State.PLAY, 0x49, 0x49, new PacketRemapper() {
@Override @Override
public void registerMap() { public void registerMap() {
map(Type.POSITION, Type.POSITION1_14); map(Type.POSITION1_14, Type.POSITION);
} }
}); });
} }

Datei anzeigen

@ -16,7 +16,7 @@
<groupId>nl.matsv</groupId> <groupId>nl.matsv</groupId>
<artifactId>viabackwards-parent</artifactId> <artifactId>viabackwards-parent</artifactId>
<version>3.0.0-SNAPSHOT</version> <version>3.0.0-19w11b</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<description>Allow newer clients to join older server versions.</description> <description>Allow newer clients to join older server versions.</description>

Datei anzeigen

@ -15,7 +15,7 @@
<parent> <parent>
<artifactId>viabackwards-parent</artifactId> <artifactId>viabackwards-parent</artifactId>
<groupId>nl.matsv</groupId> <groupId>nl.matsv</groupId>
<version>3.0.0-SNAPSHOT</version> <version>3.0.0-19w11b</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

Datei anzeigen

@ -15,7 +15,7 @@
<parent> <parent>
<artifactId>viabackwards-parent</artifactId> <artifactId>viabackwards-parent</artifactId>
<groupId>nl.matsv</groupId> <groupId>nl.matsv</groupId>
<version>3.0.0-SNAPSHOT</version> <version>3.0.0-19w11b</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>