NeRdTheNed / MC-TextureGen

A Java program that programatically generates textures generated by certain versions of Minecraft at runtime, and then saves them to individual files.
The Unlicense
12 stars 1 forks source link

Only counter-clockwise gear rotation #23

Open Lassebq opened 2 years ago

Lassebq commented 2 years ago

The generated folder with gear's frames is missing a folder specifically for a gear with clockwise rotation. The game normally generates two textures: one is used for even block coordinate, and one is for odd.

muzikbike commented 2 years ago

https://github.com/NeRdTheNed/MC-TextureGen/releases/tag/v1.2.0 To get the clockwise animation of the gear, simply reverse the order of the frames, starting from the first frame of the counter-clockwise animation.

NeRdTheNed commented 2 years ago

@Lassebq I should probably document this somewhere, but what muzikbike said is right. The textures should be identical apart from the order of the frames. I'll keep this issue open, as I need to add this to the README.

Lassebq commented 2 years ago

I wasn't sure which frame it starts from, and thought it's slightly offset, but like muzik said, it's starting from the same frame.