Topic category: Help with modding (Java Edition)
At the moment I want to implement two handed weapons to my mod. Of course, I should make their range a little bit longer... though maybe I know the solution, I don't know how to paste it to MCreator, not only that, this method may be only for the older versions of Minecraft...
Well, there was once a guy who asked about it in 2018, and Klemen answered him, saying that this tutorial can help...
Now it's 2020 and MCreator can make mods for 1.14.4 and 1.15.2, basically the newest versions. This tutorial is for 1.8, and when I was trying to figure out how you paste it to MCreator's custom code snippets in procedures, later I was trying to figure it out in the... more advanced way, in the... I think this procedure's code, I saw that:
Like in this tutorial, the colors were right (I mean, "public interface" was green and "float" was dark blue), except IExtentedReach and getReach. So I guess that the name of this method (I mean getReach), or however you should call this, was changed or deleted in the newer versions... or am I wrong...?
I don't really know what's wrong and basically, my most important question is how do you increase the reach of a tool? I'm making this mod on 1.15.2, MCreator 2020.5