• Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

- Update dependencies
- Updates libraries
Added a syntax to loop the blocks of a schematic

Code:
[the] [:parallel] (worldedit|fawe) blocks of schematic[s] %strings% [using [clipboard] [format] %-clipboardformat/builtinclipboardformat%]


[the] [:parallel] (worldedit|fawe) blocks of schematic[s] %strings% (where|that match) [<.+>]
- Utilized the AsyncEffect so the section doesn't walk until the save/paste operation is done.
- Added chunk loading for collecting the entities, because in 1.20+ the new simulation distance results in WorldEdit not being able to copy the entities to the schematic unless the chunk is loaded. So FAWE will do that hard work for you.
- Added clipboard formats, so you can now define the clipboard format to use.
- Added parallel streaming for massive block loads. Will be faster but gets unordered.
- Added a blocks at location for setting selected locations
New syntax:
Code:
[:parallel] (worldedit|fawe) block[s] [at] %locations% (where|that match) \\[<.+>\\]

[:parallel] (worldedit|fawe) block[s] [at] %locations%
Recode of the addon to use full asynchronous setting and new FAWE API

Set and get blocks

Code:
(worldedit|fawe) blocks (within|from) %location% to %location% (where|that match) \\[<.+>\\]

(worldedit|fawe) blocks (within|from) %location% to %location%


# Examples

set fawe blocks from {test1} to {test2} where [block input is not air] to air

set fawe blocks from {test1} to {test2} to wheat[age=5]

loop fawe blocks within {test1} to {test2} where [block input is a diamond block or a grass block] to air


Saving and pasting schematics.
_Currently only supporting (.sponge) V3 schematics as it's the best schematic save currently, will probably support enum schematic types through the pattern in the future_


Code:
paste schematic %string% at %location% [air:exclud[ing|e] air] [entities:exclud[ing|e] entities]

(save|create) schematic %string% from [pos1] %location% [to] [pos2] %location% [with origin %-location%]
code_language.skript:
change biome of [the] [cuboid[[ ]region][s]] %cuboidregions% to [biome] %string%

New syntax to change the biome. The string input is WorldEdit's biome naming. Type //biomelist to view all string inputs.

Test script:
code_language.skript:
command /testing:
   trigger:
       set {_region} to cuboid from player to target block's location
       change biome of {_region} to "SKY"

Video demo:

There is a minor issue when transferring to biomes of different dimensions, it sometimes at weird places, makes the player invisible. Minecraft limitation.