net.minecraft.command

public record BlockInventorySource

implements InventorySource<BlockPos>

net.minecraft.server.commands.item.BlockItemAccessor
net.minecraft.class_1_1100
net.minecraft.command.BlockInventorySource

Field summary

Modifier and TypeField
private final BlockPos
pos
comp_1_944
pos
public static final ArgumentSpec$Unnamed<InventorySource<?>>
PROVIDER
field_1_7561
ARGUMENT
private static final ElementAggregator$Reporter<BlockPos>
RESPONSE_SET
field_1_7563
REPLACE_REPORTER
private static final ElementAggregator$Reporter1<BlockPos, ItemStack>
RESPONSE_SET_KNOWN_ITEM
field_1_7564
REPLACE_KNOWN_ITEM_REPORTER
private static final ElementAggregator$Reporter<BlockPos>
RESPONSE_MODIFY
field_1_7562
MODIFY_REPORTER

Constructor summary

ModifierConstructor
public (BlockPos pos)

Method summary

Modifier and TypeMethod
public SlotContainer
getSlots(CommandSourceStack source, SlotSource slotSource)
method_1_6779(class_2168 arg0, class_12275 arg1)
getSlots(ServerCommandSource arg0, SlotSource arg1)
private SlotContainer
getBlockSlots(CommandSourceStack source, SlotSource slotSource, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType exceptionType)
method_1_6954(class_2168 arg0, class_12275 arg1, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType arg2)
getSlots(ServerCommandSource source, SlotSource slotSource, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType onNonInventory)
public void
setItems(CommandSourceStack source, SlotSource slotSource, ItemAccessor$SetterFunction<BlockPos> function)
method_1_6780(class_2168 arg0, class_12275 arg1, class_1_1061$class_1_1062<class_2338> arg2)
withSlots(ServerCommandSource arg0, SlotSource arg1, InventorySource$SlotsAction<BlockPos> arg2)
public int
getReplaceSuccess(CommandSourceStack source, CommandResponseTracker<BlockPos> tracker, ItemStack knownItem)
method_1_6778(class_2168 arg0, class_1_1083<class_2338> arg1, class_1799 arg2)
report(ServerCommandSource arg0, ElementAggregator<BlockPos> arg1, ItemStack arg2)
public int
getModifySuccess(CommandSourceStack source, CommandResponseTracker<BlockPos> tracker)
method_1_6777(class_2168 arg0, class_1_1083<class_2338> arg1)
report(ServerCommandSource arg0, ElementAggregator<BlockPos> arg1)
public static Inventory
getContainer(CommandSourceStack source, BlockPos pos, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType exceptionType)
method_1_6955(class_2168 arg0, class_2338 arg1, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType arg2)
getInventory(ServerCommandSource source, BlockPos pos, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType onNonInventory)
public BlockPos
pos()
comp_1_944()
pos()
private static Text
lambda$static$8(int arg0, int arg1)
method_1_6964(int arg0, int arg1)
method_1_6964(int targets, int total)
private static Text
lambda$static$7(BlockPos arg0, int arg1)
method_1_6963(class_2338 arg0, int arg1)
method_1_6963(BlockPos pos, int total)
private static Text
lambda$static$6(int arg0, int arg1, ItemStack arg2)
method_1_6962(int arg0, int arg1, class_1799 arg2)
method_1_6962(int targets, int total, ItemStack stack)
private static Text
lambda$static$5(BlockPos arg0, int arg1, ItemStack arg2)
method_1_6961(class_2338 arg0, int arg1, class_1799 arg2)
method_1_6961(BlockPos pos, int total, ItemStack stack)
private static Text
lambda$static$4(int arg0, int arg1)
method_1_6960(int arg0, int arg1)
method_1_6960(int targets, int total)
private static Text
lambda$static$3(BlockPos arg0, int arg1)
method_1_6959(class_2338 arg0, int arg1)
method_1_6959(BlockPos pos, int total)
private static ArgumentSpec
lambda$static$0(String arg0)
method_1_6956(String arg0)
method_1_6956(String argName)
private static InventorySource
lambda$static$2(String arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_6958(String arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_6958(String arg0, com.mojang.brigadier.context.CommandContext context)
private static com.mojang.brigadier.builder.ArgumentBuilder
lambda$static$1(String arg0)
method_1_6957(String arg0)
method_1_6957(String arg0)