I've been following various tutorials on how to develop mods for 1.15.2, and I've been able to follow them fairly well after spending a week trying to familiarize myself with java; however I don't actually understand what is going on with a significant portion of my code. More specifically with Registries and Events. What the heck are they?
The end goal of what I wish to create is a mod that can simulate gases by having a fluid that flows upwards instead of down, and eventually dissipates after a flowing up a significant amount. I found a mod that seems to do what I want but the latest release of it was for 1.7.10, and very little within the code makes sense to me. Is there anywhere I should be looking for further guidance? I checked out the documentation for 1.15.2, but there wasn't anything pertaining to fluids, or even an explanation for most of the classes and tags I've found within the forge libraries that my IDE imported.
I attached some screenshots of what I found referencing fluids at all, and they make a bit more sense than anything I've managed to find on google. I'm assuming I'd register them in my RegistryEvents class like a block; however that just leads back to my previous question of what the heck are Registries and Events even doing and how am I supposed to infer on what properties fluids can have, and how would I add new features to it such as making it float upwards and dissipate.