dordsor21
13cfd638d6
Fix incorrtect field references
2020-09-29 10:11:29 +01:00
Aurora
48cd763d3b
fix performance issues in BukkitPlayer permission ( #665 )
...
* fix performance issues in BukkitPlayer permission stuff
* Put PermissionAttachmentManager in seperate file
Co-authored-by: @weaondara
2020-09-28 19:11:28 +02:00
dordsor21
82bcc0e9a5
Allow "post processing" of chunks ( #658 )
...
* begin allowing "post processing" of chunks
- restores legacy capability to continue saving edits in the background after sending the chunks
- speeds up the edit clientside
- nail in the coffin of the terrible and staticly coded coreedit
- We should totally make IronGolem work so Core* is no longer used by anyone
* begin allowing background history saving
* Handle post processors in queues properly
* Use futures for postprocessing so we're not waiting for them needlessly
* better use of closed boolean
* Reword
2020-09-28 11:13:02 +01:00
Aurora
3b2fe2ffde
Fix toggle permission ( #644 )
...
* Fixes #529
* fix superperms perm toggling
Co-authored-by: @weaondara <wea_ondara@alpenblock.net>
2020-09-21 17:07:35 +02:00
dordsor21
218f570cb1
Fix LimitExtent and processing of Plot regions
...
Fixes #627
Fixes #609
2020-09-18 17:40:55 +01:00
dordsor21
8e8bd810b5
Relight after completing P2 operations
...
teporarily fix #629
2020-09-18 12:38:17 +01:00
Matt
2e73746abe
Remove Kotlin ( #625 )
...
Shrinks the jar size since we no longer must bundle the Kotlin library. The downside is that some classes grew in size compared to their Kotlin versions.
Many contributors didn't care for Kotlin either.
2020-09-17 16:31:55 -04:00
N0tMyFaultOG
c7369e2cc0
Update plugin.yml
2020-09-16 16:12:20 +02:00
N0tMyFaultOG
371460a1ce
Relocate metrics
2020-09-16 16:10:00 +02:00
N0tMyFaultOG
241e85e491
Strip 1.14
2020-09-16 16:01:49 +02:00
IronApollo
a49ce02bd0
Delete DummyFawe on startup
2020-09-15 19:18:16 -04:00
IronApollo
cd5691b819
Fix styling
2020-09-15 19:07:52 -04:00
IronApollo
64a71600f9
Add DummyFawe detector
2020-09-14 22:10:37 -04:00
IronApollo
d741a8a905
Delete DummyFawe.src
2020-09-14 21:30:27 -04:00
IronApollo
4af36217b1
Merge branch '1.16' into vault-fix
2020-09-14 21:19:52 -04:00
IronApollo
9431f7c189
Fix Vault integration + remove DummyFAWE
2020-09-14 21:18:06 -04:00
dordsor21
3d2052b0c8
Better skylight handling and fix opacity on materials
2020-09-14 18:33:35 +01:00
dordsor21
d6c9a887ac
Fixlighting now also calculates heightmaps
...
Fixes #386 and #438 seems fixed, but that might be something else that fixed?
2020-09-14 14:19:23 +01:00
Matt
d00899e177
More support for 3D biomes ( #608 )
...
* More support for 3D biomes
* Resolved merge conflicts
2020-09-12 15:31:42 +02:00
dordsor21
a8f53d6414
Use correct trustEdges value
2020-09-11 17:24:02 +01:00
N0tMyFaultOG
7baaed946e
1.16.3
2020-09-11 01:11:56 +02:00
NotMyFault
eac0a7456a
Fix Fawe not loading
2020-09-08 22:45:34 +02:00
MattBDev
2fcf4bdf7e
Updated Gradle
2020-09-08 15:34:53 -04:00
wea_ondara
fec938dac2
just send PacketPlayOutChunkMap for chunk updates
2020-09-06 16:50:22 +02:00
N0tMyFaultOG
ec141ecb46
Merge branch '1.16' into update-adapters
2020-09-02 17:41:08 +02:00
N0tMyFaultOG
aa125b29d4
Update worldedit-adapters.jar
2020-09-02 17:31:27 +02:00
Octavia Togami
f7e1f70e19
Replace BlockStates reading with new 1.16 logic ( #1413 )
...
* Replace BlockStates reading with new 1.16 logic
* Account for running on older platforms
Splits out the new reading to AnvilChunk16, uses data version to detect
the appropriate version.
* Move data versions to Constants
Also fixes some logic hiccups that become obvious with the new names.
* Fix LegacyMapper DFU handling
* Fix factor indexing
(cherry picked from commit 8c171f0929e8530aab1731d122649adc58c5161f)
2020-09-02 11:25:50 -04:00
Aurora
dd85fc254f
actually do the file path stuff how it's supposed to work
2020-08-30 11:45:37 +02:00
NotMyFault
aa93f192c6
Merge pull request #587 from aurorasmiles/fixnms
...
improve performance of chunk updates for 1.16.2
2020-08-26 21:05:38 +02:00
wea_ondara
9515f3abfc
fix for spigot boooooooooooooooooooooooooooooooooooooooooooo
2020-08-26 20:46:48 +02:00
wea_ondara
b117c35580
improve performance of chunk updates for 1.16.2
2020-08-26 20:15:23 +02:00
NotMyFault
32ee30d593
Merge pull request #585 from aurorasmiles/fixnms
...
Fixes NMS on 1.16.2
2020-08-26 16:24:37 +02:00
Aurora
f969403b54
Fix NMS for Chunk Updates on 1.16.2
2020-08-26 16:05:22 +02:00
Aurora
add1d96313
Update WorldEditPlugin.java
2020-08-25 21:36:19 +02:00
Aurora
041029168f
Fix NMS in 1.16.2. Still not working properly.
2020-08-25 20:43:07 +02:00
Aurora
38007ed1d5
reimplement 1.16.1 support
2020-08-25 17:09:31 +02:00
N0tMyFaultOG
e1f53934fa
Fix nms
2020-08-25 15:19:33 +02:00
libraryaddict
87fe1a2a21
Fix builds for paper 1.16.2
2020-08-26 00:23:01 +12:00
MattBDev
48d9044366
Fix ItemTypes
2020-08-24 23:01:45 -04:00
MattBDev
02886b0387
Updated the WorldEdit license using find and replace
2020-08-24 21:31:47 -04:00
MattBDev
ce078aad70
Updated many exception classes
2020-08-24 21:29:34 -04:00
MattBDev
75a18b9d5b
Update BukkitImplLoader
2020-08-24 21:20:18 -04:00
MattBDev
fd8cf1ebba
Merge branch '1.16' of https://github.com/IntellectualSites/FastAsyncWorldEdit into 1.16
2020-08-24 21:17:53 -04:00
N0tMyFaultOG
91c7390734
Fix paperlib
2020-08-24 19:53:51 +02:00
MattBDev
525da53462
Update WorldEditPlugin
2020-08-24 12:54:22 -04:00
MattBDev
fd336feb46
Upstream merge of TranslationManager and ResourceLoader
2020-08-24 12:38:30 -04:00
Aurora
07c5e65166
fix critical error
2020-08-23 18:31:33 +02:00
Aurora
7cf88aff65
fix 1.16.2 support
2020-08-23 18:28:51 +02:00
N0tMyFaultOG
6cb8352686
1.16.2
...
- My IJ is broke but this should work. Dunno if I got all nms changes, but we will see.
2020-08-23 17:18:29 +02:00
NotMyFault
1e070b3a71
Merge pull request #518 from aurorasmiles/fixEntities
...
start reimplementing entities
2020-08-21 18:27:25 +02:00
aurorasmiles
7f0fd182bb
Add comment regarding createentitiy
2020-08-19 11:06:04 +02:00
MattBDev
49f1658f0b
Merge remote-tracking branch 'origin/1.16' into 1.16
2020-08-18 15:50:00 -04:00
MattBDev
79b5612311
Upstream merge of the region package and things that may have broken with it.
2020-08-18 15:48:31 -04:00
Aurora
3aa041aa7e
Merge remote-tracking branch 'upstream/1.16' into fixEntities
2020-08-16 17:01:45 +02:00
Aurora
313701a836
setup vault after loading
2020-08-15 15:34:40 +01:00
MattBDev
0a07599abf
Update build files and NOTICE.txt
2020-08-14 15:29:15 -04:00
N0tMyFaultOG
bbff5c60b2
Fix metrics
2020-08-14 15:04:06 -04:00
N0tMyFaultOG
cfb1510503
Fix compile
2020-08-14 14:41:49 -04:00
NotMyFault
2562010589
Update dead repo
2020-08-14 14:41:48 -04:00
wea_ondara
ae23794b43
fix //cut -e
2020-07-29 22:43:52 +02:00
Aurora
b411ea9af4
Merge branch '1.16' of https://github.com/IntellectualSites/FastAsyncWorldEdit into fixEntities
2020-07-26 19:03:46 +02:00
wea_ondara
50971ee311
fix entity undo
2020-07-26 15:52:51 +02:00
dordsor21
72269e08e6
Force sync teleports with trySetPosition
...
Fixes #542
2020-07-24 20:29:08 +01:00
dordsor21
d3ff4131a3
Fix incorrect light array reference.
...
Possibly fixes #531 and #535
2020-07-24 20:21:05 +01:00
dordsor21
28837c7106
Fix P2 clear area
2020-07-24 11:42:33 +01:00
MattBDev
3bc692ff11
Part 1 of upstream merge and format
2020-07-13 22:50:59 -04:00
MattBDev
1e80c0429a
Merge remote-tracking branch 'origin/1.16' into 1.16
2020-07-13 13:09:55 -04:00
MattBDev
2a493ac9c6
Update trySetPosition
2020-07-13 13:09:03 -04:00
dordsor21
eb9ed098bb
use z not x
2020-07-11 12:41:33 +01:00
dordsor21
ef58cf567b
Clean up P2 v5 hook a little.
...
Should be a good step at removing any OOBs and incorrect-height-sets
2020-07-11 12:39:27 +01:00
Octavia Togami
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
dordsor21
33b2b634ac
Allow specific P2 queue hooks to be disabled
2020-07-09 22:14:24 +01:00
dordsor21
d92cded832
add biomes, and do it all at once using a clipboard. Crude, but eh
2020-07-04 12:45:00 +01:00
Aurora
bc45a112ee
Merge branch '1.16' of https://github.com/IntellectualSites/FastAsyncWorldEdit into fixEntities
2020-07-03 19:54:08 +02:00
Aurora
94b1233d98
implement entities in paste -e
2020-07-03 19:52:55 +02:00
dordsor21
63bc151f6c
Hopefully allow for unloaded world to be referenced after GC.
...
Possibly fixes #504
2020-07-03 13:27:26 +01:00
dordsor21
f1d4104480
Bunch of changes to help masks
2020-07-02 22:09:12 +01:00
dordsor21
18c9da372c
GetBlocks should default to air not reserved
2020-07-02 18:16:15 +01:00
dordsor21
b58877a57b
Use BlockType not BlockState
2020-07-02 14:51:09 +01:00
dordsor21
d3afc9c65d
Update to p2 5.12.2 and implement clear pipeline
2020-07-02 14:34:05 +01:00
dordsor21
ce406e404b
We shouldn't be setting REGENERATIVE_CLEAR to false
2020-07-01 19:46:43 +01:00
Aurora
34298f7dee
Add back the getEntity Stuff since it seems to work fine
2020-07-01 19:28:38 +02:00
dordsor21
3e40f82d9a
fix error on loading for some versions
2020-07-01 15:05:38 +01:00
N0tMyFaultOG
fdbef4e12c
Update DummyFawe.src
2020-07-01 14:22:04 +02:00
dordsor21
6be429cc96
Lighting:
...
- bring fixes to 1.16
- Fix for all lighting where it only set sky lighting if not present, even if it was trying to set block lighting (unlikely to have caused issues as block lighting seems always to be present, but wrong nonetheless)
2020-07-01 12:55:58 +01:00
dordsor21
3b19738ea0
Merge branch '1.15' into 1.16
...
# Conflicts:
# worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/adapter/mc1_16_1/BukkitGetBlocks_1_16_1.java
# worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/wrapper/AsyncWorld.java
# worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/wrapper/state/AsyncDataContainer.java
2020-07-01 12:47:04 +01:00
dordsor21
3f3c49c0a8
Looks like working block setting and removal
2020-07-01 12:41:20 +01:00
dordsor21
4ca19acb48
implement 1.16 methods
2020-06-30 13:51:27 +01:00
dordsor21
f84958957c
Fix various lighting issues
...
fixes #496
possibly fixes #497
2020-06-30 13:44:26 +01:00
Octavia Togami
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
Matthew Miller
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
IronApollo
f2bc8d86fc
Work towards 1.16 compatibility
...
This commit will allow the branch to build properly but the plugin will not function properly due to the lack of a proper adapter implementation. Proceeding will require the implementation of the SideEffects system from upstream (865c3a24d2 (diff-8fd33296e427c87d0296ad7f3ccc050a)
).
2020-06-26 19:08:45 -04:00
MattBDev
aab10adb79
Fixed all but one remaining API changes in 1.16.1
...
No testing has been performed yet.
2020-06-25 20:57:06 -04:00
MattBDev
b7debce4d4
1.16.1 Prep work
2020-06-25 20:29:09 -04:00
wizjany
6d056847c1
Update adapter jar.
...
(cherry picked from commit 9e186225bd25f4805d09081f8b8ca717f61a73a4)
2020-06-25 15:41:49 -04:00
NotMyFault
ef704e23ad
Add a few disallowed blocks as example...
...
since people fail to use the proper syntax
2020-06-18 10:51:53 +02:00
IronApollo
238c56a3c6
Revert "Revert matt's changes"
...
This reverts commit bfcc6184ad
.
2020-06-13 14:41:36 -04:00
N0tMyFaultOG
bfcc6184ad
Revert matt's changes
...
Let's not break Fawe, thanks
2020-06-13 18:48:57 +02:00
MattBDev
7cc1994e20
Use StandardCharsets
2020-06-12 21:45:49 -04:00
Matthew Miller
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
MattBDev
9f6e0ebd5c
Minor changes to NMS logic
2020-06-12 21:45:48 -04:00
aurorasmiles
6965fe2b90
Update PlotSquaredFeature.java
2020-05-30 10:46:05 +02:00
Aurora
5602b33b78
Fix a few links
2020-05-30 09:17:21 +02:00
dordsor21
75153d8da8
Fix getLightOpacity
2020-05-27 17:25:03 +01:00
dordsor21
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
Aurora
1f898cd0d1
Negate "hasCollision" for isTranslucent() also for 1.15.0 and 1.14
2020-05-25 19:00:16 +01:00
Aurora
d9240c5626
Negate "hasCollision" for isTranslucent()
2020-05-25 19:00:16 +01:00
dordsor21
4e4b812fdd
dum
2020-05-20 09:47:57 +01:00
dordsor21
9085365165
Override P2's /plot set
2020-05-20 09:44:59 +01:00
dordsor21
a6514f8a78
Ultimately the Striped locks will have no affect, even if kinda cool.
2020-05-20 07:58:14 +01:00
dordsor21
fd3604beba
replace synchronisation with Striped access semaphore locks
2020-05-18 16:52:33 +01:00
dordsor21
31cc5e0b60
Synchronise on the nmsWorld so we're not attempting to load two chunks at the same time.
...
Possibly fixes #471
2020-05-18 16:04:10 +01:00
dordsor21
5be11c541b
Put the synchronisation higher up the food chain
2020-05-14 22:32:32 +01:00
dordsor21
3a7c23be45
Fix #443
...
Temp as it's performance-degrading, but works well enough for now
2020-05-14 22:10:09 +01:00
dordsor21
35169230ad
Sort of fix biome getting
...
It seems to want to put random blocks where the biome isn't
2020-05-14 16:27:24 +01:00
dordsor21
bdc129cf7b
Update to latest p2 v5
...
(implement FAWE biome setting)
2020-05-14 16:20:17 +01:00
dordsor21
5225099ec0
Fix biome setting in 1.15
2020-05-14 16:17:29 +01:00
dordsor21
be58cd42ac
Add option to disable ticking existing blocks when not fastmode
2020-05-11 16:09:31 +01:00
dordsor21
36faf107e6
Allow fastmode to be used in a lot more places
...
- Option to stop fastmode from bothering to fix existing ticking blocks
2020-05-11 15:36:52 +01:00
MattBDev
a813cbfcdf
Update world interface
2020-05-10 20:57:24 -04:00
dordsor21
0dee452e1a
Don't attempt to set field on null ChunkSection
2020-05-09 17:42:40 +01:00
dordsor21
56175ffe0f
Revert this so it compiles on the ci for now.
2020-05-09 16:30:28 +01:00
dordsor21
b1f1c0f4f0
Possible fix for #331
...
- Should ensure the server doesn't tick the chunksection while we're editing it
- Basically using the old issue with FAWE breaking block ticking by setting this to zero :)
2020-05-09 16:23:38 +01:00
dordsor21
8f60544aad
Override some methods in AsyncWorld
2020-05-09 15:11:40 +01:00
dordsor21
56c720914e
Settings.IMP is terrible. Don't initialise it thousands of times.
2020-05-08 18:17:47 +01:00
dordsor21
c757b01803
By default only allow existing blocks to tick.
...
- Revert back to default FAWE behaviour where placed blocks do not tick by default (until a restart, or another edit is done in the same chunksection without changing the block)
2020-05-08 16:16:08 +01:00
dordsor21
56972ee40b
Trim performance ( #451 )
...
* Increase performance slightly when trimming.
If the chunk section is all one blocks (common in plotworlds) it'll be a nice little boost.
* Cache whether blocks are ticking or not. Greatly reduces the time required to create a palette
* collapse 5 lines to 2.
* Also apply to 14 and 15 for the numpties
* Cleanup
Actually ignore the exception - remove my debug print.
Remove double semi-colon
* Apparently 1.14/15 matter too still.
2020-05-07 23:00:13 +01:00
IronApollo
65afa79c17
Remove WorldguardFlag.java
...
The main functionality of WorldguardFlag.java was ported to Worldguard.java. This *shouldn't* break functionality of either the Worldguard or WorldguardFlag features, but users should be cautious and provide prompt feedback if any unintended changes are found.
2020-05-03 19:45:04 -04:00
dordsor21
0ca81e9d67
Fix FAWE killing chunk ticks. Also allow ticking for set blocks. ( #439 )
...
* Fix FAWE killing chunk ticks. Also allow ticking for set blocks.
* Reduce for-loop to being one loop in createPalette
* set the value in the set array and break so we don't continue onwards in the set's ordinal switch statement
2020-05-03 17:50:09 +01:00
MattBDev
5fb18259d5
Merge remote-tracking branch 'origin/1.15' into 1.15
2020-04-30 16:27:08 -04:00
MattBDev
ef3642d521
Small spring cleaning
...
I changed really small bits and pieces of code. If you have questions just comment and I'll answer them.
2020-04-30 16:26:52 -04:00
dordsor21
9869cf09c6
Apply fda7d00747
to other versions so numpties that use old versions for no reason stop complaining too
2020-04-30 15:14:59 +01:00
Pierre Grimaud
f9a40599fb
Fix typos
2020-04-29 19:36:34 +02:00
dordsor21
fda7d00747
A more verbose fix to #329 and similar issues.
...
- Re-read chunksections the first time they're "loaded" for an operation
- Reset the chunksection if there are block changes when setting blocks via reflection
- These are maybe gonna affect performance a bit? Idk. Seems to be alright for me
- These are maybe gonna make more issues? Yeah maybe, but I couldn't find any
2020-04-29 18:17:21 +01:00
MattBDev
600a1a5daa
Implement previously unsupported methods in DelegateLock
2020-04-29 11:29:02 -04:00
MattBDev
3265a9e794
Remove unused regenerate method
2020-04-28 11:16:51 -04:00
MattBDev
491be025cc
Minor changes to urls and todo's
2020-04-27 17:35:04 -04:00
Josh Knight
915fa5f00c
Merge pull request #416 from Sauilitired/tile-entity
...
Properly remove tile entities in BukkitGetBlocks_1_15_2
2020-04-22 14:57:49 -04:00
dordsor21
8bde932354
Add p2 v4 compat.
...
Anyone that hasn't built FAWE before won't be able to build it again as the v4 repo doesn't exist - it relies on local gradle cache.
2020-04-22 08:10:17 +01:00
Alexander Söderberg
c478dbd249
Backport changes
2020-04-21 23:58:14 +02:00
Alexander Söderberg
8a19c4c38c
Don't mark the chunk as dirty.
2020-04-21 15:40:53 +02:00
Alexander Söderberg
2c85ff1673
Properly remove tile entities in BukkitGetBlocks_1_15_2
2020-04-21 15:23:23 +02:00
dordsor21
952aaf8b43
Fix p2 compatibility and replace empcraft.com/maven2
2020-04-21 11:39:42 +01:00
Octavia Togami
ff47e6f717
Cherry-pick to fix EntryMaker issue
2020-04-16 20:26:55 -04:00
MattBDev
8d1efcfb21
Update Bukkit Interfaces to allow for compilation
2020-04-10 13:25:56 -04:00
IronApollo
16df4abd18
Reflection field name changes
...
Old ones were outdated. Brush visualization is still WIP and can result in client being kicked from the server for bad packets.
2020-04-01 00:20:25 -04:00
MattBDev
6e1cb4cfbc
Remove more useless messages
2020-03-31 19:39:37 -04:00
dordsor21
a6a4400317
Port fixed for #389 from 1.15.2 adapter to other adapters.
2020-03-31 10:26:23 +01:00
dordsor21
318e367cf0
Correctly unregister player on quit and close clipboard if using disk.
2020-03-30 17:41:41 +01:00
Marco
342da647d7
Fixing that the PlayerDropItemEvent was not fired
2020-03-29 11:53:31 +02:00
dordsor21
8ffdd8a9e9
Better reading of schematic biomes.
...
Use biomes in the P2 schematic handler and save as a .schem not .schematic (when it's enabled again)
2020-03-28 10:44:51 +00:00
MattBDev
8d61f84466
Stop messing with the PlotSquared queue system
...
Stops synchronized chunk loading on PlotSquared and our queue didn't really do anything better than what PlotSquared did.
2020-03-27 12:28:09 -04:00
IronApollo
46d24fff0f
Update AsyncWorld.java
2020-03-26 17:11:07 -04:00
IronApollo
fa738504a8
Fix some important chunk issues
...
This commit should properly synchronize the initialization of the adapter's ibdToStateOrdinal (the char array FAWE uses to convert NMS IBlockData objects to an internal ordinal for chunk operations) so references to this array do not push incorrect characters down the line.
Potentially fixes #373
Fixes #363
Fixes #332
2020-03-26 16:08:36 -04:00
MattBDev
e648b35b95
Small code quality changes
2020-03-24 12:32:36 -04:00
Octavia Togami
692caeea8a
Read WE version from manifest ourselves
...
(cherry picked from commit 947775b5e54aa9dd89d68ee0b382939796301902)
2020-03-23 19:31:56 -04:00
Octavia Togami
989680d159
Only add adapters to dist jar
...
(cherry picked from commit 20d630ce5b217799811779d7581d5878ddc83a6d)
2020-03-23 16:27:03 -04:00
MattBDev
89ee1cb21a
Merge remote-tracking branch 'origin/1.15' into 1.15
2020-03-22 14:10:13 -04:00
MattBDev
7ef02dfbde
Lighting in AyncBlock is set to 15 (at least for now)
2020-03-22 14:05:51 -04:00
Matt
8f2c3df61b
Merge pull request #359 from tsao-chi-fork/patch-1
...
use JavaPlugin.getResource() instead of JarFile.getEntry()
2020-03-21 17:32:14 -04:00
MattBDev
45ac55185f
Merge remote-tracking branch 'origin/1.15' into 1.15
2020-03-20 21:19:37 -04:00
MattBDev
a49a09a042
Added clarification for debugging message because of people thinking it is an error.
2020-03-20 20:04:31 -04:00
thislooksfun
a22bcb1c2a
Fix tab completion
2020-03-19 17:23:11 -05:00
MattBDev
9f07894f28
Performance improvement based on case study by @me4502
2020-03-19 13:08:25 -04:00
MattBDev
8a70f97445
Mask and Pattern modifications
2020-03-17 23:05:52 -04:00
MattBDev
1df5853f33
Remove unnecessary reflection
2020-03-17 22:27:41 -04:00
ㄗㄠˋ ㄑㄧˊ
dcee873b57
fix typo
2020-03-11 13:35:37 +08:00
ㄗㄠˋ ㄑㄧˊ
39e1026400
use try-with-resources
2020-03-11 13:34:11 +08:00
MattBDev
f63782f2f4
Fix Metrics
2020-03-10 17:31:36 -04:00
MattBDev
325d90fe39
Add stubs for new Bukkit API
2020-03-10 17:29:37 -04:00
MattBDev
14d2c9a5c3
Update BlockStateIdAccess and added a debug message
2020-03-10 17:22:53 -04:00
ㄗㄠˋ ㄑㄧˊ
bd692917e6
remove unnecessary import
2020-03-10 12:36:16 +08:00
ㄗㄠˋ ㄑㄧˊ
fbb1078569
use JavaPlugin.getResource() instead of JarFile.getEntry()
2020-03-09 13:14:16 +08:00
MattBDev
35538e7d61
Update Metrics.java
2020-03-05 19:01:06 -05:00
MattBDev
e32e17b15c
Fixed an NullPointerException with PlotSquared
2020-03-05 18:05:33 -05:00
MattBDev
915ab43f6e
Cleanup unused code.
2020-03-05 16:07:20 -05:00
Octavia Togami
f18cb1a0e1
Update gradle
2020-03-02 19:40:36 -05:00
IronApollo
d2bcc6dd35
Fix #346 , minor hook changes
...
- Removed deprecated FaweMaskManager#getMask(Player)
- Removed deprecated constructor FaweMask(BlockVector3, BlockVector3)
2020-02-26 10:17:11 -05:00
MattBDev
0918396ab6
Update bukkit gradle
2020-02-25 23:21:01 -05:00
MattBDev
c52db75976
Delete unused file
2020-02-25 18:26:04 -05:00
MattBDev
f3d19cf87d
Merge branch '1.15' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into 1.15
2020-02-23 12:49:41 -05:00
MattBDev
bfcf24b27b
Small quality of code changes
2020-02-23 12:48:22 -05:00
Spottedleaf
7388d3310f
Merge branch '1.15' of https://github.com/IntellectualSites/FastAsyncWorldEdit into workaround-visiblechunks
2020-02-22 20:11:28 -08:00
Spottedleaf
f6675160f1
Also target 1.15 & 1.14 adapters
2020-02-22 20:11:23 -08:00
IronApollo
14ac3205ce
Check for PlotSquared before initializing the feature class
...
Some users are experiencing issues during startup with FAWE not finding PlotSquared resulting in errors.
2020-02-22 21:02:12 -05:00
Spottedleaf
0d18b15393
Workaround for replacing PlayerChunkMap#visibleChunks field
...
I run a fork of paper which replaces the visibleChunks and updatingChunks
field for gc performance reasons - visibleChunks is updated via
cloning updatingChunks, and at high chunk counts this causes gc issues
due to the humongous allocation. Unfortunately the only solution is to
not clone the map - which is why the field is removed.
Instead of BukkitAdapter#getPlayerChunk using the visibleChunks field,
it now uses a MethodHandle for PlayerChunkMap#getVisibleChunk. This method is
present on spigot & paper (only protected on spigot - which is why reflection is required),
and I preserve the same thread-safety it provides in my fork - so this solution
will not break compatibility with craftbukkit, spigot, and paper.
2020-02-22 07:07:40 -08:00
MattBDev
62cb04b8ca
Remove CFI redirect and other minor changes.
2020-02-21 14:56:21 -05:00
MattBDev
516e7e4ca6
Merge remote-tracking branch 'origin/1.15' into 1.15
2020-02-21 00:00:11 -05:00
MattBDev
99f7b23a8c
Changes to API and something else I forgot because I got distracted
2020-02-20 23:59:57 -05:00
IronApollo
c9aebf17d8
Fix #320 ; optimize adapter imports
2020-02-20 21:28:28 -05:00
MattBDev
e0bb1ce853
Revert "More minor cleanup"
...
This reverts commit 38435d50
2020-02-18 18:06:08 -05:00
MattBDev
38435d50b4
More minor cleanup
2020-02-18 18:00:39 -05:00
MattBDev
49dbd4b76b
Minor changes
2020-02-14 14:29:08 -05:00
MattBDev
647665c3b0
Upstream is better than downstream
2020-02-13 20:19:45 -05:00
MattBDev
73c5e34040
Fixed AsyncWorld for real
2020-02-13 13:12:11 -05:00
MattBDev
4d4709b2f6
Removed ChunkListener8 and resolved compiling issues
2020-02-13 13:07:30 -05:00
MattBDev
e56e9e39ee
Implement new World interface methods
2020-02-12 18:19:12 -05:00
MattBDev
b1c11c9597
Implement new World interface methods
2020-02-12 17:46:07 -05:00
MattBDev
0723620722
Remove remaining BlocksHub references from the code.
2020-02-12 17:09:28 -05:00
MattBDev
ceec0ec0b9
API Breaking
...
Removed LoggingChangeSet since it wasn't functional and the majority of it was commented out.
Migrated a lot of RunnableVal implementations to Suppliers for improved readability and a very small speed improvement.
2020-02-12 17:04:21 -05:00
MattBDev
6dd85e48ba
Various changes
...
the most notable change is that PlotSquared is being moved to the Bukkit module again to allow for future compatibility with version 5 of the plugin.
2020-02-12 16:18:36 -05:00
MattBDev
0047f20d5d
Minor code quality changes
...
Changed Lock to subclass ReentrantLock since that is the only subclass DelegateLock should be using. The lock should also never be null so I added an annotation in the constructor.
I also removed some code and replaced it with PaperLib code to just clean up things a little bit.
2020-02-07 14:33:51 -05:00
MattBDev
5feac07bf0
Revert "Fixed commands not working"
...
This reverts commit 0b5eb903
2020-02-06 20:33:19 -05:00
MattBDev
f9e7b7300e
Minor changes
2020-02-05 16:27:50 -05:00
MattBDev
75653087b9
Remove FAWE-Piston
...
Disables a lot of previous functionality in FAWE until replacements can be made. This commit was untested and may cause major issues.
2020-02-05 00:37:42 -05:00
MattBDev
3452fd5a63
Merge branch '1.15' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into 1.15
2020-02-04 17:59:08 -05:00
IronApollo
4f3db6f3da
Attempted fix for #329
...
Removing this code seemed to fix the issue while not breaking general editing abilities. Needs testing to determine any unintended side effects!
2020-02-01 20:28:48 -05:00
IronApollo
83bb3966ca
Update adapter to 1.15.2
...
Adapter updated to 1.15.2, mostly a clone of 1.15 / 1.15.1's adapter. I encountered no issues from this, but the field names for our reflections may need to be double-checked for accuracy in this Minecraft version.
2020-02-01 20:11:02 -05:00
MattBDev
6c5ac08a3c
Minor upstream changes
2020-01-31 17:44:50 -05:00
wizjany
f4d03291c5
Revert "Revert "Add Vault as a softdepend to the Bukkit variant to prevent a warning from Spigot""
...
This reverts commit 376f241b7dfbe3cf221adaae340661d0c9a5c81f.
Spigot bad. Also LP bad. This really shouldn't be necessary but it's
probably safer due to all the weird shit spigot and LP do.
(cherry picked from commit 68d48148d3df6e01815d05c462ba22498734fdc4)
2020-01-31 14:41:22 -05:00
MattBDev
7236b0a026
Minor code changes
2020-01-29 17:10:59 -05:00
MattBDev
2cc66b0d98
Minor upstream file changes
2020-01-29 16:13:28 -05:00
MattBDev
d381617f11
Revert "Using an array instead of an EnumMap isn't necessary here"
...
This reverts commit 240a817e
2020-01-29 16:03:02 -05:00
MattBDev
020c674c01
Revert migration of FaweCache to Kotlin
2020-01-29 15:01:38 -05:00
MattBDev
7d4acbdcac
Remove some reflection from QueueHandler
2020-01-29 14:33:41 -05:00
MattBDev
cb6359f010
Removed 1.13.2 support.
2020-01-27 18:54:31 -05:00
MattBDev
240a817e6e
Using an array instead of an EnumMap isn't necessary here
2020-01-26 16:45:07 -05:00
MattBDev
5d5ee7e61e
Merge remote-tracking branch 'origin/1.15' into 1.15
2020-01-26 13:10:18 -05:00
MattBDev
8078cf077a
consistency changes
2020-01-26 13:01:16 -05:00
NotMyFault
93ebd21a61
Update bStats adding ID
2020-01-25 02:26:49 +01:00
MattBDev
e0f6869573
Revert "More code quality fixes"
...
This reverts commit 2d6957ce
2020-01-23 14:41:57 -05:00
MattBDev
37003ec089
Merge branch '1.15' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into 1.15
2020-01-22 21:15:58 -05:00
MattBDev
2d6957ce1c
More code quality fixes
2020-01-22 21:15:52 -05:00
NotMyFault
8b69767cd8
Add support for 1.15.2 and some minors
...
- Removed duplicated dependencies
- Credited important contributors
- Updated website with an actual website
- Update DummyFawe internal version to 1.15.2
2020-01-22 01:09:07 +01:00
MattBDev
88359f0215
More Kotlin
2020-01-21 14:30:13 -05:00
MattBDev
0cad7f229b
API improvements
2020-01-15 20:38:46 -05:00
MattBDev
da7c21d32a
Removed metrics from API
...
We shouldn't have exposed it in the first place.
2020-01-15 17:20:40 -05:00
MattBDev
2fb1c3bdbc
Remove factions due to maven repo being down
2020-01-13 21:02:31 -05:00
MattBDev
0d2fff2cd2
Upstream Merge
2020-01-10 22:32:12 -05:00
MattBDev
b2be1ea9fb
Remove duplicated methods
2020-01-10 19:26:26 -05:00
MattBDev
86a55b7bf0
Merge remote-tracking branch 'origin/wip' into 1.15
2020-01-10 19:22:23 -05:00
MattBDev
98d0420c08
Minor tweaks
2020-01-10 13:29:20 -05:00
NotMyFault
b88d7b3e60
Don't send bad packets
2020-01-10 14:26:24 +01:00
NotMyFault
3ee920f9e6
Update upstream
2020-01-08 19:36:12 +01:00
Jesse Boyd
900268633d
Fix compile
2020-01-07 00:41:41 +00:00
Jesse Boyd
e69ea37665
Merge branch '1.15' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into 1.15
2020-01-07 00:09:49 +00:00
Jesse Boyd
5abf6ce2a5
Update Metrics.java
2020-01-07 11:07:03 +11:00
NotMyFault
b292416496
Upstream and some refactoring
...
Note: Maybe this doesn't compile, ij is broken af smh, let's give it a try...
2020-01-04 18:34:30 +01:00
Jesse Boyd
c05cdd8faa
Merge branch '1.15' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into 1.15
2020-01-04 10:12:33 +00:00
Jesse Boyd
88a95221a8
Make masks more stateless
2020-01-04 10:11:13 +00:00
MattBDev
05760c49cd
Fixed compile issues and disabled plotsquared hook
2020-01-03 16:05:25 -05:00
MattBDev
f3e0109be2
A lot of small changes
2020-01-03 15:38:30 -05:00
NotMyFault
3fb5ac6be8
Rename debugpaste value names
2020-01-03 14:48:44 +01:00
Jesse Boyd
9efdd886c5
Fix translate args
2019-12-25 02:34:20 +00:00
KennyTV
8569359d8f
Fix Java 12+ compatibility
2019-12-21 21:21:25 +01:00
Jesse Boyd
39faa740a2
Fix some adapter issues
...
regen 1.13, tile get npe, null block type values
2019-12-21 09:45:59 +00:00
Jesse Boyd
c2cc4f5aeb
Fix craftbook
2019-12-20 05:54:03 +00:00
NotMyFault
f37bc9417c
Merge branch 'merge' into 1.15
2019-12-19 19:05:27 +01:00
Jesse Boyd
8c1a379575
Hide adapter stacktrace
2019-12-19 17:01:22 +00:00
Jesse Boyd
5d039c0e2b
Update plugin.yml
2019-12-19 16:51:54 +00:00
Jesse Boyd
1a64976195
load 1.15 adapter
2019-12-19 16:33:08 +00:00
Jesse Boyd
6a49b71cf2
Fix compile
2019-12-19 16:19:46 +00:00
Jesse Boyd
ea5f7a77be
Merge branch 'merge' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into merge
2019-12-16 09:08:28 +00:00
Jesse Boyd
6ddeb2ebf5
Various minor
...
refactor some region dependencies
swithc masking extent to a filter (so it can be parallelized)
Some unfinished refactoring of the filters
remove piston messages from strings.json
2019-12-16 09:07:51 +00:00
MattBDev
ee94bc2ddb
More work to get 1.15 working
2019-12-11 17:47:34 -05:00
MattBDev
a137d719cb
Remove 1.13 and 1.14 code
2019-12-11 17:47:14 -05:00
NotMyFault
68144232ba
More 1.15 wip No.2
2019-12-11 17:06:05 +01:00
NotMyFault
053b1a20d6
More 1.15 wip
2019-12-11 14:45:27 +01:00
NotMyFault
5358c51011
1.15 (wip)
...
Adapters and nms needs updating still, alongside some other fixes and changes, but I'm too tired for that now
2019-12-11 02:11:52 +01:00
NotMyFault
a058f13d6e
Updates
2019-12-09 21:34:26 +01:00
NotMyFault
80d7b0582f
i18n upstream merge
2019-12-09 20:07:57 +01:00
Jesse Boyd
21d736cd1d
Merge pull request #275 from IntellectualSites/dependency-cleanup
...
Cleanup outdated/eol dependencies
2019-12-03 11:40:52 +11:00
NotMyFault
0f1715ea9f
Revert "Merge pull request #274 from IntellectualSites/api"
...
This reverts commit 79d9bda912
, reversing
changes made to 0fcac39592
.
2019-11-29 14:28:06 +01:00
Jesse Boyd
a36778794b
fix paste tile npe
2019-11-29 02:56:07 +00:00
Jesse Boyd
79d9bda912
Merge pull request #274 from IntellectualSites/api
...
Generate maven artifacts
2019-11-29 13:49:03 +11:00
NotMyFault
0fcac39592
Add more information to plugin.yml
2019-11-28 16:58:03 +01:00
NotMyFault
32880e520b
Remove Regios - Outdated since CB 1.6.2
2019-11-28 16:34:53 +01:00
NotMyFault
1b2710f823
Remove ASkyBlock
...
ASkyBlock does only exist up to 1.12 and won't be continued to higher versions.
2019-11-27 23:50:32 +01:00
NotMyFault
38bdb929f4
Generate maven artifacts
...
I'm not a kotlin dsl expert, but that seems to work.
2019-11-27 23:33:42 +01:00
Jesse Boyd
913ada31fb
Fix lighting 1.14
2019-11-24 02:26:52 +00:00
Jesse Boyd
ee54dcd809
wip generatebiome
...
will finish later
2019-11-24 01:50:05 +00:00
Jesse Boyd
174b3ec573
Delete worldedit-adapters.jar
2019-11-24 11:58:33 +11:00
Jesse Boyd
1f19b92b0b
1.13?
2019-11-24 00:57:29 +00:00
Jesse Boyd
50c9a2c2d2
Fxi regen (again)
2019-11-23 18:41:05 +00:00
Jesse Boyd
2fcd375912
potentially fix regen
2019-11-23 17:50:38 +00:00
Jesse Boyd
944c8c5521
Fixes #255 compass exceptipn
2019-11-23 05:15:48 +00:00
Jesse Boyd
97a4d2e103
Fixed regen
2019-11-23 04:45:43 +00:00
Jesse Boyd
1844d4dba7
Various major
...
Add regen
Add //history [find|restore|rollback|summary|clear]
- history commands are interactable
- inspect brush info is interactable
Commands are now logged to a searchable database
Fix some cases of id/ordinal mismatch
2019-11-23 04:31:48 +00:00
Jesse Boyd
85382ad109
Fix permissions
2019-11-22 15:30:45 +00:00
Jesse Boyd
0c85db920c
save strings.json
2019-11-21 20:37:56 +00:00
Jesse Boyd
1341e38a90
fix compile
2019-11-21 19:56:10 +00:00
Jesse Boyd
66744bfaa4
Merge remote-tracking branch 'upstream/feature/translatable-text' into i18n-merge
2019-11-21 13:50:05 +00:00
Jesse Boyd
37b6c406ac
reduce diff
2019-11-21 07:57:32 +00:00
Jesse Boyd
52a502a1c6
Refactor confirmation
2019-11-21 06:50:37 +00:00
Jesse Boyd
444aa0dda7
adapter jar ?
...
It doesn't have a maven repo, so idk?
Might be worth making one, or using a url for the dependency
2019-11-20 03:54:34 +00:00
Jesse Boyd
144ea2ef34
Lazy tags + get / set tiles
...
Lazy tags means tiles/ents are not translated into the nms NBTBase until it is needed. Should be faster in cases where getFullBlock is called, but nbt is not always needed.
Commands like Copy and Paste, where the input/output are both nms worlds, can entirely bypass WorldEdit translating to and from the WorldEdit JNBT classes.
2019-11-20 03:40:52 +00:00
Jesse Boyd
60759934a3
Fix some merge issues
2019-11-20 00:11:54 +00:00
Jesse Boyd
0e22d4718a
fix some merge issues
2019-11-19 22:07:30 +00:00
Jesse Boyd
5d8adbc10c
Merge remote-tracking branch 'upstream/master' into merge
2019-11-19 21:25:36 +00:00
Jesse Boyd
2c9f192baf
Merge remote-tracking branch 'upstream/master' into merge
2019-11-19 21:23:47 +00:00
Kenzie Togami
122f3b2562
8af68fc884
2019-11-19 04:43:30 +00:00
Jesse Boyd
1b07846746
some adapter refactoring
2019-11-19 04:40:40 +00:00
Matthew Miller
ded86d4872
Fixed issues brought up in review
2019-11-18 19:50:52 +10:00
Jesse Boyd
0087a0d6ab
Various minor
...
fix undo null sections
fix cancel for certain parallel jobs
optimize schem paste
2019-11-17 22:47:56 +00:00
Jesse Boyd
329df8d33b
various minor
...
Increase target size
remove unnecessary brush sync
send chunk on biome change
2019-11-17 20:29:25 +00:00
Jesse Boyd
3f92f12e89
synchronize char blocks
2019-11-17 20:02:33 +00:00
Jesse Boyd
e661652c12
Fix setting blocks in null sections
2019-11-17 19:30:28 +00:00
Jesse Boyd
69c225c00f
Fix //vis
2019-11-17 17:22:21 +00:00
Matthew Miller
96e56bdd0c
Rebase translation work for easier rebasing
2019-11-16 22:42:14 +10:00
Jesse Boyd
0b1a36bb7d
WIP VisualExtent
2019-11-16 00:20:14 +00:00