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