net.minecraft.server.command

public class ClearCommand

net.minecraft.server.commands.ClearInventoryCommands
net.minecraft.class_3020
net.minecraft.server.command.ClearCommand

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_SINGLE
field_13487
FAILED_SINGLE_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_MULTIPLE
field_13488
FAILED_MULTIPLE_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context)
method_13076(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess)
private static int
clearUnlimited(CommandSourceStack source, Collection<ServerPlayer> players, Predicate<ItemStack> predicate)
method_58032(class_2168 arg0, Collection<class_3222> arg1, Predicate<class_1799> arg2)
execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Predicate<ItemStack> item)
private static int
clearInventory(CommandSourceStack source, Collection<ServerPlayer> players, Predicate<ItemStack> predicate, int maxCount)
method_13077(class_2168 arg0, Collection<class_3222> arg1, Predicate<class_1799> arg2, int arg3)
execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Predicate<ItemStack> item, int maxCount)
private static Text
lambda$clearInventory$3(int arg0, Collection arg1)
method_51936(int arg0, Collection arg1)
method_51936(int arg0, Collection arg1)
private static Text
lambda$clearInventory$2(int arg0, Collection arg1)
method_51937(int arg0, Collection arg1)
method_51937(int arg0, Collection arg1)
private static Text
lambda$clearInventory$1(int arg0, Collection arg1)
method_51938(int arg0, Collection arg1)
method_51938(int arg0, Collection arg1)
private static Text
lambda$clearInventory$0(int arg0, Collection arg1)
method_51939(int arg0, Collection arg1)
method_51939(int arg0, Collection arg1)
private static int
lambda$register$5(com.mojang.brigadier.context.CommandContext arg0)
method_13080(com.mojang.brigadier.context.CommandContext arg0)
method_13080(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$4(com.mojang.brigadier.context.CommandContext arg0)
method_13073(com.mojang.brigadier.context.CommandContext arg0)
method_13073(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$2(com.mojang.brigadier.context.CommandContext arg0)
method_13078(com.mojang.brigadier.context.CommandContext arg0)
method_13078(com.mojang.brigadier.context.CommandContext context)
private static boolean
lambda$register$3(ItemStack arg0)
method_13081(class_1799 arg0)
method_13081(ItemStack stack)
private static int
lambda$register$0(com.mojang.brigadier.context.CommandContext arg0)
method_13074(com.mojang.brigadier.context.CommandContext arg0)
method_13074(com.mojang.brigadier.context.CommandContext context)
private static boolean
lambda$register$1(ItemStack arg0)
method_13083(class_1799 arg0)
method_13083(ItemStack stack)
private static com.mojang.brigadier.Message
lambda$static$1(Object arg0)
method_13079(Object arg0)
method_13079(Object playerCount)
private static com.mojang.brigadier.Message
lambda$static$0(Object arg0)
method_13075(Object arg0)
method_13075(Object playerName)