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