Interface PreDamageContext.DamageInfoTarget
- Namespace
- ElectricDrill.AstraHealth.Damage
- Assembly
- com.electricdrill.astra-health.Runtime.dll
Fluent builder step: specify the target entity.
public interface PreDamageContext.DamageInfoTarget
Methods
WithTarget(EntityCore)
Set the damage target and return the concrete builder. The dealer (WithPerformer(EntityCore)) is optional and can be omitted when no specific entity performed the damage (e.g. environmental or system-initiated).
PreDamageContext.PreDamageInfoStepBuilder WithTarget(EntityCore target)
Parameters
targetEntityCore