Class FetchProfileCommand
java.lang.Object
net.minecraft.server.commands.FetchProfileCommand
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprintForAvatar(CommandSourceStack source, Avatar avatar) private static intprintForEntity(CommandSourceStack source, Entity entity) static voidregister(CommandDispatcher<CommandSourceStack> dispatcher) private static voidreportResolvedProfile(CommandSourceStack sender, GameProfile gameProfile, String messageId, Component argument) private static voidreportResolvedProfile(CommandSourceStack sender, String messageId, Component argument, ResolvableProfile profile) private static intresolveId(CommandSourceStack source, UUID id) private static intresolveName(CommandSourceStack source, String name)
-
Field Details
-
NO_PROFILE
-
-
Constructor Details
-
FetchProfileCommand
public FetchProfileCommand()
-
-
Method Details
-
register
-
reportResolvedProfile
private static void reportResolvedProfile(CommandSourceStack sender, GameProfile gameProfile, String messageId, Component argument) -
reportResolvedProfile
private static void reportResolvedProfile(CommandSourceStack sender, String messageId, Component argument, ResolvableProfile profile) -
resolveName
-
resolveId
-
printForEntity
private static int printForEntity(CommandSourceStack source, Entity entity) throws CommandSyntaxException - Throws:
CommandSyntaxException
-
printForAvatar
-