#block-event not changing

1 messages · Page 1 of 1 (latest)

flint summit
#

i have made a skript to replace blocks mined with bedrock and then back to a random block but sometimes the bedrock does not change back. how can I fix this?

Code:

on break:
    player is in world "world_nether"
    set event-block to bedrock
    wait 5 seconds
    chance of 2%:
        set event-block to ancient debris
    chance of 10%:
        set event-block to nether gold ore
    chance of 10%:
        set event-block to nether quartz ore
    chance of 8%:
        set event-block to magma block
    chance of 70%:
        set event-block to netherrack
flint summit
#

block-event not changing

loud kindle
#

try

#

and debug the chances

#

works

flint summit
loud kindle
#

still works fine

flint summit
#

after mining a few these all get stuck

loud kindle
#

ye

#

that is expected

#

look

#

to your skript

flint summit
loud kindle
#

the thing is synchro

#

so

#

its normal behaviour

flint summit
loud kindle
#

use

#

asynch

flint summit
#

how

loud kindle
#

skbee

flint summit
loud kindle
#

i mean the sk-refect

flint summit
#

reflect?

loud kindle
flint summit
loud kindle
flint summit
loud kindle
#

you may that

#

but dunno for me works synch too

flint summit
#

if you non stop break it they get stuck

loud kindle
flint summit
#

the bedrock gets stuck

#

and doesnt change

loud kindle
#

no

#

it's issue in your code

flint summit
#

how

#

fix it then

loud kindle
flint summit
#

if its such an issue

loud kindle
#

show me where you have put a default block?

flint summit
#

what

#

do you know english?

#

default block for what

loud kindle
#

wut?

#

you have only chances

#

of something

#

but nowhere is default block

#

when the chances aren't proceed

flint summit
zenith cosmos
#
on break:
    player is in world "world_nether":
        set event-block to bedrock
        wait 5 seconds
        chance of 2%:
            set event-block to ancient debris
            stop
        chance of 10%:
            set event-block to nether gold ore
            stop
        chance of 10%:
            set event-block to nether quartz ore
            stop
        chance of 8%:
            set event-block to magma block
            stop
        set event-block to netherrack
loud kindle
#

yes

#

^^

#

but why you type it for him"!?

zenith cosmos
#

because i got tired of reading their confusion

#

also i also had no clue what u were saying

loud kindle
#

but how he can learn it

flint summit
#

same lol

#

i would have learnt if i could understand what you were saying

#

now i understand

#

what i did was just put it before it sets it