Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-03 14:50:30 +01:00
1.16 pre4
Dieser Commit ist enthalten in:
Ursprung
e1b2702231
Commit
989c0bf55f
@ -80,7 +80,7 @@ public class ProtocolVersion {
|
||||
register(v1_15 = new ProtocolVersion(573, "1.15"));
|
||||
register(v1_15_1 = new ProtocolVersion(575, "1.15.1"));
|
||||
register(v1_15_2 = new ProtocolVersion(578, "1.15.2"));
|
||||
register(v1_16 = new ProtocolVersion(725, "1.16"));
|
||||
register(v1_16 = new ProtocolVersion(727, "1.16"));
|
||||
|
||||
register(unknown = new ProtocolVersion(-1, "UNKNOWN"));
|
||||
}
|
||||
|
@ -127,6 +127,18 @@ public class Protocol1_16To1_15_2 extends Protocol<ClientboundPackets1_15, Clien
|
||||
}
|
||||
});
|
||||
|
||||
registerIncoming(ServerboundPackets1_16.PLAYER_ABILITIES, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
handler(wrapper -> {
|
||||
wrapper.passthrough(Type.BYTE);
|
||||
// Flying and walking speed - not important anyways
|
||||
wrapper.write(Type.FLOAT, 0.05F);
|
||||
wrapper.write(Type.FLOAT, 0.1F);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
cancelIncoming(ServerboundPackets1_16.GENERATE_JIGSAW);
|
||||
cancelIncoming(ServerboundPackets1_16.UPDATE_JIGSAW_BLOCK);
|
||||
}
|
||||
|
@ -18691,8 +18691,8 @@
|
||||
"817": "minecraft:zoglin_spawn_egg",
|
||||
"818": "minecraft:zombie_spawn_egg",
|
||||
"819": "minecraft:zombie_horse_spawn_egg",
|
||||
"820": "minecraft:zombified_piglin_spawn_egg",
|
||||
"821": "minecraft:zombie_villager_spawn_egg",
|
||||
"820": "minecraft:zombie_villager_spawn_egg",
|
||||
"821": "minecraft:zombified_piglin_spawn_egg",
|
||||
"822": "minecraft:experience_bottle",
|
||||
"823": "minecraft:fire_charge",
|
||||
"824": "minecraft:writable_book",
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren