Damage Util
Functions
Link copied to clipboard
public final static DamageSource damageSource(World $self, RegistryKey<DamageType> damageKey, Entity attacker)
public final static DamageSource damageSource(World $self, RegistryKey<DamageType> damageKey, Entity source, Entity attacker)
Utility function to create a DamageSource.