Package net.minecraft.server.command
Class TitleCommand
java.lang.Object
net.minecraft.server.command.TitleCommand
- Mappings:
Namespace Name official agqintermediary 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
- Mappings:
Namespace Name Mixin selector official aLagq;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
- Mappings:
Namespace Name Mixin selector official aLagq;a(Lds;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
- Mappings:
Namespace Name Mixin selector official bLagq;b(Lds;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 aLagq;a(Lds;Ljava/util/Collection;Lsw;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 aLagq;a(Lds;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
-