Animated-Java / animated-java

A Blockbench plugin that makes complex animation a breeze in Minecraft: Java Edition.
Other
159 stars 26 forks source link

[BUG] Block Displays are incorrectly rendered in BlockBench. #218

Closed blockerlocker closed 3 months ago

blockerlocker commented 3 months ago

Describe the bug Several block displays are incorrectly rendered in BlockBench as compared to how they're meant to render in the game. These are the examples I have encountered thus far, though it's possible there are more. I will add onto this issue if I discover any others.

To Reproduce Steps to reproduce the behavior:

  1. Create a block display of one of the above blocks (any stair type should do, but I specifically used deepslate_brick_stairs)
  2. Export it to the game.
  3. You will see it does not match the orientation of the stairs in-engine.
SnaveSutit commented 3 months ago

Ah, yeah I forgot that facing= doesn't actually work on block displays.

blockerlocker commented 3 months ago

Sorry Snave, I should have provided more context! facing= does work on block displays, but the orientation of stairs is incorrect in AnimatedJava. Provided are examples of the same project in BlockBench and in-game, as well as the data pack (with the aj blueprint inside).

image

image

aj_test.zip

SnaveSutit commented 3 months ago

Ah, looks like I got the Y rotation direction backwards, and was applying Y before X, causing some OoP rotation issues.

The texture rotation lock is still not working, but that's a much more difficult change

image