HitscanBows API guide
Code (Java):
public
class HitscanBowsAPI
{
// The API instance
public
static HitscanBowsAPI instance
//Registers a condition. Return true in test() if you don't want HitscanBows to do anything for that particular event
public
void registerCondition
(Predicate
<EntityShootBowEvent
> condition
)
}
Usage: For personal customizations of conditions where HitscanBows can be used (e.g. enabling it in certain worlds only)