Commit Graph

135 Commits

Author SHA1 Message Date
7cf88aff65 fix 1.16.2 support 2020-08-23 18:28:51 +02:00
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
ae23794b43 fix //cut -e 2020-07-29 22:43:52 +02:00
3bc692ff11 Part 1 of upstream merge and format 2020-07-13 22:50:59 -04:00
d232dc28e3 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:08:16 -04:00
4604aa5920 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-29 22:08:16 -04:00
68679e007e 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-29 22:08:16 -04:00
b7debce4d4 1.16.1 Prep work 2020-06-25 20:29:09 -04:00
3265a9e794 Remove unused regenerate method 2020-04-28 11:16:51 -04:00
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
e648b35b95 Small code quality changes 2020-03-24 12:32:36 -04:00
c9aebf17d8 Fix #320 ; optimize adapter imports 2020-02-20 21:28:28 -05:00
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
020c674c01 Revert migration of FaweCache to Kotlin 2020-01-29 15:01:38 -05:00
cb6359f010 Removed 1.13.2 support. 2020-01-27 18:54:31 -05:00
e0f6869573 Revert "More code quality fixes"
This reverts commit 2d6957ce
2020-01-23 14:41:57 -05:00
2d6957ce1c More code quality fixes 2020-01-22 21:15:52 -05:00
88359f0215 More Kotlin 2020-01-21 14:30:13 -05:00
0cad7f229b API improvements 2020-01-15 20:38:46 -05:00
88a95221a8 Make masks more stateless 2020-01-04 10:11:13 +00:00
9efdd886c5 Fix translate args 2019-12-25 02:34:20 +00:00
39faa740a2 Fix some adapter issues
regen 1.13, tile get npe, null block type values
2019-12-21 09:45:59 +00:00
8c1a379575 Hide adapter stacktrace 2019-12-19 17:01:22 +00:00
ee94bc2ddb More work to get 1.15 working 2019-12-11 17:47:34 -05:00
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
ee54dcd809 wip generatebiome
will finish later
2019-11-24 01:50:05 +00:00
1f19b92b0b 1.13? 2019-11-24 00:57:29 +00:00
50c9a2c2d2 Fxi regen (again) 2019-11-23 18:41:05 +00:00
2fcd375912 potentially fix regen 2019-11-23 17:50:38 +00:00
97a4d2e103 Fixed regen 2019-11-23 04:45:43 +00:00
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
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
1b07846746 some adapter refactoring 2019-11-19 04:40:40 +00:00
32d837414b static blocktype initialization
instead of using hacky reflection
2019-11-02 20:35:51 +01:00
df9e9e510a Limit processing 2019-11-02 12:13:42 +01:00
72951cdf23 Various
fake chunk packet
aliases
cfi wip
2019-10-30 12:26:52 +01:00
2080e9786b commanding-pipeline diff 2019-10-23 05:23:52 +01:00
8b96cdc9a5 *
A tribute to Jesse
2019-09-20 21:52:35 -04:00
3bcfcd3008 Fixed bug with wands and updated tests 2019-09-18 15:09:04 -04:00
ae2d765533 Removed duplicated method and implemented missing ones 2019-09-03 12:17:21 -04:00
06a92d29b1 Merge branch 'commanding' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into commanding
# Conflicts:
#	worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/BukkitImplAdapter.java
#	worldedit-core/src/main/java/com/sk89q/worldedit/command/ApplyBrushCommands.java
#	worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/PlatformCommandManager.java
#	worldedit-libs/core/build.gradle.kts
2019-09-02 15:24:53 -04:00
c20f4c6b7f Fixed a null pointer. Merged in a bunch of CLI stuff. 2019-09-02 15:22:43 -04:00
68eea925e1 update adapter and platform manager 2019-08-29 13:57:03 +01:00
4e49d16505 fix dependencies 2019-08-26 05:45:03 +01:00
d434dfcfdd some minor refactoring 2019-08-18 02:09:09 +01:00
46f5b12b36 Convert tabs to whitespace. 2019-07-22 16:42:40 -04:00
9c3122a227 More work on getting commands to compile 2019-07-21 22:49:08 -04:00
be8213d8ee resolve conflicts 2019-07-18 16:56:57 +10:00
8108d0a936 Major command changes that don't work yet. 2019-07-16 23:44:34 -04:00
8c9090a21d I changed stuff. That's all I remember 2019-06-23 13:27:34 -04:00