Added setHurtTime function to IEntityLivingBase

This commit is contained in:
lonewolf8351 committed 2025-12-03 13:43:11 -05:00
1 parent 9df3db48ce
commit bdf3791e38
1 file changed
+6
@@ -374,4 +374,10 @@ public class ScriptLivingBase<T extends EntityLivingBase> extends ScriptEntity<T
public float getAbsorptionAmount() {
return this.entity.getAbsorptionAmount();
}
public void setHurtTime(int time) {
this.entity.hurtResistantTime = time;
this.entity.hurtTime = time;
}
}