Uses of Interface
net.minecraft.server.commands.item.ItemAccessor
Packages that use ItemAccessor
-
Uses of ItemAccessor in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type ItemAccessorModifier and TypeMethodDescriptionprivate static intExecuteCommand.countItems(CommandSourceStack source, ItemAccessor<?> accessor, SlotSourceArgument.Result slotSource, Predicate<ItemStack> predicate) private static intExecuteCommand.countSlots(CommandSourceStack source, ItemAccessor<?> accessor, SlotSourceArgument.Result slotSource) -
Uses of ItemAccessor in net.minecraft.server.commands.item
Classes in net.minecraft.server.commands.item that implement ItemAccessorFields in net.minecraft.server.commands.item with type parameters of type ItemAccessorModifier and TypeFieldDescriptionstatic final List<ArgProvider.Factory<ItemAccessor<?>>> ItemCommands.ALL_PROVIDERSstatic final ArgProvider.Factory<ItemAccessor<?>> BlockItemAccessor.PROVIDERstatic final ArgProvider.Factory<ItemAccessor<?>> EntityItemAccessor.PROVIDERstatic final List<ArgProvider<ItemAccessor<?>>> ItemCommands.SOURCE_PROVIDERSstatic final List<ArgProvider<ItemAccessor<?>>> ItemCommands.TARGET_PROVIDERSMethods in net.minecraft.server.commands.item with parameters of type ItemAccessorModifier and TypeMethodDescriptionprivate static Collection<ItemStack> ItemCommands.getItems(CommandSourceStack source, ItemAccessor<?> accessor, SlotSourceArgument.Result slotSource, @Nullable Holder<LootItemFunction> modifier) private static <Target> intItemCommands.modifyItems(CommandSourceStack source, ItemAccessor<Target> accessor, SlotSourceArgument.Result slotSource, Holder<LootItemFunction> modifier) private static intItemCommands.setItem(CommandSourceStack source, ItemAccessor<?> accessor, SlotSourceArgument.Result slotSource, ItemCommands.ItemDistributor distributor, ItemStack item) private static intItemCommands.setItems(CommandSourceStack source, ItemAccessor<?> accessor, SlotSourceArgument.Result slotSource, ItemCommands.ItemDistributor distributor, Collection<ItemStack> items) private static <Target> intItemCommands.setItems(CommandSourceStack source, ItemAccessor<Target> accessor, SlotSourceArgument.Result slotSource, ItemProvider items, @Nullable ItemStack knownItem) Method parameters in net.minecraft.server.commands.item with type arguments of type ItemAccessorModifier and TypeMethodDescriptionprivate static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> ItemCommands.wrapSetItems(CommandBuildContext context, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> builder, ArgProvider<ItemAccessor<?>> targetProvider, ItemCommands.ItemDistributor distributor)