-
PVP
Use theDamageEntityEvent. You can get the damaged entity withDamageEntityEvent#getTargetEntity().
The source is found by puttingonPVP(DamageEntityEvent event, @First EntityDamageSource source)(or using theCause) and then checking if the entity is a player. -
Fire spread
See here: Listening to Fire -
Mob Looting:
HarvestEntityEvent
1 Like