HyperScript 1.7.67
More for blocks, more ways to push, and a few other ways to say things.
Added
- A block with its details in a variable.
block data at <position>is the block that is there together with which way it faces, whether it is open, which half it is, and so on.set block at {_loc} to {_data}puts the same block back the same way round. What is inside a chest and what a sign says are not part of it.
set {_data} to block data at {_loc}
set block at {_loc} to air
wait 3 seconds
set block at {_loc} to {_data}
fill ... replacing <block>changes only the blocks of that kind:fill from {_a} to {_b} with air replacing stone.fill ... hollowsets only the outside of the box: walls, floor and roof.break blocks from <location> to <location>breaks every block of a box, 4,096 at most.over <duration>,without particlesandwithout dropswork as they do for one block; with more than 256 blocks the cracks and the crumbs are left out.- Cracks without breaking.
show cracks 7 on block at {_loc}makes a block look that broken, from 1 to 10, andclear cracks on block at {_loc}takes them away. The game lets cracks fade after about twenty seconds. Needs a Paper server, or Spigot 1.19.4 or newer. - Falling blocks.
drop block sand at {_loc}lets a block fall from there the way sand does;drop falling sand at {_loc}says the same. is liquid,is passableandis airfor a block, besideis solid:if block at {_loc} is liquid:.- More ways to push.
push player away from {_place}, the opposite oftowards, andpush player left/right. launch <who>is a push that goes upward unless it says otherwise, andwithout fall damagemakes the landing after it harmless:launch player upward at speed 2 without fall damage.pushtakes those words too.tell <who> <text>andmessage <who> <text>, other ways to saysend <text> to <who>.place <block> at <position>, another way to sayset block at <position> to <block>.
Changed
- A block's name with a slip in it, as in
set {_block} to Gold blok, is now said to be no block or item, with the name that was probably meant, instead of "Expected a value".