Fix base bucket model not being flipped for gasses. Closes #10814

This commit is contained in:
LexManos committed 2026-04-27 10:45:07 -07:00
1 parent 3bbdbacb81
commit ec73fd5240
7 files changed
+120 -18

No files matched your search

@@ -113,8 +113,10 @@ public class DynamicFluidContainerModel implements UnbakedGeometry {
// TODO: [Forge][Rendering] See if we can get rid of SimpleModelState and wrap transforms completely
// If the fluid is lighter than air, rotate 180deg to turn it upside down
if (flipGas && fluid != Fluids.EMPTY && fluid.getFluidType().isLighterThanAir())
if (flipGas && fluid != Fluids.EMPTY && fluid.getFluidType().isLighterThanAir()) {
transformation = transformation.compose(new Transformation(null, new Quaternionf(0, 0, 1, 0), null, null));
state = new SimpleModelState(transformation);
}
var buf = new QuadCollection.Builder();