Package net.minecraft.server.command
Class ClearCommand
java.lang.Object
net.minecraft.server.command.ClearCommand
- Mappings:
Namespace Name official aea
intermediary net/minecraft/class_3020
named net/minecraft/server/command/ClearCommand
-
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, 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 official a
Laea;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
Laea;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, CommandRegistryAccess commandRegistryAccess) - Mappings:
Namespace Name Mixin selector official a
Laea;a(Lcom/mojang/brigadier/CommandDispatcher;Ldm;)V
intermediary method_13076
Lnet/minecraft/class_3020;method_13076(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)V
named register
Lnet/minecraft/server/command/ClearCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)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
Laea;a(Lds;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
-