Class PlayerArgumentType
java.lang.Object
meteordevelopment.meteorclient.commands.arguments.PlayerArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<net.minecraft.entity.player.PlayerEntity>
public class PlayerArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<net.minecraft.entity.player.PlayerEntity>
-
Method Summary
Modifier and TypeMethodDescriptionstatic PlayerArgumentTypecreate()static net.minecraft.entity.player.PlayerEntityget(com.mojang.brigadier.context.CommandContext<?> context) <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) net.minecraft.entity.player.PlayerEntityparse(com.mojang.brigadier.StringReader reader) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.brigadier.arguments.ArgumentType
parse
-
Method Details
-
create
-
get
public static net.minecraft.entity.player.PlayerEntity get(com.mojang.brigadier.context.CommandContext<?> context) -
parse
public net.minecraft.entity.player.PlayerEntity parse(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parsein interfacecom.mojang.brigadier.arguments.ArgumentType<net.minecraft.entity.player.PlayerEntity>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
listSuggestions
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Specified by:
listSuggestionsin interfacecom.mojang.brigadier.arguments.ArgumentType<net.minecraft.entity.player.PlayerEntity>
-
getExamples
- Specified by:
getExamplesin interfacecom.mojang.brigadier.arguments.ArgumentType<net.minecraft.entity.player.PlayerEntity>
-