Class BehaviorProcessor

java.lang.Object
org.reprogle.honeypot.providers.BehaviorProcessor

public class BehaviorProcessor extends Object
  • Constructor Details

    • BehaviorProcessor

      public BehaviorProcessor()
  • Method Details

    • process

      public boolean process(@NotNull BehaviorProvider behavior, org.bukkit.entity.Player p, @Nullable org.bukkit.block.Block block)
      This method calls the correct processor function, depending on if the type of the behavior provider is BehaviorTypes.CUSTOM or not
      Parameters:
      behavior - The behavior provider to process
      p - The player to process against
      block - The block that was involved in the event, may be null in some rare instances
      Returns:
      True if successful, false if not