1.21.2-pre3

This commit is contained in:
Nassim Jahnke 2024-10-11 15:24:00 +02:00
parent f5733c2cb8
commit cff2303c62
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F
2 changed files with 3 additions and 1 deletions

View File

@ -86,7 +86,7 @@ public class ProtocolVersion implements Comparable<ProtocolVersion> {
public static final ProtocolVersion v1_20_3 = register(765, "1.20.3-1.20.4", new SubVersionRange("1.20", 3, 4)); public static final ProtocolVersion v1_20_3 = register(765, "1.20.3-1.20.4", new SubVersionRange("1.20", 3, 4));
public static final ProtocolVersion v1_20_5 = register(766, "1.20.5-1.20.6", new SubVersionRange("1.20", 5, 6)); public static final ProtocolVersion v1_20_5 = register(766, "1.20.5-1.20.6", new SubVersionRange("1.20", 5, 6));
public static final ProtocolVersion v1_21 = register(767, "1.21-1.21.1", new SubVersionRange("1.21", 0, 1)); public static final ProtocolVersion v1_21 = register(767, "1.21-1.21.1", new SubVersionRange("1.21", 0, 1));
public static final ProtocolVersion v1_21_2 = register(768, 214, "1.21.2"); public static final ProtocolVersion v1_21_2 = register(768, 215, "1.21.2");
public static final ProtocolVersion unknown = new ProtocolVersion(VersionType.SPECIAL, -1, -1, "UNKNOWN", null); public static final ProtocolVersion unknown = new ProtocolVersion(VersionType.SPECIAL, -1, -1, "UNKNOWN", null);
public static ProtocolVersion register(int version, String name) { public static ProtocolVersion register(int version, String name) {

View File

@ -298,6 +298,8 @@ public final class EntityPacketRewriter1_21_2 extends EntityRewriter<Clientbound
filter().type(EntityTypes1_21_2.DOLPHIN).addIndex(16); // Baby filter().type(EntityTypes1_21_2.DOLPHIN).addIndex(16); // Baby
filter().type(EntityTypes1_21_2.GLOW_SQUID).addIndex(16); // Baby filter().type(EntityTypes1_21_2.GLOW_SQUID).addIndex(16); // Baby
filter().type(EntityTypes1_21_2.SQUID).addIndex(16); // Baby filter().type(EntityTypes1_21_2.SQUID).addIndex(16); // Baby
filter().type(EntityTypes1_21_2.ABSTRACT_ARROW).addIndex(10); // In ground
} }
@Override @Override