Class BehaviorProcessor
java.lang.Object
org.reprogle.honeypot.common.providers.BehaviorProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocess(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 isBehaviorTypes.CUSTOMor not
-
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 isBehaviorTypes.CUSTOMor not- Parameters:
behavior- The behavior provider to processp- The player to process againstblock- The block that was involved in the event, may be null in some rare instances- Returns:
- True if successful, false if not
-