Package net.minecraft.server.command
Class TitleCommand
java.lang.Object
net.minecraft.server.command.TitleCommand
- Mappings:
Namespace Name official aafintermediary net/minecraft/class_3151named net/minecraft/server/command/TitleCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static intexecuteClear(ServerCommandSource source, Collection<ServerPlayerEntity> targets)private static intexecuteReset(ServerCommandSource source, Collection<ServerPlayerEntity> targets)private static intexecuteTimes(ServerCommandSource source, Collection<ServerPlayerEntity> targets, int fadeIn, int stay, int fadeOut)private static intexecuteTitle(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text title, String titleType, Function<Text,Packet<?>> constructor)static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Constructor Details
-
TitleCommand
public TitleCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)- Mappings:
Namespace Name Mixin selector official aLaaf;a(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13804Lnet/minecraft/class_3151;method_13804(Lcom/mojang/brigadier/CommandDispatcher;)Vnamed registerLnet/minecraft/server/command/TitleCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
executeClear
private static int executeClear(ServerCommandSource source, Collection<ServerPlayerEntity> targets)- Mappings:
Namespace Name Mixin selector official aLaaf;a(Ldl;Ljava/util/Collection;)Iintermediary method_13805Lnet/minecraft/class_3151;method_13805(Lnet/minecraft/class_2168;Ljava/util/Collection;)Inamed executeClearLnet/minecraft/server/command/TitleCommand;executeClear(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I
-
executeReset
private static int executeReset(ServerCommandSource source, Collection<ServerPlayerEntity> targets)- Mappings:
Namespace Name Mixin selector official bLaaf;b(Ldl;Ljava/util/Collection;)Iintermediary method_13799Lnet/minecraft/class_3151;method_13799(Lnet/minecraft/class_2168;Ljava/util/Collection;)Inamed executeResetLnet/minecraft/server/command/TitleCommand;executeReset(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I
-
executeTitle
private static int executeTitle(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text title, String titleType, Function<Text,Packet<?>> constructor) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLaaf;a(Ldl;Ljava/util/Collection;Los;Ljava/lang/String;Ljava/util/function/Function;)Iintermediary method_13802Lnet/minecraft/class_3151;method_13802(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_2561;Ljava/lang/String;Ljava/util/function/Function;)Inamed executeTitleLnet/minecraft/server/command/TitleCommand;executeTitle(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/text/Text;Ljava/lang/String;Ljava/util/function/Function;)I
-
executeTimes
private static int executeTimes(ServerCommandSource source, Collection<ServerPlayerEntity> targets, int fadeIn, int stay, int fadeOut)- Mappings:
Namespace Name Mixin selector official aLaaf;a(Ldl;Ljava/util/Collection;III)Iintermediary method_13806Lnet/minecraft/class_3151;method_13806(Lnet/minecraft/class_2168;Ljava/util/Collection;III)Inamed executeTimesLnet/minecraft/server/command/TitleCommand;executeTimes(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;III)I
-