#I'm new

1 messages · Page 1 of 1 (latest)

viral jungle
#

yeah, those are seperate block types.

#

although minecraft does (or did?) treat them as different types of stone
you'll need to check for each block type

scenic trellis
#

Isn’t any stone or something

#

I think any stone works for some of them

#

At least, I heard that in a different post a while ago

#

stone

scenic trellis
#

I’d like to know if this works

viral jungle
#

stone should just be stone. they should all just be their names.
you can broadcast type of event-block to check the values

scenic trellis
#

Use else ifs

viral jungle
#

im just gonna

#
give player (drops of event-block)```
#

thats much shorter

#

you can use an if any there too

scenic trellis
#

Wait, this is just that

#

Wdym

viral jungle
scenic trellis
#

Yes

viral jungle
#

yes

#

thats the items that would drop if it was broken

#

although it might be with a fist. so maybe use https://skripthub.net/docs/?id=9470

#

actually, just drops of event-block using player's tool

#

parentheses dont really matter there

scenic trellis
#

Send code

#

give player

viral jungle
#

i mean, you need silk touch for grass, otherwise the natural drop is dirt

#

if that's what you mean isnt working

scenic trellis
#

give player x if it isn’t working that way

#

Don’t you have to specify to whom you’re giving the item(s)?

viral jungle
#

using diamond pickaxe of silk touch 1 would also work

scenic trellis
#

Send full code?

#

What’s not working?

#

Using player’s tool

#

Also, do you not have to put cancel drops too

viral jungle
#

cobble is, again, natural unless you have silk touch.

#

not cancelling is weird tho

#

wait

scenic trellis
viral jungle
#

use on break, not on mine.

#

i dont remember exactly, but i think

  • on mine = using the preferred tool
  • on break = broken by anything
#

wait no,

#

cause it wouldnt give if the event wanst triggered

#

add this:```on mine:
broadcast "MINE:%newline% - %type of event-block% => %drops of event-block using player's tool%"

on break:
broadcast "BREAK:%newline% - %type of event-block% => %drops of event-block using player's tool%"```

#

see what's sent

viral jungle
#

thats just a visual thing

#

its just gonna broadcast some things so we can see whats going on