Posted September 12, 20205 yr I am trying to find a way to intercept registry events so i can replace the classes for lava and water. If this is possible please tell me what event should be intercepted
September 12, 20205 yr Author I want to make the game so you can swim in lava and have your oxygen meter appear. Pretty much just adding water mechanics to lava Edited September 12, 20205 yr by The_Biggest_Noob
September 12, 20205 yr Author The method I have been thinking of is using an event to check when lava is registered and using a different class to LavaFluid in the registry, one which I have made and put in my fluids package.
September 12, 20205 yr This isn't a "water block / lava block" problem. This is fundamental to how vanilla handles liquids. Material.WATER -> breath meter, swimming, blue overlay Material.LAVA -> hot firey death, red overlay Edited September 12, 20205 yr by Draco18s 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.