Package net.minecraft.command.arguments
Class ScoreHolderArgument.NameProvider
java.lang.Object
net.minecraft.command.arguments.ScoreHolderArgument.NameProvider
- All Implemented Interfaces:
ScoreHolderArgument.INameProvider
- Enclosing class:
- ScoreHolderArgument
public static class ScoreHolderArgument.NameProvider
extends Object
implements ScoreHolderArgument.INameProvider
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetNames
(CommandSource p_getNames_1_, Supplier<Collection<String>> p_getNames_2_)
-
Field Details
-
selector
-
-
Constructor Details
-
NameProvider
-
-
Method Details
-
getNames
public Collection<String> getNames(CommandSource p_getNames_1_, Supplier<Collection<String>> p_getNames_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
getNames
in interfaceScoreHolderArgument.INameProvider
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-