Conditions for Damage Reduction

Status
Can not reproduce
Issue description

I would like to add a condition for the damage reduction of ENCHANTEMENTS because we can't make any special protections

 

(BTW We can't see comments on forum topics and tickets)

Issue comments

(BTW We can't see comments on forum topics and tickets)

Working on website update atm

I would like to add a condition for the damage reduction of ENCHANTEMENTS because we can't make any special protections

I don't see what you mean

It's a feature request (sorry website update didn't allow me to Edit)

So yeah, I want the damage reduction enchantement to activate only with a Condition

So yeah, I want the damage reduction enchantement to activate only with a Condition

Damage reduction is enchangment type?

Yeah it is a modifier in the enchantement mod element options, i just want a condition to it, so that, i can do something like
 

Return --> If Source entity is sub type of Ice Zombie

 

So the enchantement will only protect when an Ice Zombie attacks the player with the armor enchantement with Ice Protection

Yeah, also using Source Entity is spamming the console with:

32:25.44 [Render thread/INFO] [STDERR/]: [net.mcreator.elementalmaster.procedures.OnEntityAttackedProcedure:executeProcedure:38 Failed to load dependency sourceentity for procedure OnEntityAttacked! 
32:25.44 [Render thread/INFO] [STDERR/]: [net.mcreator.elementalmaster.procedures.OnEntityAttackedProcedure:executeProcedure:38 Failed to load dependency sourceentity for procedure OnEntityAttacked! 
32:25.44 [Render thread/INFO] [STDERR/]: [net.mcreator.elementalmaster.procedures.OnEntityAttackedProcedure:executeProcedure:38 Failed to load dependency sourceentity for procedure OnEntityAttacked! 
32:25.44 [Render thread/INFO] [STDERR/]: [net.mcreator.elementalmaster.procedures.OnEntityAttackedProcedure:executeProcedure:38 Failed to load dependency sourceentity for procedure OnEntityAttacked! 
32:25.45 [Render thread/INFO] [STDERR/]: [net.mcreator.elementalmaster.procedures.OnEntityAttackedProcedure:executeProcedure:38 Failed to load dependency sourceentity for procedure OnEntityAttacked