Coder Social home page Coder Social logo

how do i make baritone ignore blocks that are in place of a block in the schematic, but not the correct block about baritone HOT 6 CLOSED

DenouementEfflorescence avatar DenouementEfflorescence commented on August 18, 2024
how do i make baritone ignore blocks that are in place of a block in the schematic, but not the correct block

from baritone.

Comments (6)

ZacSharp avatar ZacSharp commented on August 18, 2024

There are some options, depending how much Baritone should not care about the block:

  • If it should completely ignore the fact that there's grass in your schematic use #set buildSkipBlocks grass (no guarantees on the block id). It effectively "punches holes" into your schematic.
  • If it should just allow dirt to be in places where the schematic demands grass use #set buildValidSubstitutes grass->dirt. Baritone will place grass but also won't care if there is already dirt or grass turns into dirt
  • If it should place dirt or grass where the schematic demands grass use #set buildSubstitutes grass->grass,dirt or #set buildSubstitutes grass->dirt,grass. The order determines which one it will prefer.
  • If it should only accept dirt instead of grass, use #set buildSubstitutes grass->dirt

The final checklist is there to help you write a well formed question and being unable to tick one of the boxes probably means your question is invalid and will not be answered 😏

from baritone.

DenouementEfflorescence avatar DenouementEfflorescence commented on August 18, 2024

thanks! but i have used OwO's

from baritone.

DenouementEfflorescence avatar DenouementEfflorescence commented on August 18, 2024

btw is there also any way to make it consider effects like jump boost?

from baritone.

ZacSharp avatar ZacSharp commented on August 18, 2024

Haste is automatically accounted for and iirc Baritone can walk on lava if you have a jesus hack but it can't swim in lava (whyever). I think speed is not considered while pathing but normal speed levels should at least not trip it up, and the same goes for low levels of jump boost as long as you don't make it walk below a lava ceiling or similar.

from baritone.

DenouementEfflorescence avatar DenouementEfflorescence commented on August 18, 2024

hm. doesnt really work... i used #set buildValidSubstitutes grass->dirt but it still mines dirt that is inplace of grass...

from baritone.

ZacSharp avatar ZacSharp commented on August 18, 2024

As I said, the block id might be wrong. Grass blocks and tall grass switched ids around some years ago and I never managed to remember which one is the new naming.
According to https://minecraft.fandom.com/wiki/Grass_Block#ID the current id is minecraft:grass_block so the command is #set buildValidSubstitutes grass_block->dirt (if you are on 1.13+)

from baritone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.