cabaletta / baritone

google maps for block game
GNU Lesser General Public License v3.0
7.16k stars 1.43k forks source link

Auto refill inventory #2002

Closed Bram3 closed 4 years ago

Bram3 commented 4 years ago

Is there a way to auto refill the inventory of the baritone bot? I want to build a 161x161 dirt layer for a big farm. Or what's the easiest way to do this?

ZacSharp commented 4 years ago

It does not refill it's inventory automatically. If you are able to do it, you can use baritones API to add that feature yourself, otherwise you will simply need to manually refill your inventory (or let someone else do the work :smile:). For the dirt layer:

  1. select the area
  2. use sel fill dirt
Bram3 commented 4 years ago

Ok thanks, I might have an idea. I have some experience with a other mod to make scripts (macro mod) and i could let that take the dirt and then let baritone build again?

5HT2 commented 4 years ago

As long as it runs #pause and #resume, sure

ZacSharp commented 4 years ago

With java it is probably easier because you can hook into baritone directly bot a macro mod should also work

Bram3 commented 4 years ago

I don't really have any experience with java.

ZacSharp commented 4 years ago

Then use your macro mod As @dominikaaaa said you can #pause and #resume if you don't need baritone to get the blocks. If you need it (e.g. to go to a chest) then use #cancel to stop, #goto to go to your chest and #sel fill to restart builing.

ZacSharp commented 4 years ago

Also check out #1706. I don't know if it is usable but if it is, it is everything you need (assuming you have shulkerboxes)

Bram3 commented 4 years ago

Thanks!

Bram3 commented 4 years ago

Don't have shulker boxes tho, im trying this on hypixel skyblock (1.8)