Commit Graph

3377 Commits

Author SHA1 Message Date
Matthew Miller
efec53b186 Bump data to 1.16.1 with MCUtils 2020-06-25 18:20:46 +10:00
Matthew Miller
984e944815 Add 1.16 UUID tag to NO_COPY_ENTITY_NBT_FIELDS 2020-06-25 17:08:35 +10:00
wizjany
410d4c5eee Return correct world folders on Bukkit, used in /delchunks.
Fixes #1365.
2020-06-24 23:56:48 -04:00
Octavia Togami
6dbcbd4a85
Perform part of the move of //fast to //perf (#1377)
This re-adds a deprecated `//fast` and moves the current logic to
`//perf`. Later `//perf` will have its syntax reworked, when Piston
finally supports sub-commands properly!
2020-06-24 20:51:18 -07:00
wizjany
9e186225bd Update adapter jar. 2020-06-24 23:30:55 -04:00
Matthew Miller
7ce0354962 Added an initial 7.2.0 changelog 2020-06-24 20:52:31 +10:00
Matthew Miller
1ced57c301
fix: require extent for mask parsing (#1373) 2020-06-24 17:50:32 +10:00
Octavia Togami
6513513b3e
Mojang AB and the Column Biome Fuzzer (#1376)
* Allow API detection of the biome fuzzer in use

This allows us to warn, fix, or optimize biome edits to the overworld.

* Drop edits to Y = 0 for biomes in overworld

* Re-work ArbitraryBiomeShape to simplify logic

Also fixes not being able to use THE_VOID with it
2020-06-23 23:33:20 -07:00
Octavia Togami
3db43c88c0
Try to fix issue with extra server tasks
I don't think there's a cleaner way to pop these off.
2020-06-23 14:11:22 -07:00
Octavia Togami
df3937256e
Reduce number of tests executed
It's honestly too many for the CI to handle right now, and this should
provide sufficient coverage for now.
2020-06-23 12:03:09 -07:00
Octavia Togami
e93f20b6f4
Update Loom for ease-of-use
Includes a patch that allows `--refresh-dependencies` to reset the Loom
cache, rather than needing to delete everything with a hammer.
2020-06-23 11:57:02 -07:00
Octavia Togami
6412383636
Fabric 1.16 (#1362)
* [Fabric] Test port to 1.16-pre5

* [Fabric] Fix/improve regen implementation

* Cleanup properly in regen

* Cleanup unused interfaces/methods from porting

* Add licenses to new classes

* Allow packages from refactor in checkstyle

* Remove unused imports from WorldGenListener

* Remap the access widener in the dist jar

* [Fabric] Update to 1.16-pre6 (recursion limit)

Requires an update in the Bukkit Adapters later.

* [Fabric] Update to 1.16

May or may not build, depending on how cached everything is.
2020-06-23 11:55:49 -07:00
Octavia Togami
849a515d4a
Set ES6 compat flag for Rhino 2020-06-21 18:55:29 -07:00
Matthew Miller
f5e36ed8a8
Add 3D biomes support (Adds #1358) (#1361)
* Initial work on 3D biomes. Not implemented for Bukkit, and history is unfinished

* Further implement 3D Biomes. It's now usable on Forge/Fabric

* Fix a few cases of apply. Gotta fix the deprecated methods at some point

* Add Bukkit support

* Add clipboard support. Schematics are still not great, but the Sponge schem format doesn't support this yet.

* Fix the last of the issues

* Fixed up review comments

* Fixed review notes

* Simplify

* max is inclusive

* Standardize non-abstract compatibility handling

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
2020-06-22 09:25:49 +10:00
wizjany
57d62b0bf5
Count wandering traders as NPCs for /butcher. (#1359)
* Count wandering traders as NPCs for /butcher.

Fixes #1347.

* Change variable case.
2020-06-14 13:55:14 +10:00
Matthew Miller
495ac44f5c
feat(tool): added stack tool (#1338)
* feat(tool): added stack tool

* Implement review comments

* Don't register an alias for stacker

* Apply suggestions

* Fixed /stacker alias

* Indent

* Update worldedit-core/src/main/java/com/sk89q/worldedit/command/ToolCommands.java

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

* Update worldedit-core/src/main/java/com/sk89q/worldedit/command/ToolCommands.java

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

* Remove unused imports

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
2020-06-13 14:25:37 +10:00
Octavia Togami
2f4140349e
Register /tool with sub-command permission gen 2020-06-11 16:14:11 -07:00
Matthew Miller
5132c5e8a8 Bump text versions for 1.16 and action bar fixes 2020-06-08 19:53:45 +10:00
Matthew Miller
328030fd62
Use a long to refer to the volume of a region to prevent overflow (#1350)
* Use a long to refer to the volume of a region, and rename the method to getVolume

* Fixed issues noted in review

* Forgot to floor

* Fixed review notes

* Can use a long here rather than BigDecimal

* Improve javadocs

* style
2020-06-08 19:50:17 +10:00
Octavia Togami
1e2496af55 Fix vector gen, always enable BlockMap tests
The BlockMap tests got much faster, so there's no need to hide them
behind a flag.
2020-06-03 18:32:49 -07:00
Octavia Togami
68be2b3443 Add import to checkstyle 2020-06-03 18:23:56 -07:00
Octavia Togami
300aad3530 Add licenses for test files 2020-06-03 17:46:15 -07:00
Octavia Togami
e755acddc0
Don't mark Forge WorldEdit as required on client
Fixes #1343.
2020-06-03 15:03:22 -07:00
Octavia Togami
e0346ff53b
Test more of the math/collections, fix VectorPList
Fixes #1291
2020-06-03 14:52:01 -07:00
Octavia Togami
637da62e34
Implement remove on set/iter views of BlockMap
Fixes #1354.
2020-06-02 15:37:05 -07:00
i509VCB
ec23003942
Add fabric to the compiling.md (#1353) 2020-05-30 21:33:35 -07:00
wizjany
4ac6f1ed24
Add transform for vertical flip of stair half. (#1341) 2020-05-30 23:55:57 +10:00
Matthew Miller
68f2f73367 Don't fail when enabling standard mode for an extent without a world. 2020-05-30 23:04:54 +10:00
Octavia Togami
6b918e671e Fix Biome math on Forge and Fabric 2020-05-18 16:19:11 -07:00
Matthew Miller
a2c541bdac Handle non-country locales better. Fixes #1345 2020-05-14 23:48:20 +10:00
Matthew Miller
267fe1ffe0
feat(i18n): use a translation loader to allow CB/WG to use WorldEdit's TranslationManager (#1327)
* feat(i18n): use a translation loader to allow CB/WG to use WorldEdit's TranslationManager

* Replace the old ResourceLoader with the new one

* Make ResourceLoader per-platform

* Update worldedit-core/src/main/java/com/sk89q/worldedit/util/io/WorldEditResourceLoader.java

* Improve the impl to allow a default

* Update based on review suggestions

* Local resource should be pathName too

* Delegate to getRootResource, and prevent pathName from starting with /

* HTML

* Format javadoc a little better

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
2020-05-14 17:40:11 +10:00
NotMyFault
81b6276753
Fix whitespace (#1339) 2020-05-11 18:58:22 -07:00
Matthew Miller
7a8c512916 Fixed typo in default disallowed blocks on Bukkit 2020-05-11 20:57:42 +10:00
Luracasmus
2363440fb1
Change HTTP to HTTPS in License (#1335)
Change HTTP to HTTPS in LICENSE.
2020-05-06 21:55:49 +10:00
wizjany
da3fd6c9fa Fix RandomPatternParser suggestions.
"x%" was being dropped.

Closes #1302.
2020-05-04 11:47:02 -04:00
wizjany
e0814cfe3c Reinstate localized name lookup on BlockType. 2020-05-02 13:26:55 -04:00
Octavia Togami
ba91dff134
Update to use the new runtime rhino JAR 2020-04-24 18:49:11 -07:00
Octavia Togami
9a11c57846
Correct typo in region selector docs 2020-04-24 14:55:07 -07:00
chickeneer
53ac21aa87
Add compatibility handlers for beds and banners for MCEdit Schematics (#561)
* Add compatibility handlers for beds and banners

* IntTag#getValue does not return null so do not check that
2020-04-23 18:08:59 -07:00
Octavia Togami
a02458b757
Allow craftscripts to exit early + cleanly (#1308)
* Allow craftscripts to exit early + cleanly

* Add de-facto standard javadoc tags
2020-04-20 18:15:51 -07:00
wizjany
df3b37363f Move expression source string to the expression class. 2020-04-19 16:12:17 -04:00
wizjany
fa0618d9e3 Add makeShape Expression overload for consistency. 2020-04-19 16:12:17 -04:00
wizjany
cd9a45bd6b Pre-compile the expression used in the deform brush.
This lets the command fail early, rather than throwing wrapped runtime
exceptions on every brush usage.
2020-04-19 16:12:17 -04:00
Octavia Togami
3fdb10ad15
Delay command block active update if needed (#1285)
* Delay command block active update if needed

If we are checking if a command block session is active, and we are not
on the main thread, schedule a task instead to update the active status
eventually, rather than waiting on the main thread.

Fixes #1284.

* What's that? Non-static state, you say?

Just saw we have a field for the plugin here. Might as well use it.

* Check if chunk is loaded for sender before type
2020-04-19 13:08:44 -07:00
Octavia Togami
83438644dc
Make the null-result case visible to the user
Fixes #1303.
2020-04-18 13:04:03 -07:00
wizjany
d260185183 Don't suggest default namespaces.
This just ends adding a lot of `minecraft:` to otherwise short commands.
2020-04-16 09:51:29 -04:00
Octavia Togami
8c83fd6223
Limit direction names (#1293)
* Limit direction names

This reduces interference with block arguments, since none of these are
block names now.

* Drop other dir comments
2020-04-11 23:38:44 -07:00
Octavia Togami
dc56b602c0
Update Piston to fix bugs
Closes #1292 via Piston fixes.
2020-04-11 19:38:47 -07:00
Octavia Togami
068ac9b5d1
Fix fabric genSources task 2020-04-09 19:29:17 -07:00
Octavia Togami
d3a37995e8
Add default-pending label to issue templates 2020-04-07 14:41:24 -07:00