Interface IgnoreMessageContext

All Superinterfaces:
MessageContext

public interface IgnoreMessageContext extends MessageContext
A change to a player's ignore list. Builds on MessageContext.
  • Method Details

    • builder

      static net.flectone.pulse.module.command.ignore.model.IgnoreMessageContextImpl.IgnoreMessageContextImplBuilder builder()
      Starts building this context.
      Returns:
      a new builder
    • ignore

      @NonNull Ignore ignore()
      The ignore entry.
      Returns:
      the ignore entry
    • ignored

      boolean ignored()
      Whether the target is now ignored, rather than un-ignored.
      Returns:
      whether the target is now ignored, rather than un-ignored
    • withIgnore

      IgnoreMessageContext withIgnore(@NonNull Ignore ignore)
      Returns a copy carrying a different value.
      Parameters:
      ignore - the ignore entry
      Returns:
      the copy
    • withIgnored

      IgnoreMessageContext withIgnored(boolean ignored)
      Returns a copy carrying a different value.
      Parameters:
      ignored - whether the target is now ignored, rather than un-ignored
      Returns:
      the copy