I am currently creating a mod, simple yet adds new aspects to the game. I am having trouble with getting a certain sword to give a potion effect to the entity it hits. For example, slowness. Or for the sword to have an enchantment as soon as it is crafted, for example, Knockback or fire aspect. Any help? If it helps the matter, I am using Eclipse LUNA.
Sorry, wrong Section. Please excuse me.