Class BehaviorProcessor

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

public class BehaviorProcessor extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    process(org.reprogle.honeypot.common.providers.BehaviorProvider behavior, org.bukkit.entity.Player p, 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BehaviorProcessor

      public BehaviorProcessor()
  • Method Details

    • process

      public boolean process(@NotNull org.reprogle.honeypot.common.providers.BehaviorProvider behavior, org.bukkit.entity.Player p, 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