public class TitleCommand extends Object
Constructor and Description |
---|
TitleCommand() |
Modifier and Type | Method and Description |
---|---|
private 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,
TitleS2CPacket.Action type) |
static void |
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) |
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int executeClear(ServerCommandSource source, Collection<ServerPlayerEntity> targets)
private static int executeReset(ServerCommandSource source, Collection<ServerPlayerEntity> targets)
private static int executeTitle(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text title, TitleS2CPacket.Action type)
private static int executeTimes(ServerCommandSource source, Collection<ServerPlayerEntity> targets, int fadeIn, int stay, int fadeOut)