#Hammer skript

1 messages ยท Page 1 of 1 (latest)

lyric ginkgo
#

so why not use if statements to check for the blocks?

still moat
lyric ginkgo
#

You dont want it to break a certain set of blocks. So why not use conditionals to prevent to code activating for those blocks?

still moat
lyric ginkgo
lyric ginkgo
#

Im not going to do it for you. Check the docs for that expression, and try a few things. Then come back if it doesnโ€™t work

still moat
lyric ginkgo
still moat
#

Okay bro, sorry

still moat
#

how ๐Ÿ’”

command test:
trigger:
if player's tool are target block's preferred tools:
send "supported"
else:
send "Not supported"

lyric ginkgo
#

that just means its a tool that yeilds drops

still moat
#

What does that mean?

lyric ginkgo
#

like how you need an iron pickaxe to mine diamonds

still moat
#

So this condition doesn't help me?

still moat
still moat
#

help

near copper
still moat
near copper
#

I'ma look into it for u cause might be interesting for me to know

#

maybe this?

#

looks like it could do something

#

well nvm..

#

im slow

lyric wind
#

Minecraft has built-in mineable block tags (such as mineable/pickaxe for all blocks that can be mined with a pickaxe and still yield drops), this may be what you are looking for

still moat
near copper
still moat
sharp cradle
#

๐Ÿ˜‚๐Ÿ˜‚