MessMod
一款包含众多功能的 Minecraft 模组,功能范围涵盖世界操控、信息提供、错误修复等,让你能更好地掌控游戏,获取更多信息,并更轻松地执行某些操作。
-
不想使用 /data 来获取实体的速度?使用本模组,按下 F3 + E 并瞄准实体,你将在屏幕角落找到所需的信息。(或者尝试侧边栏)
-
对飞行的 TNT 渲染位置不正确感到烦恼?使用本模组,你将看到这些实体正确的边界框。
-
厌倦了反复输入 /tick freeze 和 /tick step 1?使用本模组,如果你手持砖块或骨头,只需右键点击即可完成这些操作。
-
不小心破坏了一些方块?使用本模组,可以通过快捷键 Ctrl + Z 轻松撤销。
然而,这还不是全部,详细文档位于 Github。
以下是完整文档的一个相当简化(且可能语法更规范)的版本。
亮点
- 比原版客户端更精确的碰撞箱。
- 使使用
/tick 更方便的工具物品。
- 实时显示实体信息。
- 在源代码级别控制游戏。
- 多功能访问路径。
- 8 个易于使用的渲染器(见下文)。
- 将指定区域导出为新的存档。
- 使用
Ctrl + Z 和 Ctrl + Y 撤销/重做方块的更改。
- 区块网格。
- 惰性加载区块模拟。
- 以及更多...
要求
- Fabric Loader 0.8.0+。
- gnembon 开发的 fabric-carpet。(强烈建议安装,但非必需)
- Minecraft 1.16.4/1.16.5/1.17.1/1.18.2
- Minecraft 所需的一切环境。
命令列表
/accessingpath
管理访问路径中的自定义节点。(未来可能会引入其他功能。)
/countentity
以更简便的方式统计实体,特别是堆叠在一起的实体。
/ensure
一个方块状态检查器,用于检查方块是否渲染错误。如果你被“幽灵方块”困扰,它可能会有所帮助。
/entityconfig
目前,该命令只能让某些实体直接站在或不站在方块上,后续版本可能会引入更多功能。
/entityfield
通过反射访问实体的某些 Java 字段。如果加载了映射文件,则支持反混淆。
/entitylog
实体日志记录器,换句话说,是一个从指定实体获取一些数据并将其写入文件的简单工具。
/entitysidebar
管理实体侧边栏中的信息行,你可以在这里查看已订阅内容的变化。
/explode
一些更有趣但无实际用途的功能,它除了引发爆炸外什么也做不了。
/exportsave
将指定的区域导出为新的存档。
/freezentity
暂停/继续处理选定的实体。可用于模拟惰性加载的区块。
/hud
管理 HUD 中的自定义行。
/lag
冻结游戏。
/lazyload
模拟惰性加载的区块。
/logmovement
订阅一些实体,观察它们如何被活塞、潜影盒和潜影贝推动。
/logchunkbehavior
记录与区块相关的一些事件(例如加载、卸载和生成),这在某些特殊研究中可能有用。
/logpacket
监听服务器与客户端之间的数据包。
/messcfg
配置模组的一些功能(支持的选项详细列表可在下一节找到)。
/modify
修改实体的某些属性。这与 /data 和 /entityfield 类似,但更易用。
/moventity
以任何你想要的方式移动实体。
/namentity
无需铁砧和命名牌即可命名或重命名实体。
/partlykill
杀死部分选定的实体,而不是全部。
/poi
POI(兴趣点)扫描器和编辑器。
/raycast
显示射线投射的详细信息,如果需要还可以可视化。如果你想知道末影珍珠擦过方块表面会发生什么,它可能会有用。
/repeat
重复执行命令若干次。
/ride
让某些实体乘坐载具。
/rng
进行随机数生成(RNG)操作。
/setexplosionblock
如果爆炸将破碎的方块替换为钻石块而不是空气,会是什么样子?这将给你答案。
/tileentity
访问方块实体的数据,包括添加、删除、读取和编辑(在这种情况下 /data 更合适)。如果一个投掷器拥有营火的方块实体会怎样?
选项(或规则)
以下选项可以通过命令 /messcfg <option> <value> 进行设置。希望它们的名称足够易懂。
- accessingPathInitStrategy
- allowSelectingDeadEntities
- allowTargetingSpecialEntities
- antiHostCheating
- attackableTnt
- blameThreshold
- blamingMode
- blockPlacementHistory
- blockShapeToBeRendered
- commandExecutionRequirment
- chunkLoadingInfoRenderer
- chunkLoadingInfoRenderRadius
- craftingTableBUD
- creativeUpwardsSpeed
- debugStickSkipsInvaildState
- dedicatedServerCommands
- disableChunkLoadingCheckInCommands
- disableEnchantCommandRestriction
- disableExplosionExposureCalculation
- disableProjectileRandomness
- enabledTools
- endEyeTeleport
- entityExplosionInfluence
- entityExplosionRaysLifetime
- entityExplosionRaysVisiblity
- entityLogAutoArchiving
- fillHistory
- fletchingTablePulseDetectingMode
- fletchingTablePulseDetector
- generateChunkGrid
- hideSurvivalSave
- hotbarLength
- hudAlignMode
- hudStyles
- hudTextSize
- interactableB36
- language
- maxClientTicksPerFrame
- maxEndEyeTpRadius
- minecartPlacementOnNonRailBlocks
- mobFastKill
- optimizedEntityPushing
- projectileChunkLoading
- projectileChunkLoadingPermanentence
- projectileChunkLoadingRange
- projectileRandomnessScale
- quickMobMounting
- railNoAutoConnection
- rejectChunkTicket
- renderBlockShape
- renderFluidShape
- renderRedstoneGateInfo
- serverSyncedBox
- serverSyncedBoxRenderRange
- skippedGenerationStages
- skipUnloadedChunkInRaycasting
- stableHudLocation
- strictAccessingPathParsing
- superSuperSecretSetting
- tntChunkLoading
- tntChunkLoadingPermanence
- tntChunkLoadingRange
- vanillaDebugRenderers
键位绑定
F3 + E: 切换显示玩家所注视实体信息的 HUD。
F3 + M : 切换显示本地玩家信息的 HUD。
F3 + S: 切换显示服务端玩家信息的 HUD。
Ctrl + Z: 撤销方块放置或破坏。(需要 blockPlacementHistory)
Ctrl+ Y: 重做方块放置或破坏。(需要 blockPlacementHistory)
渲染器
实体信息 HUD:在服务器刻结束时获取玩家所注视实体的信息,在客户端刻结束时获取本地玩家的信息。更多相关信息见下文。

爆炸射线:渲染爆炸中心与受爆炸影响实体的碰撞箱中某些选定位置之间的连线,这些连线决定了实体将受到多少伤害、速度会改变多少等。

服务端同步的碰撞箱:不要总是相信 F3 + B 提供的碰撞箱,因为它们经过客户端调整以使移动更平滑,并在实体移动时比服务端的移动显得“更慢”。如果服务器经历了很长的一个刻而客户端没有,有时甚至可能缺失原版碰撞箱。


流体方块数据:显示目标流体方块的边界框、高度、等级以及描述其流动方向的向量。

方块边界框:显示目标方块的边界框。

红石门的输出等级:显示目标红石门(即中继器和比较器)的红石信号等级。

工具物品 (需要 fabric-carpet 并启用选项 enabledTools)
砖块:使用 Carpet 提供的 /tick freeze 暂停或继续计时。
骨头:当计时被 /tick freeze 暂停时,继续计时若干刻。刻数等于骨头的堆叠数量。
下界合金锭:移除所有非玩家实体。
访问路径
参见 Wiki。
实体选择器中的选项
id
选择具有给定数字 ID(字段 entityId, networkId)的实体。
side
实体从何处选择,是客户端还是服务端。
typeRegex
可能的值:带引号的正则表达式。
指定用于匹配所选实体 ID(包括命名空间)的正则表达式。
nameRegex
可能的值:带引号的正则表达式。
指定用于匹配所选实体名称的正则表达式。
class
可能的值:带引号的正则表达式。
指定用于匹配所选实体类(可选包名)的正则表达式。
其他功能
- 当玩家距离结构方块非常远时,仍可以看到该结构方块。
- 当未加载 Carpet Mod 时,将打印堆栈跟踪。如果已加载 Carpet Mod,启用
superSecretSetting 具有相同的效果。
- 当尝试首次打开安装了 MessMod 的生存存档时,会弹出警告屏幕。
注意
- 该模组仍在开发中,部分功能不可用或存在错误,如果您发现任何问题请告诉我。
- 目前专用服务器的支持尚不完善,且存在许多与服务器和客户端连接相关的未解决错误,因此仅建议在单人模式或局域网主机的客户端中使用该模组。
- 一些命令如
/explode ~ ~ ~ 2147483647 true 可能导致服务器冻结,请谨慎使用。
- 该模组不打算用于生存存档,因为它可能会让玩家无意中作弊。为确保这一点,可启用选项
hideSurvivalSaves。
关于
最初,我在 2021 年 2 月开始开发此模组,旨在研究实体的运动行为。因此,HUD、边界框渲染器、工具物品以及命令 /entityfield 是该模组最早的功能。随后,根据需要逐步引入了更多功能。
自 2022 年 4 月之后,我加快了模组的开发进度,添加了大量新功能,并对许多先前加入的功能进行了彻底的重构。截至 2023 年 8 月 23 日,该模组已提供 28 个命令、70 个选项(或规则)以及 9 种渲染器。

MessMod
A minecraft mod that contains many features ranging from world manipulation and information providing to bug fixes and so on, allowing you to take more control of the game, see more information, and do some work easier.
-
Don't want to use "/data" to obtain the velocity of entities? With this mod, press F3 + E and target the entity, you'll find something you wanted at a corner of the screen. (Or try sidebars)
-
Got annoyed about flying TNTs rendered at some wrong positions? With this Mod, you will see the correct boundary boxes of these entities.
-
Bored with typing "/tick freeze" & "/tick step 1" over and over again? With this Mod, these operations could be finished simply via right-click if you are holding a brick or a bone.
-
Have broken some blocks by mistake? With this mod, it can be easily undone with the shortcut Ctrl + Z.
However, that is not everything, the detailed document is on Github.
And here is a fairly simplified version (and possibly more grammatical version) of the complete document.
Highlights
- More accurate hitboxes than ones on the vanilla client.
- Tool items which makes using
/tick more convenient.
- Real-time display of entity information.
- Controlling the game at the level of the source code.
- Multifunctional accessing paths.
- 8 easy-to-use renderers (see below).
- Exporting given areas as a new save.
- Undo / Redoing changes to blocks with
Ctrl + Z and Ctrl + Y.
- Chunk grids.
- Lazy loaded chunk simulation.
- And more...
Requirements
- Fabric Loader 0.8.0+.
- The fabric-carpet by gnembon. (Strongly recommended, but not necessary)
- Minecraft 1.16.4/1.16.5/1.17.1/1.18.2
- Everything the Minecraft requires.
A list of commands
/accessingpath
Manage custom nodes in accessing paths. (Some other features may be introduced in the future.)
/countentity
Counts entities, especially stacked ones, in a easier way.
/ensure
A block state checker to check if a block is rendered wrongly. If you got annoyed with "ghost blocks", it may be helpful.
/entityconfig
Currently, the command can only make some entities can/cannot step on blocks directly, more features may be introduced in later versions.
/entityfield
Access some Java fields of entities, using reflection. Deobfuscation is supported if the mapping is loaded.
/entitylog
An entity logger is, in other words, a simple tool that obtains some data from some specified entities and writes them to a file.
/entitysidebar
Manage the information lines in the entity sidebar, where you can see how something you have subscribed changes.
/explode
Something even more interesting but useless, it can do nothing but cause some explosions.
/exportsave
Export some given areas as a new save.
/freezentity
Pause|continue processing selected entities. It can be used to simulate lazy loaded chunks.
/hud
Manager custom lines in HUDs.
/lag
Freeze the game.
/lazyload
Simulate lazy loaded chunks.
/logmovement
Subscribe some entities to see how they are pushed by pistons, shulker boxes and shulkers.
/logchunkbehavior
Record some events related to chunks (e.g. loading, unloading and generation), which may be useful in some special researches.
/logpacket
Listen to packets between the server and the client(s).
/messcfg
Configure some features of the Mod (a detailed list of the supported options could be found in the next section).
/modify
Modify some properties of entities. That is similar to /data and /entityfield, but much easier to use.
/moventity
Move an entity, in whatever way you want.
/namentity
Name or rename some entities without anvil and naming tags.
/partlykill
Kill a part of selected entities instead of all of them.
/poi
A POI (a.k.a. Point of Interest) scanner and editor.
/raycast
Show the detail of raycasts, visually if you want. If you wonder what would happen if an ender pearl skims the surface of blocks, it may be useful.
/repeat
Repeat the execution of a command for some times.
/ride
Make some entities ride a vehicle.
/rng
Do some RNG manipulation.
/setexplosionblock
What would it be like if the explosion replace the broken block with diamond blocks instead of air? That will give you the answer.
/tileentity
Access the data of block entities, including adding, removing, reading, and editing (in this case /data is more appropriate). What if a dropper has a block entity of a campfire?
Options (or rules)
The following options could be set with the command /messcfg <option> <value>. Hope their names are understandable enough.
- accessingPathInitStrategy
- allowSelectingDeadEntities
- allowTargetingSpecialEntities
- antiHostCheating
- attackableTnt
- blameThreshold
- blamingMode
- blockPlacementHistory
- blockShapeToBeRendered
- commandExecutionRequirment
- chunkLoadingInfoRenderer
- chunkLoadingInfoRenderRadius
- craftingTableBUD
- creativeUpwardsSpeed
- debugStickSkipsInvaildState
- dedicatedServerCommands
- disableChunkLoadingCheckInCommands
- disableEnchantCommandRestriction
- disableExplosionExposureCalculation
- disableProjectileRandomness
- enabledTools
- endEyeTeleport
- entityExplosionInfluence
- entityExplosionRaysLifetime
- entityExplosionRaysVisiblity
- entityLogAutoArchiving
- fillHistory
- fletchingTablePulseDetectingMode
- fletchingTablePulseDetector
- generateChunkGrid
- hideSurvivalSave
- hotbarLength
- hudAlignMode
- hudStyles
- hudTextSize
- interactableB36
- language
- maxClientTicksPerFrame
- maxEndEyeTpRadius
- minecartPlacementOnNonRailBlocks
- mobFastKill
- optimizedEntityPushing
- projectileChunkLoading
- projectileChunkLoadingPermanentence
- projectileChunkLoadingRange
- projectileRandomnessScale
- quickMobMounting
- railNoAutoConnection
- rejectChunkTicket
- renderBlockShape
- renderFluidShape
- renderRedstoneGateInfo
- serverSyncedBox
- serverSyncedBoxRenderRange
- skippedGenerationStages
- skipUnloadedChunkInRaycasting
- stableHudLocation
- strictAccessingPathParsing
- superSuperSecretSetting
- tntChunkLoading
- tntChunkLoadingPermanence
- tntChunkLoadingRange
- vanillaDebugRenderers
Key Binds
F3 + E: Toggle the HUD that displays the information of the entity which the player is looking at.
F3 + M : Toggle the HUD that displays the information of the local player.
F3 + S: Toggle the HUD that displays the information of the server-side player.
Ctrl + Z: Undo block placement or breaking. (Requires blockPlacementHistory)
Ctrl+ Y: Redo block placement or breaking. (Requires blockPlacementHistory)
Renderers
Entity information HUD: Information about the entity that the player is looking at is got at the end of server ticks, and the information of the local player is got at the end of client ticks. More information about that is available below.

Explosion rays: It renders the lines between the center of an explosion and some chosen points in the hitboxes of entities affected by the explosion, which determines how much damage the entities will take, and how much the velocity of the entity will change, etc.

Server-side hitboxes: Don't always believe the hitboxes provided by F3 + B because they are adjusted by the client to make movements smoother and moves "slower" than the one on the server-side when the entity is moving. Sometimes vanilla hitboxes could even be missing if the server has experienced a very long tick but the client hasn't.


Data of fluid blocks: Display the bounding box, height, level, and a vector describing the flowing direction of the targeted fluid block.

Bounding boxes of blocks: Display the bounding box of the targeted block.

The output level of redstone gates: Display the redstone signal level of the targeted redstone gate (i.e. repeaters and comparators).

Tool Items (Requires fabric-carpet and option enabledTools)
Brick: Pause or continue ticking using /tick freeze provided by the Carpet
Bone: Continue ticking for some ticks when ticking is paused by /tick freeze. The number of the ticks equals the count of the stack of bones.
Netherite Ingot: Remove all non-player entities.
Accessing Paths
See the wiki.
Options In Entity Selectors
id
Select entities with a given numeric ID (field entityId, networkId).
side
Where the entities are selected from, the client or the server.
typeRegex
Possible values: A quoted regular expression.
Specify a regular expression matching the ID (including the namespace) of selected entities.
nameRegex
Possible values: A quoted regular expression.
Specify a regular expression matching the name of selected entities.
class
Possible values: A quoted regular expression.
Specify a regular expression matching the class (package name is optional) of selected entities.
Other Features
- Structure blocks can be seen when the player is very far from the block.
- Stacktraces will be printed when the Carpet Mod is not loaded. If the Carpet Mod is loaded, enabling the
superSecretSetting has the same effect.
- A warning screen is poped when trying to open a survival with MessMod installed for the first time.
Notice
- The mod is still in development, some feature is not available or buggy, please tell me if you find something wrong.
- Dedicated servers are not supported well currently and there are many unsolved bugs related to the connection between the server and the client, so only use the mod in single-player mode or the host client of a LAN server.
- Some commands like /explode ~ ~ ~ 2147483647 true can freeze the server, be careful.
- The mod is not intended to be used in survival saves, as it may enable the players to cheat accidentally. To ensure this, option
hideSurvivalSaves could be enabled.
About
Initially, I started this mod in Feb 2021 to do some researches on the motion of entities, thus the HUDs, bounding box renderer, tool items and command /entityfield was the earliest features of this mod. Later, more features were introduced gradually if they were needed.
After April 2022, I speeded up the development of the mod, much more features were added while many previously added ones was completely refactored. By 2023/08/23, 28 commands, 70 options (or rules) and
9 renderers had been available.

评论 0
登录后参与评分
还没有评论,来抢沙发吧