#function using fill command does not replace certain blocks.

1 messages · Page 1 of 1 (latest)

zinc hill
#

I need help with a function but the game does not show any errors, so the ids of the objects are correct; the function runs completely normally but excludes certain lines of the function, meaning that it does not replace certain blocks, only some, I really don't know what it is, I hope you can help me.

fill ~~~ ~~~ nt:gold_block_brick replace gold_block
fill ~~~ ~~~ nt:emerald_block_brick replace emerald_block
fill ~~~ ~~~ nt:iron_block_brick replace iron_block
fill ~~~ ~~~ nt:netherite_block_brick replace netherite_block
fill ~~~ ~~~ nt:redstone_block_brick replace redstone_block
fill ~~~ ~~~ nt:lapis_block_brick replace lapis_block
fill ~~~ ~~~ diamond_block replace nt:diamond_block_brick
fill ~~~ ~~~ gold_block replace nt:gold_block_brick 
fill ~~~ ~~~ emerald_block replace  nt:emerald_block_brick
fill ~~~ ~~~ iron_block replace nt:iron_block_brick
fill ~~~ ~~~ netherite_block replace nt:netherite_block_brick
fill ~~~ ~~~ redstone_block replace nt:redstone_block_brick
fill ~~~ ~~~ lapis_block replace nt:lapis_block_brick
playsound block.stonecutter.use @p ~ ~ ~```
sacred portal
zinc hill
#

Thank you for taking care of my case, The lines that are excluded are those that begin with the identifier "nt:"

vague maple
#

is the fill syntax not fill x1 y1 z1 x2 y2 z2 block_to_fill [] replace block_to_replace []?

#

I think you're missing the states [] there