Skript Version: 2.6.2
Skript Author: GreenSkittles23/me
Minecraft Version: 1.18.2
Code:
on place:
wait 2.5 seconds
set event-block to air
set {loc_} to location of block 1.25 below event-block
spawn falling {_t} at {loc_}
I was wondering if there was a way to spawn falling blocks but the block id is a variable and not just a block. Just to mention, this was for a custom GUI shop I was making on one of my private testing servers. I also want to mention in the code below is where I define {_t} as a variable that is the name of a block,
here is that code:
set {_t} to "sandstone"
Skript Author: GreenSkittles23/me
Minecraft Version: 1.18.2
Code:
on place:
wait 2.5 seconds
set event-block to air
set {loc_} to location of block 1.25 below event-block
spawn falling {_t} at {loc_}
I was wondering if there was a way to spawn falling blocks but the block id is a variable and not just a block. Just to mention, this was for a custom GUI shop I was making on one of my private testing servers. I also want to mention in the code below is where I define {_t} as a variable that is the name of a block,
here is that code:
set {_t} to "sandstone"