Package net.minecraft.server.commands
Class TitleCommand
java.lang.Object
net.minecraft.server.commands.TitleCommand
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
clearTitle
(CommandSourceStack p_139109_, Collection<ServerPlayer> p_139110_) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_139103_, CommandBuildContext p_324289_) private static int
resetTitle
(CommandSourceStack p_139125_, Collection<ServerPlayer> p_139126_) private static int
setTimes
(CommandSourceStack p_139112_, Collection<ServerPlayer> p_139113_, int p_139114_, int p_139115_, int p_139116_) private static int
showTitle
(CommandSourceStack p_142781_, Collection<ServerPlayer> p_142782_, Component p_142783_, String p_142784_, Function<Component, Packet<?>> p_142785_)
-
Constructor Details
-
TitleCommand
public TitleCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_139103_, CommandBuildContext p_324289_) -
clearTitle
-
resetTitle
-
showTitle
private static int showTitle(CommandSourceStack p_142781_, Collection<ServerPlayer> p_142782_, Component p_142783_, String p_142784_, Function<Component, Packet<?>> p_142785_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
setTimes
private static int setTimes(CommandSourceStack p_139112_, Collection<ServerPlayer> p_139113_, int p_139114_, int p_139115_, int p_139116_)
-