相关说明可在GitHub上找到。
Fabric版本可在此处找到。
RandomPatches完全独立;使用它无需安装任何依赖项。
在报告问题或提出改进建议时,请使用 GitHub问题跟踪器,并且确保你使用的是对应Minecraft版本的最新版模组——这样更便于 跟踪处理。避免在CurseForge项目页面发表评论或将 问题直接私信发给我。感谢!
支持我的工作
如果你想支持我的工作,我有一个Patreon账户!欢迎前去查看。😛
特别感谢kreezxil对我工作的支持!
赞助商
我与Apex Hosting展开了合作!以我的经验来看,他们的服务器没有延迟,易于管理,且质量上乘。可在此处查看:
旧版说明(
RandomPatches是一个包含一系列Minecraft杂项补丁的模组。RandomPatches仅包含需要ASM转换器的功能。不需要ASM转换器的调整内容则放在RandomTweaks中,我推荐将其作为配套模组使用。
安装在客户端时,RandomPatches应与原版服务器完全兼容;安装在服务器上时,它应与原版客户端完全兼容。这也意味着客户端可以使用与服务器不同版本的该模组进行连接。所有补丁要么仅在客户端生效,要么仅在服务器端生效。
有关此模组的基础Fabric版本,请见此处。
功能:
读取和登录超时设置
- 读取和登录超时时间在原版Minecraft中是硬编码的,对于配置较低的电脑来说,这个时间往往不够长。
- 在Minecraft 1.9及更高版本中,RandomPatches允许你配置登录超时时间;在Minecraft 1.12及更高版本中,读取超时时间也可配置。
- 默认情况下,RandomPatches将读取和登录超时时间设置为90秒。
- 读取超时时间是指服务器每隔一定间隔发送KeepAlive数据包后,等待响应的时间。这个间隔在Minecraft 1.9及更高版本中也可配置。
- 读取超时时间会自动向上取整为KeepAlive数据包间隔时间的倍数。
- 除非必要,请勿增加KeepAlive数据包间隔时间。保持在15应该就没问题。
- 一般来说,登录超时时间的影响比读取超时时间更大。
- 这还会设置“fml.readTimeout”和“fml.loginTimeout”系统属性。
- 除非在配置中禁用了NetHandlerPlayServer补丁,否则这些超时时间可以在游戏中配置并生效。
- 登录超时完全在服务器端,而读取超时在客户端和服务器端都有。
强制返回主菜单
- 在原版中,从服务器断开连接后,游戏会返回多人游戏/领域菜单。
- RandomPatches提供了一个选项,可在断开连接后强制返回主菜单。
- 此选项默认禁用。
- 这可以与ServerObserver结合使用。如果你启用了自动连接并离开服务器去挂机,没有这个模组的话,ServerObserver会自动重新加入服务器,因为Minecraft会返回多人游戏菜单。
- 除非你将“patchTitleScreenOnDisconnect”设置为false,否则此功能可以在游戏中配置并生效。
可配置的玩家速度限制
- 在Minecraft 1.9及更高版本中,这可以消除玩家移动过快时出现的橡皮筋效应和“移动过快!”的日志刷屏。
- 正常移动速度、鞘翅移动速度和载具移动速度限制都可以配置。
- 如果安装了SpongeForge,此功能会自动禁用,因为它已经具备此功能。
- 如果安装了《冰火传说》,载具移动速度限制无法配置,因为它有自己的实现方式。
- 除非在配置中禁用了NetHandlerPlayServer补丁,否则这些限制可以在游戏中配置并生效。
更快的语言切换
- 几乎可以消除切换到其他语言时的卡顿。
- 此功能取自FastLang。
- 无法在游戏中切换此功能。
- 在Forge 1.12.2 - 14.23.4.2742及更高版本中,也可以通过在forge.cfg中将client.selectiveResourceReloadEnabled设置为true来启用此功能。
切换旁白按键绑定
- 添加了一个切换旁白的按键绑定。
- 这与“重新绑定旁白”类似,但RandomPatches的版本在行为上与原版更加一致。
- 当安装了“重新绑定旁白”或“重新绑定”时,此功能会自动禁用。
- 由于旁白功能是在1.12版本中实现的,所以此功能仅在Minecraft 1.12及更高版本中生效。
- 无法在游戏中启用/禁用此功能。
末地传送门调整
- 修复末地传送门和末地折跃门破坏粒子的纹理,并改进末地传送门的渲染。
- 在原版Minecraft中,粒子纹理缺失,所以显示为紫色和黑色,并且末地传送门仅从上方渲染。
- RandomPatches通过将Minecraft 1.12及以下版本的粒子纹理更改为黑曜石纹理(以匹配1.13+版本),并强制传送门从上方和下方渲染,来修复这些问题。
- 此功能仅在1.11及更高版本中生效,且完全在客户端。
- 没有RandomPatches时的末地传送门渲染:
- 有RandomPatches时的末地传送门渲染:
- 没有RandomPatches时的破坏粒子纹理:
- 有RandomPatches时的破坏粒子纹理(过时):
合成书NBT修复
- 这是对MC - 129057的修复,该问题会导致在合成书中点击配方时,带有NBT数据的材料无法转移到合成网格中。
- 尽管理论上RandomPatches的修复与更多模组兼容,但当安装了VanillaFix时,此功能会自动禁用。
船的调整
- 这是对CplPibald的Tweaks中“浮力船”调整的更好实现。
- 可以配置船在流水下的浮力。
- 在原版中,水下的船浮力为 -0.0007,这意味着它们会下沉。
- RandomPatches默认将水下船的浮力更改为0.023,使它们能够漂浮并向上移动。
- 还有一个选项可以防止水下船的乘客在60刻(3秒)后被弹出,此选项默认禁用。
- 与CplPibald的Tweaks不同,该模组创建了一个自定义船实体,而RandomPatches通过修补EntityBoat类来实现此功能,这使得此功能在安装了该模组的服务器与原版客户端连接时也能生效。
- 水下船浮力和防止水下船乘客弹出的设置在更改后会在游戏中生效。
矿车AI修复
- 这只是对Minecraft 1.12.2及以下版本中MC - 64836的一个非常简单的修复。此错误会导致非玩家实体能够使用其AI来移动矿车,这可能会干扰自动化。
- 无法在游戏中启用/禁用此功能。
MC - 2025修复
- 对MC - 2025的修复。此修复仅在1.10及更高版本中生效。
- 在原版Minecraft中,每次创建实体时,都会重新计算其碰撞箱。这并不总是准确的,可能会导致实体窒息。
- RandomPatches通过存储实体的相对碰撞箱(在一个名为RelativeAABB的标签列表中)并在创建实体时恢复它们来修复此问题。
移除药水闪光
- 移除药水的发光效果。
- 此选项默认禁用,且无法在游戏中切换。
- 此功能取自NoMoreGlowingPots。
骷髅堆叠修复
- 在原版Minecraft中,如果玩家头颅是在不同会话中获得的,则无法堆叠。
- RandomPatches通过使Minecraft在SkullOwner标签功能等效时将NBT标签视为相等来修复此问题。
- 默认情况下,只有当纹理相同时,骷髅才被视为等效,但可以禁用此限制,以便将具有相同玩家配置文件的骷髅视为相同。
- 此功能仅安装在服务器上时可以使用,但有局限性。仅安装在客户端时此功能无效。
传送门桶替换修复
- 这是对Minecraft 1.9到1.14版本中MC - 11944的修复,该修复允许玩家用桶替换末地传送门、末地折跃门和下界传送门。
- 默认情况下,为了实现可切换的下界传送门,此修复对下界传送门禁用。
粒子修复
- 由于两个长期存在的漏洞,Minecraft中的许多粒子无法显示:
- MC - 10369 - 服务器端生成的粒子不会为客户端生成粒子(在Minecraft 1.14中修复)
- MC - 93826 - 繁殖爱心仅显示一次,而不是动物可繁殖时一直显示
- 自2012年7月的Minecraft 1.3版本以来,许多在原版游戏中未显示的粒子将再次出现。
- 这些粒子包括:
- 处于求爱状态的动物不断冒出的爱心粒子
- 建造雪傀儡时的小雪粒子
- 建造铁傀儡或凋零boss时的雪球粒子
- 熔岩和水混合时的大烟雾粒子
- 红石火把熄灭时的红色粒子
- 生物穿戴的盔甲损坏时的粒子
- 在末地传送门框架中放置末影之眼时的烟雾
- 小动物出生时,其中一个亲代周围的一堆爱心粒子
- 末影龙触碰方块并破坏它们时的爆炸粒子
- 这些修复在Minecraft 1.10及更新版本中生效,且在服务器端。
- 这些修复最初由Fuzs_编写,他让我将粒子修复功能整合到RandomPatches中。你可以在此处查看他的截图。
- 如果安装了Particle Fixes,此功能将自动禁用。
隐形玩家模型修复
- 此修复也是由Fuzs_发现的,它修复了在第三人称模式下用鞘翅直线飞行时玩家模型偶尔消失的问题。
- 此修复在Minecraft 1.9及更新版本中生效,且在客户端。
- 这是该问题的视频:
可配置的数据包大小限制
- RandomPatches允许配置原版默认的压缩数据包大小限制2097152(0x20000)。
- 默认情况下,RandomPatches将限制设置为16777216(0x100000)。
- 当安装了Bigger Packets Please、LittleTiles或SpongeForge时,此功能将自动禁用。
下马按键绑定
- 此功能将下马按键绑定与潜行按键绑定分开,在Minecraft 1.9及更新版本中默认启用。
- 在Minecraft 1.9及更新版本中,默认设置为左Shift键,以便行为与原版Minecraft等效。
- 在Minecraft 1.9及更新版本中,当此按键绑定设置为与潜行按键绑定相同的键时(这是默认设置),在控制菜单中不会显示为冲突。
- 在Minecraft 1.8中,此按键绑定默认禁用,启用时默认设置为Z键。
- 在Minecraft 1.8中,如果此按键绑定设置为与潜行按键绑定相同的键,在控制菜单中将显示为冲突。
- 此功能完全在客户端,允许在船和矿车内潜行。
- 这是对“UnRide Keybind”的更好实现,它不会将“按下 下马”消息从潜行按键绑定更改为“UnRide”按键绑定。
“TickNextTick列表不同步”修复
- 这是对该崩溃问题的修复。感谢malte0811解释如何实现此修复。
平滑的眼高变化动画
- 这是对MC - 48401的修复。
- 在1.8版本之前,眼高变化是平滑动画。
- 出于某种原因,此动画在1.8版本中被移除,并在1.13版本中重新添加。
- RandomPatches在Minecraft 1.8到1.12.2版本中重新添加了此动画。
- 此动画可以在游戏中切换。
优化竹子方块渲染
- 这本质上就是“快速竹子”。感谢darkevilmac发现此修复。
挖掘幽灵方块修复
- 这是对MC - 5694的修复,该问题会导致快速挖掘有时仅在客户端摧毁方块。
- 此修复取自gnembon制作的Carpet Mod。
- 此修复在Minecraft 1.9到1.12.2版本中生效。
活塞幽灵方块修复
- 这是对MC - 54026的修复,该问题会导致在某些情况下,连接到粘液块的方块,如果活塞推动粘液块,会产生幽灵方块。
- 此视频演示了该问题:
<
The description can be found on GitHub.
The Fabric version can be found here.
RandomPatches is entirely standalone; you do not need to install any dependencies to use it.
When reporting issues or suggesting enhancements, please use the GitHub issue tracker, and make sure you are on the latest version of the mod for your Minecraft version—it's easier to keep track of things this way. Avoid commenting them on the CurseForge project page or sending them to me in a direct message. Thank you!
Support my work
If you'd like to support my work, I've got a Patreon! Feel free to check it out. 😛
Special thanks to kreezxil for supporting my work!
Sponsor
I've partnered with Apex Hosting! In my experience, their servers are lag-free, easy to manage, and of high quality. Check them out here:
Old description (
RandomPatches is a mod that contains a bunch of miscellaneous patches for Minecraft. RandomPatches only contains features that require ASM transformers. Tweaks that don't require ASM transformers go in RandomTweaks, which I recommend as a companion mod.
When installed on the client, RandomPatches should be completely compatible with vanilla servers, and when installed on a server, it should be completely compatible with vanilla clients. This also means that the client can connect with a different version of the mod to the one on the server. All patches are either exclusively client-sided or exclusively server-sided.
For a rudimentary Fabric version of this mod, see here.
Features:
Read and login timeouts
- The read and login timeouts are hardcoded in vanilla Minecraft, and are often not long enough for slower computers.
- On Minecraft 1.9 and higher, RandomPatches allows you to configure the login timeout, and on Minecraft 1.12 and higher, the read timeout is also configurable.
- By default, RandomPatches sets the read and login timeouts to 90 seconds.
- The read timeout is the time the server waits for a response to the KeepAlive packet it sends every set interval. This interval can also be configured on Minecraft 1.9 and higher.
- The read timeout is automatically rounded up to a product of the KeepAlive packet interval.
- Do not increase the KeepAlive packet interval unless necessary. Leaving it at 15 should be fine.
- The login timeout generally has more impact than the read timeout.
- This also sets the "fml.readTimeout" and "fml.loginTimeout" system properties.
- These timeouts can be configured and take effect in-game, unless the NetHandlerPlayServer patches are disabled in the configuration.
- The login timeout is entirely server-sided, but the read timeout is both client and server-sided.
Force return to the title screen
- In vanilla, the game returns to the Multiplayer/Realms menu when disconnecting from a server.
- RandomPatches provides an option to force returning to the title screen after disconnecting.
- This option is disabled by default.
- This can be used in conjunction with ServerObserver. If you have auto-connect enabled and leave a server to go AFK, without this mod, ServerObserver automatically rejoins the server because Minecraft returns to the Multiplayer menu.
- This can be configured and take effect in-game, unless you set "patchTitleScreenOnDisconnect" to false.
Configurable player speed limits
- On Minecraft 1.9 and higher, this removes the rubber banding and the " moved too quickly!" log spam that occurs when players move too fast.
- The normal movement speed, elytra movement speed and vehicle movement speed limits can be configured.
- This feature disables itself if SpongeForge is installed since it already has this functionality.
- The vehicle movement speed limit cannot be configured if Ice and Fire is installed, as it contains its own implementation.
- These limits can be configured and take effect in-game, unless the NetHandlerPlayServer patches are disabled in the configuration.
Faster language switching
- Almost removes the lag from switching to another language.
- This was taken from FastLang.
- This cannot be toggled in-game.
- On Forge 1.12.2-14.23.4.2742 and higher, this can also be enabled in forge.cfg by setting client.selectiveResourceReloadEnabled to true.
Toggle Narrator keybind
- Adds a Toggle Narrator keybind.
- This is similar to Rebind Narrator, but RandomPatches' version is slightly more consistent with vanilla behavior.
- This feature disables itself when Rebind Narrator or ReBind is installed.
- Since the narrator was implemented in 1.12, this only works in Minecraft 1.12 and higher.
- This feature cannot be enabled/disabled in-game.
End Portal tweaks
- Fixes the End portal and End gateway break particle textures and improves End portal rendering.
- In vanilla Minecraft, the particle textures are missing so they show as purple and black, and End portals only render from above.
- RandomPatches fixes these issues by changing the particle textures on Minecraft 1.12 and below to obsidian to match Minecraft 1.13+ and by forcing portals to render from both above and below.
- This feature only works on 1.11 and above and is completely client-sided.
- End portal rendering without RandomPatches:
- End portal rendering with RandomPatches:
- Break particle textures without RandomPatches:
- Break particle textures with RandomPatches (outdated):
Recipe Book NBT Fix
- This is a fix for MC-129057, which prevents ingredients with NBT data from being transferred to the crafting grid when a recipe is clicked in the recipe book.
- Although RandomPatches' fix is slightly more mod-compatible in theory, it disables itself when VanillaFix is installed.
Boat tweaks
- This is a better implementation of the Buoyant Boats tweak in CplPibald's Tweaks.
- The buoyancy of boats under flowing water can be configured.
- In vanilla, underwater boats have a buoyancy of -0.0007, which means they sink.
- RandomPatches by default changes the buoyancy of underwater boats to 0.023, making them float and allowing them to travel upwards.
- There is also an option to prevent underwater boat passengers from being ejected after 60 ticks (3 seconds), which is disabled by default.
- Unlike CplPibald's Tweaks, which creates a custom boat entity, RandomPatches works by patching the EntityBoat class, which makes this feature work with vanilla clients connecting to servers withthis mod installed.
- The underwater boat buoyancy and underwater boat passenger ejection prevention take effect in-game when changed.
Minecart AI Fix
- This is just a very simple fix for MC-64836 for Minecraft 1.12.2 and below. This bug causes non-player entities to be able to use their AIs to move minecarts, which can interfere with automation.
- This cannot be enabled/disabled in-game.
MC-2025 Fix
- Fix for MC-2025. This only works on 1.10 and above.
- In vanilla Minecraft, entities' bounding boxes are recalculated every time they are created. This is not always accurate, which can lead to entities suffocating.
- RandomPatches fixes this by storing entities' relative bounding boxes (in a tag list called RelativeAABB) and restoring them when they are created.
Remove potion glint
- Removes the glowing effect from potions.
- This option is disabled by default, and cannot be toggled in-game.
- This was taken from NoMoreGlowingPots.
Skull stacking fix
- In vanilla Minecraft, player skulls do not stack if they were obtained in different sessions.
- RandomPatches fixes this by making Minecraft treat NBT tags as equal if the SkullOwner tags are functionally equivalent.
- By default, skulls are only treated as equivalent if the textures are the same, but this can be disabled so that skulls with the same player profile are treated as the same.
- This feature works if only installed on the server, but is limited. This feature does not work if it is only installed on the client.
Portal bucket replacement fix
- This is a fix for MC-11944 on Minecraft 1.9 to 1.14, which allows players to replace End portals, End gateways and Nether portals with buckets.
- By default, this fix is disabled for Nether portals to allow for toggleable Nether portals.
Particle fixes
- Many of Minecraft's particles aren't shown due to two long-standing bugs:
- MC-10369 - server-sided particle spawning doesn't spawn particles for clients (fixed in Minecraft 1.14)
- MC-93826 - Breeding hearts show only once instead of all the time an animal can breed
- Lots of particles will appear once again that haven't done so in the vanilla game since Minecraft 1.3 from July 2012.
- These particles include:
- Heart particles constantly popping up from animals in love
- Small snow particles upon building a snow golem
- Snowball particles when an iron golem or wither boss is built
- Large smoke particles when lava and water mix
- Red particles on redstone torch burn out
- Armor breaking particles when worn by a mob
- Smoke when placing an eye of ender in an end portal frame
- A heap of heart particles around one of the parents when a baby animal is born
- Explosion particles when the ender dragon destroys blocks upon touching them
- These fixes work on Minecraft 1.10 and newer and are server-sided.
- These fixes were originally written by Fuzs_, who asked me to implement Particle Fixes into RandomPatches. You can view his screenshots here.
- This feature will disable itself if Particle Fixes is installed.
Invisible player model fix
- This fix was also found by Fuzs_ and fixes the player model occasionally disappearing when flying with elytra in a straight line in third-person mode.
- This fix works on Minecraft 1.9 and newer and is client-sided.
- Here is a video of this issue:
Configurable packet size limit
- RandomPatches allows the default vanilla compressed packet size limit of 2097152 (0x20000) to be configured.
- By default, RandomPatches sets the limit to 16777216 (0x100000).
- This feature disables itself when Bigger Packets Please, LittleTiles or SpongeForge is installed.
Dismount keybind
- This feature, which separates the dismount keybind from the sneak keybind, is enabled by default on Minecraft 1.9 and newer.
- On Minecraft 1.9 and newer, it is set to the Left Shift key by default so that the behavior is equivalent to that of vanilla Minecraft.
- On Minecraft 1.9 and newer, when this keybind is set to the same key as the sneak keybind, as is the default, it does not show as a conflict in the Controls menu.
- On Minecraft 1.8, the keybind is disabled by default and is set to the Z key by default when enabled.
- On Minecraft 1.8, if this keybind is set to the same key as the sneak keybind, it will show as a conflict in the Controls menu.
- This feature is completely client-sided and allows sneaking inside of boats and minecarts.
- This is a better implementation of UnRide Keybind, which does not change the "Press to dismount" message from the sneak keybind to the "UnRide" keybind.
"TickNextTick list out of synch" fix
- This is a fix for this crash. Thanks to malte0811 for explaining how to implement this fix.
Smooth eye level change animation
- This is a fix for MC-48401.
- Before 1.8, eye level changes were animated smoothly.
- For some reason, this animation was removed in 1.8 and readded in 1.13.
- RandomPatches adds this animation back on Minecraft versions from 1.8 to 1.12.2.
- This animation can be toggled in-game.
Optimized bamboo block rendering
- This is essentially just Fast Bamboo. Thanks to darkevilmac for finding this fix.
Mining ghost blocks fix
- This is a fix for MC-5694, which causes fast mining to sometimes only destroy blocks client-side only.
- This fix was taken from Carpet Mod by gnembon.
- This fix works from Minecraft 1.9 to 1.12.2.
Piston ghost blocks fix
- This is a fix for MC-54026, which causes blocks attached to slime blocks in some circumstances to create ghost blocks if a piston pushes the slime block.
- This video demonstrates this issue:
- This fix was taken from Carpet Mod by gnembon.
- This fix works from Minecraft 1.9 to 1.12.2.
Observer signal on placement
- On 1.11 and 1.12, observers emit a signal when they are placed.
- This has been fixed by Mojang on Minecraft 1.13 and newer.
- By default, RandomPatches prevents observers from emitting a signal upon placement.
- This issue is documented as MC-109832.
Framerate limit step size
- RandomPatches adds a configuration option to change the framerate limit step size.
- The vanilla step size is 10, which means setting the framerate limit to 75 from the in-game GUI is not possible.
- By default, RandomPatches changes the step size to 1.
Dismount position fix
- On Minecraft 1.11, 1.12, 1.14 and 1.15, RandomPatches fixes MC-3328 and MC-111726, which cause riders' positions to be set too high after dismounting.
- This issue has been fixed in vanilla 1.16, and RandomPatches simply backports this fix.
Configurable window title/icon
- This allows the window title and icon to be configured.
- The title and window icon are set immediately upon creation.
- It's the little things also implements a configurable window title and icon, but its version loads much later.
- Custom Tweaks' custom window title also loads later instead of immediately upon window creation.
- The title and icon are configurable in-game and are set to the vanilla title and icon by default.
Configuration
- All features are configurable.
- On Minecraft 1.9 and higher, /rpreload reloads the server-sided configuration and /rpreloadclient reloads the client-sided configuration (which are the same thing in a singleplayer world).
- Many options can be changed through the in-game configuration GUI, which now works on all supported versions of Minecraft, and many also take effect in-game.
- Using /rpreload or /rpreloadclient to reload the client-sided configuration does not update the window settings. Use the configuration GUI for this instead.
- Configuration options do not exist on Minecraft versions that they have no effect on.
本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。
操作
创作者
待认领资源
成为此资源的创作者
其他链接
最近更新资源
天煞孤星·魔女的末路
181次下载 | 17 小时前更新
农场物语 - FarmingTales Forge
87次下载 | 17 小时前更新
神秘启旅 ~ Thaum Journey
24次下载 | 5 天前更新
虚饰作品-Fictional
115次下载 | 5 天前更新
剑与王国
523次下载 | 5 天前更新
阿卡迪亚的天启
83次下载 | 5 天前更新
脆骨症 2 - No Flesh Within Chest 2
70次下载 | 1 周前更新
新雾中人恐怖生存---In the Fog(Horror)
49次下载 | 2 周前更新
诡厄:使徒
20次下载 | 2 周前更新
新:模拟大都市
535次下载 | 2 周前更新
香草纪元:食旅纪行
2871次下载 | 2 周前更新
云游四海
56次下载 | 2 周前更新
评论区 (0)
登录 后才能发表评论
快来发表第一条评论吧!