Commit Graph

3619 Commits

Author SHA1 Message Date
Matthew Miller
a1313a0edd
Allow stacking by block units with //stack (#1539)
* Allow stacking by block units with //stack

* Delegate out the old method

* Use CuboidRegion as the type of the new region

* Fixed up PR notes

* Add docs

* No indent

* Formatting

* Use the bounding box rather than limiting it

* Don't limit to cuboid

* Make the old one use the block unit method

* Update the selection movement too

* Fixed affected being missed

* Use an assertion erorr
2020-09-29 19:38:26 +10:00
wizjany
25957c4498 Check limit == -1 in the copy/cut code.
Fixes #1540.
2020-09-27 13:30:52 -04:00
Matthew Miller
fd8dbdd7b7
Use block change limit for //copy and //cut (#1536)
* Use block change limit for //copy

* Use a cuboid region for accuracy

* Add a bounding box method to Region and use that

* Update worldedit-core/src/main/java/com/sk89q/worldedit/regions/Region.java

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
2020-09-27 15:40:50 +10:00
Matthew Miller
a095b284c8 Update the CraftScript README and SUBMITTING files 2020-09-26 13:08:04 +10:00
Matthew Miller
eca310cf8f
Deprecate the non-Pattern methods in EditSession and fix a recursion loop (#1535) 2020-09-21 20:50:20 +10:00
Octavia Togami
204ef7a708 Fix variable argument functions in expressions
Fixes #1531
2020-09-19 19:18:39 -07:00
Octavia Togami
3094e7a6fc Store a set of offsets, not a list 2020-09-19 18:03:37 -07:00
Octavia Togami
534e7d3e40 Add a builder for OffsetsMask(2D) 2020-09-19 18:03:37 -07:00
Matthew Miller
46bcbe46bc Added an OffsetsMask, with a parser for an Exposed/Surface mask 2020-09-19 18:03:37 -07:00
Matthew Miller
d47f59e051 Removed redundant calculation in schematic commands 2020-09-19 19:43:39 +10:00
Matthew Miller
2056218b4a
Remove data versions from the Bukkit adapters (#1507)
* Remove data versions from the Bukkit adapters

* Don't allow saving schematics without an adapter in place on Bukkit.

* Removed confusing line
2020-09-19 18:00:43 +10:00
Matthew Miller
deb5e44064 Back to SNAPSHOT for continued development 2020-09-18 22:26:11 +10:00
Matthew Miller
20b3da4121 Release 7.2.0 Beta 5 2020-09-18 22:14:37 +10:00
Octavia Togami
e575ffef2c
Move connections to neighbors update 2020-09-17 19:20:53 -07:00
Matthew Miller
ea1a512259 Fixed broken javadoc in RegenOptions 2020-09-14 17:32:52 +10:00
wizjany
e0b8b4856d Fix //chunk text and clarify the y-index in the help text.
Closes #1447.
2020-09-13 21:24:40 -04:00
wizjany
beca3a707d Workaround for snapshot files with not-to-spec slashes. 2020-09-11 21:12:12 -04:00
Octavia Togami
8e53aa0891
[Fabric, Forge] Update build files for 1.16.3
No actual changes, beta 4 is functional, but this was to ensure it
compiled.
2020-09-10 16:15:48 -07:00
wizjany
1cba5c38f5 Update adapters for 1.16.3. 2020-09-10 18:28:33 -04:00
Octavia Togami
15467e9453
Add one to max point to match our regions better
Fixes #1522.
2020-09-07 11:11:05 -07:00
Octavia Togami
493bc2d1e1
Reject empty split array in block parser
Fixes #1521.
2020-09-07 11:09:26 -07:00
Octavia Togami
e15d7993ad
Improve requireTag exception messages
Closes #1519
2020-09-06 11:50:08 -07:00
Matthew Miller
65fbe09c35
Fixed undo/redo not working from console/commandblock (#1518) 2020-09-06 12:56:06 +10:00
Octavia Togami
0cb1eea55b Remove Y limits if a region has no world 2020-09-04 10:09:29 -07:00
Matthew Miller
84fa2bbbc6
Add a #air mask, the opposite of #existing (#1511) 2020-09-03 17:14:09 +10:00
Octavia Togami
3996998c5f Deprecate BlockQuirkExtent, handle lower down
Ice is no longer turning into water since before 1.7.10, so that part has been
removed entirely.
2020-08-28 20:57:10 -07:00
Matthew Miller
1a6fe32da6
Fixed non-Exception throwables being ignored in async tasks, and added a timed message (#1503)
* Fixed throwables being ignored and show a message while waiting for long running tasks

* Fixed checkstyle issue

* Use a better system that's more versatile

* Require a delay message for delayed repeating messages

* Few changes for PR review

* Changes based on feedback

* Fixed weird missed diffs

* Rename fields

* 😟😟😟😟

* 😠
2020-08-29 13:31:51 +10:00
Octavia Togami
7f82a7d666
Fix issue introduced by 4123eddff
lastValue may be null at this point, old is not
2020-08-28 18:10:08 -07:00
Matthew Miller
232ced85c0
Tick watchdog on get* calls (#1504) 2020-08-25 22:50:18 +10:00
Matthew Miller
61a5d7d648 Fixed undo/redo editsessions not retaining settings 2020-08-24 22:39:58 +10:00
Matthew Miller
c7885f2f17 Bump Adapters for neighbouring validations fix 2020-08-24 22:33:37 +10:00
Matthew Miller
4123eddff1 Few minor tweaks to WNA that don't modify behaviour but bring it more inline with how MC works 2020-08-24 22:15:46 +10:00
Matthew Miller
42eddd2d4e Back to SNAPSHOT for continued development 2020-08-22 19:59:09 +10:00
Matthew Miller
98f71a3540 Release 7.2.0 Beta 4 2020-08-22 19:27:48 +10:00
Octavia Togami
8205243ee8 Clean up code to format forms 2020-08-22 14:20:54 +10:00
Matthew Miller
254fe1296a Fixed review notes 2020-08-22 14:20:54 +10:00
Matthew Miller
49023a352c Use a multipart upload to improve size limits on pastebin uploads 2020-08-22 14:20:54 +10:00
Octavia Togami
5f868d58e2 Patch skull owner on 1.16+ 2020-08-21 14:00:37 -07:00
Matthew Miller
46c3fccae1 Updated MCUtils data for 1.16.2 2020-08-17 18:13:01 +10:00
Matthew Miller
a8bba3bacb Fixed CLI 2020-08-16 23:29:33 +10:00
Matthew Miller
8d33672b23
Added a brush for biomes (#1491)
* Added a brush for biomes

* IntelliJ reformat

* Move the warning

* Update worldedit-core/src/main/resources/lang/strings.json

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>

* Use BiomeFactory instead

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
2020-08-16 16:16:32 +10:00
wizjany
4a4c01cb18 Don't spew warnings/stacks when people symlink their schematics folder. 2020-08-15 09:50:34 -04:00
Octavia Togami
066771b2d1
Ensure CRLF stays out of the repo
Looks like I already failed that project a little :)
2020-08-15 03:46:24 -07:00
wizjany
365ca1c6ad Add -c to deform and make -o act like it does in //gen.
Should restore parity between the commands.
2020-08-14 13:59:48 -04:00
Octavia Togami
5cf6750f8c
[Forge] Update to 1.16.2
haha bad mapping system go func_318237_brrrrrrrr
2020-08-13 23:00:29 -07:00
wizjany
d2239ef7de Copy the class source validator from WG.
Warns when other plugins incorrectly shade WE or our libs.
2020-08-14 01:03:13 -04:00
wizjany
0f7936ca17 Update for Spigot 1.16.2. 2020-08-13 21:44:03 -07:00
Octavia Togami
3bf5d0cd1e Create schematics folder on startup 2020-08-13 21:42:20 -07:00
Octavia Togami
f2ce020da0 Officially propagate GPL downwards to all files 2020-08-13 21:06:39 -07:00
Matthew Miller
0a9fa869c9
Fixed an issue where upwards resolved schematics would break schem list (#1481)
* Fixed an issue where upwards resolved schematics would break schem list

* Missed diff

* PR changes

* Further fixes

* Improve sorting logic

* Pass in comparator rather than using sort type

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
2020-08-13 18:01:37 +10:00