diff --git a/README.md b/README.md index 5239a8133..c20f7f10e 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,9 @@ The base ViaVersion jar runs on Paper and Velocity. We also have projects integr on Fabric, Forge, Bungee, Sponge, or as a standalone proxy to join from basically any client version on any server version from the past decade. **See [HERE](https://github.com/ViaVersion) for an overview of the different Via\* projects.** +Note that ViaVersion will be able to **run best on either Paper servers or Fabric clients** due to having +direct access to client/server state and more extensive API. + Supported Versions: ![Table (https://i.imgur.com/sTrVnC2.png)](https://i.imgur.com/sTrVnC2.png) diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/v1_20_5to1_21/storage/EfficiencyAttributeStorage.java b/common/src/main/java/com/viaversion/viaversion/protocols/v1_20_5to1_21/storage/EfficiencyAttributeStorage.java index 3dff11a2f..dc7898beb 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/v1_20_5to1_21/storage/EfficiencyAttributeStorage.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/v1_20_5to1_21/storage/EfficiencyAttributeStorage.java @@ -93,7 +93,13 @@ public final class EfficiencyAttributeStorage implements StorableObject { final PacketWrapper attributesPacket = PacketWrapper.create(ClientboundPackets1_21.UPDATE_ATTRIBUTES, connection); attributesPacket.write(Types.VAR_INT, enchants.entityId()); - final List list = List.of(enchants.efficiency(), enchants.soulSpeed(), enchants.swiftSneak(), enchants.depthStrider()); + final List list = List.of( + enchants.efficiency(), + enchants.soulSpeed(), + enchants.swiftSneak(), + enchants.aquaAffinity(), + enchants.depthStrider() + ); attributesPacket.write(Types.VAR_INT, list.size()); for (final ActiveEnchant enchant : list) { final EnchantAttributeModifier modifier = enchant.modifier; @@ -113,8 +119,8 @@ public final class EfficiencyAttributeStorage implements StorableObject { attributesPacket.scheduleSend(Protocol1_20_5To1_21.class); } - public record ActiveEnchants(int entityId, ActiveEnchant efficiency, ActiveEnchant aquaAffinity, - ActiveEnchant soulSpeed, ActiveEnchant swiftSneak, ActiveEnchant depthStrider) { + public record ActiveEnchants(int entityId, ActiveEnchant efficiency, ActiveEnchant soulSpeed, + ActiveEnchant swiftSneak, ActiveEnchant aquaAffinity, ActiveEnchant depthStrider) { } public record ActiveEnchant(EnchantAttributeModifier modifier, int level) {