Package net.minecraft.command.impl
Class ClearCommand
- java.lang.Object
-
- net.minecraft.command.impl.ClearCommand
-
public class ClearCommand extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_MULTIPLE
private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_SINGLE
-
Constructor Summary
Constructors Constructor Description ClearCommand()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static int
clearInventory(CommandSource p_198244_0_, java.util.Collection<ServerPlayerEntity> p_198244_1_, java.util.function.Predicate<ItemStack> p_198244_2_, int p_198244_3_)
static void
register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198243_0_)
-
-
-
Method Detail
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198243_0_)
-
clearInventory
private static int clearInventory(CommandSource p_198244_0_, java.util.Collection<ServerPlayerEntity> p_198244_1_, java.util.function.Predicate<ItemStack> p_198244_2_, int p_198244_3_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
-