#explode block skript
1 messages ยท Page 1 of 1 (latest)
even this:
on block break:
if world of event-location is "spawn_the_end":
if block is end stone:
if cause of event is explosion:
cancel event```
but stil nothing
@grand light
you know anything that can help?
i think on explode you can like loop exploded blocks and stop certain blocks breaking
thanks i will check it
loop exploded blocks:
add loop-block to {exploded::blocks::*}
on explode:
loop exploded blocks:
if loop-block is end stone:
remove loop-block from exploded blocks
cancel event```
tryed this
no errors and is not working
idk what to do
๐ ๐ญ
is this ai?
no
its from
it is from offcial example
whats the top part?
what do you mean?
remove the cancel event and the top part

on explode:
loop exploded blocks:
if loop-block is end stone:
remove loop-block from exploded blocks
wait im trying something else
so @obtuse nest
on block explode:
cancel event```
this is working but
if i add this:
on block explode:
if block is end stone:
cancel event```
is not working
do i need to loop it?
indent like how i never used them
i think
it needs to cancel event IF endstone
an indent is a tab
like
on click:
give player stone
only happns when player clicks so theres a tab
oh
i think i understand it now
on block explode:
if block is end stone:
cancel event
like this?
ye
still not working 
add broadcast event block after to see if its actually activating
oh its 'past event-block'
it will work
from here on block explode: broadcast "please break" if block is end stone: broadcast "did u explode yet" cancel event only please break it broadcasting
thanks ! >3
it says
it dosent have a past state
Oh my days
I made
it owrk
work
god damn it
it doesnt need past event block
@obtuse nest
on block explode:
broadcast "checking block: %block%"
if block is end stone:
broadcast "this was end stone, cancelling!"
cancel event
from this
it was checking the air
so i need to add
if block is not end stone:
so it will check the end stone
fk
im dumb
its on all the blocks
not only end stone
i think on block explode is the tnt
yeah i think youll need to loop all exploded blocks
on explode
try sending all exploded blocks on explode
on block explode:
broadcast "Explosion detected in End at %event-location%"
loop exploded blocks:
broadcast "Block to explode: %loop-block%"
if loop-block is end stone:
broadcast "Protecting End Stone!"
remove loop-block from exploded blocks
is this good?
on explosion:
broadcast "Explosion detected in End at %event-location%"
loop exploded blocks:
broadcast "Block to explode: %loop-block%"
if loop-block is end stone:
broadcast "Protecting End Stone!"
remove loop-block from exploded blocks
i cant say on on block explode
but no broadcast here
sorry for the delay i was eating
okay
yo @obtuse nest are you here?
did you try on explode:?