MCPcopy Create free account

hub / github.com/MineDojo/Voyager / functions

Functions423 in github.com/MineDojo/Voyager

FunctionfillBucketWithWater
(bot)
skill_library/trial1/skill/code/fillBucketWithWater.js:1
Methodfilter_item
(message: str)
voyager/agents/action.py:259
FunctionfishInNearbyWaterSafely
(bot)
skill_library/trial2/skill/code/fishInNearbyWaterSafely.js:1
FunctiongetItemFromChest
(bot, chestPosition, itemsToGet)
voyager/control_primitives_context/useChest.js:3
FunctiongetNextTime
()
voyager/env/mineflayer/lib/utils.js:20
Functionget_file_lock
NFS-safe filesystem-backed lock. `pip install flufl.lock` https://flufllock.readthedocs.io/en/stable/apiref.html Args: fpath: sh
voyager/utils/file_utils.py:512
Methodget_mineflayer_process
(self, server_port)
voyager/env/minecraft_launcher.py:47
Functionget_parent_dir
Args: location: current directory or file Returns: parent directory absolute or relative path
voyager/utils/file_utils.py:422
Functionget_script_dir
Returns: the dir of current script
voyager/utils/file_utils.py:401
Functionget_script_file_name
Returns: the dir of current script
voyager/utils/file_utils.py:408
Functionget_script_self_path
Returns: the dir of current script
voyager/utils/file_utils.py:415
Methodget_timestamp
(string)
voyager/utils/record_utils.py:55
FunctiongivePlacedItemBack
(bot, name, position)
voyager/control_primitives/givePlacedItemBack.js:1
Functionhost_id
Returns: first part of hostname up to '.'
voyager/utils/file_utils.py:39
Methodinference
(self, task=None, sub_goals=[], reset_mode="hard", reset_env=True)
voyager/voyager.py:380
Functioninject
(bot)
voyager/env/mineflayer/lib/skillLoader.js:1
Functioninject
(bot, obs_list)
voyager/env/mineflayer/lib/observation/base.js:20
Functionis_relative_path
(*fpath)
voyager/utils/file_utils.py:186
Methodis_running
(self)
voyager/env/minecraft_launcher.py:126
FunctionitemByName
(items, name)
voyager/control_primitives/useChest.js:127
FunctionitemToDict
(acc, cur)
voyager/env/mineflayer/lib/observation/inventory.js:24
MethoditemToObs
(item)
voyager/env/mineflayer/lib/observation/status.js:38
Functionjson_dump
(data, *file_path, **kwargs)
voyager/utils/json_utils.py:17
Functionjson_dumps
Returns: string
voyager/utils/json_utils.py:23
Functionjson_load
(*file_path, **kwargs)
voyager/utils/json_utils.py:7
Functionjson_loads
(string, **kwargs)
voyager/utils/json_utils.py:13
FunctionkillChickenWithIncreasedTime
(bot)
skill_library/trial3/skill/code/killChickenWithIncreasedTime.js:1
FunctionkillFourSheep
(bot)
skill_library/trial1/skill/code/killFourSheep.js:1
FunctionkillMob
(bot, mobName, timeout = 300)
voyager/control_primitives_context/killMob.js:2
FunctionkillOneEnderman
(bot)
skill_library/trial1/skill/code/killOneEnderman.js:1
FunctionkillOnePig
(bot)
skill_library/trial1/skill/code/killOnePig.js:1
FunctionkillOneSpider
(bot)
skill_library/trial1/skill/code/killOneSpider.js:1
FunctionkillOneZombie
(bot)
skill_library/trial1/skill/code/killOneZombie.js:1
FunctionkillThreeChickens
(bot)
skill_library/trial3/skill/code/killThreeChickens.js:1
FunctionkillThreeCows
(bot)
skill_library/trial3/skill/code/killThreeCows.js:1
FunctionkillThreeSheep
(bot)
skill_library/trial3/skill/code/killThreeSheep.js:1
FunctionkillTwoPigs
(bot)
skill_library/trial1/skill/code/killTwoPigs.js:1
Functionlast_part_in_path
https://stackoverflow.com/questions/3925096/how-to-get-only-the-last-part-of-a-path-in-python
voyager/utils/file_utils.py:175
Methodlearn
(self, reset_env=True)
voyager/voyager.py:295
Functionload_pickle
(*fpaths)
voyager/utils/file_utils.py:527
Functionload_text_lines
(*fpaths)
voyager/utils/file_utils.py:545
Functionmd5_checksum
File md5 signature
voyager/utils/file_utils.py:434
FunctionmineBlock
(bot, name, count = 1)
voyager/control_primitives_context/mineBlock.js:2
FunctionmineCopperOreWithStonePickaxe
(bot)
skill_library/trial2/skill/code/mineCopperOreWithStonePickaxe.js:1
FunctionmineDeepslateOres
(bot)
skill_library/trial3/skill/code/mineDeepslateOres.js:1
FunctionmineEightCobblestone
(bot)
skill_library/trial3/skill/code/mineEightCobblestone.js:1
FunctionmineFiveCoalOre
(bot)
skill_library/trial3/skill/code/mineFiveCoalOre.js:1
FunctionmineFiveCoalOres
(bot)
skill_library/trial2/skill/code/mineFiveCoalOresV2.js:1
FunctionmineFiveCoalOres
(bot)
skill_library/trial2/skill/code/mineFiveCoalOres.js:1
FunctionmineFiveCoalOres
(bot)
skill_library/trial1/skill/code/mineFiveCoalOresV2.js:1
FunctionmineFiveCoalOres
(bot)
skill_library/trial1/skill/code/mineFiveCoalOres.js:1
FunctionmineFiveCopperOre
(bot)
skill_library/trial3/skill/code/mineFiveCopperOre.js:1
FunctionmineFiveCopperOres
(bot)
skill_library/trial2/skill/code/mineFiveCopperOres.js:1
FunctionmineFiveCopperOres
(bot)
skill_library/trial1/skill/code/mineFiveCopperOres.js:1
FunctionmineFiveCopperOres
(bot)
skill_library/trial1/skill/code/mineFiveCopperOresV2.js:1
FunctionmineFiveIronOres
(bot)
skill_library/trial2/skill/code/mineFiveIronOres.js:1
FunctionmineFiveIronOres
(bot)
skill_library/trial1/skill/code/mineFiveIronOresV2.js:1
FunctionmineFiveIronOres
(bot)
skill_library/trial1/skill/code/mineFiveIronOres.js:1
FunctionmineFiveLapisLazuliOres
(bot)
skill_library/trial1/skill/code/mineFiveLapisLazuliOres.js:1
FunctionmineFourCoalOre
(bot)
skill_library/trial3/skill/code/mineFourCoalOre.js:1
FunctionmineLapisOre
(bot)
skill_library/trial2/skill/code/mineLapisOre.js:1
FunctionmineTenCobbledDeepslateBelowY0
(bot)
skill_library/trial3/skill/code/mineTenCobbledDeepslateBelowY0.js:1
FunctionmineTenCobblestone
(bot)
skill_library/trial1/skill/code/mineTenCobblestone.js:1
FunctionmineThreeIronOre
(bot)
skill_library/trial3/skill/code/mineThreeIronOre.js:1
FunctionmineThreeIronOres
(bot)
skill_library/trial2/skill/code/mineThreeIronOres.js:1
FunctionmineThreeMoreOakLogs
(bot)
skill_library/trial1/skill/code/mineThreeMoreOakLogs.js:1
FunctionmineThreeMoreOakLogs
(bot)
skill_library/trial3/skill/code/mineThreeMoreOakLogs.js:1
FunctionmineWoodLog
(bot)
skill_library/trial1/skill/code/mineWoodLog.js:1
FunctionmineWoodLog
(bot)
skill_library/trial3/skill/code/mineWoodLog.js:1
Functionmove_with_backup
Ensures that a path is not occupied. If there is a file, rename it by adding @suffix. Resursively backs up everything. Args: fpa
voyager/utils/file_utils.py:484
Methodobserve
()
voyager/env/mineflayer/lib/observation/onError.js:15
Methodobserve
()
voyager/env/mineflayer/lib/observation/inventory.js:9
Methodobserve
()
voyager/env/mineflayer/lib/observation/onChat.js:19
Methodobserve
()
voyager/env/mineflayer/lib/observation/status.js:9
Methodobserve
()
voyager/env/mineflayer/lib/observation/voxels.js:10
Methodobserve
()
voyager/env/mineflayer/lib/observation/voxels.js:33
Methodobserve
()
voyager/env/mineflayer/lib/observation/chests.js:16
FunctionobtainBirchLogs
(bot)
skill_library/trial3/skill/code/obtainBirchLogs.js:1
FunctionobtainOneMoreAcaciaLog
(bot)
skill_library/trial1/skill/code/obtainOneMoreAcaciaLog.js:1
FunctiononAutoShotStopped
()
voyager/control_primitives/waitForMobRemoved.js:70
FunctiononConnectionFailed
(e)
voyager/env/mineflayer/index.js:137
FunctiononEntityGone
(e)
voyager/control_primitives/waitForMobRemoved.js:12
FunctiononItemDrop
(item)
voyager/control_primitives/waitForMobRemoved.js:21
FunctiononStoppedAttacking
()
voyager/control_primitives/waitForMobRemoved.js:27
FunctiononTick
()
voyager/env/mineflayer/index.js:214
FunctionopenChestAndCheckContents
(bot)
skill_library/trial3/skill/code/openChestAndCheckContents.js:1
FunctionotherError
(err)
voyager/env/mineflayer/index.js:155
FunctionplaceItem
(bot, name, position)
voyager/control_primitives_context/placeItem.js:2
FunctionplantOakSapling
(bot)
skill_library/trial3/skill/code/plantOakSapling.js:1
Functionplugin
(bot: Bot)
voyager/env/mineflayer/mineflayer-collectblock/src/index.ts:6
Methodprograms
(self)
voyager/agents/skill.py:53
Methodprogress
(self)
voyager/agents/curriculum.py:131
Methodrender
(self)
voyager/env/bridge.py:127
Methodrender_human_message
( self, *, events, code="", task="", context="", critique="" )
voyager/agents/action.py:102
Methodrender_system_message
(self, skills=[])
voyager/agents/action.py:75
Functionreplace_func
(match)
voyager/utils/json_utils.py:64
Methodreset
( self, *, seed=None, options=None, )
voyager/env/bridge.py:130
Methodreset
()
voyager/env/mineflayer/lib/observation/voxels.js:37
Methodreset
()
voyager/env/mineflayer/lib/observation/base.js:17
Methodrun
(self)
voyager/env/minecraft_launcher.py:112
← previousnext →301–400 of 423, ranked by callers