Class InventoryInteractionAuthenticator

java.lang.Object
io.github.djtpj.authenticator.Authenticator<org.bukkit.event.inventory.InventoryInteractEvent>
io.github.djtpj.authenticator.authenticators.InventoryInteractionAuthenticator

public class InventoryInteractionAuthenticator extends Authenticator<org.bukkit.event.inventory.InventoryInteractEvent>
  • Constructor Details

    • InventoryInteractionAuthenticator

      public InventoryInteractionAuthenticator(Trait trait)
  • Method Details

    • authenticate

      public boolean authenticate(org.bukkit.event.inventory.InventoryInteractEvent event)
      Verifies weather a trait should run on an event
      Specified by:
      authenticate in class Authenticator<org.bukkit.event.inventory.InventoryInteractEvent>
      Parameters:
      event - The event to authenticate
      Returns:
      whether a trait should run on this event