Package net.minecraft.server.command
Class TitleCommand
java.lang.Object
net.minecraft.server.command.TitleCommand
- Mappings:
Namespace Name official ahc
intermediary net/minecraft/class_3151
named net/minecraft/server/command/TitleCommand
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
executeClear
(ServerCommandSource source, Collection<ServerPlayerEntity> targets) private static int
executeReset
(ServerCommandSource source, Collection<ServerPlayerEntity> targets) private static int
executeTimes
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, int fadeIn, int stay, int fadeOut) private static int
executeTitle
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text title, String titleType, Function<Text, Packet<?>> constructor) static void
register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Constructor Details
-
TitleCommand
public TitleCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official a
Lahc;a(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_13804
Lnet/minecraft/class_3151;method_13804(Lcom/mojang/brigadier/CommandDispatcher;)V
named register
Lnet/minecraft/server/command/TitleCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
executeClear
- Mappings:
Namespace Name Mixin selector official a
Lahc;a(Ldr;Ljava/util/Collection;)I
intermediary method_13805
Lnet/minecraft/class_3151;method_13805(Lnet/minecraft/class_2168;Ljava/util/Collection;)I
named executeClear
Lnet/minecraft/server/command/TitleCommand;executeClear(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I
-
executeReset
- Mappings:
Namespace Name Mixin selector official b
Lahc;b(Ldr;Ljava/util/Collection;)I
intermediary method_13799
Lnet/minecraft/class_3151;method_13799(Lnet/minecraft/class_2168;Ljava/util/Collection;)I
named executeReset
Lnet/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 a
Lahc;a(Ldr;Ljava/util/Collection;Ltj;Ljava/lang/String;Ljava/util/function/Function;)I
intermediary method_13802
Lnet/minecraft/class_3151;method_13802(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_2561;Ljava/lang/String;Ljava/util/function/Function;)I
named executeTitle
Lnet/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 a
Lahc;a(Ldr;Ljava/util/Collection;III)I
intermediary method_13806
Lnet/minecraft/class_3151;method_13806(Lnet/minecraft/class_2168;Ljava/util/Collection;III)I
named executeTimes
Lnet/minecraft/server/command/TitleCommand;executeTimes(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;III)I
-