Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

How to make baritone mine blocks with specific block state?

Realdoby opened this issue ยท 8 comments

commented

Is there a way for baritone to mine blocks with specific block states for example a stair facing north or chest facing west or a noteblock having a specific instrument and note

commented

You should be able to use the vanilla block[property=value] syntax both for #mine and #sel replace

commented

Versions 1.13+. The primary change to blockstates was removing the metadata byte (flattening it into the blockstate id), but Mojang also changed a lot of block ids on that occasion so e.g. noteblocks have different ids in 1.12- and 1.13+.

commented

You should be able to use the vanilla block[property=value] syntax both for #mine and #sel replace

there is a server that uses noteblocks as custom blocks so i want to mine a custom ore. It uses noteblock with the instrument and note 15 can you tell me how to make it mine it?

commented

#mine stone_stairs[facing=north] this doesn't work

commented

I am on 1.19.2

If you are on a post-flattening version it should be e.g. #mine note_block[instrument=xylophone,note=12]
I am on 1.19.2 this is the error i get
image

commented

If you are on a post-flattening version it should be e.g. #mine note_block[instrument=xylophone,note=12]

commented

what is post-flattening

commented

Then note_block should work.
2023-11-16_23 19 07