Class BlockBreakAuthenticator
java.lang.Object
io.github.djtpj.authenticator.Authenticator<org.bukkit.event.block.BlockBreakEvent>
io.github.djtpj.authenticator.authenticators.BlockBreakAuthenticator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticate(org.bukkit.event.block.BlockBreakEvent event) Verifies weather a trait should run on an event
-
Constructor Details
-
BlockBreakAuthenticator
- Parameters:
associatedTrait- the ability to associate with the Authenticator
-
-
Method Details
-
authenticate
public boolean authenticate(org.bukkit.event.block.BlockBreakEvent event) Description copied from class:AuthenticatorVerifies weather a trait should run on an event- Specified by:
authenticatein classAuthenticator<org.bukkit.event.block.BlockBreakEvent>- Parameters:
event- The event to authenticate- Returns:
- whether a trait should run on this event
-