Class FetchProfileCommand
java.lang.Object
net.minecraft.server.commands.FetchProfileCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprintForAvatar(CommandSourceStack source, Avatar avatar) private static intprintForEntity(CommandSourceStack source, Entity entity) static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) private static voidreportResolvedProfile(CommandSourceStack sender, com.mojang.authlib.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
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType NO_PROFILE
-
-
Constructor Details
-
FetchProfileCommand
public FetchProfileCommand()
-
-
Method Details
-
register
-
reportResolvedProfile
private static void reportResolvedProfile(CommandSourceStack sender, com.mojang.authlib.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 com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
printForAvatar
-