Class EntityParser<E extends @NonNull Entity>

java.lang.Object
dev.sympho.modular_commands.utils.parse.EntityParser<E>
Type Parameters:
E - The entity type.
All Implemented Interfaces:
ParserFunction<String,E>, BiFunction<CommandContext,String,Mono<E>>
Direct Known Subclasses:
MentionableParser, MessageParser

public abstract class EntityParser<E extends @NonNull Entity> extends Object implements ParserFunction<String,E>
A parser that extracts an entity from a string.
Since:
1.0
Version:
1.0
  • Constructor Details

    • EntityParser

      public EntityParser()
  • Method Details