Package net.minecraft.server.command
Class ClearCommand
java.lang.Object
net.minecraft.server.command.ClearCommand
- Mappings:
Namespace Name official xw
intermediary net/minecraft/class_3020
named net/minecraft/server/command/ClearCommand
-
Field Summary
Modifier and TypeFieldDescriptionprivate static com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Predicate<ItemStack> item, int maxCount)
static void
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
FAILED_SINGLE_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType FAILED_SINGLE_EXCEPTION- Mappings:
Namespace Name Mixin selector official a
Lxw;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_13487
Lnet/minecraft/class_3020;field_13487:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
named FAILED_SINGLE_EXCEPTION
Lnet/minecraft/server/command/ClearCommand;FAILED_SINGLE_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
FAILED_MULTIPLE_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType FAILED_MULTIPLE_EXCEPTION- Mappings:
Namespace Name Mixin selector official b
Lxw;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_13488
Lnet/minecraft/class_3020;field_13488:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
named FAILED_MULTIPLE_EXCEPTION
Lnet/minecraft/server/command/ClearCommand;FAILED_MULTIPLE_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
-
Constructor Details
-
ClearCommand
public ClearCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)- Mappings:
Namespace Name Mixin selector official a
Lxw;a(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_13076
Lnet/minecraft/class_3020;method_13076(Lcom/mojang/brigadier/CommandDispatcher;)V
named register
Lnet/minecraft/server/command/ClearCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
execute
private static int execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Predicate<ItemStack> item, int maxCount) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lxw;a(Ldl;Ljava/util/Collection;Ljava/util/function/Predicate;I)I
intermediary method_13077
Lnet/minecraft/class_3020;method_13077(Lnet/minecraft/class_2168;Ljava/util/Collection;Ljava/util/function/Predicate;I)I
named execute
Lnet/minecraft/server/command/ClearCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Ljava/util/function/Predicate;I)I
-