Posted May 15, 20169 yr Hello, I've created a custom fluid. After a lot of struggle... it now works "properly". I can drop it with a bucket, and can fill my bucket back. But my fluid block is using Material.water. The behavior is what I'm expecting, but I would like to replace the blue overlay by something else. Is it possible? Do you know how / have some kind of examples? (Note : for anyone curious, the code is available here : https://github.com/KyneSilverhide/XPEssence)
May 15, 20169 yr https://github.com/KyneSilverhide/XPEssence/blob/master/src/main/java/kyne/xpessence/fluids/ModFluids.java#L25 Make your own material. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
May 15, 20169 yr Author The problem is that Minecraft has hardcoded water is its code(for drowing, overlays, etc...). If I create a new material, it won't act as water. And I'm not even sure there are hooks for everything.
May 15, 20169 yr Ah, yes, my apologies, I misunderstood what your problem was. From my own fiddlings, you're pretty much stuck. There is probably a rendering event for the screen overlay, but I dunno about anything else. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
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.