net.minecraft.command

public interface InventorySource<Target>

net.minecraft.server.commands.item.ItemAccessor
net.minecraft.class_1_1061
net.minecraft.command.InventorySource

Method summary

Modifier and TypeMethod
void
setItems(CommandSourceStack source, SlotSource slotSource, ItemAccessor$SetterFunction<Target> function)
method_1_6780(class_2168 arg0, class_12275 arg1, class_1_1061$class_1_1062<Target> arg2)
withSlots(ServerCommandSource source, SlotSource slotSource, InventorySource$SlotsAction<Target> callback)
SlotContainer
getSlots(CommandSourceStack source, SlotSource slotSource)
method_1_6779(class_2168 arg0, class_12275 arg1)
getSlots(ServerCommandSource source, SlotSource slotSource)
int
getReplaceSuccess(CommandSourceStack source, CommandResponseTracker<Target> tracker, ItemStack knownItem)
method_1_6778(class_2168 arg0, class_1_1083<Target> arg1, class_1799 arg2)
report(ServerCommandSource source, ElementAggregator<Target> aggregator, ItemStack knownItemStack)
int
getModifySuccess(CommandSourceStack source, CommandResponseTracker<Target> tracker)
method_1_6777(class_2168 arg0, class_1_1083<Target> arg1)
report(ServerCommandSource source, ElementAggregator<Target> aggregator)