Topic category: Help with Minecraft modding (Java Edition)
Hi. I started making a mod with MCreator 3 years ago, but eventually gave up due to its limitations. I see that it's been massively updated since then, so I'd like to ask: Is there a way yet to override an existing item to use it as a Bucket for a custom Fluid? Let me elaborate a bit.
I run a group keeping the resource pack The End is Extremely Nigh updated, and there's been talk over the years of making a companion mod for the pack, similar to how Conquest does things. In our pack, Emeralds are cans of gasoline, which you trade to survivors for their supplies (Villager trading). I want to make the Emerald item act like a Bucket of Gasoline, in that you should be able to use it to place the new Gasoline fluid, which would replace the Emerald with a new, custom item such as "Empty Gas Can", or something along those lines. This Empty Gas Can would be an exact copy of the Vanilla Bucket, except that it can only pick up Gasoline.
I have already set up the new Fluid, but the auto-generation for the Bucket item uses a Bucket as the base item, whereas I'd like to use my own item, and have the filled Bucket be an Emerald.
If this isn't entirely doable with MCreator yet, how difficult of an edit would that be? I'm not afraid of a bit of programming (though I don't work with Java whatsoever normally) and have an Associate's degree in Game Development, so as long as the changes aren't too extreme I think I could do it? Once you know one programming language it gets easier to learn another.
Anyway, please let me know where the snags would be and if you have any tips I could use. I haven't used this program in a very long time and it has changed a lot. Have a nice day :)
I'm also looking to do some advanced things with Fluids if anyone knows how. I want to make it so the fluid, once placed, does not have a source block and will drain away. However, any blocks it remains in contact with have a chance per tick to gain a new tag that would make them extremely flammable (As in, change the Flammability and Fire Spreading Speed variables for the block) It'd also be nice to give that block a texture overlay but I doubt that'll be as simple as it sounds.
I want to do this as while you can in fact make a fluid flammable, it looks very bad in a lot of cases as the fire floats. Making it so the fluid "soaks in" to its surroundings and makes them able to catch fire (but not consumed by it unless they were already flammable) would be a lot more realistic and look better, too.