取消伤害
你可以使用 EntityDamageEvent
取消坠落伤害
@EventHandler
public void onEntityDamage(EntityDamageEvent e) {
Entity tookDamage = e.getEntity();
DamageCause cause = e.getCause();
if (cause == DamageCause.FALL){
//Damage was caused by falling, cancel it
e.setCancelled(true);
}