Posted June 23, 20205 yr Hello, I've been trying to tint my fluid depending on the biome, I figured out that you have to use ColorHandlerEvent.Block Event, however, this will not fire for FlowingFluidBlocks, but it does for normal Blocks. The texture for the fluid is the water's default texture Main class FluidInit
June 24, 20205 yr Try reading this: (note that it doesn't make use of an event) https://mcforge.readthedocs.io/en/latest/models/color/
June 24, 20205 yr Howdy I haven't used fluids myself, but here's a working example of IBlockColor. It uses the blockstate, but you could use biome information instead (see the vanilla IBlockColor eg for grass) https://github.com/TheGreyGhost/MinecraftByExample/blob/master/src/main/java/minecraftbyexample/mbe06_redstone/input/LampColour.java -TGG
June 24, 20205 yr Author 7 hours ago, TheGreyGhost said: Howdy I haven't used fluids myself, but here's a working example of IBlockColor. It uses the blockstate, but you could use biome information instead (see the vanilla IBlockColor eg for grass) https://github.com/TheGreyGhost/MinecraftByExample/blob/master/src/main/java/minecraftbyexample/mbe06_redstone/input/LampColour.java -TGG Is that class being referenced somewhere in your code? I am unable to find any references
June 25, 20205 yr Yes it is https://github.com/TheGreyGhost/MinecraftByExample/blob/master/src/main/java/minecraftbyexample/mbe06_redstone/StartupClientOnly.java
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.