Started by
offscuff
on
Topic category: Feature requests and ideas for MCreator
I'm trying to make an enchantment that pulls items in from further away the higher the level, but I don't know how to do it.
This is my first mod so I'm not too familiar with mcreator
To draw items to you, you need to calculate the XYZ position of the living entity and subtract it by the XYZ of the item entity then times that by a number less than 0.4, then add that to the velocity of the item entity per tick. I can't remember if Mcreator comes with the procedure blocks required to do this effectively. But I have done it. It could be the other way around also, I haven't got access to my computer at this time. I will be releasing a plugin in the future that has all this as procedure blocks ready to go. Untill then you will have to muck around with what's provided. I'll update you here with more specific info in the future