I'm creating a harmful effect for a custom item when rightclicked; the effect is applied when the player right clicks it, but even after i set it to .harmful() it doesn't damage the player.
I'm aware the DamageSource class changed and it's now net.minecraft.world.damagesource.DamageSources;
should i also use net.minecraft.world.damagesource.DamageSource to apply it to the entity so it actually does harm the player/entity? That class seem to hold the entity data while the other just contains the list of sources.