Package net.minecraft.server.command
Class TitleCommand
java.lang.Object
net.minecraft.server.command.TitleCommand
public class TitleCommand extends Object
- Mappings:
Namespace Name official zjintermediary net/minecraft/class_3151named net/minecraft/server/command/TitleCommand
-
Constructor Summary
Constructors Constructor Description TitleCommand() -
Method Summary
Modifier and Type Method Description private 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, TitleS2CPacket.Action type)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 aLzj;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 aLzj;a(Ldb;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 bLzj;b(Ldb;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, TitleS2CPacket.Action type) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLzj;a(Ldb;Ljava/util/Collection;Loi;Lsd$a;)Iintermediary method_13802Lnet/minecraft/class_3151;method_13802(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_2561;Lnet/minecraft/class_2762$class_2763;)Inamed executeTitleLnet/minecraft/server/command/TitleCommand;executeTitle(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/text/Text;Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket$Action;)I
-
executeTimes
private static int executeTimes(ServerCommandSource source, Collection<ServerPlayerEntity> targets, int fadeIn, int stay, int fadeOut)- Mappings:
Namespace Name Mixin selector official aLzj;a(Ldb;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
-