#Hammer skript
1 messages ยท Page 1 of 1 (latest)
I didn't understand what you mean
You dont want it to break a certain set of blocks. So why not use conditionals to prevent to code activating for those blocks?
I think there's a simpler requirement than writing down all the blocks I don't want to break.
You could maybe compare the preferred tool against the pickaxes
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
Could I have a link to the document, if possible?
skripthub.net/docs. please do t ping me
Okay bro, sorry
how ๐
command test:
trigger:
if player's tool are target block's preferred tools:
send "supported"
else:
send "Not supported"
that just means its a tool that yeilds drops
What does that mean?
like how you need an iron pickaxe to mine diamonds
So this condition doesn't help me?
help
I mean this is probably very inefficient but you could set a list to a list of all the blocks and then just check the list when they mine but probably very inefficient
I did that and it's good, but not better than a specific requirement for that.
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
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
But he needs to check the block, not the tool.
thats why I said well nvm loll
That's okay, I appreciate that.
๐๐
