Improved appearance of witch water

This commit is contained in:
thedarkcolour 2024-01-14 13:22:35 -08:00
parent a80615c10a
commit 079cf10ee8
4 changed files with 8 additions and 5 deletions

View File

@ -1,6 +1,9 @@
## Ex Deorum 1.15
## Ex Deorum 1.16
- Added Mechanical Hammer, a machine that uses FE to hammer blocks automatically. Uses 20 FE a tick by default and takes 200 ticks (10 seconds) to hammer an item with a hammer that has no efficiency.
## Ex Deorum 1.15
- Fixed not being able to enchant sieve meshes in the Enchanting Table.
- Improved appearance of witch water to better match water so that the transformation animation looks smoother.
## Ex Deorum 1.14
- Added Mechanical Sieve, a machine that uses FE to sift blocks automatically. Uses 40 FE a tick by default and takes 100 ticks to sift an item with no efficiency enchantment.

View File

@ -81,10 +81,10 @@ public class BarrelRenderer implements BlockEntityRenderer<BarrelBlockEntity> {
if (barrel.isBrewing()) {
float progress = barrel.progress;
// Transition between water color and witch water color (1F0C4C)
r = (int) Mth.lerp(progress, r, 31);
g = (int) Mth.lerp(progress, g, 12);
b = (int) Mth.lerp(progress, b, 76);
// Transition between water color and witch water color (200B41)
r = (int) Mth.lerp(progress, r, 32);
g = (int) Mth.lerp(progress, g, 11);
b = (int) Mth.lerp(progress, b, 65);
}
RenderUtil.renderFlatFluidSprite(buffers, stack, level, pos, y, 2.0f, light, r, g, b, fluid);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB