Skip to content

k4ey/Advanced-Macros-libraries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advanced-Macros-libraries

Features:

Inventory

  • Inventory.open(chest)
  • Inventory.calc(name,range)
  • Inventory.move(name,amount,source,destination)
  • Inventory.refill(name,amount,source,destination)
  • Inventory.calcEmptySlots(range)
  • Inventory.dropItems(range)
  • Inventory.find(name,range)
  • Inventory.placeInHotbar(slot,item)
  • Inventory.deepFind(itemAttribute,range)

Logging

  • Logger.emerg(text)
  • Logger.alert(text)
  • Logger.crit(text)
  • Logger.err(text)
  • Logger.warning(text)
  • Logger.notice(text)
  • Logger.info(text)
  • Logger.debug(text)

DonkeyLib

  • DonkeyLib.sit(uuid)
  • DonkeyLib.distanceTo(uuid)
  • DonkeyLib.lookAt(uuid)
  • DonkeyLib.open(uuid)
  • DonkeyLib.walkTo(uuid)
  • DonkeyLib.getByName(uuid)
  • DonkeyLib.getClosest(uuid)
  • DonkeyLib.getByUUID(uuid)

Relogging

  • Relogging(serverIP,tiemoutDuration)

relativeBlocks

  • Blocks.getBlockByRelative(relative,position)
  • Blocks.getBlockByDirection(direction,position,horizontalOffset,verticalOffset)
  • Blocks.addIndices(table1,table2)
  • Blocks.direction(direction,offset)
  • Blocks.show(blocks,allowXray,delay)

more docs are in the code

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages