Uses of Interface
net.minecraft.server.commands.LootCommand.Callback
Packages that use LootCommand.Callback
-
Uses of LootCommand.Callback in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type LootCommand.CallbackModifier and TypeMethodDescriptionint
LootCommand.DropConsumer.accept
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, List<ItemStack> items, LootCommand.Callback callback) private static int
LootCommand.blockDistribute
(CommandSourceStack source, BlockPos pos, List<ItemStack> items, LootCommand.Callback callback) private static int
LootCommand.blockReplace
(CommandSourceStack source, BlockPos pos, int slot, int numSlots, List<ItemStack> items, LootCommand.Callback callback) private static int
LootCommand.dropInWorld
(CommandSourceStack source, Vec3 pos, List<ItemStack> items, LootCommand.Callback callback) private static int
LootCommand.entityReplace
(Collection<? extends Entity> targets, int startSlot, int numSlots, List<ItemStack> items, LootCommand.Callback callback) private static int
LootCommand.playerGive
(Collection<ServerPlayer> targets, List<ItemStack> items, LootCommand.Callback callback)