Changes between Version 10 and Version 11 of Scripting/API


Ignore:
Timestamp:
Jun 22, 2025, 7:51:18 PM (10 days ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Scripting/API

    v10 v11  
    1616Once again: every operation ends with a call to `.go()`, which will actually perform the operation and return the result, if any. Don't forget it, or nothing will happen!
    1717
    18 == Interrupt/abort Support ==
     18== Interrupt/Abort Support ==
    1919
    2020If your script does any iteration, it should support being interrupted by the user, in case it takes too long or enters an infinite loop. !WorldPainter cannot kill your script in such a case, so you need to support interruption explicitly, by using one of the following two methods:
     
    158158|| `org.pepsoft.anvil.1.17` || Minecraft 1.17 ||
    159159|| `org.pepsoft.anvil.1.18` || Minecraft 1.18 ||
    160 || `org.pepsoft.anvil.1.19` || Minecraft 1.19 or later ||
     160|| `org.pepsoft.anvil.1.19` || Minecraft 1.19 - 1.20.4 ||
     161|| `org.pepsoft.anvil.1.20.5` || Minecraft 1.20.5 or later ||
    161162
    162163== Creating a World from a Height Map ==