Class DialogCommand
java.lang.Object
net.minecraft.server.commands.DialogCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static intclearDialog(CommandSourceStack sender, Collection<ServerPlayer> targets) static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) private static intshowDialog(CommandSourceStack sender, Collection<ServerPlayer> targets, Holder<Dialog> dialog)
-
Constructor Details
-
DialogCommand
public DialogCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) -
showDialog
private static int showDialog(CommandSourceStack sender, Collection<ServerPlayer> targets, Holder<Dialog> dialog) -
clearDialog
-