i want some help/guidance on how to make a flamethrower item, i don't really care what method because im doing this to learn and any method i learn is useful for me, so, if you all people would be so kind, please provide me with help for this. i have tried to make custom itemclasses before but i can't quite figure out how to make this specific one function
#{1.20.1} flamethrower item
4 messages · Page 1 of 1 (latest)
If you don't already know java, that is definitely the place to start. There are many good online tutorials and books out there. Make sure you have a good foundation before starting to mod. You can do !!learnjava to get a list of a few resources. As the the actually modding, first thing I would do is watch whatever Kaupenjoe tutorials you need. He has many great tutorial series on a wide array of topics for modding. Because you made this post in the fabric discord server, I am gonna assume you wanna make mods in Fabric, but there are other options with discord servers like this one (ie. neoforge) if you don't like the Fabric medium. Then just start getting your hands dirty. You will learn so much about modding and the process just by encountering issues and figuring out how to solve them. Definitely don't be afraid to ask members of this discord for help; its truly a wonderful community! As for your specific flamethrower, start by making a class that extends item and override the use method. Take a look at some of Minecraft's code that deals with projectiles to get started.
agreed join his discord too the people there and here together both helped me fix some problems
!!learnjava