Package org.incendo.cloud.paper.signed
Class PaperSignedMapper
java.lang.Object
org.incendo.cloud.paper.signed.PaperSignedMapper
- All Implemented Interfaces:
BiFunction<CommandContext<?>,,String, CompletableFuture<ArgumentParseResult<SignedString>>> SignedStringMapper
@API(status=INTERNAL)
@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
public final class PaperSignedMapper
extends Object
implements SignedStringMapper
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.incendo.cloud.minecraft.signed.SignedStringMapper
SignedStringMapper.Unsigned -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(CommandContext<?> ctx, String str) voidregisterBrigadier(CommandManager<?> commandManager, Object brigadierManager) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThenMethods inherited from interface org.incendo.cloud.minecraft.signed.SignedStringMapper
registerParser
-
Constructor Details
-
PaperSignedMapper
public PaperSignedMapper()
-
-
Method Details
-
apply
public CompletableFuture<ArgumentParseResult<SignedString>> apply(CommandContext<?> ctx, String str) - Specified by:
applyin interfaceBiFunction<CommandContext<?>,String, CompletableFuture<ArgumentParseResult<SignedString>>>
-
registerBrigadier
- Specified by:
registerBrigadierin interfaceSignedStringMapper
-