Started by
Dochan
on
Topic category: Help with MCreator software
So after recently having to start over my mod I came up with the idea of a spear. I want the spear to have a 7-8 block reach compared to the sword's 5-6 block reach. Im not entirely sure how to do this. I looked at the code as well and couldn't find anything that said "range of tool" or anything like that. Please help
This is something that is out of scope of MCreator at the moment, but if you are ready to do some programming, you can check this tutorial: http://jabelarminecraft.blogspot.com/p/minecraft-modding-extending-reac…
So that's pretty easy. Download this plugin: https://mcreator.net/plugin/106411/pehkui and activate it in the workspace setting. After that you make a procedure and set the trigger to "On Player Tick Update". Next you check if the player is holding the item, take the pehkui plugin and use "Set .... of event/target entity" to 1". For every extra block add 0.18 to the 1. You need a elso too, to reset the reach. In the else block set it to 1 again.