- Most of the resources in this README have been provided from 19MisterX98
- Handles vanilla and sodium texture rotations
- Runs on the GPU using CUDA
- Does not require the world seed
There are two texture packs that can be used to get texture rotations:
Manual Texture Rotations
Textures to Numbers
The "Manual Texture Rotations" pack retextures certain blocks that have block states into blocks that have texture rotations. When you change the blockstate via debug stick, these blocks will change their visual rotation. This can be used to recreate screenshots and match all the block rotations used. Read the usage instructions at https://github.com/19MisterX98/TextureRotations
The orientation of the formation is very important. It is important to try and get the direction of the recreation correct, or the results will be inaccurate. There are certain blocks that always face a certain direction no matter how they are placed.
These blocks are as follows:
Glowstone Any Ore Prismarine Cobblestone ...
After recreating the formation, overlay the "Textures to Numbers" resource pack. This will display the rotation number on each rotatable block.
Formation files can live anywhere, and have the .txt file extension.
The format is as follows:
x, y, z, rotation, isSide
1 0 0 1 0
The x, y, and z coordinates are relative coordinates to an origin block of your choosing.
The above example shows the rotation info of a block that is 1 block in the positive x direction from the origin.
The block has the same relative y and z values as the origin.
The fourth number is the rotation number. This is the value from the "Textures to Numbers" resource pack.
The final number is the boolean value for isSide. If the block being entered only has the side exposed, as opposed to the top, this should be set to 1. If the block only shows the top, it should be set to 0.
It is recommended to get as many blocks as possible, and narrow down the possible results to 1.
The parameters are passed into the program in the form of command line arguements:
- x_min/- x_max: range of the searched- xcoordinates
- y_min/- y_max: range of the searched- ycoordinates
- z_min/- z_max: range of the searched- zcoordinates
- version: client version
- file: the formation file
- direction: the direction the formation is facing
Depending on the version of the client, the mode will need to be changed.
| MC Version | Mode | 
|---|---|
| <=1.12.2 | Vanilla12Textures | 
| 1.13-1.21.1 | Vanilla21_1Textures | 
| 1.21.2+ | VanillaTextures | 
| Sodium Version | MC Version | Mode | 
|---|---|---|
| 1.0-4.1 | 1.16-1.18.2 | SodiumTextures | 
| 4.2-4.8 | 1.19-1.19.3 | Sodium19Textures | 
| 4.9+ | 1.19.3+ | Uses the MC implementation |