Class BlockBreakAuthenticator

java.lang.Object
io.github.djtpj.authenticator.Authenticator<org.bukkit.event.block.BlockBreakEvent>
io.github.djtpj.authenticator.authenticators.BlockBreakAuthenticator

public class BlockBreakAuthenticator extends Authenticator<org.bukkit.event.block.BlockBreakEvent>
  • Constructor Details

    • BlockBreakAuthenticator

      public BlockBreakAuthenticator(Trait associatedTrait)
      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: Authenticator
      Verifies weather a trait should run on an event
      Specified by:
      authenticate in class Authenticator<org.bukkit.event.block.BlockBreakEvent>
      Parameters:
      event - The event to authenticate
      Returns:
      whether a trait should run on this event