@FunctionalInterface public interface BowShootHandler extends ItemHandler
Modifier and Type | Method and Description |
---|---|
default java.lang.Class<? extends ItemHandler> |
getIdentifier()
This method returns the identifier for this
ItemHandler . |
void |
onHit(EntityDamageByEntityEvent e,
LivingEntity n) |
isPrivate
void onHit(EntityDamageByEntityEvent e, LivingEntity n)
default java.lang.Class<? extends ItemHandler> getIdentifier()
ItemHandler
ItemHandler
.
We use a Class
identifier to group Item Handlers together.getIdentifier
in interface ItemHandler
Class
identifier for this ItemHandler