MCPcopy Create free account

hub / github.com/FundamentalLabs/minecraft-mcp / functions

Functions268 in github.com/FundamentalLabs/minecraft-mcp

↓ 52 callersFunctionasyncwrap
(options: IAsyncwrapOptions)
mcp-server/src/skills/library/asyncwrap.ts:20
↓ 27 callersFunctionvalidateSkillParams
( params: { [key: string]: any }, requiredKeys: string[], skillName: string, )
mcp-server/src/skills/index.ts:3
↓ 24 callersFunctionisSignalAborted
(signal: AbortSignal | undefined)
mcp-server/src/skills/index.ts:17
↓ 16 callersMethodstop
* Stops attacking the current entity.
mineflayer-pvp/src/PVP.ts:94
↓ 12 callersFunctionfindClosestItemName
( bot: Bot, params: IFindClosestItemNameParams, )
mcp-server/src/skills/library/findClosestItemName.ts:19
↓ 10 callersFunctionerror
(type: string, message: string)
mineflayer-collectblock/src/Util.ts:9
↓ 8 callersFunctioncancelableMove
(bot: Bot, options: ICancelableMove)
mcp-server/src/skills/library/navigateToLocation.ts:248
↓ 8 callersFunctionnavigateToLocation
( bot: Bot, options: INavigateToLocationOptions, )
mcp-server/src/skills/library/navigateToLocation.ts:43
↓ 7 callersMethodadd
* Adds a new async task to this queue. The provided callback should be executed when * the async task is complete. * * @param task - The asyn
mineflayer-collectblock/src/TaskQueue.ts:22
↓ 6 callersFunctionstopAttack
()
mcp-server/src/skills/library/attack.ts:190
↓ 5 callersFunctionaddToHistory
(type: ChatMessage['type'], message: string, username?: string, rawMessage?: any)
mcp-server/src/skills/verified/readChat.ts:152
↓ 5 callersFunctiongetInventory
( bot: Bot, {useItemNames = true}: GetInventoryOptions, )
mcp-server/src/skills/library/inventoryHelpers.ts:13
↓ 4 callersMethodcleanup
* Removes all attached event listeners from the bot.
mineflayer-collectblock/src/TemporarySubscriber.ts:28
↓ 4 callersFunctionfindClosestPlayerByName
( bot: Bot, options: IFindClosestPlayerByNameOptions, )
mcp-server/src/skills/library/findClosestPlayerByName.ts:16
↓ 4 callersFunctionisInventoryFull
(bot: Bot)
mcp-server/src/skills/library/inventoryHelpers.ts:110
↓ 4 callersMethodremoveBot
(idOrUsername: string)
mcp-server/src/botManager.ts:65
↓ 4 callersMethodremoveTarget
(target: Collectable)
mineflayer-collectblock/src/Targets.ts:55
↓ 4 callersFunctionticksToSeconds
(ticks: number)
mcp-server/src/skills/library/useFurnace.ts:43
↓ 3 callersMethodaddSync
* Adds a synchronous task toi this queue. * * @param task - The sync task to add.
mineflayer-collectblock/src/TaskQueue.ts:31
↓ 3 callersMethodappendTarget
(target: Collectable)
mineflayer-collectblock/src/Targets.ts:21
↓ 3 callersMethodattack
* Causes the bot to begin attacking an entity until it is killed or told to stop. * * @param target - The target to attack.
mineflayer-pvp/src/PVP.ts:72
↓ 3 callersMethodclear
()
mineflayer-collectblock/src/Targets.ts:51
↓ 3 callersMethodcollect
* If target is a block: * Causes the bot to break and collect the target block. * * If target is an item drop: * Causes the bot to
mineflayer-collectblock/src/CollectBlock.ts:405
↓ 3 callersFunctionfindAChest
( bot: Bot, options: IFindAChestOptions, )
mcp-server/src/skills/library/findAChest.ts:15
↓ 3 callersFunctionfindTarget
(bot: Bot, options: IFindTargetOptions)
mcp-server/src/skills/library/attack.ts:248
↓ 3 callersMethodforceStop
* Stops attacking the current entity. Force stops pathfinder. May result in the bot falling off of things or failing jumps. * @returns void
mineflayer-pvp/src/PVP.ts:145
↓ 3 callersMethodhasShield
* Check if the bot currently has a shield equipped.
mineflayer-pvp/src/PVP.ts:277
↓ 3 callersFunctionisNearbyEntity
(entity: Entity)
mcp-server/src/skills/verified/runAway.ts:73
↓ 3 callersMethodsubscribeTo
* Adds a new temporary event listener to the bot. * * @param event - The event to subscribe to. * @param callback - The function to execute.
mineflayer-collectblock/src/TemporarySubscriber.ts:18
↓ 3 callersFunctiontossItemTowardsPlayer
( bot: Bot, options: ITossItemTowardsPlayerOptions, )
mcp-server/src/skills/library/tossItemTowardsPlayer.ts:33
↓ 2 callersFunctionattack
( bot: Bot, options: IAttackOptions, )
mcp-server/src/skills/library/attack.ts:33
↓ 2 callersFunctionautoEquipSword
(bot: Bot)
mcp-server/src/skills/library/pvpHelper.ts:10
↓ 2 callersFunctioncanBotMine
( bot: Bot, options: iCanBotMineOptions, )
mcp-server/src/skills/library/mineBlock.ts:501
↓ 2 callersMethodcancelTask
* Cancels the current collection task, if still active. * * @param cb - The callback to use when the task is stopped.
mineflayer-collectblock/src/CollectBlock.ts:505
↓ 2 callersMethoddequeue
()
mcp-server/src/skills/library/findExplorableChunk.ts:214
↓ 2 callersMethoddisconnectAll
()
mcp-server/src/botManager.ts:141
↓ 2 callersMethodenqueue
(item: IChunk, priority: number)
mcp-server/src/skills/library/findExplorableChunk.ts:209
↓ 2 callersFunctionexitInterface
(bot: Bot)
mcp-server/src/skills/library/exitInterface.ts:10
↓ 2 callersFunctionfindNearbyChests
( bot: Bot, options: IFindNearbyChestsOptions, )
mcp-server/src/skills/library/findAChest.ts:64
↓ 2 callersMethodgetAllSkills
()
mcp-server/src/skillRegistry.ts:32
↓ 2 callersFunctiongetAttackSpeed
(weaponName: string)
mineflayer-pvp/src/Cooldown.ts:3
↓ 2 callersFunctiongetInventorySnapshot
(bot: Bot)
mcp-server/src/skills/verified/pickupItem.ts:184
↓ 2 callersFunctiongetMostOfInInventory
(bot: Bot, itemType: string)
mcp-server/src/skills/library/craftAnItem.ts:590
↓ 2 callersMethodgetTicks
* Sampled right after an attack to get the number of ticks to wait * before the next attack. * * @param bot - The bot preforming the a
mineflayer-pvp/src/TimingSolver.ts:16
↓ 2 callersFunctiongoToPerson
( bot: Bot, params: IGoToPersonParams, )
mcp-server/src/skills/library/goToPerson.ts:32
↓ 2 callersFunctioninitializeChatHistory
(bot: Bot)
mcp-server/src/skills/verified/readChat.ts:142
↓ 2 callersFunctioninterrupt_message_accumulated_items
(endMessage: string)
mcp-server/src/skills/verified/retrieveItemsFromNearbyFurnace.ts:332
↓ 2 callersMethodisEmpty
()
mcp-server/src/skills/library/findExplorableChunk.ts:218
↓ 2 callersFunctionmineBlock
( bot: Bot, options: iMineBlockOptions, )
mcp-server/src/skills/library/mineBlock.ts:42
↓ 2 callersFunctionmineBlock
( bot: Bot, block: Block, options: CollectOptionsFull )
mineflayer-collectblock/src/CollectBlock.ts:215
↓ 2 callersFunctionplaceBlock
( bot: Bot, options: IPlaceBlockOptions, )
mcp-server/src/skills/library/placeBlock.ts:38
↓ 2 callersFunctiontryHarvest
(bot: Bot, options: iTryHarvestOptions)
mcp-server/src/skills/library/mineBlock.ts:474
↓ 2 callersFunctionupdateCraftingInterface
(bot: Bot)
mcp-server/src/skills/library/updateCraftingInterface.ts:11
↓ 2 callersFunctionuseFurnace
( bot: Bot, options: IUseFurnaceOptions, )
mcp-server/src/skills/library/useFurnace.ts:125
↓ 1 callersFunction_retrieveItemFromSingleFurnace
( bot: Bot, options: ILRetrieveItemFromSingleFurnaceOptions, )
mcp-server/src/skills/verified/retrieveItemsFromNearbyFurnace.ts:99
↓ 1 callersMethodaddBot
(username: string, bot: BotWithLogger)
mcp-server/src/botManager.ts:15
↓ 1 callersFunctionaddItemsToInventory
( options: IAddItemsToInventory, )
mcp-server/src/skills/library/craftAnItem.ts:538
↓ 1 callersMethodappendTargets
(targets: Collectable[])
mineflayer-collectblock/src/Targets.ts:15
↓ 1 callersMethodattemptAttack
* Attempts to preform an attack on the target.
mineflayer-pvp/src/PVP.ts:225
↓ 1 callersFunctionblockHasNearbyAir
( bot: Bot, options: IBlockHasNearbyAirOptions, )
mcp-server/src/skills/library/blockHasNearbyAir.ts:18
↓ 1 callersFunctioncalculateDistance
(pos1: Vec3, pos2: Vec3)
mcp-server/src/skills/library/tossItemTowardsPlayer.ts:198
↓ 1 callersFunctioncalculateNormalizedDirection
( bot: Bot, options: ICalculateNormalizedDirectionOptions, )
mcp-server/src/skills/library/navigateToLocation.ts:206
↓ 1 callersFunctioncanBotMineItem
( bot: Bot, options: iCanBotMineItemOptions, )
mcp-server/src/skills/library/mineBlock.ts:595
↓ 1 callersFunctioncanPlaceItemHere
( bot: Bot, options: ICanPlaceItemHereOptions, )
mcp-server/src/skills/verified/placeItemNearYou.ts:217
↓ 1 callersFunctioncanSeeBlock
(bot: Bot, position: Vec3)
mcp-server/src/skills/verified/lookAround.ts:24
↓ 1 callersFunctioncheckCheatsEnabled
* Check if cheats are enabled by attempting a harmless command
mcp-server/src/skills/verified/buildSomething.ts:244
↓ 1 callersFunctioncheckCheatsEnabled
* Check if cheats are enabled (same as buildSomething)
mcp-server/src/skills/verified/buildPixelArt.ts:303
↓ 1 callersMethodcheckExplosion
* Blocks a creeper explosion with a shield.
mineflayer-pvp/src/PVP.ts:200
↓ 1 callersFunctioncheckInventoryForItem
( bot: Bot, itemName: string, neededQuantity: number, )
mcp-server/src/skills/library/tossItemTowardsPlayer.ts:206
↓ 1 callersFunctioncheckOtherPlayersSleeping
(bot: Bot)
mcp-server/src/skills/verified/sleepInNearbyBed.ts:162
↓ 1 callersMethodcheckRange
* Updates whether the bot is in attack range of the target or not.
mineflayer-pvp/src/PVP.ts:176
↓ 1 callersFunctionclamp
(x: number, min: number, max: number)
mineflayer-pvp/src/Cooldown.ts:9
↓ 1 callersFunctioncollectAll
( bot: Bot, options: CollectOptionsFull, signal?: AbortSignal )
mineflayer-collectblock/src/CollectBlock.ts:18
↓ 1 callersFunctioncompareInventories
( oldInv: IInventoryItem[], newInv: IInventoryItem[], )
mcp-server/src/skills/verified/pickupItem.ts:198
↓ 1 callersFunctioncomputeRequiresTable
(recipe: minecraftData.Recipe)
mcp-server/src/skills/library/generateCraftableItems.ts:144
↓ 1 callersFunctioncountItems
(bot: Bot, itemName: string)
mcp-server/src/skills/verified/dropItem.ts:106
↓ 1 callersFunctioncraftAnItem
( bot: Bot, options: iCraftAnItemOptions, )
mcp-server/src/skills/library/craftAnItem.ts:34
↓ 1 callersFunctioncreateSkillExecutor
(skillName: string)
mcp-server/src/skillRegistry.ts:370
↓ 1 callersFunctioncustomToString
(missingItems: Record<string, number>)
mcp-server/src/skills/library/inventoryHelpers.ts:89
↓ 1 callersFunctionemptyInventory
(bot: Bot, chestLocations: Vec3[], itemFilter: ItemFilter, cb?: Callback)
mineflayer-collectblock/src/Inventory.ts:37
↓ 1 callersFunctionexecuteClone
(bot: Bot, cmd: any)
mcp-server/src/skills/verified/buildSomething.ts:359
↓ 1 callersFunctionexecuteCodeMode
* Execute arbitrary JavaScript code for building
mcp-server/src/skills/verified/buildSomething.ts:138
↓ 1 callersFunctionexecuteCommand
* Execute a single build command
mcp-server/src/skills/verified/buildSomething.ts:288
↓ 1 callersFunctionexecuteFill
(bot: Bot, cmd: any)
mcp-server/src/skills/verified/buildSomething.ts:340
↓ 1 callersFunctionexecuteGive
(bot: Bot, cmd: any)
mcp-server/src/skills/verified/buildSomething.ts:395
↓ 1 callersFunctionexecuteSetBlock
(bot: Bot, cmd: any)
mcp-server/src/skills/verified/buildSomething.ts:327
↓ 1 callersFunctionexecuteSummon
(bot: Bot, cmd: any)
mcp-server/src/skills/verified/buildSomething.ts:378
↓ 1 callersFunctionexploreNearby
( bot: Bot, options: IExploreNearbyOptions = {}, )
mcp-server/src/skills/library/exploreNearby.ts:26
↓ 1 callersFunctionfindClosestPlayerName
( bot: Bot, options: IFindClosestPlayerNameOptions, )
mcp-server/src/skills/library/findClosestPlayerByName.ts:40
↓ 1 callersFunctionfindEntityByName
( bot: Bot, params: IFindEntityByNameParams, )
mcp-server/src/skills/library/goToPerson.ts:177
↓ 1 callersFunctionfindExpandableWater
* Find expandable water blocks. * @param {Bot} bot - The Mineflayer bot instance. * @param {IFindExpandableWaterOptions} options - The options for f
mcp-server/src/skills/verified/prepareLandForFarming.ts:291
↓ 1 callersFunctionfindFromVein
(bot: Bot, block: Block, maxBlocks: number, maxDistance: number, floodRadius: number)
mineflayer-collectblock/src/BlockVeins.ts:4
↓ 1 callersFunctionfindLand
( bot: Bot, options: IFindLandOptions, )
mcp-server/src/skills/library/swimHelper.ts:82
↓ 1 callersFunctionfindMatureCrops
( bot: Bot, options: IFindMatureCropsOptions, )
mcp-server/src/skills/verified/harvestMatureCrops.ts:91
↓ 1 callersFunctionfindNearbyFurnaces
(bot: Bot, options: IFindNearbyFurnacesOptions)
mcp-server/src/skills/verified/retrieveItemsFromNearbyFurnace.ts:79
↓ 1 callersFunctionfindSuitableSurfaceHeight
( bot: Bot, x: number, startY: number, z: number, )
mcp-server/src/skills/library/exploreNearby.ts:93
↓ 1 callersFunctionfindSurface
( bot: Bot, options: IFindSurfaceOptions, )
mcp-server/src/skills/library/swimHelper.ts:41
↓ 1 callersFunctionfindWoodInInventory
(bot: Bot)
mcp-server/src/skills/library/craftAnItem.ts:556
↓ 1 callersFunctiongenerateCraftableItems
(bot: Bot)
mcp-server/src/skills/library/generateCraftableItems.ts:10
↓ 1 callersMethodgetActiveBot
()
mcp-server/src/botManager.ts:103
next →1–100 of 268, ranked by callers