WorldEdit API and Spirals/DNA samples

Discussion in 'Programming' started by RagnartLothbrok, Jan 15, 2020.

  1. Hi there,

    In a few posts last year, someone upgraded and some very old craftscripts from many years ago that made spirals using the WorldEdit API and JavaScript.

    Here is a link to the post:
    https://www.spigotmc.org/resources/spiral-and-dna-helix-generator.57418/

    I think the WorlEdit API may have shifted again, as these scripts refer to at least one function that no longer exists (an "add" function of the immutable Location class) . Has anyone updated these - for their love of Spirals? ;-)

    My coding is a bit rusty and I am just starting to look at WorldEdit API.

    Thanks for any help!