Commit Graph

1388 Commits

Author SHA1 Message Date
bb05bd24d9 Implement more noise patterns 2020-08-15 13:17:44 +02:00
4041b2aa1d Updated Math package with upstream and formatted code 2020-08-14 20:49:59 -04:00
69e547688b Updated WNA package with upstream 2020-08-14 20:25:21 -04:00
dcdb42eadb Fix NPE on AbstractRegion#equals 2020-08-06 23:53:24 +02:00
3b7f7237b8 Improve debugpaste declaration 2020-08-01 23:30:48 +02:00
7704ec5cd4 Fix paste service interacting with EH's paste service
We need to differ here between our own and EH or we break pastes from WorldGuard or any other EH software.
2020-08-01 13:52:54 +02:00
99745b8e59 Fix piston breaking 2020-07-15 13:05:55 -04:00
3bc692ff11 Part 1 of upstream merge and format 2020-07-13 22:50:59 -04:00
204de7eab5 Add new annotations from upstream 2020-07-13 15:02:35 -04:00
1e80c0429a Merge remote-tracking branch 'origin/1.16' into 1.16 2020-07-13 13:09:55 -04:00
da96365504 Updating a few links 2020-07-13 13:13:43 +02:00
11e762f07a Add basic angle mask suggestions
Mask suggestions are a bit broken in general so this doesn't change much
2020-07-13 11:15:01 +02:00
7198c03cd3 Reimplement angle mask parsing 2020-07-13 02:25:30 +02:00
8e33ff9549 Make mask parsing actually working 2020-07-13 02:18:05 +02:00
4c299bc0b8 Replace setPosition with trySetPosition (#1403)
Allows cancellation information to be fed back into the ascend/descend
algorithms.

(cherry picked from commit 71e104bcb187a5313e88dda5df79059c8ffbc1fe)
2020-07-10 13:22:48 -04:00
6d6de61560 Updated missing biomes, entities, and categories. 2020-07-06 23:54:55 -04:00
39439fb405 fix: require extent for mask parsing (#1373)
(cherry picked from commit 1ced57c301bc1c98667a260fd8b6aa128675f0d2)
2020-07-06 23:47:33 -04:00
c0bfe06e4b Set ES6 compat flag for Rhino
(cherry picked from commit 849a515d4a5c02c083e5ab343db40d7eb05b2f51)
2020-07-06 23:45:28 -04:00
ed6f3e7b4a Implement simplex mask (fixes #437) 2020-07-05 11:19:48 +02:00
11373c865a Fix BlockCategoryMasks not working 2020-07-03 21:57:30 +02:00
77204df3f0 prevent players being teleported down a single block after some edits 2020-07-03 16:56:20 +01:00
e2ab87cc07 lazy //deform AIOOB fix.
Fixes #495
2020-07-03 16:45:28 +01:00
f7d375c76c Lazy heightmap range fix 2020-07-03 16:29:27 +01:00
9e25c736a0 Add new blocks to BlockTypes 2020-07-03 14:12:43 +01:00
2812841481 Add -p flag to //drain to allow kelp and watergrass to be removed.
properly fixed #464
2020-07-03 14:01:16 +01:00
ea7897934f Implement ability to use -w flag on //drain
fixes #464
2020-07-03 13:49:17 +01:00
fae528ab64 add a couple more changes++
Fixes #508
2020-07-03 13:18:09 +01:00
f1d4104480 Bunch of changes to help masks 2020-07-02 22:09:12 +01:00
0bb6bc3563 Start reimplementation of simplex pattern (#520)
* Start reimplementation of simplex pattern

* Fix suggestions

* Allow nested weighted patterns

* Add documentation and improve error handling

* Remove unnecessary code and obsolete TODOs
2020-07-01 13:01:39 +01:00
b59b95c282 Cherry-pick WNA, minor changes. 1.16 VERY WIP
First noticed incident of operations ruining ChunkSections. Do not build and use this unless you're testing.

Rushed some of the changes, gotta sleep. Would be nice to get a review of this one from @mattbdev and @dordsor21
2020-06-29 22:05:41 -04:00
82adab77b4 Additional work towards 1.16 compatibility
- Very basic implementation of the SideEffects system. Will definitely need fine tuning for it to be functional, but is not considered a priority in my opinion.
- Minor changes to the World interface and World implementations related to the SideEffects system. Shouldn't be the cause of any new bugs but be on the lookout.
- Included debug in BukkitImplLoader.java to assist contributors in understanding what needs to be implemented for the adapter to load properly.

Still very WIP but we're a few steps closer. So far, this is coming along better than I anticipated. Hopefully we can keep the momentum.
2020-06-26 22:14:19 -04:00
437d5a2a43 Minor image brush changes 2020-06-17 22:34:55 -04:00
238c56a3c6 Revert "Revert matt's changes"
This reverts commit bfcc6184ad.
2020-06-13 14:41:36 -04:00
bfcc6184ad Revert matt's changes
Let's not break Fawe, thanks
2020-06-13 18:48:57 +02:00
1eacb91267 Make extent public (unsafe) 2020-06-12 21:45:49 -04:00
8a5899459f Use Integer.compare() instead of if statements. 2020-06-12 21:45:49 -04:00
9ce4a415cb Fix errors while using the broken commands 2020-06-12 21:45:49 -04:00
35c2a74c52 Implement more masks 2020-06-12 21:45:49 -04:00
33adba4a6f 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

(cherry picked from commit 328030fd6281e58a4ea1d0cdd0a2e274da90afbe)
2020-06-12 21:45:49 -04:00
a23b182de5 Fix vector gen, always enable BlockMap tests
The BlockMap tests got much faster, so there's no need to hide them
behind a flag.

(cherry picked from commit 1e2496af552891e3b43c5703bda8dc4129bbcc5d)
2020-06-12 21:45:49 -04:00
518f52ea6e Test more of the math/collections, fix VectorPList
Fixes #1291

(cherry picked from commit e0346ff53b8629a368cdbf62cbd347caecfae5fd)
2020-06-12 21:45:49 -04:00
63b81b801b Implement remove on set/iter views of BlockMap
Fixes #1354.

(cherry picked from commit 637da62e34e676015aa7fbad490cf6f033e55b89)
2020-06-12 21:45:48 -04:00
3caf53987f Minor upstream changes 2020-06-12 21:45:48 -04:00
5602b33b78 Fix a few links 2020-05-30 09:17:21 +02:00
bdc14c10c7 Fix relight and removelight (#475)
* Start work on lighting engine (does not build)

* Implement getLighting

* Setting, flushing light etc works. Getting light should be working..?

* Better queue/chunk handling

* Use correct location for lighting update

* Correct set location, remove debug

* cleanup a little

* Fix fixlight

* Apply to all versions for the numpties

* Remove lighting extent if not using

* Actually bitmask blocks when setting in chunks

* Initialise Maps and Dequeues with inital size

* format

* Documentation maybe
2020-05-27 11:45:08 +01:00
1ff5e7761b Comment out not working and add TODO 2020-05-27 11:39:23 +01:00
255c20f4ad Fix recursivePickaxe 2020-05-27 11:39:23 +01:00
2de45458d4 Compare using BlockType, not Block for AreaPickaxe, fixes #436 2020-05-25 14:36:58 +01:00
35c4de3484 Fixes #427 2020-05-20 11:41:36 +02:00
fb06c3bf39 Update SuperPickaxeCommands.java 2020-05-19 13:29:37 +01:00