Package dev.booky.cloudcore.commands
Class AddressArgumentType
java.lang.Object
dev.booky.cloudcore.commands.AddressArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<InetAddress>,io.papermc.paper.command.brigadier.argument.CustomArgumentType<InetAddress,,String> io.papermc.paper.command.brigadier.argument.CustomArgumentType.Converted<InetAddress,String>
public final class AddressArgumentType
extends Object
implements io.papermc.paper.command.brigadier.argument.CustomArgumentType.Converted<InetAddress,String>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.papermc.paper.command.brigadier.argument.CustomArgumentType
io.papermc.paper.command.brigadier.argument.CustomArgumentType.Converted<T,N> -
Method Summary
Modifier and TypeMethodDescriptionstatic com.mojang.brigadier.arguments.ArgumentType<InetAddress> address()com.mojang.brigadier.arguments.ArgumentType<String> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.papermc.paper.command.brigadier.argument.CustomArgumentType
getExamples, listSuggestionsMethods inherited from interface io.papermc.paper.command.brigadier.argument.CustomArgumentType.Converted
parse
-
Method Details
-
address
-
convert
public InetAddress convert(String nativeType) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
convertin interfaceio.papermc.paper.command.brigadier.argument.CustomArgumentType.Converted<InetAddress,String> - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getNativeType
- Specified by:
getNativeTypein interfaceio.papermc.paper.command.brigadier.argument.CustomArgumentType<InetAddress,String>
-