Core/src/main/java/eu/univento/core/api/customitems/actions/PlayerHitAction.java

18 lines
471 B
Java

/*
* Copyright (c) 2017 univento.eu - All rights reserved
* You are not allowed to use, distribute or modify this code
*/
package eu.univento.core.api.customitems.actions;
import eu.univento.core.api.player.CustomPlayer;
import org.bukkit.event.entity.EntityDamageEvent;
/**
* @author joethei
* @version 0.1
*/
public interface PlayerHitAction {
void onHit(CustomPlayer player, CustomPlayer hitPlayer, double damage, EntityDamageEvent.DamageCause cause);
}