Package net.minecraft.server.command
Class ScheduleCommand
java.lang.Object
net.minecraft.server.command.ScheduleCommand
- Mappings:
Namespace Name official aig
intermediary net/minecraft/class_3112
named net/minecraft/server/command/ScheduleCommand
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
clearEvent
(ServerCommandSource source, String eventName) private static int
execute
(ServerCommandSource source, com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction, Collection<CommandFunction>>> function, int time, boolean replace) static void
register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
SAME_TICK_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SAME_TICK_EXCEPTION- Mappings:
Namespace Name Mixin selector official a
Laig;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13706
Lnet/minecraft/class_3112;field_13706:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
named SAME_TICK_EXCEPTION
Lnet/minecraft/server/command/ScheduleCommand;SAME_TICK_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
CLEARED_FAILURE_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType CLEARED_FAILURE_EXCEPTION- Mappings:
Namespace Name Mixin selector official b
Laig;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_20853
Lnet/minecraft/class_3112;field_20853:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
named CLEARED_FAILURE_EXCEPTION
Lnet/minecraft/server/command/ScheduleCommand;CLEARED_FAILURE_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
SUGGESTION_PROVIDER
private static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUGGESTION_PROVIDER- Mappings:
Namespace Name Mixin selector official c
Laig;c:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
intermediary field_20854
Lnet/minecraft/class_3112;field_20854:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
named SUGGESTION_PROVIDER
Lnet/minecraft/server/command/ScheduleCommand;SUGGESTION_PROVIDER:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
-
-
Constructor Details
-
ScheduleCommand
public ScheduleCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official a
Laig;a(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_13567
Lnet/minecraft/class_3112;method_13567(Lcom/mojang/brigadier/CommandDispatcher;)V
named register
Lnet/minecraft/server/command/ScheduleCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
execute
private static int execute(ServerCommandSource source, com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction, throws com.mojang.brigadier.exceptions.CommandSyntaxExceptionCollection<CommandFunction>>> function, int time, boolean replace) - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Laig;a(Ldt;Lcom/mojang/datafixers/util/Pair;IZ)I
intermediary method_13566
Lnet/minecraft/class_3112;method_13566(Lnet/minecraft/class_2168;Lcom/mojang/datafixers/util/Pair;IZ)I
named execute
Lnet/minecraft/server/command/ScheduleCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lcom/mojang/datafixers/util/Pair;IZ)I
-
clearEvent
private static int clearEvent(ServerCommandSource source, String eventName) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Laig;a(Ldt;Ljava/lang/String;)I
intermediary method_22833
Lnet/minecraft/class_3112;method_22833(Lnet/minecraft/class_2168;Ljava/lang/String;)I
named clearEvent
Lnet/minecraft/server/command/ScheduleCommand;clearEvent(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)I
-