Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
NoTextureRotations

NoTextureRotations

Prevent Block Texture Rotations

10.7k
15
Decoration
Game Mechanics
Utility

Compatibility

Minecraft: Java Edition

1.21.x
1.20.x
1.19.x

Platforms

Fabric

Supported environments

Client-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Join Discord server

Creators

rfresh2
rfresh2 Member

Details

Licensed Apache-2.0
Published last year
Updated 4 weeks ago
DescriptionChangelogVersions

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 can either:

  1. Disable block texture rotations and offsets
  2. Replace the random function with a secure implementation, which will retain the normal visual feel of the game

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 works 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, and the method has been known since at least before 2018 and is still regularly used today in reversing panorma seeds. Example: https://youtu.be/gE1dMNCyofs?t=57

There are multiple public tools to perform this:

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

Modrinth is open source.

new-orgs-page@a27b5f4

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.