net.minecraft.command

public record EntityInventorySource

implements InventorySource<Entity>

net.minecraft.server.commands.item.EntityItemAccessor
net.minecraft.server.commands.item.EntityItemAccessor
net.minecraft.class_1_1104
net.minecraft.command.EntityInventorySource

Field summary

Modifier and TypeField
private final Collection<? extends Entity>
entities
entities
comp_1_947
entities
public static final ArgumentSpec$Unnamed<InventorySource<?>>
PROVIDER
PROVIDER
field_1_7571
ARGUMENT
private static final ElementAggregator$Reporter<Entity>
RESPONSE_SET
RESPONSE_SET
field_1_7573
REPLACE_REPORTER
private static final ElementAggregator$Reporter1<Entity, ItemStack>
RESPONSE_SET_KNOWN_ITEM
RESPONSE_SET_KNOWN_ITEM
field_1_7574
REPLACE_KNOWN_ITEM_REPORTER
private static final ElementAggregator$Reporter<Entity>
RESPONSE_MODIFY
RESPONSE_MODIFY
field_1_7572
MODIFY_REPORTER

Constructor summary

ModifierConstructor
public (Collection<? extends Entity> entities)

Method summary

Modifier and TypeMethod
public SlotContainer
getSlots(CommandSourceStack source, SlotSource slotSource)
getSlots(CommandSourceStack source, SlotSource slotSource)
method_1_6779(class_2168 arg0, class_12275 arg1)
getSlots(ServerCommandSource arg0, SlotSource arg1)
public void
setItems(CommandSourceStack source, SlotSource slotSource, ItemAccessor$SetterFunction<Entity> function)
setItems(CommandSourceStack source, SlotSource slotSource, ItemAccessor$SetterFunction<Entity> function)
method_1_6780(class_2168 arg0, class_12275 arg1, class_1_1061$class_1_1062<class_1297> arg2)
withSlots(ServerCommandSource arg0, SlotSource arg1, InventorySource$SlotsAction<Entity> arg2)
public int
getReplaceSuccess(CommandSourceStack source, CommandResponseTracker<Entity> tracker, ItemStack knownItem)
getReplaceSuccess(CommandSourceStack source, CommandResponseTracker<Entity> tracker, ItemStack knownItem)
method_1_6778(class_2168 arg0, class_1_1083<class_1297> arg1, class_1799 arg2)
report(ServerCommandSource arg0, ElementAggregator<Entity> arg1, ItemStack arg2)
public int
getModifySuccess(CommandSourceStack source, CommandResponseTracker<Entity> tracker)
getModifySuccess(CommandSourceStack source, CommandResponseTracker<Entity> tracker)
method_1_6777(class_2168 arg0, class_1_1083<class_1297> arg1)
report(ServerCommandSource arg0, ElementAggregator<Entity> arg1)
public Collection<? extends Entity>
entities()
entities()
comp_1_947()
entities()