一个 Fabric 模组,用于防止基于纹理旋转和位置偏移的坐标利用漏洞。或者如果你更喜欢它的外观的话!
兼容原版 Minecraft、Sodium 以及自定义纹理/资源包
模组工作原理
本模组提供多种模式供选择:
- 无旋转 (No Rotations):所有方块具有相同的旋转角度和偏移量
- 随机 (Random):为每个方块位置生成一个新的随机种子。但是,如果重新加载游戏,旋转/偏移会打乱。
- 稳定随机 (Stable Random):为每个区块生成并记住一个从 0,0 区块开始的随机偏移量。偏移量在每个游戏会话中重新生成。
- 重复区块 (Repeating Chunk):对每个区块使用与 0,0,0 处的区块部分相同的旋转角度和偏移量
注意:区块部分是指区块中 16x16x16 的部分。没有任何模式存在绝对 X 或 Z 坐标被破解的风险。
| 视觉变化 | 确定性 | 安全问题/备注 | |
|---|---|---|---|
| 无旋转 | 无 | 是 | 无 |
| 随机 | 高 | 否 | 无 |
| 稳定随机 | 高 | 按游戏会话 | 如果提供大量示例,Y 坐标和 XZ 区块坐标可能被破解 |
| 重复区块 | 中等 | 是 | XYZ 区块坐标可能被破解 |
配置
有两种在游戏内配置模组的方法:
- 安装 YetAnotherConfigLib 和 ModMenu
- 安装 Sodium。将在视频设置中添加一个 NoTextureRotation 设置页面。
配置文件位于:.minecraft/config/no-texture-rotations.json
什么是漏洞?
许多方块(如草、泥土和石头)具有变体,这些变体会轻微旋转或更改其纹理。
纹理变体本身并非坏事,它们使游戏在视觉上更有趣,因为它们防止了当多个方块相邻时看起来“千篇一律”。

问题在于,用于选择变体的“随机”数是由方块在游戏内的位置作为种子生成的。不需要世界种子。
偏移量的工作方式类似,一些方块(如花)会使用“随机”偏移量从其中心位置进行偏移。
任何显示这些方块示例的截图或视频都容易受到攻击者破解方块坐标的影响。
在无政府状态服务器上,这可能特别强大——导致共享图片或视频的基地被发现。
这并不是新发现,该方法至少在 2018 年之前就已为人所知,并且至今仍定期用于寻找全景种子。示例:
更详细的解释:
一些公开坐标破解工具的示例:
A Fabric mod to prevent coordinate exploits based on texture rotation and position offsets. Or if you prefer how it looks!
Compatible with Vanilla MC, Sodium, and custom texture/resource packs
How the mod works
This mod provides multiple modes to select from:
- No Rotations: All blocks have the same rotation and offset
- Random: A new random seed is generated for each block position. However, rotations/offsets will shuffle if reloaded.
- Stable Random: Generates and remembers a random offset from the 0,0 chunk for each chunk. Offsets are re-generated each game session.
- Repeating Chunk: Use the same rotations and offsets as the chunk section at 0,0,0 for each chunk
note: a chunk section is a 16x16x16 part of a chunk. no modes are vulnerable to absolute x or z coords being cracked.
| visual variation | deterministic | security issues/notes | |
|---|---|---|---|
| no rotations | none | yes | none |
| random | high | no | none |
| stable random | high | per game session | y coord and xz section coords can be cracked if many examples provided |
| repeating chunk | medium | yes | xyz section coords can be cracked |
Configuration
There are two ways to configure the mod in-game:
- Install YetAnotherConfigLib and ModMenu
- Install Sodium. A page for NoTextureRotation settings will be added to the Video Settings.
The configuration file is located at: .minecraft/config/no-texture-rotations.json
What's the exploit?
Many blocks like grass, dirt, and stone have variations that rotate or change their textures slightly.
Texture variants are not inherently bad, they make the game visually more interesting as they prevent blocks from looking "same-y" when many are next to each other.

The problem is that the "random" number used to select the variant is seeded by the block's position in-game. No world seed is required.
Offsets work similarly, some blocks like flowers offset their position from the center of the block with a "random" offset.
Any screenshots or videos that show examples of these blocks are susceptible to an attacker cracking the block coordinates.
On anarchy servers, this can be particularly powerful - leading to bases with images or videos shared being found.
This is not a new discovery, the method has been known since at least before 2018 and is still regularly used today for finding panorma seeds. Example:
more detailed explanation:
some examples of public coord cracking tools:
下载 NoTextureRotations
下载 NoTextureRotations
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NoTextureRotations
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NoTextureRotations
下载 NoTextureRotations
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NoTextureRotations
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NoTextureRotations
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NoTextureRotations
下载 NoTextureRotations
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NoTextureRotations
1.0.5
- 添加了
Repeating Section(重复区块)模式 - 更新了
Stable Random(稳定随机)模式以提升安全性——现在基于区块坐标而非实际 xz 坐标进行偏移 - 更新了文档,以便更轻松地对比各模式
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧