跳到正文

Quality of Life (QoL) Fixes

作者:spoorn

为 Fabric 加载器带来多项生活品质改进,且均可完整配置。

收藏

介绍

介绍由机器翻译自 Modrinth 原页面,仅供参考。

https://img.shields.io/static/v1?label=%20&message=other%20projects&color=4b5966&labelColor=658f79&logo=curseforge&logoColor=white&style=for-the-badgehttps://img.shields.io/discord/990178919795785749?color=4b5966&label=%20&labelColor=658f79&logo=discord&logoColor=white&style=for-the-badge https://img.shields.io/github/stars/spoorn/QoLFixes?color=4b5966&labelColor=658f79&label=github%20&logo=github&logoColor=white&style=for-the-badge https://img.shields.io/github/issues-raw/spoorn/QoLFixes?color=4b5966&labelColor=658f79&label=issues%20&logo=github&logoColor=white&style=for-the-badge

描述


为 Fabric 加载器带来各种生活质量改进。下方的功能列表介绍了此模组带来的更改(均可配置)。此外还修复了多种错误。

功能


  • 当服务器认为玩家移动速度过快时,移除“… moved too quickly! …”错误消息。
  • 移除玩家移动速度过快时被自动传送回去的机制。
  • 载具也不再受上述机制影响。
  • 让 AbstractCriterion 的进度使用线程安全的集合。修复类似以下问题:https://github.com/Draylar/inmis/issues/117
  • 让 ShulkerEntity 的 getHeightOffset 等多处内容能够安全处理 NPE,避免类似以下问题:https://github.com/Sollace/Presence-Footsteps/issues/135
  • 将多种物品的最大堆叠数提高至 64(可切换),例如鞍、桶、奶桶、生物桶、细雪桶、雪球、船、末影珍珠、鸡蛋、附魔书、蜂蜜瓶、药水、音乐唱片、马铠和炖菜。
  • 修复 StructureTemplate.PalettedBlockInfoList 的 ConcurrentModificationException:

Caused byjava.util.ConcurrentModificationException

at java.util.HashMap.computeIfAbsent(HashMap.java:1221) ~\[?:?\]

at net.minecraft.structure.StructureTemplate$PalettedBlockInfoList.getAllOf(StructureTemplate:773) ~\[?:?\]

at net.minecraft.structure.StructureTemplate.getInfosForBlock(StructureTemplate:184) ~\[?:?\]

at net.minecraft.structure.pool.SinglePoolElement.getStructureBlockInfos(SinglePoolElement:111) ~\[?:?\]

  • 修复导致客户端被服务器踢出的错误声音数据包:

\[21.11 14:17:52\] \[Server\] \[Netty Epoll Server IO #2/ERROR\]: Error receiving packet 96 \[21.11 14:17:52\] \[Server\] java.lang.IllegalArgumentExceptionCan’t find id for ‘net.minecraft.class\_3414@164a3a7a’ in map Registry\[ResourceKey\[minecraft:root / minecraft:sound\_event\] (Experimental)\] \[21.11 14:17:52\] \[Server\] at Not Enough Crashes deobfuscated stack trace.(1.19.2+build.28) ~\[?:?\] \[21.11 14:17:52\] \[Server\] at net.minecraft.network.PacketByteBuf.writeRegistryValue(PacketByteBuf:147) ~\[?:?\] \[21.11 14:17:52\] \[Server\] at net.minecraft.network.packet.s2c.play.PlaySoundS2CPacket.write(PlaySoundS2CPacket:47) ~\[?:?\] \[21.11 14:17:52\] \[Server\] at net.minecraft.network.PacketEncoder.encode(PacketEncoder:45) ~\[?:?\] \[21.11 14:17:52\] \[Server\] at net.minecraft.network.PacketEncoder.encode(PacketEncoder:14) ~\[?:?\] \[21.11 14:17:52\] \[Server\] at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107) \[netty-codec-4.1.77.Final.jar:?\] \[21.11 14:17:52\] \[Server\] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) \[netty-transport-4.1.77.Final.jar:?\] \[21.11 14:17:52\] \[Server\] at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:764) \[netty-transport-4.1.77.Final.jar:?\] \[21.11 14:17:52\] \[Server\] at io.netty.channel.AbstractChannelHandlerContext$WriteTask.run(AbstractChannelHandlerContext.java:1071) \[netty-transport-4.1.77.Final.jar:?\] \[21.11 14:17:52\] \[Server\] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) \[netty-common-4.1.77.Final.jar:?\] \[21.11 14:17:52\] \[Server\] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) \[netty-common-4.1.77.Final.jar:?\] \[21.11 14:17:52\] \[Server\] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) \[netty-common-4.1.77.Final.jar:?\] \[21.11 14:17:52\] \[Server\] at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:391) \[netty-transport-classes-epoll-4.1.77.Final.jar:?\] \[21.11 14:17:52\] \[Server\] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995) \[netty-common-4.1.77.Final.jar:?\] \[21.11 14:17:52\] \[Server\] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) \[netty-common-4.1.77.Final.jar:?\] \[21.11 14:17:52\] \[Server\] at java.lang.Thread.run(Thread.java:833) \[?:?\] \[21.11 14:17:52\] \[Server\] \[Netty Epoll Server IO #2/ERROR\]: \[QoLFixes\] Failed to register SoundEvent Packet with ID platypus:platypus\_ambient \[21.11 14:17:52\] \[Server\] \[Netty Epoll Server IO #2/WARN\]: \[QoLFixes\] Skipping write error for the bad Sound packet

配置


你可以在配置文件中启用或禁用所有功能,配置文件位于config/qolfixes.json5。更多详情请参阅配置文档:https://github.com/spoorn/QoLFixes/blob/main/config-documentation.json5。

前置依赖

此模组需要:

requires fabric

如果你喜欢这个模组,也来看看我制作的其他模组吧!:  https://www.curseforge.com/members/spoorn/projects

常见问题

Quality of Life (QoL) Fixes 支持哪些 Minecraft 版本?

Quality of Life (QoL) Fixes 支持 Minecraft Java 版 1.18–1.20.1,共 10 个版本,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。

Quality of Life (QoL) Fixes 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

spoorn 的其他作品

查看全部 →