public static class ScoreHolderArgument.NameProvider extends java.lang.Object implements ScoreHolderArgument.INameProvider
Modifier and Type | Field and Description |
---|---|
private EntitySelector |
selector |
Constructor and Description |
---|
NameProvider(EntitySelector selectorIn) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
getNames(CommandSource p_getNames_1_,
java.util.function.Supplier<java.util.Collection<java.lang.String>> p_getNames_2_) |
private final EntitySelector selector
public NameProvider(EntitySelector selectorIn)
public java.util.Collection<java.lang.String> getNames(CommandSource p_getNames_1_, java.util.function.Supplier<java.util.Collection<java.lang.String>> p_getNames_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
getNames
in interface ScoreHolderArgument.INameProvider
com.mojang.brigadier.exceptions.CommandSyntaxException