跳到正文

NoTextureRotations

作者:rfresh2

Prevent Block Texture Rotations

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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:

  1. Install YetAnotherConfigLib and ModMenu
  2. 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.

Example

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: https://youtu.be/gE1dMNCyofs?t=57

more detailed explanation: https://gitea.com/ChromeCrusher/Texploit-Guide

some examples of public coord cracking tools:

  • https://github.com/19MisterX98/TextureRotations
  • https://github.com/coolmann24/TextureFinderJava
  • https://github.com/ALaggyDev/CoordsFinder

常见问题

NoTextureRotations 支持哪些 Minecraft 版本?

NoTextureRotations 支持 Minecraft Java 版 1.19–26.3,共 29 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

NoTextureRotations 怎么安装?

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

评论

登录后评论和评分

rfresh2 的其他作品

查看全部 →