Changes between Version 10 and Version 11 of Scripting/API
- Timestamp:
- Jun 22, 2025, 7:51:18 PM (10 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Scripting/API
v10 v11 16 16 Once 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! 17 17 18 == Interrupt/ abort Support ==18 == Interrupt/Abort Support == 19 19 20 20 If 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: … … 158 158 || `org.pepsoft.anvil.1.17` || Minecraft 1.17 || 159 159 || `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 || 161 162 162 163 == Creating a World from a Height Map ==