promotional bannermobile promotional banner

NoTextureRotations

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:

NoTextureRotations Team

Grand Artisan tier frameprofile avatar
Owner
Grand Artisan tier icon
  • 5
    Followers
  • 2
    Projects
  • 23.7M
    Downloads

More from CoinRS