Class BlockUntilDoneAction

java.lang.Object
de.oliver.fancynpcs.api.actions.NpcAction
de.oliver.fancynpcs.api.actions.types.BlockUntilDoneAction

public class BlockUntilDoneAction extends NpcAction
The BlockUntilDoneAction class is a specific implementation of the NpcAction class that represents an action requiring the NPC (Non-Player Character) to block its subsequent actions until the current interaction is completed.

  • Constructor Details

    • BlockUntilDoneAction

      public BlockUntilDoneAction()
  • Method Details

    • execute

      public void execute(ActionExecutionContext context, String value)
      Description copied from class: NpcAction
      Executes the action associated with this NpcAction.
      Specified by:
      execute in class NpcAction
      Parameters:
      context - The context in which the action is being executed.
      value - The value associated with the action. Can be null if no value is required.